code
stringlengths
4
991k
repo_name
stringlengths
6
116
path
stringlengths
4
249
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
4
991k
input_ids
listlengths
502
502
token_type_ids
listlengths
502
502
attention_mask
listlengths
502
502
labels
listlengths
502
502
// Package saml contains a partial implementation of the SAML standard in golang. // SAML is a standard for identity federation, i.e. either allowing a third party to authenticate your users or allowing third parties to rely on us to authenticate their users. // // In SAML parlance an Identity Provider (IDP) is a service that knows how to authenticate users. A Service Provider (SP) is a service that delegates authentication to an IDP. If you are building a service where users log in with someone else's credentials, then you are a Service Provider. This package supports implementing both service providers and identity providers. // // The core package contains the implementation of SAML. The package samlsp provides helper middleware suitable for use in Service Provider applications. The package samlidp provides a rudimentary IDP service that is useful for testing or as a starting point for other integrations. // // Getting Started as a Service Provider // // Let us assume we have a simple web appliation to protect. We'll modify this application so it uses SAML to authenticate users. // // package main // // import "net/http" // // func hello(w http.ResponseWriter, r *http.Request) { // fmt.Fprintf(w, "Hello, World!") // }) // // func main() { // app := http.HandlerFunc(hello) // http.Handle("/hello", app) // http.ListenAndServe(":8000", nil) // } // // Each service provider must have an self-signed X.509 key pair established. You can generate your own with something like this: // // openssl req -x509 -newkey rsa:2048 -keyout myservice.key -out myservice.cert -days 365 -nodes -subj "/CN=myservice.example.com" // // We will use `samlsp.Middleware` to wrap the endpoint we want to protect. Middleware provides both an `http.Handler` to serve the SAML specific URLs and a set of wrappers to require the user to be logged in. We also provide the URL where the service provider can fetch the metadata from the IDP at startup. In our case, we'll use [testshib.org](testshib.org), an identity provider designed for testing. // // package main // // import ( // "fmt" // "io/ioutil" // "net/http" // // "github.com/Validic/saml/samlsp" // ) // // func hello(w http.ResponseWriter, r *http.Request) { // fmt.Fprintf(w, "Hello, %s!", r.Header.Get("X-Saml-Cn")) // } // // func main() { // key, _ := ioutil.ReadFile("myservice.key") // cert, _ := ioutil.ReadFile("myservice.cert") // samlSP, _ := samlsp.New(samlsp.Options{ // IDPMetadataURL: "https://www.testshib.org/metadata/testshib-providers.xml", // URL: "http://localhost:8000", // Key: string(key), // Certificate: string(cert), // }) // app := http.HandlerFunc(hello) // http.Handle("/hello", samlSP.RequireAccount(app)) // http.Handle("/saml/", samlSP) // http.ListenAndServe(":8000", nil) // } // // // Next we'll have to register our service provider with the identiy provider to establish trust from the service provider to the IDP. For [testshib.org](testshib.org), you can do something like: // // mdpath=saml-test-$USER-$HOST.xml // curl localhost:8000/saml/metadata > $mdpath // curl -i -F userfile=@$mdpath https://www.testshib.org/procupload.php // // Now you should be able to authenticate. The flow should look like this: // // 1. You browse to `localhost:8000/hello` // // 2. The middleware redirects you to `https://idp.testshib.org/idp/profile/SAML2/Redirect/SSO` // // 3. testshib.org prompts you for a username and password. // // 4. testshib.org returns you an HTML document which contains an HTML form setup to POST to `localhost:8000/saml/acs`. The form is automatically submitted if you have javascript enabled. // // 5. The local service validates the response, issues a session cookie, and redirects you to the original URL, `localhost:8000/hello`. // // 6. This time when `localhost:8000/hello` is requested there is a valid session and so the main content is served. // // Getting Started as an Identity Provider // // Please see `examples/idp/` for a substantially complete example of how to use the library and helpers to be an identity provider. // // Support // // The SAML standard is huge and complex with many dark corners and strange, unused features. This package implements the most commonly used subset of these features required to provide a single sign on experience. The package supports at least the subset of SAML known as [interoperable SAML](http://saml2int.org). // // This package supports the Web SSO profile. Message flows from the service provider to the IDP are supported using the HTTP Redirect binding and the HTTP POST binding. Message flows fromthe IDP to the service provider are supported vai the HTTP POST binding. // // The package supports signed and encrypted SAML assertions. It does not support signed or encrypted requests. // // RelayState // // The *RelayState* parameter allows you to pass user state information across the authentication flow. The most common use for this is to allow a user to request a deep link into your site, be redirected through the SAML login flow, and upon successful completion, be directed to the originally requested link, rather than the root. // // Unfortunately, *RelayState* is less useful than it could be. Firstly, it is not authenticated, so anything you supply must be signed to avoid XSS or CSRF. Secondly, it is limited to 80 bytes in length, which precludes signing. (See section 3.6.3.1 of SAMLProfiles.) // // References // // The SAML specification is a collection of PDFs (sadly): // // - [SAMLCore](http://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf) defines data types. // // - [SAMLBindings](http://docs.oasis-open.org/security/saml/v2.0/saml-bindings-2.0-os.pdf) defines the details of the HTTP requests in play. // // - [SAMLProfiles](http://docs.oasis-open.org/security/saml/v2.0/saml-profiles-2.0-os.pdf) describes data flows. // // - [SAMLConformance](http://docs.oasis-open.org/security/saml/v2.0/saml-conformance-2.0-os.pdf) includes a support matrix for various parts of the protocol. // // [TestShib](http://www.testshib.org/) is a testing ground for SAML service and identity providers. package saml
Validic/saml
saml.go
GO
bsd-2-clause
6,391
[ 30522, 1013, 1013, 7427, 3520, 2140, 3397, 1037, 7704, 7375, 1997, 1996, 3520, 2140, 3115, 1999, 2175, 25023, 1012, 1013, 1013, 3520, 2140, 2003, 1037, 3115, 2005, 4767, 4657, 1010, 1045, 1012, 1041, 1012, 2593, 4352, 1037, 2353, 2283, 2000, 14469, 3686, 2115, 5198, 2030, 4352, 2353, 4243, 2000, 11160, 2006, 2149, 2000, 14469, 3686, 2037, 5198, 1012, 1013, 1013, 1013, 1013, 1999, 3520, 2140, 11968, 23078, 2019, 4767, 10802, 1006, 8909, 2361, 1007, 2003, 1037, 2326, 2008, 4282, 2129, 2000, 14469, 3686, 5198, 1012, 1037, 2326, 10802, 1006, 11867, 1007, 2003, 1037, 2326, 2008, 10284, 27280, 2000, 2019, 8909, 2361, 1012, 2065, 2017, 2024, 2311, 30524, 1997, 3520, 2140, 1012, 1996, 7427, 3520, 4877, 2361, 3640, 2393, 2121, 2690, 8059, 7218, 2005, 2224, 1999, 2326, 10802, 5097, 1012, 1996, 7427, 3520, 21273, 2361, 3640, 1037, 21766, 21341, 5649, 8909, 2361, 2326, 2008, 2003, 6179, 2005, 5604, 2030, 2004, 1037, 3225, 2391, 2005, 2060, 8346, 2015, 1012, 1013, 1013, 1013, 1013, 2893, 2318, 2004, 1037, 2326, 10802, 1013, 1013, 1013, 1013, 2292, 2149, 7868, 2057, 2031, 1037, 3722, 4773, 10439, 6632, 3508, 2000, 4047, 1012, 2057, 1005, 2222, 19933, 2023, 4646, 2061, 2009, 3594, 3520, 2140, 2000, 14469, 3686, 5198, 1012, 1013, 1013, 1013, 1013, 7427, 2364, 1013, 1013, 1013, 1013, 12324, 1000, 5658, 1013, 8299, 1000, 1013, 1013, 1013, 1013, 4569, 2278, 7592, 1006, 1059, 8299, 1012, 3433, 15994, 1010, 1054, 1008, 8299, 1012, 5227, 1007, 1063, 1013, 1013, 4718, 2102, 1012, 1042, 16550, 2546, 1006, 1059, 1010, 1000, 7592, 1010, 2088, 999, 1000, 1007, 1013, 1013, 1065, 1007, 1013, 1013, 1013, 1013, 4569, 2278, 2364, 1006, 1007, 1063, 1013, 1013, 10439, 1024, 1027, 8299, 1012, 28213, 11263, 12273, 1006, 7592, 1007, 1013, 1013, 8299, 1012, 5047, 1006, 1000, 1013, 7592, 1000, 1010, 10439, 1007, 1013, 1013, 8299, 1012, 4952, 29560, 2121, 3726, 1006, 1000, 1024, 5385, 2692, 1000, 1010, 9152, 2140, 1007, 1013, 1013, 1065, 1013, 1013, 1013, 1013, 2169, 2326, 10802, 2442, 2031, 2019, 2969, 1011, 2772, 1060, 1012, 2753, 2683, 3145, 3940, 2511, 1012, 2017, 2064, 9699, 2115, 2219, 2007, 2242, 2066, 2023, 1024, 1013, 1013, 1013, 1013, 7480, 14540, 2128, 4160, 1011, 1060, 12376, 2683, 1011, 2047, 14839, 12667, 2050, 1024, 19627, 2620, 1011, 3145, 5833, 2026, 8043, 7903, 2063, 1012, 3145, 1011, 2041, 2026, 8043, 7903, 2063, 1012, 8292, 5339, 1011, 2420, 19342, 1011, 14164, 1011, 4942, 3501, 1000, 1013, 27166, 1027, 2026, 8043, 7903, 2063, 1012, 2742, 1012, 4012, 1000, 1013, 1013, 1013, 1013, 2057, 2097, 2224, 1036, 3520, 4877, 2361, 1012, 2690, 8059, 1036, 2000, 10236, 1996, 2203, 8400, 2057, 2215, 2000, 4047, 1012, 2690, 8059, 3640, 2119, 2019, 1036, 8299, 1012, 28213, 1036, 2000, 3710, 1996, 3520, 2140, 3563, 24471, 4877, 1998, 1037, 2275, 1997, 10236, 7347, 2000, 5478, 1996, 30523, 1037, 2326, 2073, 5198, 8833, 1999, 2007, 2619, 2842, 1005, 1055, 22496, 1010, 2059, 2017, 2024, 1037, 2326, 10802, 1012, 2023, 7427, 6753, 14972, 2119, 2326, 11670, 1998, 4767, 11670, 1012, 1013, 1013, 1013, 1013, 1996, 4563, 7427, 3397, 1996, 7375, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1037, 2326, 2073, 5198, 8833, 1999, 2007, 2619, 2842, 1005, 1055, 22496, 1010, 2059, 2017, 2024, 1037, 2326, 10802, 1012, 2023, 7427, 6753, 14972, 2119, 2326, 11670, 1998, 4767, 11670, 1012, 1013, 1013, 1013, 1013, 1996, 4563, 7427, 3397, 1996, 7375, 30526 ]
if RUBY_VERSION == "1.9.3" require 'debugger' elsif RUBY_VERSION >= "2.0.0" require 'byebug' end require 'grapevine' RSpec.configure do |config| config.expect_with :rspec do |c| c.syntax = :expect end config.filter_run :focus config.run_all_when_everything_filtered = true config.order = :random def destination_root File.join(File.dirname(__FILE__), 'sandbox') end end
diablourbano/grapevine
spec/spec_helper.rb
Ruby
mit
400
[ 30522, 2065, 10090, 1035, 2544, 1027, 1027, 1000, 1015, 1012, 1023, 1012, 1017, 1000, 5478, 1005, 2139, 8569, 13327, 1005, 3449, 5332, 2546, 10090, 1035, 2544, 1028, 1027, 1000, 1016, 1012, 1014, 1012, 1014, 1000, 5478, 1005, 9061, 8569, 2290, 1005, 2203, 5478, 1005, 14722, 20534, 1005, 12667, 5051, 2278, 1012, 9530, 8873, 27390, 2063, 2079, 1064, 9530, 8873, 2290, 1064, 9530, 8873, 2290, 1012, 5987, 1035, 2007, 1024, 12667, 5051, 2278, 2079, 1064, 1039, 1064, 1039, 1012, 20231, 1027, 1024, 5987, 2203, 9530, 8873, 2290, 1012, 11307, 1035, 2448, 1024, 3579, 9530, 8873, 2290, 1012, 2448, 1035, 2035, 1035, 2043, 1035, 2673, 1035, 21839, 1027, 2995, 9530, 8873, 2290, 1012, 2344, 1027, 1024, 6721, 13366, 30524, 1007, 2203, 2203, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 7688, 1035, 7117, 5371, 1012, 3693, 1006, 5371, 1012, 16101, 18442, 1006, 1035, 1035, 5371, 1035, 1035, 1007, 1010, 1005, 5472, 8758, 1005, 30526 ]
%% bare_conf.tex %% V1.3 %% 2007/01/11 %% by Michael Shell %% See: %% http://www.michaelshell.org/ %% for current contact information. %% %% This is a skeleton file demonstrating the use of IEEEtran.cls %% (requires IEEEtran.cls version 1.7 or later) with an IEEE conference paper. %% %% Support sites: %% http://www.michaelshell.org/tex/ieeetran/ %% http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/ %% and %% http://www.ieee.org/ %%************************************************************************* %% Legal Notice: %% This code is offered as-is without any warranty either expressed or %% implied; without even the implied warranty of MERCHANTABILITY or %% FITNESS FOR A PARTICULAR PURPOSE! %% User assumes all risk. %% In no event shall IEEE or any contributor to this code be liable for %% any damages or losses, including, but not limited to, incidental, %% consequential, or any other damages, resulting from the use or misuse %% of any information contained here. %% %% All comments are the opinions of their respective authors and are not %% necessarily endorsed by the IEEE. %% %% This work is distributed under the LaTeX Project Public License (LPPL) %% ( http://www.latex-project.org/ ) version 1.3, and may be freely used, %% distributed and modified. A copy of the LPPL, version 1.3, is included %% in the base LaTeX documentation of all distributions of LaTeX released %% 2003/12/01 or later. %% Retain all contribution notices and credits. %% ** Modified files should be clearly indicated as such, including ** %% ** renaming them and changing author support contact information. ** %% %% File list of work: IEEEtran.cls, IEEEtran_HOWTO.pdf, bare_adv.tex, %% bare_conf.tex, bare_jrnl.tex, bare_jrnl_compsoc.tex %%************************************************************************* % *** Authors should verify (and, if needed, correct) their LaTeX system *** % *** with the testflow diagnostic prior to trusting their LaTeX platform *** % *** with production work. IEEE's font choices can trigger bugs that do *** % *** not appear when using other class files. *** % The testflow support page is at: % http://www.michaelshell.org/tex/testflow/ % Note that the a4paper option is mainly intended so that authors in % countries using A4 can easily print to A4 and see how their papers will % look in print - the typesetting of the document will not typically be % affected with changes in paper size (but the bottom and side margins will). % Use the testflow package mentioned above to verify correct handling of % both paper sizes by the user's LaTeX system. % % Also note that the "draftcls" or "draftclsnofoot", not "draft", option % should be used if it is desired that the figures are to be displayed in % draft mode. % \documentclass[conference]{IEEEtran} % Add the compsoc option for Computer Society conferences. % % If IEEEtran.cls has not been installed into the LaTeX system files, % manually specify the path to it like: % \documentclass[conference]{../sty/IEEEtran} % Some very useful LaTeX packages include: % (uncomment the ones you want to load) % *** MISC UTILITY PACKAGES *** % %\usepackage{ifpdf} % Heiko Oberdiek's ifpdf.sty is very useful if you need conditional % compilation based on whether the output is pdf or dvi. % usage: % \ifpdf % % pdf code % \else % % dvi code % \fi % The latest version of ifpdf.sty can be obtained from: % http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/ % Also, note that IEEEtran.cls V1.7 and later provides a builtin % \ifCLASSINFOpdf conditional that works the same way. % When switching from latex to pdflatex and vice-versa, the compiler may % have to be run twice to clear warning/error messages. % *** CITATION PACKAGES *** % %\usepackage{cite} % cite.sty was written by Donald Arseneau % V1.6 and later of IEEEtran pre-defines the format of the cite.sty package % \cite{} output to follow that of IEEE. Loading the cite package will % result in citation numbers being automatically sorted and properly % "compressed/ranged". e.g., [1], [9], [2], [7], [5], [6] without using % cite.sty will become [1], [2], [5]--[7], [9] using cite.sty. cite.sty's % \cite will automatically add leading space, if needed. Use cite.sty's % noadjust option (cite.sty V3.8 and later) if you want to turn this off. % cite.sty is already installed on most LaTeX systems. Be sure and use % version 4.0 (2003-05-27) and later if using hyperref.sty. cite.sty does % not currently provide for hyperlinked citations. % The latest version can be obtained at: % http://www.ctan.org/tex-archive/macros/latex/contrib/cite/ % The documentation is contained in the cite.sty file itself. % *** GRAPHICS RELATED PACKAGES *** % \ifCLASSINFOpdf % \usepackage[pdftex]{graphicx} % declare the path(s) where your graphic files are % \graphicspath{{../pdf/}{../jpeg/}} % and their extensions so you won't have to specify these with % every instance of \includegraphics % \DeclareGraphicsExtensions{.pdf,.jpeg,.png} \else % or other class option (dvipsone, dvipdf, if not using dvips). graphicx % will default to the driver specified in the system graphics.cfg if no % driver is specified. % \usepackage[dvips]{graphicx} % declare the path(s) where your graphic files are % \graphicspath{{../eps/}} % and their extensions so you won't have to specify these with % every instance of \includegraphics % \DeclareGraphicsExtensions{.eps} \fi % graphicx was written by David Carlisle and Sebastian Rahtz. It is % required if you want graphics, photos, etc. graphicx.sty is already % installed on most LaTeX systems. The latest version and documentation can % be obtained at: % http://www.ctan.org/tex-archive/macros/latex/required/graphics/ % Another good source of documentation is "Using Imported Graphics in % LaTeX2e" by Keith Reckdahl which can be found as epslatex.ps or % epslatex.pdf at: http://www.ctan.org/tex-archive/info/ % % latex, and pdflatex in dvi mode, support graphics in encapsulated % postscript (.eps) format. pdflatex in pdf mode supports graphics % in .pdf, .jpeg, .png and .mps (metapost) formats. Users should ensure % that all non-photo figures use a vector format (.eps, .pdf, .mps) and % not a bitmapped formats (.jpeg, .png). IEEE frowns on bitmapped formats % which can result in "jaggedy"/blurry rendering of lines and letters as % well as large increases in file sizes. % % You can find documentation about the pdfTeX application at: % http://www.tug.org/applications/pdftex % *** MATH PACKAGES *** % %\usepackage[cmex10]{amsmath} % A popular package from the American Mathematical Society that provides % many useful and powerful commands for dealing with mathematics. If using % it, be sure to load this package with the cmex10 option to ensure that % only type 1 fonts will utilized at all point sizes. Without this option, % it is possible that some math symbols, particularly those within % footnotes, will be rendered in bitmap form which will result in a % document that can not be IEEE Xplore compliant! % % Also, note that the amsmath package sets \interdisplaylinepenalty to 10000 % thus preventing page breaks from occurring within multiline equations. Use: %\interdisplaylinepenalty=2500 % after loading amsmath to restore such page breaks as IEEEtran.cls normally % does. amsmath.sty is already installed on most LaTeX systems. The latest % version and documentation can be obtained at: % http://www.ctan.org/tex-archive/macros/latex/required/amslatex/math/ % *** SPECIALIZED LIST PACKAGES *** % %\usepackage{algorithmic} % algorithmic.sty was written by Peter Williams and Rogerio Brito. % This package provides an algorithmic environment fo describing algorithms. % You can use the algorithmic environment in-text or within a figure % environment to provide for a floating algorithm. Do NOT use the algorithm % floating environment provided by algorithm.sty (by the same authors) or % algorithm2e.sty (by Christophe Fiorio) as IEEE does not use dedicated % algorithm float types and packages that provide these will not provide % correct IEEE style captions. The latest version and documentation of % algorithmic.sty can be obtained at: % http://www.ctan.org/tex-archive/macros/latex/contrib/algorithms/ % There is also a support site at: % http://algorithms.berlios.de/index.html % Also of interest may be the (relatively newer and more customizable) % algorithmicx.sty package by Szasz Janos: % http://www.ctan.org/tex-archive/macros/latex/contrib/algorithmicx/ % *** ALIGNMENT PACKAGES *** % %\usepackage{array} % Frank Mittelbach's and David Carlisle's array.sty patches and improves % the standard LaTeX2e array and tabular environments to provide better % appearance and additional user controls. As the default LaTeX2e table % generation code is lacking to the point of almost being broken with % respect to the quality of the end results, all users are strongly % advised to use an enhanced (at the very least that provided by array.sty) % set of table tools. array.sty is already installed on most systems. The % latest version and documentation can be obtained at: % http://www.ctan.org/tex-archive/macros/latex/required/tools/ %\usepackage{mdwmath} %\usepackage{mdwtab} % Also highly recommended is Mark Wooding's extremely powerful MDW tools, % especially mdwmath.sty and mdwtab.sty which are used to format equations % and tables, respectively. The MDWtools set is already installed on most % LaTeX systems. The lastest version and documentation is available at: % http://www.ctan.org/tex-archive/macros/latex/contrib/mdwtools/ % IEEEtran contains the IEEEeqnarray family of commands that can be used to % generate multiline equations as well as matrices, tables, etc., of high % quality. %\usepackage{eqparbox} % Also of notable interest is Scott Pakin's eqparbox package for creating % (automatically sized) equal width boxes - aka "natural width parboxes". % Available at: % http://www.ctan.org/tex-archive/macros/latex/contrib/eqparbox/ % *** SUBFIGURE PACKAGES *** %\usepackage[tight,footnotesize]{subfigure} % subfigure.sty was written by Steven Douglas Cochran. This package makes it % easy to put subfigures in your figures. e.g., "Figure 1a and 1b". For IEEE % work, it is a good idea to load it with the tight package option to reduce % the amount of white space around the subfigures. subfigure.sty is already % installed on most LaTeX systems. The latest version and documentation can % be obtained at: % http://www.ctan.org/tex-archive/obsolete/macros/latex/contrib/subfigure/ % subfigure.sty has been superceeded by subfig.sty. %\usepackage[caption=false]{caption} %\usepackage[font=footnotesize]{subfig} % subfig.sty, also written by Steven Douglas Cochran, is the modern % replacement for subfigure.sty. However, subfig.sty requires and % automatically loads Axel Sommerfeldt's caption.sty which will override % IEEEtran.cls handling of captions and this will result in nonIEEE style % figure/table captions. To prevent this problem, be sure and preload % caption.sty with its "caption=false" package option. This is will preserve % IEEEtran.cls handing of captions. Version 1.3 (2005/06/28) and later % (recommended due to many improvements over 1.2) of subfig.sty supports % the caption=false option directly: %\usepackage[caption=false,font=footnotesize]{subfig} % % The latest version and documentation can be obtained at: % http://www.ctan.org/tex-archive/macros/latex/contrib/subfig/ % The latest version and documentation of caption.sty can be obtained at: % http://www.ctan.org/tex-archive/macros/latex/contrib/caption/ % *** FLOAT PACKAGES *** % %\usepackage{fixltx2e} % fixltx2e, the successor to the earlier fix2col.sty, was written by % Frank Mittelbach and David Carlisle. This package corrects a few problems % in the LaTeX2e kernel, the most notable of which is that in current % LaTeX2e releases, the ordering of single and double column floats is not % guaranteed to be preserved. Thus, an unpatched LaTeX2e can allow a % single column figure to be placed prior to an earlier double column % figure. The latest version and documentation can be found at: % http://www.ctan.org/tex-archive/macros/latex/base/ %\usepackage{stfloats} % stfloats.sty was written by Sigitas Tolusis. This package gives LaTeX2e % the ability to do double column floats at the bottom of the page as well % as the top. (e.g., "\begin{figure*}[!b]" is not normally possible in % LaTeX2e). It also provides a command: %\fnbelowfloat % to enable the placement of footnotes below bottom floats (the standard % LaTeX2e kernel puts them above bottom floats). This is an invasive package % which rewrites many portions of the LaTeX2e float routines. It may not work % with other packages that modify the LaTeX2e float routines. The latest % version and documentation can be obtained at: % http://www.ctan.org/tex-archive/macros/latex/contrib/sttools/ % Documentation is contained in the stfloats.sty comments as well as in the % presfull.pdf file. Do not use the stfloats baselinefloat ability as IEEE % does not allow \baselineskip to stretch. Authors submitting work to the % IEEE should note that IEEE rarely uses double column equations and % that authors should try to avoid such use. Do not be tempted to use the % cuted.sty or midfloat.sty packages (also by Sigitas Tolusis) as IEEE does % not format its papers in such ways. % *** PDF, URL AND HYPERLINK PACKAGES *** % %\usepackage{url} % url.sty was written by Donald Arseneau. It provides better support for % handling and breaking URLs. url.sty is already installed on most LaTeX % systems. The latest version can be obtained at: % http://www.ctan.org/tex-archive/macros/latex/contrib/misc/ % Read the url.sty source comments for usage information. Basically, % \url{my_url_here}. % *** Do not adjust lengths that control margins, column widths, etc. *** % *** Do not use packages that alter fonts (such as pslatex). *** % There should be no need to do such things with IEEEtran.cls V1.6 and later. % (Unless specifically asked to do so by the journal or conference you plan % to submit to, of course. ) % correct bad hyphenation here \hyphenation{op-tical net-works semi-conduc-tor} \begin{document} % % paper title % can use linebreaks \\ within to get better formatting as desired \title{Bare Demo of IEEEtran.cls for Conferences} % author names and affiliations % use a multiple column layout for up to three different % affiliations \author{\IEEEauthorblockN{Michael Shell} \IEEEauthorblockA{School of Electrical and\\Computer Engineering\\ Georgia Institute of Technology\\ Atlanta, Georgia 30332--0250\\ Email: http://www.michaelshell.org/contact.html} \and \IEEEauthorblockN{Homer Simpson} \IEEEauthorblockA{Twentieth Century Fox\\ Springfield, USA\\ Email: [email protected]} \and \IEEEauthorblockN{James Kirk\\ and Montgomery Scott} \IEEEauthorblockA{Starfleet Academy\\ San Francisco, California 96678-2391\\ Telephone: (800) 555--1212\\ Fax: (888) 555--1212}} % conference papers do not typically use \thanks and this command % is locked out in conference mode. If really needed, such as for % the acknowledgment of grants, issue a \IEEEoverridecommandlockouts % after \documentclass % for over three affiliations, or if they all won't fit within the width % of the page, use this alternative format: % %\author{\IEEEauthorblockN{Michael Shell\IEEEauthorrefmark{1}, %Homer Simpson\IEEEauthorrefmark{2}, %James Kirk\IEEEauthorrefmark{3}, %Montgomery Scott\IEEEauthorrefmark{3} and %Eldon Tyrell\IEEEauthorrefmark{4}} %\IEEEauthorblockA{\IEEEauthorrefmark{1}School of Electrical and Computer Engineering\\ %Georgia Institute of Technology, %Atlanta, Georgia 30332--0250\\ Email: see http://www.michaelshell.org/contact.html} %\IEEEauthorblockA{\IEEEauthorrefmark{2}Twentieth Century Fox, Springfield, USA\\ %Email: [email protected]} %\IEEEauthorblockA{\IEEEauthorrefmark{3}Starfleet Academy, San Francisco, California 96678-2391\\ %Telephone: (800) 555--1212, Fax: (888) 555--1212} %\IEEEauthorblockA{\IEEEauthorrefmark{4}Tyrell Inc., 123 Replicant Street, Los Angeles, California 90210--4321}} % use for special paper notices %\IEEEspecialpapernotice{(Invited Paper)} % make the title area \maketitle \begin{abstract} %\boldmath The abstract goes here. \end{abstract} % IEEEtran.cls defaults to using nonbold math in the Abstract. % This preserves the distinction between vectors and scalars. However, % if the conference you are submitting to favors bold math in the abstract, % then you can use LaTeX's standard command \boldmath at the very start % of the abstract to achieve this. Many IEEE journals/conferences frown on % math in the abstract anyway. % no keywords % For peer review papers, you can put extra information on the cover % page as needed: % \ifCLASSOPTIONpeerreview % \begin{center} \bfseries EDICS Category: 3-BBND \end{center} % \fi % % For peerreview papers, this IEEEtran command inserts a page break and % creates the second title. It will be ignored for other modes. \IEEEpeerreviewmaketitle \section{Introduction} % no \IEEEPARstart This demo file is intended to serve as a ``starter file'' for IEEE conference papers produced under \LaTeX\ using IEEEtran.cls version 1.7 and later. % You must have at least 2 lines in the paragraph with the drop letter % (should never be an issue) I wish you the best of success. \hfill mds \hfill January 11, 2007 \subsection{Subsection Heading Here} Subsection text here. \subsubsection{Subsubsection Heading Here} Subsubsection text here. % An example of a floating figure using the graphicx package. % Note that \label must occur AFTER (or within) \caption. % For figures, \caption should occur after the \includegraphics. % Note that IEEEtran v1.7 and later has special internal code that % is designed to preserve the operation of \label within \caption % even when the captionsoff option is in effect. However, because % of issues like this, it may be the safest practice to put all your % \label just after \caption rather than within \caption{}. % % Reminder: the "draftcls" or "draftclsnofoot", not "draft", class % option should be used if it is desired that the figures are to be % displayed while in draft mode. % %\begin{figure}[!t] %\centering %\includegraphics[width=2.5in]{myfigure} % where an .eps filename suffix will be assumed under latex, % and a .pdf suffix will be assumed for pdflatex; or what has been declared % via \DeclareGraphicsExtensions. %\caption{Simulation Results} %\label{fig_sim} %\end{figure} % Note that IEEE typically puts floats only at the top, even when this % results in a large percentage of a column being occupied by floats. % An example of a double column floating figure using two subfigures. % (The subfig.sty package must be loaded for this to work.) % The subfigure \label commands are set within each subfloat command, the % \label for the overall figure must come after \caption. % \hfil must be used as a separator to get equal spacing. % The subfigure.sty package works much the same way, except \subfigure is % used instead of \subfloat. % %\begin{figure*}[!t] %\centerline{\subfloat[Case I]\includegraphics[width=2.5in]{subfigcase1}% %\label{fig_first_case}} %\hfil %\subfloat[Case II]{\includegraphics[width=2.5in]{subfigcase2}% %\label{fig_second_case}}} %\caption{Simulation results} %\label{fig_sim} %\end{figure*} % % Note that often IEEE papers with subfigures do not employ subfigure % captions (using the optional argument to \subfloat), but instead will % reference/describe all of them (a), (b), etc., within the main caption. % An example of a floating table. Note that, for IEEE style tables, the % \caption command should come BEFORE the table. Table text will default to % \footnotesize as IEEE normally uses this smaller font for tables. % The \label must come after \caption as always. % %\begin{table}[!t] %% increase table row spacing, adjust to taste %\renewcommand{\arraystretch}{1.3} % if using array.sty, it might be a good idea to tweak the value of % \extrarowheight as needed to properly center the text within the cells %\caption{An Example of a Table} %\label{table_example} %\centering %% Some packages, such as MDW tools, offer better commands for making tables %% than the plain LaTeX2e tabular which is used here. %\begin{tabular}{|c||c|} %\hline %One & Two\\ %\hline %Three & Four\\ %\hline %\end{tabular} %\end{table} % Note that IEEE does not put floats in the very first column - or typically % anywhere on the first page for that matter. Also, in-text middle ("here") % positioning is not used. Most IEEE journals/conferences use top floats % exclusively. Note that, LaTeX2e, unlike IEEE journals/conferences, places % footnotes above bottom floats. This can be corrected via the \fnbelowfloat % command of the stfloats package. \section{Conclusion} The conclusion goes here. % conference papers do not normally have an appendix % use section* for acknowledgement \section*{Acknowledgment} The authors would like to thank... % trigger a \newpage just before the given reference % number - used to balance the columns on the last page % adjust value as needed - may need to be readjusted if % the document is modified later %\IEEEtriggeratref{8} % The "triggered" command can be changed if desired: %\IEEEtriggercmd{\enlargethispage{-5in}} % references section % can use a bibliography generated by BibTeX as a .bbl file % BibTeX documentation can be easily obtained at: % http://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/ % The IEEEtran BibTeX style support page is at: % http://www.michaelshell.org/tex/ieeetran/bibtex/ %\bibliographystyle{IEEEtran} % argument is your BibTeX string definitions and bibliography database(s) %\bibliography{IEEEabrv,../bib/paper} % % <OR> manually copy in the resultant .bbl file % set second argument of \begin to the number of references % (used to reserve space for the reference number labels box) \begin{thebibliography}{1} \bibitem{IEEEhowto:kopka} H.~Kopka and P.~W. Daly, \emph{A Guide to \LaTeX}, 3rd~ed.\hskip 1em plus 0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999. \end{thebibliography} % that's all folks \end{document}
andrewbolster/thesis
papers/templates/ieeetran/bare_conf.tex
TeX
epl-1.0
22,389
[ 30522, 1003, 1003, 6436, 1035, 9530, 2546, 1012, 16060, 1003, 1003, 1058, 2487, 1012, 1017, 1003, 1003, 2289, 1013, 5890, 1013, 2340, 1003, 1003, 2011, 2745, 5806, 1003, 1003, 2156, 1024, 1003, 1003, 8299, 1024, 1013, 1013, 7479, 1012, 17784, 18223, 1012, 8917, 1013, 1003, 1003, 2005, 2783, 3967, 2592, 1012, 1003, 1003, 1003, 1003, 2023, 2003, 1037, 13526, 5371, 14313, 1996, 2224, 1997, 15368, 6494, 2078, 1012, 18856, 2015, 1003, 1003, 1006, 5942, 15368, 6494, 2078, 1012, 18856, 2015, 2544, 1015, 1012, 1021, 2030, 2101, 1007, 2007, 2019, 15368, 3034, 3259, 1012, 1003, 1003, 1003, 1003, 2490, 4573, 1024, 1003, 1003, 8299, 1024, 1013, 1013, 7479, 1012, 17784, 18223, 1012, 8917, 1013, 16060, 1013, 15368, 6494, 2078, 1013, 1003, 1003, 8299, 1024, 1013, 1013, 7479, 1012, 14931, 2319, 1012, 8917, 1013, 16060, 1011, 8756, 1013, 26632, 2015, 1013, 2397, 2595, 1013, 9530, 18886, 2497, 1013, 15368, 6494, 2078, 1013, 1003, 1003, 1998, 1003, 1003, 8299, 1024, 1013, 1013, 7479, 1012, 15368, 1012, 8917, 1013, 1003, 1003, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1003, 1003, 3423, 5060, 1024, 1003, 1003, 2023, 3642, 2003, 3253, 2004, 1011, 2003, 2302, 2151, 10943, 2100, 2593, 5228, 2030, 1003, 1003, 13339, 1025, 2302, 2130, 1996, 13339, 10943, 2100, 1997, 6432, 8010, 2030, 1003, 1003, 10516, 2005, 1037, 3327, 3800, 999, 1003, 1003, 5310, 15980, 2035, 3891, 1012, 1003, 1003, 1999, 2053, 2724, 4618, 15368, 2030, 2151, 12130, 2000, 2023, 3642, 2022, 20090, 2005, 1003, 1003, 2151, 12394, 2030, 6409, 1010, 2164, 1010, 2021, 2025, 3132, 2000, 1010, 5043, 2389, 1010, 1003, 1003, 9530, 3366, 15417, 4818, 1010, 2030, 2151, 2060, 12394, 1010, 4525, 2013, 1996, 2224, 2030, 28616, 8557, 1003, 1003, 1997, 2151, 2592, 4838, 2182, 1012, 1003, 1003, 1003, 1003, 2035, 7928, 2024, 1996, 10740, 1997, 2037, 7972, 6048, 1998, 2024, 2025, 1003, 1003, 9352, 11763, 2011, 1996, 15368, 1012, 1003, 1003, 1003, 1003, 2023, 2147, 2003, 5500, 2104, 1996, 2397, 2595, 2622, 2270, 6105, 1006, 6948, 24759, 1007, 1003, 1003, 1006, 8299, 1024, 1013, 1013, 7479, 1012, 2397, 2595, 1011, 2622, 1012, 8917, 1013, 1007, 2544, 1015, 1012, 1017, 1010, 1998, 2089, 2022, 10350, 2109, 1010, 1003, 1003, 5500, 1998, 6310, 1012, 1037, 6100, 1997, 1996, 6948, 24759, 1010, 2544, 1015, 1012, 1017, 1010, 2003, 2443, 1003, 1003, 1999, 1996, 2918, 2397, 2595, 12653, 1997, 2035, 20611, 1997, 2397, 2595, 2207, 30524, 6495, 1012, 1003, 1003, 1008, 1008, 6310, 6764, 2323, 2022, 4415, 5393, 2004, 2107, 1010, 2164, 1008, 1008, 1003, 1003, 1008, 1008, 24944, 2068, 1998, 5278, 30523, 1003, 1003, 2494, 1013, 2260, 1013, 5890, 2030, 2101, 1012, 1003, 1003, 9279, 2035, 6691, 14444, 1998, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1003, 1003, 2494, 1013, 2260, 1013, 5890, 2030, 2101, 1012, 1003, 1003, 9279, 2035, 6691, 14444, 1998, 30526 ]
namespace Org.BouncyCastle.Crypto.Tls { /// <summary> /// RFC 2246 6.1 /// </summary> public enum CompressionMethod : byte { NULL = 0, /* * RFC 3749 2 */ DEFLATE = 1 /* * Values from 224 decimal (0xE0) through 255 decimal (0xFF) * inclusive are reserved for private use. */ } }
GaloisInc/hacrypto
src/C#/BouncyCastle/BouncyCastle-1.7/crypto/src/crypto/tls/CompressionMethod.cs
C#
bsd-3-clause
332
[ 30522, 3415, 15327, 8917, 1012, 8945, 4609, 5666, 23662, 1012, 19888, 2080, 1012, 1056, 4877, 1063, 1013, 1013, 1013, 1026, 12654, 1028, 1013, 1013, 1013, 14645, 19711, 2575, 1020, 1012, 1015, 1013, 1013, 1013, 1026, 1013, 12654, 1028, 2270, 4372, 2819, 13379, 11368, 6806, 2094, 1024, 24880, 1063, 19701, 1027, 1014, 1010, 1013, 1008, 1008, 14645, 4261, 26224, 1016, 1008, 1013, 13366, 13806, 1027, 1015, 1013, 1008, 1008, 5300, 2013, 19711, 26066, 1006, 1014, 2595, 2063, 2692, 1007, 30524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2083, 20637, 26066, 1006, 1014, 2595, 4246, 1007, 1008, 18678, 2024, 9235, 2005, 2797, 2224, 1012, 1008, 1013, 1065, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_wchar_t_malloc_22a.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml Template File: sources-sinks-22a.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Management Routines * BadSource: malloc Allocate data using malloc() * GoodSource: Allocate data using new * Sinks: * GoodSink: Deallocate data using free() * BadSink : Deallocate data using delete * Flow Variant: 22 Control flow: Flow controlled by value of a global variable. Sink functions are in a separate file from sources. * * */ #include "std_testcase.h" namespace CWE762_Mismatched_Memory_Management_Routines__delete_wchar_t_malloc_22 { #ifndef OMITBAD /* The global variable below is used to drive control flow in the sink function. Since it is in a C++ namespace, it doesn't need a globally unique name. */ int badGlobal = 0; void badSink(wchar_t * data); void bad() { wchar_t * data; /* Initialize data*/ data = NULL; /* POTENTIAL FLAW: Allocate memory with a function that requires free() to free the memory */ data = (wchar_t *)malloc(100*sizeof(wchar_t)); badGlobal = 1; /* true */ badSink(data); } #endif /* OMITBAD */ #ifndef OMITGOOD /* The global variables below are used to drive control flow in the sink functions. Since they are in a C++ namespace, they don't need globally unique names. */ int goodB2G1Global = 0; int goodB2G2Global = 0; int goodG2B1Global = 0; /* goodB2G1() - use badsource and goodsink by setting the static variable to false instead of true */ void goodB2G1Sink(wchar_t * data); static void goodB2G1() { wchar_t * data; /* Initialize data*/ data = NULL; /* POTENTIAL FLAW: Allocate memory with a function that requires free() to free the memory */ data = (wchar_t *)malloc(100*sizeof(wchar_t)); goodB2G1Global = 0; /* false */ goodB2G1Sink(data); } /* goodB2G2() - use badsource and goodsink by reversing the blocks in the if in the sink function */ void goodB2G2Sink(wchar_t * data); static void goodB2G2() { wchar_t * data; /* Initialize data*/ data = NULL; /* POTENTIAL FLAW: Allocate memory with a function that requires free() to free the memory */ data = (wchar_t *)malloc(100*sizeof(wchar_t)); goodB2G2Global = 1; /* true */ goodB2G2Sink(data); } /* goodG2B1() - use goodsource and badsink */ void goodG2B1Sink(wchar_t * data); static void goodG2B1() { wchar_t * data; /* Initialize data*/ data = NULL; /* FIX: Allocate memory from the heap using new */ data = new wchar_t; goodG2B1Global = 1; /* true */ goodG2B1Sink(data); } void good() { goodB2G1(); goodB2G2(); goodG2B1(); } #endif /* OMITGOOD */ } /* close namespace */ /* Below is the main(). It is only used when building this testcase on its own for testing or for building a binary to use in testing binary analysis tools. It is not used when compiling all the testcases as one application, which is how source code analysis tools are tested. */ #ifdef INCLUDEMAIN using namespace CWE762_Mismatched_Memory_Management_Routines__delete_wchar_t_malloc_22; /* so that we can use good and bad easily */ int main(int argc, char * argv[]) { /* seed randomness */ srand( (unsigned)time(NULL) ); #ifndef OMITGOOD printLine("Calling good()..."); good(); printLine("Finished good()"); #endif /* OMITGOOD */ #ifndef OMITBAD printLine("Calling bad()..."); bad(); printLine("Finished bad()"); #endif /* OMITBAD */ return 0; } #endif
maurer/tiamat
samples/Juliet/testcases/CWE762_Mismatched_Memory_Management_Routines/s04/CWE762_Mismatched_Memory_Management_Routines__delete_wchar_t_malloc_22a.cpp
C++
mit
3,767
[ 30522, 1013, 1008, 23561, 7013, 3231, 18382, 5371, 5371, 18442, 1024, 19296, 2063, 2581, 2575, 2475, 1035, 28616, 18900, 7690, 1035, 3638, 1035, 2968, 1035, 23964, 1035, 1035, 3972, 12870, 1035, 15868, 8167, 1035, 1056, 1035, 6670, 10085, 1035, 2570, 2050, 1012, 18133, 2361, 3830, 6210, 5371, 1024, 19296, 2063, 2581, 2575, 2475, 1035, 28616, 18900, 7690, 1035, 3638, 1035, 2968, 1035, 23964, 1035, 1035, 3972, 12870, 1012, 3830, 1012, 20950, 23561, 5371, 1024, 4216, 1011, 23462, 1011, 2570, 2050, 1012, 1056, 8737, 2140, 1012, 18133, 2361, 1008, 1013, 1013, 1008, 1008, 1030, 6412, 1008, 19296, 2063, 1024, 6146, 2475, 28616, 18900, 7690, 3638, 2968, 23964, 1008, 2919, 6499, 3126, 3401, 1024, 6670, 10085, 2035, 24755, 2618, 2951, 2478, 6670, 10085, 1006, 1007, 1008, 5350, 8162, 3401, 1024, 2035, 24755, 2618, 2951, 2478, 2047, 1008, 23462, 1024, 1008, 5350, 19839, 1024, 3066, 4135, 16280, 2951, 2478, 2489, 1006, 1007, 1008, 2919, 11493, 2243, 1024, 3066, 4135, 16280, 2951, 2478, 3972, 12870, 1008, 4834, 8349, 1024, 2570, 2491, 4834, 1024, 4834, 4758, 2011, 3643, 1997, 1037, 3795, 8023, 1012, 7752, 4972, 2024, 1999, 1037, 3584, 5371, 2013, 4216, 1012, 1008, 1008, 1008, 1013, 1001, 2421, 1000, 2358, 2094, 1035, 3231, 18382, 1012, 1044, 1000, 3415, 15327, 19296, 2063, 2581, 2575, 2475, 1035, 28616, 18900, 7690, 1035, 3638, 1035, 2968, 1035, 23964, 1035, 1035, 3972, 12870, 1035, 15868, 8167, 1035, 1056, 1035, 6670, 10085, 1035, 2570, 1063, 1001, 2065, 13629, 2546, 18168, 4183, 9024, 1013, 1008, 1996, 3795, 8023, 2917, 2003, 2109, 2000, 3298, 2491, 4834, 1999, 1996, 7752, 3853, 1012, 2144, 2009, 2003, 1999, 1037, 1039, 1009, 1009, 3415, 15327, 1010, 2009, 2987, 1005, 1056, 2342, 1037, 16452, 4310, 2171, 1012, 1008, 1013, 20014, 2919, 23296, 16429, 2389, 1027, 1014, 1025, 11675, 2919, 11493, 2243, 1006, 15868, 8167, 1035, 1056, 1008, 2951, 1007, 1025, 11675, 2919, 1006, 1007, 1063, 15868, 8167, 1035, 1056, 1008, 2951, 1025, 1013, 1008, 3988, 4697, 2951, 1008, 1013, 2951, 1027, 19701, 1025, 1013, 1008, 4022, 28450, 1024, 2035, 24755, 2618, 3638, 2007, 1037, 3853, 2008, 5942, 2489, 1006, 1007, 2000, 2489, 1996, 3638, 1008, 1013, 2951, 1027, 1006, 15868, 8167, 1035, 1056, 1008, 1007, 6670, 10085, 1006, 2531, 1008, 2946, 11253, 1006, 15868, 8167, 1035, 1056, 1007, 1007, 1025, 2919, 23296, 16429, 2389, 1027, 1015, 1025, 1013, 1008, 2995, 1008, 1013, 2919, 11493, 2243, 1006, 2951, 1007, 1025, 1065, 1001, 2203, 10128, 1013, 1008, 18168, 4183, 9024, 1008, 1013, 1001, 2065, 13629, 2546, 18168, 4183, 24146, 1013, 1008, 1996, 3795, 10857, 2917, 2024, 2109, 2000, 3298, 2491, 4834, 1999, 1996, 7752, 4972, 1012, 2144, 2027, 2024, 1999, 1037, 1039, 1009, 1009, 3415, 15327, 1010, 2027, 2123, 1005, 30524, 2497, 2487, 23296, 16429, 2389, 1027, 1014, 1025, 1013, 1008, 2204, 2497, 2475, 2290, 2487, 1006, 1007, 1011, 2224, 2919, 6499, 3126, 30523, 1056, 2342, 16452, 4310, 3415, 1012, 1008, 1013, 20014, 2204, 2497, 2475, 2290, 2487, 23296, 16429, 2389, 1027, 1014, 1025, 20014, 2204, 2497, 2475, 2290, 2475, 23296, 16429, 2389, 1027, 1014, 1025, 20014, 2204, 2290, 2475, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1056, 2342, 16452, 4310, 3415, 1012, 1008, 1013, 20014, 2204, 2497, 2475, 2290, 2487, 23296, 16429, 2389, 1027, 1014, 1025, 20014, 2204, 2497, 2475, 2290, 2475, 23296, 16429, 2389, 1027, 1014, 1025, 20014, 2204, 2290, 2475, 30526 ]
package cn.liuyb.app.portal.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import cn.liuyb.app.portal.dao.RoleUrlDao; import cn.liuyb.app.portal.domain.RoleUrl; import cn.liuyb.app.portal.service.RoleUrlService; @Service public class RoleUrlServiceImpl implements RoleUrlService{ //private static final Logger logger = Slf4jLogUtils.getLogger(RoleUrlServiceImpl.class); @Autowired private RoleUrlDao roleUrlDao; @Transactional @Override public void add(RoleUrl roleUrl){ roleUrlDao.create(roleUrl); } @Transactional @Override public void delete(RoleUrl roleUrl) { roleUrlDao.delete(roleUrl); } @Transactional @Override public void update(RoleUrl roleUrl) { roleUrlDao.update(roleUrl); } @Override public List<RoleUrl> findRoleUrlByClassName(String className) { return roleUrlDao.findRoleUrlByClassName(className); } @Override public List<Object> findRoleUrlGroupByClassName() { return roleUrlDao.findRoleUrlGroupByClassName(); } @Override public boolean isBeingRoleUrlByUrlAndType(String url) { return roleUrlDao.isBeingRoleUrlByUrlAndType(url); } @Override public int countRoleUrlByClassName(String className) { return roleUrlDao.countRoleUrlByClassName(className); } @Override public List<RoleUrl> findRoleUrlByClassName(int start, int max, String className) { return roleUrlDao.findRoleUrlByClassName(start, max, className); } @Override public int countRoleUrlGroupByClassName() { return roleUrlDao.countRoleUrlGroupByClassName(); } @Override public List<Object> findRoleUrlGroupByClassName(int start, int max) { return roleUrlDao.findRoleUrlGroupByClassName(start, max); } @Override public RoleUrl getRoleUrlById(Long id) { return roleUrlDao.find(id); } @Override public List<RoleUrl> findRoleUrlByUrlAndTypeReadOnly(String url, Integer readOnly) { return roleUrlDao.findRoleUrlByUrlAndTypeReadOnly(url, readOnly); } @Override public boolean isBeingRoleUrlByUrlAndTypeReadOnly(String url,Integer readOnly) { return roleUrlDao.isBeingRoleUrlByUrlAndTypeReadOnly(url, readOnly); } @Override public List<RoleUrl> findRoleUrlByUserFunctionModel(String userFunctionModel) { return roleUrlDao.findRoleUrlByUserFunctionModel(userFunctionModel); } }
liuyb4016/model_project
model_springmvc/src/main/java/cn/liuyb/app/portal/service/impl/RoleUrlServiceImpl.java
Java
apache-2.0
2,512
[ 30522, 7427, 27166, 1012, 8607, 2100, 2497, 1012, 10439, 1012, 9445, 1012, 2326, 1012, 17727, 2140, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 2862, 1025, 12324, 8917, 1012, 3500, 15643, 6198, 1012, 13435, 1012, 4713, 1012, 5754, 17287, 3508, 1012, 8285, 20357, 2094, 1025, 12324, 8917, 1012, 3500, 15643, 6198, 1012, 12991, 13874, 1012, 2326, 1025, 12324, 8917, 1012, 3500, 15643, 6198, 1012, 12598, 1012, 5754, 17287, 3508, 1012, 12598, 2389, 1025, 12324, 27166, 1012, 8607, 2100, 2497, 1012, 10439, 1012, 9445, 1012, 4830, 2080, 1012, 2535, 3126, 15150, 2080, 1025, 12324, 27166, 1012, 8607, 2100, 2497, 1012, 10439, 1012, 9445, 1012, 5884, 1012, 2535, 3126, 2140, 1025, 12324, 27166, 1012, 8607, 2100, 2497, 1012, 10439, 1012, 9445, 1012, 2326, 1012, 2535, 3126, 4877, 2121, 7903, 2063, 1025, 1030, 2326, 2270, 2465, 2535, 3126, 4877, 2121, 7903, 12112, 24759, 22164, 2535, 3126, 4877, 2121, 7903, 2063, 1063, 1013, 1013, 2797, 10763, 2345, 8833, 4590, 8833, 4590, 1027, 22889, 2546, 2549, 3501, 21197, 21823, 4877, 1012, 2131, 21197, 4590, 1006, 2535, 3126, 4877, 2121, 7903, 12112, 24759, 1012, 2465, 1007, 1025, 1030, 8285, 20357, 2094, 2797, 2535, 3126, 15150, 2080, 2535, 3126, 15150, 2080, 1025, 1030, 12598, 2389, 1030, 2058, 15637, 2270, 11675, 5587, 1006, 2535, 3126, 2140, 2535, 3126, 2140, 1007, 1063, 2535, 3126, 15150, 2080, 1012, 3443, 1006, 2535, 3126, 2140, 1007, 1025, 1065, 1030, 12598, 2389, 1030, 2058, 15637, 2270, 11675, 3972, 30524, 2535, 3126, 2140, 1007, 1063, 2535, 3126, 15150, 2080, 1012, 10651, 1006, 2535, 3126, 2140, 1007, 1025, 1065, 1030, 2058, 15637, 2270, 2862, 1026, 2535, 3126, 2140, 1028, 2424, 13153, 11236, 14510, 26266, 18442, 1006, 5164, 2465, 18442, 1007, 1063, 2709, 2535, 3126, 15150, 2080, 1012, 2424, 13153, 11236, 14510, 26266, 18442, 1006, 2465, 18442, 1007, 1025, 1065, 1030, 2058, 15637, 2270, 2862, 1026, 4874, 1028, 2424, 13153, 11236, 2140, 17058, 3762, 26266, 18442, 1006, 1007, 1063, 2709, 2535, 3126, 15150, 2080, 1012, 2424, 13153, 11236, 2140, 17058, 3762, 26266, 18442, 1006, 1007, 1025, 1065, 1030, 2058, 15637, 2270, 22017, 20898, 2003, 19205, 3070, 13153, 11236, 14510, 3126, 3122, 13874, 1006, 5164, 24471, 2140, 1007, 1063, 2709, 2535, 3126, 15150, 2080, 1012, 2003, 19205, 3070, 13153, 11236, 14510, 3126, 3122, 13874, 1006, 24471, 2140, 1007, 1025, 1065, 1030, 2058, 15637, 2270, 20014, 4175, 13153, 11236, 14510, 26266, 18442, 1006, 5164, 2465, 18442, 1007, 1063, 2709, 2535, 3126, 15150, 2080, 1012, 4175, 13153, 11236, 14510, 26266, 18442, 1006, 2465, 18442, 1007, 1025, 1065, 1030, 2058, 15637, 2270, 2862, 1026, 2535, 3126, 2140, 1028, 2424, 13153, 11236, 14510, 26266, 18442, 1006, 20014, 2707, 1010, 20014, 4098, 1010, 5164, 2465, 18442, 1007, 1063, 2709, 2535, 3126, 15150, 2080, 1012, 2424, 13153, 11236, 14510, 26266, 18442, 1006, 2707, 1010, 4098, 1010, 2465, 18442, 1007, 1025, 1065, 1030, 2058, 15637, 2270, 20014, 4175, 30523, 12870, 1006, 2535, 3126, 2140, 2535, 3126, 2140, 1007, 1063, 2535, 3126, 15150, 2080, 1012, 3972, 12870, 1006, 2535, 3126, 2140, 1007, 1025, 1065, 1030, 12598, 2389, 1030, 2058, 15637, 2270, 11675, 10651, 1006, 2535, 3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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 12870, 1006, 2535, 3126, 2140, 2535, 3126, 2140, 1007, 1063, 2535, 3126, 15150, 2080, 1012, 3972, 12870, 1006, 2535, 3126, 2140, 1007, 1025, 1065, 1030, 12598, 2389, 1030, 2058, 15637, 2270, 11675, 10651, 1006, 2535, 3126, 2140, 30526 ]
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModules[moduleId].exports; /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ exports: {}, /******/ id: moduleId, /******/ loaded: false /******/ }; /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ // Flag the module as loaded /******/ module.loaded = true; /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ // Load entry module and return exports /******/ return __webpack_require__(0); /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; __webpack_require__(1); var _jquery = __webpack_require__(!(function webpackMissingModule() { var e = new Error("Cannot find module \"jquery\""); e.code = 'MODULE_NOT_FOUND'; throw e; }())); var _jquery2 = _interopRequireDefault(_jquery); var _cats = __webpack_require__(327); var _cats2 = _interopRequireDefault(_cats); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } (0, _jquery2.default)('<h1>Cats</h1>').appendTo('body'); var ul = (0, _jquery2.default)('<ul></ul>').appendTo('body'); var _iteratorNormalCompletion = true; var _didIteratorError = false; var _iteratorError = undefined; try { for (var _iterator = _cats2.default[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { var cat = _step.value; (0, _jquery2.default)('<li></li>').text(cat).appendTo(ul); } } catch (err) { _didIteratorError = true; _iteratorError = err; } finally { try { if (!_iteratorNormalCompletion && _iterator.return) { _iterator.return(); } } finally { if (_didIteratorError) { throw _iteratorError; } } } /***/ }), /* 1 */ /***/ (function(module, exports, __webpack_require__) { /* WEBPACK VAR INJECTION */(function(global) {"use strict"; __webpack_require__(2); __webpack_require__(323); __webpack_require__(324); if (global._babelPolyfill) { throw new Error("only one instance of babel-polyfill is allowed"); } global._babelPolyfill = true; var DEFINE_PROPERTY = "defineProperty"; function define(O, key, value) { O[key] || Object[DEFINE_PROPERTY](O, key, { writable: true, configurable: true, value: value }); } define(String.prototype, "padLeft", "".padStart); define(String.prototype, "padRight", "".padEnd); "pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function (key) { [][key] && define(Array, key, Function.call.bind([][key])); }); /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /***/ }), /* 2 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(3); __webpack_require__(51); __webpack_require__(52); __webpack_require__(53); __webpack_require__(54); __webpack_require__(56); __webpack_require__(59); __webpack_require__(60); __webpack_require__(61); __webpack_require__(62); __webpack_require__(63); __webpack_require__(64); __webpack_require__(65); __webpack_require__(66); __webpack_require__(67); __webpack_require__(69); __webpack_require__(71); __webpack_require__(73); __webpack_require__(75); __webpack_require__(78); __webpack_require__(79); __webpack_require__(80); __webpack_require__(84); __webpack_require__(86); __webpack_require__(88); __webpack_require__(91); __webpack_require__(92); __webpack_require__(93); __webpack_require__(94); __webpack_require__(96); __webpack_require__(97); __webpack_require__(98); __webpack_require__(99); __webpack_require__(100); __webpack_require__(101); __webpack_require__(102); __webpack_require__(104); __webpack_require__(105); __webpack_require__(106); __webpack_require__(108); __webpack_require__(109); __webpack_require__(110); __webpack_require__(112); __webpack_require__(114); __webpack_require__(115); __webpack_require__(116); __webpack_require__(117); __webpack_require__(118); __webpack_require__(119); __webpack_require__(120); __webpack_require__(121); __webpack_require__(122); __webpack_require__(123); __webpack_require__(124); __webpack_require__(125); __webpack_require__(126); __webpack_require__(131); __webpack_require__(132); __webpack_require__(136); __webpack_require__(137); __webpack_require__(138); __webpack_require__(139); __webpack_require__(141); __webpack_require__(142); __webpack_require__(143); __webpack_require__(144); __webpack_require__(145); __webpack_require__(146); __webpack_require__(147); __webpack_require__(148); __webpack_require__(149); __webpack_require__(150); __webpack_require__(151); __webpack_require__(152); __webpack_require__(153); __webpack_require__(154); __webpack_require__(155); __webpack_require__(157); __webpack_require__(158); __webpack_require__(160); __webpack_require__(161); __webpack_require__(167); __webpack_require__(168); __webpack_require__(170); __webpack_require__(171); __webpack_require__(172); __webpack_require__(176); __webpack_require__(177); __webpack_require__(178); __webpack_require__(179); __webpack_require__(180); __webpack_require__(182); __webpack_require__(183); __webpack_require__(184); __webpack_require__(185); __webpack_require__(188); __webpack_require__(190); __webpack_require__(191); __webpack_require__(192); __webpack_require__(194); __webpack_require__(196); __webpack_require__(198); __webpack_require__(199); __webpack_require__(200); __webpack_require__(202); __webpack_require__(203); __webpack_require__(204); __webpack_require__(205); __webpack_require__(216); __webpack_require__(220); __webpack_require__(221); __webpack_require__(223); __webpack_require__(224); __webpack_require__(228); __webpack_require__(229); __webpack_require__(231); __webpack_require__(232); __webpack_require__(233); __webpack_require__(234); __webpack_require__(235); __webpack_require__(236); __webpack_require__(237); __webpack_require__(238); __webpack_require__(239); __webpack_require__(240); __webpack_require__(241); __webpack_require__(242); __webpack_require__(243); __webpack_require__(244); __webpack_require__(245); __webpack_require__(246); __webpack_require__(247); __webpack_require__(248); __webpack_require__(249); __webpack_require__(251); __webpack_require__(252); __webpack_require__(253); __webpack_require__(254); __webpack_require__(255); __webpack_require__(257); __webpack_require__(258); __webpack_require__(259); __webpack_require__(261); __webpack_require__(262); __webpack_require__(263); __webpack_require__(264); __webpack_require__(265); __webpack_require__(266); __webpack_require__(267); __webpack_require__(268); __webpack_require__(270); __webpack_require__(271); __webpack_require__(273); __webpack_require__(274); __webpack_require__(275); __webpack_require__(276); __webpack_require__(279); __webpack_require__(280); __webpack_require__(282); __webpack_require__(283); __webpack_require__(284); __webpack_require__(285); __webpack_require__(287); __webpack_require__(288); __webpack_require__(289); __webpack_require__(290); __webpack_require__(291); __webpack_require__(292); __webpack_require__(293); __webpack_require__(294); __webpack_require__(295); __webpack_require__(296); __webpack_require__(298); __webpack_require__(299); __webpack_require__(300); __webpack_require__(301); __webpack_require__(302); __webpack_require__(303); __webpack_require__(304); __webpack_require__(305); __webpack_require__(306); __webpack_require__(307); __webpack_require__(308); __webpack_require__(310); __webpack_require__(311); __webpack_require__(312); __webpack_require__(313); __webpack_require__(314); __webpack_require__(315); __webpack_require__(316); __webpack_require__(317); __webpack_require__(318); __webpack_require__(319); __webpack_require__(320); __webpack_require__(321); __webpack_require__(322); module.exports = __webpack_require__(9); /***/ }), /* 3 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // ECMAScript 6 symbols shim var global = __webpack_require__(4); var has = __webpack_require__(5); var DESCRIPTORS = __webpack_require__(6); var $export = __webpack_require__(8); var redefine = __webpack_require__(18); var META = __webpack_require__(22).KEY; var $fails = __webpack_require__(7); var shared = __webpack_require__(23); var setToStringTag = __webpack_require__(25); var uid = __webpack_require__(19); var wks = __webpack_require__(26); var wksExt = __webpack_require__(27); var wksDefine = __webpack_require__(28); var enumKeys = __webpack_require__(29); var isArray = __webpack_require__(44); var anObject = __webpack_require__(12); var isObject = __webpack_require__(13); var toIObject = __webpack_require__(32); var toPrimitive = __webpack_require__(16); var createDesc = __webpack_require__(17); var _create = __webpack_require__(45); var gOPNExt = __webpack_require__(48); var $GOPD = __webpack_require__(50); var $DP = __webpack_require__(11); var $keys = __webpack_require__(30); var gOPD = $GOPD.f; var dP = $DP.f; var gOPN = gOPNExt.f; var $Symbol = global.Symbol; var $JSON = global.JSON; var _stringify = $JSON && $JSON.stringify; var PROTOTYPE = 'prototype'; var HIDDEN = wks('_hidden'); var TO_PRIMITIVE = wks('toPrimitive'); var isEnum = {}.propertyIsEnumerable; var SymbolRegistry = shared('symbol-registry'); var AllSymbols = shared('symbols'); var OPSymbols = shared('op-symbols'); var ObjectProto = Object[PROTOTYPE]; var USE_NATIVE = typeof $Symbol == 'function'; var QObject = global.QObject; // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 var setSymbolDesc = DESCRIPTORS && $fails(function () { return _create(dP({}, 'a', { get: function () { return dP(this, 'a', { value: 7 }).a; } })).a != 7; }) ? function (it, key, D) { var protoDesc = gOPD(ObjectProto, key); if (protoDesc) delete ObjectProto[key]; dP(it, key, D); if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); } : dP; var wrap = function (tag) { var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); sym._k = tag; return sym; }; var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { return typeof it == 'symbol'; } : function (it) { return it instanceof $Symbol; }; var $defineProperty = function defineProperty(it, key, D) { if (it === ObjectProto) $defineProperty(OPSymbols, key, D); anObject(it); key = toPrimitive(key, true); anObject(D); if (has(AllSymbols, key)) { if (!D.enumerable) { if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); it[HIDDEN][key] = true; } else { if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; D = _create(D, { enumerable: createDesc(0, false) }); } return setSymbolDesc(it, key, D); } return dP(it, key, D); }; var $defineProperties = function defineProperties(it, P) { anObject(it); var keys = enumKeys(P = toIObject(P)); var i = 0; var l = keys.length; var key; while (l > i) $defineProperty(it, key = keys[i++], P[key]); return it; }; var $create = function create(it, P) { return P === undefined ? _create(it) : $defineProperties(_create(it), P); }; var $propertyIsEnumerable = function propertyIsEnumerable(key) { var E = isEnum.call(this, key = toPrimitive(key, true)); if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; }; var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { it = toIObject(it); key = toPrimitive(key, true); if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; var D = gOPD(it, key); if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; return D; }; var $getOwnPropertyNames = function getOwnPropertyNames(it) { var names = gOPN(toIObject(it)); var result = []; var i = 0; var key; while (names.length > i) { if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); } return result; }; var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { var IS_OP = it === ObjectProto; var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); var result = []; var i = 0; var key; while (names.length > i) { if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); } return result; }; // 19.4.1.1 Symbol([description]) if (!USE_NATIVE) { $Symbol = function Symbol() { if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); var tag = uid(arguments.length > 0 ? arguments[0] : undefined); var $set = function (value) { if (this === ObjectProto) $set.call(OPSymbols, value); if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; setSymbolDesc(this, tag, createDesc(1, value)); }; if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); return wrap(tag); }; redefine($Symbol[PROTOTYPE], 'toString', function toString() { return this._k; }); $GOPD.f = $getOwnPropertyDescriptor; $DP.f = $defineProperty; __webpack_require__(49).f = gOPNExt.f = $getOwnPropertyNames; __webpack_require__(43).f = $propertyIsEnumerable; __webpack_require__(42).f = $getOwnPropertySymbols; if (DESCRIPTORS && !__webpack_require__(24)) { redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); } wksExt.f = function (name) { return wrap(wks(name)); }; } $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); for (var es6Symbols = ( // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' ).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); $export($export.S + $export.F * !USE_NATIVE, 'Symbol', { // 19.4.2.1 Symbol.for(key) 'for': function (key) { return has(SymbolRegistry, key += '') ? SymbolRegistry[key] : SymbolRegistry[key] = $Symbol(key); }, // 19.4.2.5 Symbol.keyFor(sym) keyFor: function keyFor(sym) { if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; }, useSetter: function () { setter = true; }, useSimple: function () { setter = false; } }); $export($export.S + $export.F * !USE_NATIVE, 'Object', { // 19.1.2.2 Object.create(O [, Properties]) create: $create, // 19.1.2.4 Object.defineProperty(O, P, Attributes) defineProperty: $defineProperty, // 19.1.2.3 Object.defineProperties(O, Properties) defineProperties: $defineProperties, // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) getOwnPropertyDescriptor: $getOwnPropertyDescriptor, // 19.1.2.7 Object.getOwnPropertyNames(O) getOwnPropertyNames: $getOwnPropertyNames, // 19.1.2.8 Object.getOwnPropertySymbols(O) getOwnPropertySymbols: $getOwnPropertySymbols }); // 24.3.2 JSON.stringify(value [, replacer [, space]]) $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { var S = $Symbol(); // MS Edge converts symbol values to JSON as {} // WebKit converts symbol values to JSON as null // V8 throws on boxed symbols return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; })), 'JSON', { stringify: function stringify(it) { var args = [it]; var i = 1; var replacer, $replacer; while (arguments.length > i) args.push(arguments[i++]); $replacer = replacer = args[1]; if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined if (!isArray(replacer)) replacer = function (key, value) { if (typeof $replacer == 'function') value = $replacer.call(this, key, value); if (!isSymbol(value)) return value; }; args[1] = replacer; return _stringify.apply($JSON, args); } }); // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) $Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(10)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); // 19.4.3.5 Symbol.prototype[@@toStringTag] setToStringTag($Symbol, 'Symbol'); // 20.2.1.9 Math[@@toStringTag] setToStringTag(Math, 'Math', true); // 24.3.3 JSON[@@toStringTag] setToStringTag(global.JSON, 'JSON', true); /***/ }), /* 4 */ /***/ (function(module, exports) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self // eslint-disable-next-line no-new-func : Function('return this')(); if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef /***/ }), /* 5 */ /***/ (function(module, exports) { var hasOwnProperty = {}.hasOwnProperty; module.exports = function (it, key) { return hasOwnProperty.call(it, key); }; /***/ }), /* 6 */ /***/ (function(module, exports, __webpack_require__) { // Thank's IE8 for his funny defineProperty module.exports = !__webpack_require__(7)(function () { return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /* 7 */ /***/ (function(module, exports) { module.exports = function (exec) { try { return !!exec(); } catch (e) { return true; } }; /***/ }), /* 8 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(4); var core = __webpack_require__(9); var hide = __webpack_require__(10); var redefine = __webpack_require__(18); var ctx = __webpack_require__(20); var PROTOTYPE = 'prototype'; var $export = function (type, name, source) { var IS_FORCED = type & $export.F; var IS_GLOBAL = type & $export.G; var IS_STATIC = type & $export.S; var IS_PROTO = type & $export.P; var IS_BIND = type & $export.B; var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); var key, own, out, exp; if (IS_GLOBAL) source = name; for (key in source) { // contains in native own = !IS_FORCED && target && target[key] !== undefined; // export native or passed out = (own ? target : source)[key]; // bind timers to global for call from export context exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // extend global if (target) redefine(target, key, out, type & $export.U); // export if (exports[key] != out) hide(exports, key, exp); if (IS_PROTO && expProto[key] != out) expProto[key] = out; } }; global.core = core; // type bitmap $export.F = 1; // forced $export.G = 2; // global $export.S = 4; // static $export.P = 8; // proto $export.B = 16; // bind $export.W = 32; // wrap $export.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; /***/ }), /* 9 */ /***/ (function(module, exports) { var core = module.exports = { version: '2.5.7' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef /***/ }), /* 10 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(11); var createDesc = __webpack_require__(17); module.exports = __webpack_require__(6) ? function (object, key, value) { return dP.f(object, key, createDesc(1, value)); } : function (object, key, value) { object[key] = value; return object; }; /***/ }), /* 11 */ /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__(12); var IE8_DOM_DEFINE = __webpack_require__(14); var toPrimitive = __webpack_require__(16); var dP = Object.defineProperty; exports.f = __webpack_require__(6) ? Object.defineProperty : function defineProperty(O, P, Attributes) { anObject(O); P = toPrimitive(P, true); anObject(Attributes); if (IE8_DOM_DEFINE) try { return dP(O, P, Attributes); } catch (e) { /* empty */ } if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; /***/ }), /* 12 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(13); module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; }; /***/ }), /* 13 */ /***/ (function(module, exports) { module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; /***/ }), /* 14 */ /***/ (function(module, exports, __webpack_require__) { module.exports = !__webpack_require__(6) && !__webpack_require__(7)(function () { return Object.defineProperty(__webpack_require__(15)('div'), 'a', { get: function () { return 7; } }).a != 7; }); /***/ }), /* 15 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(13); var document = __webpack_require__(4).document; // typeof document.createElement is 'object' in old IE var is = isObject(document) && isObject(document.createElement); module.exports = function (it) { return is ? document.createElement(it) : {}; }; /***/ }), /* 16 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.1 ToPrimitive(input [, PreferredType]) var isObject = __webpack_require__(13); // instead of the ES6 spec version, we didn't implement @@toPrimitive case // and the second argument - flag - preferred type is a string module.exports = function (it, S) { if (!isObject(it)) return it; var fn, val; if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; throw TypeError("Can't convert object to primitive value"); }; /***/ }), /* 17 */ /***/ (function(module, exports) { module.exports = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), writable: !(bitmap & 4), value: value }; }; /***/ }), /* 18 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(4); var hide = __webpack_require__(10); var has = __webpack_require__(5); var SRC = __webpack_require__(19)('src'); var TO_STRING = 'toString'; var $toString = Function[TO_STRING]; var TPL = ('' + $toString).split(TO_STRING); __webpack_require__(9).inspectSource = function (it) { return $toString.call(it); }; (module.exports = function (O, key, val, safe) { var isFunction = typeof val == 'function'; if (isFunction) has(val, 'name') || hide(val, 'name', key); if (O[key] === val) return; if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); if (O === global) { O[key] = val; } else if (!safe) { delete O[key]; hide(O, key, val); } else if (O[key]) { O[key] = val; } else { hide(O, key, val); } // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative })(Function.prototype, TO_STRING, function toString() { return typeof this == 'function' && this[SRC] || $toString.call(this); }); /***/ }), /* 19 */ /***/ (function(module, exports) { var id = 0; var px = Math.random(); module.exports = function (key) { return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); }; /***/ }), /* 20 */ /***/ (function(module, exports, __webpack_require__) { // optional / simple context binding var aFunction = __webpack_require__(21); module.exports = function (fn, that, length) { aFunction(fn); if (that === undefined) return fn; switch (length) { case 1: return function (a) { return fn.call(that, a); }; case 2: return function (a, b) { return fn.call(that, a, b); }; case 3: return function (a, b, c) { return fn.call(that, a, b, c); }; } return function (/* ...args */) { return fn.apply(that, arguments); }; }; /***/ }), /* 21 */ /***/ (function(module, exports) { module.exports = function (it) { if (typeof it != 'function') throw TypeError(it + ' is not a function!'); return it; }; /***/ }), /* 22 */ /***/ (function(module, exports, __webpack_require__) { var META = __webpack_require__(19)('meta'); var isObject = __webpack_require__(13); var has = __webpack_require__(5); var setDesc = __webpack_require__(11).f; var id = 0; var isExtensible = Object.isExtensible || function () { return true; }; var FREEZE = !__webpack_require__(7)(function () { return isExtensible(Object.preventExtensions({})); }); var setMeta = function (it) { setDesc(it, META, { value: { i: 'O' + ++id, // object ID w: {} // weak collections IDs } }); }; var fastKey = function (it, create) { // return primitive with prefix if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; if (!has(it, META)) { // can't set metadata to uncaught frozen object if (!isExtensible(it)) return 'F'; // not necessary to add metadata if (!create) return 'E'; // add missing metadata setMeta(it); // return object ID } return it[META].i; }; var getWeak = function (it, create) { if (!has(it, META)) { // can't set metadata to uncaught frozen object if (!isExtensible(it)) return true; // not necessary to add metadata if (!create) return false; // add missing metadata setMeta(it); // return hash weak collections IDs } return it[META].w; }; // add metadata on freeze-family methods calling var onFreeze = function (it) { if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); return it; }; var meta = module.exports = { KEY: META, NEED: false, fastKey: fastKey, getWeak: getWeak, onFreeze: onFreeze }; /***/ }), /* 23 */ /***/ (function(module, exports, __webpack_require__) { var core = __webpack_require__(9); var global = __webpack_require__(4); var SHARED = '__core-js_shared__'; var store = global[SHARED] || (global[SHARED] = {}); (module.exports = function (key, value) { return store[key] || (store[key] = value !== undefined ? value : {}); })('versions', []).push({ version: core.version, mode: __webpack_require__(24) ? 'pure' : 'global', copyright: '© 2018 Denis Pushkarev (zloirock.ru)' }); /***/ }), /* 24 */ /***/ (function(module, exports) { module.exports = false; /***/ }), /* 25 */ /***/ (function(module, exports, __webpack_require__) { var def = __webpack_require__(11).f; var has = __webpack_require__(5); var TAG = __webpack_require__(26)('toStringTag'); module.exports = function (it, tag, stat) { if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); }; /***/ }), /* 26 */ /***/ (function(module, exports, __webpack_require__) { var store = __webpack_require__(23)('wks'); var uid = __webpack_require__(19); var Symbol = __webpack_require__(4).Symbol; var USE_SYMBOL = typeof Symbol == 'function'; var $exports = module.exports = function (name) { return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); }; $exports.store = store; /***/ }), /* 27 */ /***/ (function(module, exports, __webpack_require__) { exports.f = __webpack_require__(26); /***/ }), /* 28 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(4); var core = __webpack_require__(9); var LIBRARY = __webpack_require__(24); var wksExt = __webpack_require__(27); var defineProperty = __webpack_require__(11).f; module.exports = function (name) { var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); }; /***/ }), /* 29 */ /***/ (function(module, exports, __webpack_require__) { // all enumerable object keys, includes symbols var getKeys = __webpack_require__(30); var gOPS = __webpack_require__(42); var pIE = __webpack_require__(43); module.exports = function (it) { var result = getKeys(it); var getSymbols = gOPS.f; if (getSymbols) { var symbols = getSymbols(it); var isEnum = pIE.f; var i = 0; var key; while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); } return result; }; /***/ }), /* 30 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.14 / 15.2.3.14 Object.keys(O) var $keys = __webpack_require__(31); var enumBugKeys = __webpack_require__(41); module.exports = Object.keys || function keys(O) { return $keys(O, enumBugKeys); }; /***/ }), /* 31 */ /***/ (function(module, exports, __webpack_require__) { var has = __webpack_require__(5); var toIObject = __webpack_require__(32); var arrayIndexOf = __webpack_require__(36)(false); var IE_PROTO = __webpack_require__(40)('IE_PROTO'); module.exports = function (object, names) { var O = toIObject(object); var i = 0; var result = []; var key; for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); // Don't enum bug & hidden keys while (names.length > i) if (has(O, key = names[i++])) { ~arrayIndexOf(result, key) || result.push(key); } return result; }; /***/ }), /* 32 */ /***/ (function(module, exports, __webpack_require__) { // to indexed object, toObject with fallback for non-array-like ES3 strings var IObject = __webpack_require__(33); var defined = __webpack_require__(35); module.exports = function (it) { return IObject(defined(it)); }; /***/ }), /* 33 */ /***/ (function(module, exports, __webpack_require__) { // fallback for non-array-like ES3 and non-enumerable old V8 strings var cof = __webpack_require__(34); // eslint-disable-next-line no-prototype-builtins module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { return cof(it) == 'String' ? it.split('') : Object(it); }; /***/ }), /* 34 */ /***/ (function(module, exports) { var toString = {}.toString; module.exports = function (it) { return toString.call(it).slice(8, -1); }; /***/ }), /* 35 */ /***/ (function(module, exports) { // 7.2.1 RequireObjectCoercible(argument) module.exports = function (it) { if (it == undefined) throw TypeError("Can't call method on " + it); return it; }; /***/ }), /* 36 */ /***/ (function(module, exports, __webpack_require__) { // false -> Array#indexOf // true -> Array#includes var toIObject = __webpack_require__(32); var toLength = __webpack_require__(37); var toAbsoluteIndex = __webpack_require__(39); module.exports = function (IS_INCLUDES) { return function ($this, el, fromIndex) { var O = toIObject($this); var length = toLength(O.length); var index = toAbsoluteIndex(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare if (IS_INCLUDES && el != el) while (length > index) { value = O[index++]; // eslint-disable-next-line no-self-compare if (value != value) return true; // Array#indexOf ignores holes, Array#includes - not } else for (;length > index; index++) if (IS_INCLUDES || index in O) { if (O[index] === el) return IS_INCLUDES || index || 0; } return !IS_INCLUDES && -1; }; }; /***/ }), /* 37 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.15 ToLength var toInteger = __webpack_require__(38); var min = Math.min; module.exports = function (it) { return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 }; /***/ }), /* 38 */ /***/ (function(module, exports) { // 7.1.4 ToInteger var ceil = Math.ceil; var floor = Math.floor; module.exports = function (it) { return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); }; /***/ }), /* 39 */ /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(38); var max = Math.max; var min = Math.min; module.exports = function (index, length) { index = toInteger(index); return index < 0 ? max(index + length, 0) : min(index, length); }; /***/ }), /* 40 */ /***/ (function(module, exports, __webpack_require__) { var shared = __webpack_require__(23)('keys'); var uid = __webpack_require__(19); module.exports = function (key) { return shared[key] || (shared[key] = uid(key)); }; /***/ }), /* 41 */ /***/ (function(module, exports) { // IE 8- don't enum bug keys module.exports = ( 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' ).split(','); /***/ }), /* 42 */ /***/ (function(module, exports) { exports.f = Object.getOwnPropertySymbols; /***/ }), /* 43 */ /***/ (function(module, exports) { exports.f = {}.propertyIsEnumerable; /***/ }), /* 44 */ /***/ (function(module, exports, __webpack_require__) { // 7.2.2 IsArray(argument) var cof = __webpack_require__(34); module.exports = Array.isArray || function isArray(arg) { return cof(arg) == 'Array'; }; /***/ }), /* 45 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) var anObject = __webpack_require__(12); var dPs = __webpack_require__(46); var enumBugKeys = __webpack_require__(41); var IE_PROTO = __webpack_require__(40)('IE_PROTO'); var Empty = function () { /* empty */ }; var PROTOTYPE = 'prototype'; // Create object with fake `null` prototype: use iframe Object with cleared prototype var createDict = function () { // Thrash, waste and sodomy: IE GC bug var iframe = __webpack_require__(15)('iframe'); var i = enumBugKeys.length; var lt = '<'; var gt = '>'; var iframeDocument; iframe.style.display = 'none'; __webpack_require__(47).appendChild(iframe); iframe.src = 'javascript:'; // eslint-disable-line no-script-url // createDict = iframe.contentWindow.Object; // html.removeChild(iframe); iframeDocument = iframe.contentWindow.document; iframeDocument.open(); iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); iframeDocument.close(); createDict = iframeDocument.F; while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; return createDict(); }; module.exports = Object.create || function create(O, Properties) { var result; if (O !== null) { Empty[PROTOTYPE] = anObject(O); result = new Empty(); Empty[PROTOTYPE] = null; // add "__proto__" for Object.getPrototypeOf polyfill result[IE_PROTO] = O; } else result = createDict(); return Properties === undefined ? result : dPs(result, Properties); }; /***/ }), /* 46 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(11); var anObject = __webpack_require__(12); var getKeys = __webpack_require__(30); module.exports = __webpack_require__(6) ? Object.defineProperties : function defineProperties(O, Properties) { anObject(O); var keys = getKeys(Properties); var length = keys.length; var i = 0; var P; while (length > i) dP.f(O, P = keys[i++], Properties[P]); return O; }; /***/ }), /* 47 */ /***/ (function(module, exports, __webpack_require__) { var document = __webpack_require__(4).document; module.exports = document && document.documentElement; /***/ }), /* 48 */ /***/ (function(module, exports, __webpack_require__) { // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window var toIObject = __webpack_require__(32); var gOPN = __webpack_require__(49).f; var toString = {}.toString; var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; var getWindowNames = function (it) { try { return gOPN(it); } catch (e) { return windowNames.slice(); } }; module.exports.f = function getOwnPropertyNames(it) { return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); }; /***/ }), /* 49 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) var $keys = __webpack_require__(31); var hiddenKeys = __webpack_require__(41).concat('length', 'prototype'); exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { return $keys(O, hiddenKeys); }; /***/ }), /* 50 */ /***/ (function(module, exports, __webpack_require__) { var pIE = __webpack_require__(43); var createDesc = __webpack_require__(17); var toIObject = __webpack_require__(32); var toPrimitive = __webpack_require__(16); var has = __webpack_require__(5); var IE8_DOM_DEFINE = __webpack_require__(14); var gOPD = Object.getOwnPropertyDescriptor; exports.f = __webpack_require__(6) ? gOPD : function getOwnPropertyDescriptor(O, P) { O = toIObject(O); P = toPrimitive(P, true); if (IE8_DOM_DEFINE) try { return gOPD(O, P); } catch (e) { /* empty */ } if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); }; /***/ }), /* 51 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) $export($export.S, 'Object', { create: __webpack_require__(45) }); /***/ }), /* 52 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) $export($export.S + $export.F * !__webpack_require__(6), 'Object', { defineProperty: __webpack_require__(11).f }); /***/ }), /* 53 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) $export($export.S + $export.F * !__webpack_require__(6), 'Object', { defineProperties: __webpack_require__(46) }); /***/ }), /* 54 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) var toIObject = __webpack_require__(32); var $getOwnPropertyDescriptor = __webpack_require__(50).f; __webpack_require__(55)('getOwnPropertyDescriptor', function () { return function getOwnPropertyDescriptor(it, key) { return $getOwnPropertyDescriptor(toIObject(it), key); }; }); /***/ }), /* 55 */ /***/ (function(module, exports, __webpack_require__) { // most Object methods by ES6 should accept primitives var $export = __webpack_require__(8); var core = __webpack_require__(9); var fails = __webpack_require__(7); module.exports = function (KEY, exec) { var fn = (core.Object || {})[KEY] || Object[KEY]; var exp = {}; exp[KEY] = exec(fn); $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); }; /***/ }), /* 56 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.9 Object.getPrototypeOf(O) var toObject = __webpack_require__(57); var $getPrototypeOf = __webpack_require__(58); __webpack_require__(55)('getPrototypeOf', function () { return function getPrototypeOf(it) { return $getPrototypeOf(toObject(it)); }; }); /***/ }), /* 57 */ /***/ (function(module, exports, __webpack_require__) { // 7.1.13 ToObject(argument) var defined = __webpack_require__(35); module.exports = function (it) { return Object(defined(it)); }; /***/ }), /* 58 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) var has = __webpack_require__(5); var toObject = __webpack_require__(57); var IE_PROTO = __webpack_require__(40)('IE_PROTO'); var ObjectProto = Object.prototype; module.exports = Object.getPrototypeOf || function (O) { O = toObject(O); if (has(O, IE_PROTO)) return O[IE_PROTO]; if (typeof O.constructor == 'function' && O instanceof O.constructor) { return O.constructor.prototype; } return O instanceof Object ? ObjectProto : null; }; /***/ }), /* 59 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.14 Object.keys(O) var toObject = __webpack_require__(57); var $keys = __webpack_require__(30); __webpack_require__(55)('keys', function () { return function keys(it) { return $keys(toObject(it)); }; }); /***/ }), /* 60 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.7 Object.getOwnPropertyNames(O) __webpack_require__(55)('getOwnPropertyNames', function () { return __webpack_require__(48).f; }); /***/ }), /* 61 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.5 Object.freeze(O) var isObject = __webpack_require__(13); var meta = __webpack_require__(22).onFreeze; __webpack_require__(55)('freeze', function ($freeze) { return function freeze(it) { return $freeze && isObject(it) ? $freeze(meta(it)) : it; }; }); /***/ }), /* 62 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.17 Object.seal(O) var isObject = __webpack_require__(13); var meta = __webpack_require__(22).onFreeze; __webpack_require__(55)('seal', function ($seal) { return function seal(it) { return $seal && isObject(it) ? $seal(meta(it)) : it; }; }); /***/ }), /* 63 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.15 Object.preventExtensions(O) var isObject = __webpack_require__(13); var meta = __webpack_require__(22).onFreeze; __webpack_require__(55)('preventExtensions', function ($preventExtensions) { return function preventExtensions(it) { return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it; }; }); /***/ }), /* 64 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.12 Object.isFrozen(O) var isObject = __webpack_require__(13); __webpack_require__(55)('isFrozen', function ($isFrozen) { return function isFrozen(it) { return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true; }; }); /***/ }), /* 65 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.13 Object.isSealed(O) var isObject = __webpack_require__(13); __webpack_require__(55)('isSealed', function ($isSealed) { return function isSealed(it) { return isObject(it) ? $isSealed ? $isSealed(it) : false : true; }; }); /***/ }), /* 66 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.2.11 Object.isExtensible(O) var isObject = __webpack_require__(13); __webpack_require__(55)('isExtensible', function ($isExtensible) { return function isExtensible(it) { return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false; }; }); /***/ }), /* 67 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.3.1 Object.assign(target, source) var $export = __webpack_require__(8); $export($export.S + $export.F, 'Object', { assign: __webpack_require__(68) }); /***/ }), /* 68 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 19.1.2.1 Object.assign(target, source, ...) var getKeys = __webpack_require__(30); var gOPS = __webpack_require__(42); var pIE = __webpack_require__(43); var toObject = __webpack_require__(57); var IObject = __webpack_require__(33); var $assign = Object.assign; // should work with symbols and should have deterministic property order (V8 bug) module.exports = !$assign || __webpack_require__(7)(function () { var A = {}; var B = {}; // eslint-disable-next-line no-undef var S = Symbol(); var K = 'abcdefghijklmnopqrst'; A[S] = 7; K.split('').forEach(function (k) { B[k] = k; }); return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; }) ? function assign(target, source) { // eslint-disable-line no-unused-vars var T = toObject(target); var aLen = arguments.length; var index = 1; var getSymbols = gOPS.f; var isEnum = pIE.f; while (aLen > index) { var S = IObject(arguments[index++]); var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); var length = keys.length; var j = 0; var key; while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key]; } return T; } : $assign; /***/ }), /* 69 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.3.10 Object.is(value1, value2) var $export = __webpack_require__(8); $export($export.S, 'Object', { is: __webpack_require__(70) }); /***/ }), /* 70 */ /***/ (function(module, exports) { // 7.2.9 SameValue(x, y) module.exports = Object.is || function is(x, y) { // eslint-disable-next-line no-self-compare return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; }; /***/ }), /* 71 */ /***/ (function(module, exports, __webpack_require__) { // 19.1.3.19 Object.setPrototypeOf(O, proto) var $export = __webpack_require__(8); $export($export.S, 'Object', { setPrototypeOf: __webpack_require__(72).set }); /***/ }), /* 72 */ /***/ (function(module, exports, __webpack_require__) { // Works with __proto__ only. Old v8 can't work with null proto objects. /* eslint-disable no-proto */ var isObject = __webpack_require__(13); var anObject = __webpack_require__(12); var check = function (O, proto) { anObject(O); if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); }; module.exports = { set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line function (test, buggy, set) { try { set = __webpack_require__(20)(Function.call, __webpack_require__(50).f(Object.prototype, '__proto__').set, 2); set(test, []); buggy = !(test instanceof Array); } catch (e) { buggy = true; } return function setPrototypeOf(O, proto) { check(O, proto); if (buggy) O.__proto__ = proto; else set(O, proto); return O; }; }({}, false) : undefined), check: check }; /***/ }), /* 73 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 19.1.3.6 Object.prototype.toString() var classof = __webpack_require__(74); var test = {}; test[__webpack_require__(26)('toStringTag')] = 'z'; if (test + '' != '[object z]') { __webpack_require__(18)(Object.prototype, 'toString', function toString() { return '[object ' + classof(this) + ']'; }, true); } /***/ }), /* 74 */ /***/ (function(module, exports, __webpack_require__) { // getting tag from 19.1.3.6 Object.prototype.toString() var cof = __webpack_require__(34); var TAG = __webpack_require__(26)('toStringTag'); // ES3 wrong here var ARG = cof(function () { return arguments; }()) == 'Arguments'; // fallback for IE11 Script Access Denied error var tryGet = function (it, key) { try { return it[key]; } catch (e) { /* empty */ } }; module.exports = function (it) { var O, T, B; return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T // builtinTag case : ARG ? cof(O) // ES3 arguments fallback : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; }; /***/ }), /* 75 */ /***/ (function(module, exports, __webpack_require__) { // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) var $export = __webpack_require__(8); $export($export.P, 'Function', { bind: __webpack_require__(76) }); /***/ }), /* 76 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var aFunction = __webpack_require__(21); var isObject = __webpack_require__(13); var invoke = __webpack_require__(77); var arraySlice = [].slice; var factories = {}; var construct = function (F, len, args) { if (!(len in factories)) { for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']'; // eslint-disable-next-line no-new-func factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')'); } return factories[len](F, args); }; module.exports = Function.bind || function bind(that /* , ...args */) { var fn = aFunction(this); var partArgs = arraySlice.call(arguments, 1); var bound = function (/* args... */) { var args = partArgs.concat(arraySlice.call(arguments)); return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that); }; if (isObject(fn.prototype)) bound.prototype = fn.prototype; return bound; }; /***/ }), /* 77 */ /***/ (function(module, exports) { // fast apply, http://jsperf.lnkit.com/fast-apply/5 module.exports = function (fn, args, that) { var un = that === undefined; switch (args.length) { case 0: return un ? fn() : fn.call(that); case 1: return un ? fn(args[0]) : fn.call(that, args[0]); case 2: return un ? fn(args[0], args[1]) : fn.call(that, args[0], args[1]); case 3: return un ? fn(args[0], args[1], args[2]) : fn.call(that, args[0], args[1], args[2]); case 4: return un ? fn(args[0], args[1], args[2], args[3]) : fn.call(that, args[0], args[1], args[2], args[3]); } return fn.apply(that, args); }; /***/ }), /* 78 */ /***/ (function(module, exports, __webpack_require__) { var dP = __webpack_require__(11).f; var FProto = Function.prototype; var nameRE = /^\s*function ([^ (]*)/; var NAME = 'name'; // 19.2.4.2 name NAME in FProto || __webpack_require__(6) && dP(FProto, NAME, { configurable: true, get: function () { try { return ('' + this).match(nameRE)[1]; } catch (e) { return ''; } } }); /***/ }), /* 79 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var isObject = __webpack_require__(13); var getPrototypeOf = __webpack_require__(58); var HAS_INSTANCE = __webpack_require__(26)('hasInstance'); var FunctionProto = Function.prototype; // 19.2.3.6 Function.prototype[@@hasInstance](V) if (!(HAS_INSTANCE in FunctionProto)) __webpack_require__(11).f(FunctionProto, HAS_INSTANCE, { value: function (O) { if (typeof this != 'function' || !isObject(O)) return false; if (!isObject(this.prototype)) return O instanceof this; // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: while (O = getPrototypeOf(O)) if (this.prototype === O) return true; return false; } }); /***/ }), /* 80 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); var $parseInt = __webpack_require__(81); // 18.2.5 parseInt(string, radix) $export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); /***/ }), /* 81 */ /***/ (function(module, exports, __webpack_require__) { var $parseInt = __webpack_require__(4).parseInt; var $trim = __webpack_require__(82).trim; var ws = __webpack_require__(83); var hex = /^[-+]?0[xX]/; module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { var string = $trim(String(str), 3); return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); } : $parseInt; /***/ }), /* 82 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); var defined = __webpack_require__(35); var fails = __webpack_require__(7); var spaces = __webpack_require__(83); var space = '[' + spaces + ']'; var non = '\u200b\u0085'; var ltrim = RegExp('^' + space + space + '*'); var rtrim = RegExp(space + space + '*$'); var exporter = function (KEY, exec, ALIAS) { var exp = {}; var FORCE = fails(function () { return !!spaces[KEY]() || non[KEY]() != non; }); var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; if (ALIAS) exp[ALIAS] = fn; $export($export.P + $export.F * FORCE, 'String', exp); }; // 1 -> String#trimLeft // 2 -> String#trimRight // 3 -> String#trim var trim = exporter.trim = function (string, TYPE) { string = String(defined(string)); if (TYPE & 1) string = string.replace(ltrim, ''); if (TYPE & 2) string = string.replace(rtrim, ''); return string; }; module.exports = exporter; /***/ }), /* 83 */ /***/ (function(module, exports) { module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; /***/ }), /* 84 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); var $parseFloat = __webpack_require__(85); // 18.2.4 parseFloat(string) $export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); /***/ }), /* 85 */ /***/ (function(module, exports, __webpack_require__) { var $parseFloat = __webpack_require__(4).parseFloat; var $trim = __webpack_require__(82).trim; module.exports = 1 / $parseFloat(__webpack_require__(83) + '-0') !== -Infinity ? function parseFloat(str) { var string = $trim(String(str), 3); var result = $parseFloat(string); return result === 0 && string.charAt(0) == '-' ? -0 : result; } : $parseFloat; /***/ }), /* 86 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var global = __webpack_require__(4); var has = __webpack_require__(5); var cof = __webpack_require__(34); var inheritIfRequired = __webpack_require__(87); var toPrimitive = __webpack_require__(16); var fails = __webpack_require__(7); var gOPN = __webpack_require__(49).f; var gOPD = __webpack_require__(50).f; var dP = __webpack_require__(11).f; var $trim = __webpack_require__(82).trim; var NUMBER = 'Number'; var $Number = global[NUMBER]; var Base = $Number; var proto = $Number.prototype; // Opera ~12 has broken Object#toString var BROKEN_COF = cof(__webpack_require__(45)(proto)) == NUMBER; var TRIM = 'trim' in String.prototype; // 7.1.3 ToNumber(argument) var toNumber = function (argument) { var it = toPrimitive(argument, false); if (typeof it == 'string' && it.length > 2) { it = TRIM ? it.trim() : $trim(it, 3); var first = it.charCodeAt(0); var third, radix, maxCode; if (first === 43 || first === 45) { third = it.charCodeAt(2); if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix } else if (first === 48) { switch (it.charCodeAt(1)) { case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i default: return +it; } for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) { code = digits.charCodeAt(i); // parseInt parses a string to a first unavailable symbol // but ToNumber should return NaN if a string contains unavailable symbols if (code < 48 || code > maxCode) return NaN; } return parseInt(digits, radix); } } return +it; }; if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { $Number = function Number(value) { var it = arguments.length < 1 ? 0 : value; var that = this; return that instanceof $Number // check on 1..constructor(foo) case && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER) ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it); }; for (var keys = __webpack_require__(6) ? gOPN(Base) : ( // ES3: 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + // ES6 (in case, if modules with ES6 Number statics required before): 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' ).split(','), j = 0, key; keys.length > j; j++) { if (has(Base, key = keys[j]) && !has($Number, key)) { dP($Number, key, gOPD(Base, key)); } } $Number.prototype = proto; proto.constructor = $Number; __webpack_require__(18)(global, NUMBER, $Number); } /***/ }), /* 87 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(13); var setPrototypeOf = __webpack_require__(72).set; module.exports = function (that, target, C) { var S = target.constructor; var P; if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { setPrototypeOf(that, P); } return that; }; /***/ }), /* 88 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var toInteger = __webpack_require__(38); var aNumberValue = __webpack_require__(89); var repeat = __webpack_require__(90); var $toFixed = 1.0.toFixed; var floor = Math.floor; var data = [0, 0, 0, 0, 0, 0]; var ERROR = 'Number.toFixed: incorrect invocation!'; var ZERO = '0'; var multiply = function (n, c) { var i = -1; var c2 = c; while (++i < 6) { c2 += n * data[i]; data[i] = c2 % 1e7; c2 = floor(c2 / 1e7); } }; var divide = function (n) { var i = 6; var c = 0; while (--i >= 0) { c += data[i]; data[i] = floor(c / n); c = (c % n) * 1e7; } }; var numToString = function () { var i = 6; var s = ''; while (--i >= 0) { if (s !== '' || i === 0 || data[i] !== 0) { var t = String(data[i]); s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t; } } return s; }; var pow = function (x, n, acc) { return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); }; var log = function (x) { var n = 0; var x2 = x; while (x2 >= 4096) { n += 12; x2 /= 4096; } while (x2 >= 2) { n += 1; x2 /= 2; } return n; }; $export($export.P + $export.F * (!!$toFixed && ( 0.00008.toFixed(3) !== '0.000' || 0.9.toFixed(0) !== '1' || 1.255.toFixed(2) !== '1.25' || 1000000000000000128.0.toFixed(0) !== '1000000000000000128' ) || !__webpack_require__(7)(function () { // V8 ~ Android 4.3- $toFixed.call({}); })), 'Number', { toFixed: function toFixed(fractionDigits) { var x = aNumberValue(this, ERROR); var f = toInteger(fractionDigits); var s = ''; var m = ZERO; var e, z, j, k; if (f < 0 || f > 20) throw RangeError(ERROR); // eslint-disable-next-line no-self-compare if (x != x) return 'NaN'; if (x <= -1e21 || x >= 1e21) return String(x); if (x < 0) { s = '-'; x = -x; } if (x > 1e-21) { e = log(x * pow(2, 69, 1)) - 69; z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1); z *= 0x10000000000000; e = 52 - e; if (e > 0) { multiply(0, z); j = f; while (j >= 7) { multiply(1e7, 0); j -= 7; } multiply(pow(10, j, 1), 0); j = e - 1; while (j >= 23) { divide(1 << 23); j -= 23; } divide(1 << j); multiply(1, 1); divide(2); m = numToString(); } else { multiply(0, z); multiply(1 << -e, 0); m = numToString() + repeat.call(ZERO, f); } } if (f > 0) { k = m.length; m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f)); } else { m = s + m; } return m; } }); /***/ }), /* 89 */ /***/ (function(module, exports, __webpack_require__) { var cof = __webpack_require__(34); module.exports = function (it, msg) { if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); return +it; }; /***/ }), /* 90 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var toInteger = __webpack_require__(38); var defined = __webpack_require__(35); module.exports = function repeat(count) { var str = String(defined(this)); var res = ''; var n = toInteger(count); if (n < 0 || n == Infinity) throw RangeError("Count can't be negative"); for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str; return res; }; /***/ }), /* 91 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var $fails = __webpack_require__(7); var aNumberValue = __webpack_require__(89); var $toPrecision = 1.0.toPrecision; $export($export.P + $export.F * ($fails(function () { // IE7- return $toPrecision.call(1, undefined) !== '1'; }) || !$fails(function () { // V8 ~ Android 4.3- $toPrecision.call({}); })), 'Number', { toPrecision: function toPrecision(precision) { var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!'); return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); } }); /***/ }), /* 92 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.1 Number.EPSILON var $export = __webpack_require__(8); $export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); /***/ }), /* 93 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.2 Number.isFinite(number) var $export = __webpack_require__(8); var _isFinite = __webpack_require__(4).isFinite; $export($export.S, 'Number', { isFinite: function isFinite(it) { return typeof it == 'number' && _isFinite(it); } }); /***/ }), /* 94 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.3 Number.isInteger(number) var $export = __webpack_require__(8); $export($export.S, 'Number', { isInteger: __webpack_require__(95) }); /***/ }), /* 95 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.3 Number.isInteger(number) var isObject = __webpack_require__(13); var floor = Math.floor; module.exports = function isInteger(it) { return !isObject(it) && isFinite(it) && floor(it) === it; }; /***/ }), /* 96 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.4 Number.isNaN(number) var $export = __webpack_require__(8); $export($export.S, 'Number', { isNaN: function isNaN(number) { // eslint-disable-next-line no-self-compare return number != number; } }); /***/ }), /* 97 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.5 Number.isSafeInteger(number) var $export = __webpack_require__(8); var isInteger = __webpack_require__(95); var abs = Math.abs; $export($export.S, 'Number', { isSafeInteger: function isSafeInteger(number) { return isInteger(number) && abs(number) <= 0x1fffffffffffff; } }); /***/ }), /* 98 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.6 Number.MAX_SAFE_INTEGER var $export = __webpack_require__(8); $export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff }); /***/ }), /* 99 */ /***/ (function(module, exports, __webpack_require__) { // 20.1.2.10 Number.MIN_SAFE_INTEGER var $export = __webpack_require__(8); $export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff }); /***/ }), /* 100 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); var $parseFloat = __webpack_require__(85); // 20.1.2.12 Number.parseFloat(string) $export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat }); /***/ }), /* 101 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); var $parseInt = __webpack_require__(81); // 20.1.2.13 Number.parseInt(string, radix) $export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt }); /***/ }), /* 102 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.3 Math.acosh(x) var $export = __webpack_require__(8); var log1p = __webpack_require__(103); var sqrt = Math.sqrt; var $acosh = Math.acosh; $export($export.S + $export.F * !($acosh // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 && Math.floor($acosh(Number.MAX_VALUE)) == 710 // Tor Browser bug: Math.acosh(Infinity) -> NaN && $acosh(Infinity) == Infinity ), 'Math', { acosh: function acosh(x) { return (x = +x) < 1 ? NaN : x > 94906265.62425156 ? Math.log(x) + Math.LN2 : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1)); } }); /***/ }), /* 103 */ /***/ (function(module, exports) { // 20.2.2.20 Math.log1p(x) module.exports = Math.log1p || function log1p(x) { return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); }; /***/ }), /* 104 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.5 Math.asinh(x) var $export = __webpack_require__(8); var $asinh = Math.asinh; function asinh(x) { return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1)); } // Tor Browser bug: Math.asinh(0) -> -0 $export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh }); /***/ }), /* 105 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.7 Math.atanh(x) var $export = __webpack_require__(8); var $atanh = Math.atanh; // Tor Browser bug: Math.atanh(-0) -> 0 $export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', { atanh: function atanh(x) { return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2; } }); /***/ }), /* 106 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.9 Math.cbrt(x) var $export = __webpack_require__(8); var sign = __webpack_require__(107); $export($export.S, 'Math', { cbrt: function cbrt(x) { return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3); } }); /***/ }), /* 107 */ /***/ (function(module, exports) { // 20.2.2.28 Math.sign(x) module.exports = Math.sign || function sign(x) { // eslint-disable-next-line no-self-compare return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; }; /***/ }), /* 108 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.11 Math.clz32(x) var $export = __webpack_require__(8); $export($export.S, 'Math', { clz32: function clz32(x) { return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32; } }); /***/ }), /* 109 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.12 Math.cosh(x) var $export = __webpack_require__(8); var exp = Math.exp; $export($export.S, 'Math', { cosh: function cosh(x) { return (exp(x = +x) + exp(-x)) / 2; } }); /***/ }), /* 110 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.14 Math.expm1(x) var $export = __webpack_require__(8); var $expm1 = __webpack_require__(111); $export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); /***/ }), /* 111 */ /***/ (function(module, exports) { // 20.2.2.14 Math.expm1(x) var $expm1 = Math.expm1; module.exports = (!$expm1 // Old FF bug || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168 // Tor Browser bug || $expm1(-2e-17) != -2e-17 ) ? function expm1(x) { return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1; } : $expm1; /***/ }), /* 112 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.16 Math.fround(x) var $export = __webpack_require__(8); $export($export.S, 'Math', { fround: __webpack_require__(113) }); /***/ }), /* 113 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.16 Math.fround(x) var sign = __webpack_require__(107); var pow = Math.pow; var EPSILON = pow(2, -52); var EPSILON32 = pow(2, -23); var MAX32 = pow(2, 127) * (2 - EPSILON32); var MIN32 = pow(2, -126); var roundTiesToEven = function (n) { return n + 1 / EPSILON - 1 / EPSILON; }; module.exports = Math.fround || function fround(x) { var $abs = Math.abs(x); var $sign = sign(x); var a, result; if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; a = (1 + EPSILON32 / EPSILON) * $abs; result = a - (a - $abs); // eslint-disable-next-line no-self-compare if (result > MAX32 || result != result) return $sign * Infinity; return $sign * result; }; /***/ }), /* 114 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) var $export = __webpack_require__(8); var abs = Math.abs; $export($export.S, 'Math', { hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars var sum = 0; var i = 0; var aLen = arguments.length; var larg = 0; var arg, div; while (i < aLen) { arg = abs(arguments[i++]); if (larg < arg) { div = larg / arg; sum = sum * div * div + 1; larg = arg; } else if (arg > 0) { div = arg / larg; sum += div * div; } else sum += arg; } return larg === Infinity ? Infinity : larg * Math.sqrt(sum); } }); /***/ }), /* 115 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.18 Math.imul(x, y) var $export = __webpack_require__(8); var $imul = Math.imul; // some WebKit versions fails with big numbers, some has wrong arity $export($export.S + $export.F * __webpack_require__(7)(function () { return $imul(0xffffffff, 5) != -5 || $imul.length != 2; }), 'Math', { imul: function imul(x, y) { var UINT16 = 0xffff; var xn = +x; var yn = +y; var xl = UINT16 & xn; var yl = UINT16 & yn; return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); } }); /***/ }), /* 116 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.21 Math.log10(x) var $export = __webpack_require__(8); $export($export.S, 'Math', { log10: function log10(x) { return Math.log(x) * Math.LOG10E; } }); /***/ }), /* 117 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.20 Math.log1p(x) var $export = __webpack_require__(8); $export($export.S, 'Math', { log1p: __webpack_require__(103) }); /***/ }), /* 118 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.22 Math.log2(x) var $export = __webpack_require__(8); $export($export.S, 'Math', { log2: function log2(x) { return Math.log(x) / Math.LN2; } }); /***/ }), /* 119 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.28 Math.sign(x) var $export = __webpack_require__(8); $export($export.S, 'Math', { sign: __webpack_require__(107) }); /***/ }), /* 120 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.30 Math.sinh(x) var $export = __webpack_require__(8); var expm1 = __webpack_require__(111); var exp = Math.exp; // V8 near Chromium 38 has a problem with very small numbers $export($export.S + $export.F * __webpack_require__(7)(function () { return !Math.sinh(-2e-17) != -2e-17; }), 'Math', { sinh: function sinh(x) { return Math.abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2); } }); /***/ }), /* 121 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.33 Math.tanh(x) var $export = __webpack_require__(8); var expm1 = __webpack_require__(111); var exp = Math.exp; $export($export.S, 'Math', { tanh: function tanh(x) { var a = expm1(x = +x); var b = expm1(-x); return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); } }); /***/ }), /* 122 */ /***/ (function(module, exports, __webpack_require__) { // 20.2.2.34 Math.trunc(x) var $export = __webpack_require__(8); $export($export.S, 'Math', { trunc: function trunc(it) { return (it > 0 ? Math.floor : Math.ceil)(it); } }); /***/ }), /* 123 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); var toAbsoluteIndex = __webpack_require__(39); var fromCharCode = String.fromCharCode; var $fromCodePoint = String.fromCodePoint; // length should be 1, old FF problem $export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', { // 21.1.2.2 String.fromCodePoint(...codePoints) fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars var res = []; var aLen = arguments.length; var i = 0; var code; while (aLen > i) { code = +arguments[i++]; if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point'); res.push(code < 0x10000 ? fromCharCode(code) : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00) ); } return res.join(''); } }); /***/ }), /* 124 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); var toIObject = __webpack_require__(32); var toLength = __webpack_require__(37); $export($export.S, 'String', { // 21.1.2.4 String.raw(callSite, ...substitutions) raw: function raw(callSite) { var tpl = toIObject(callSite.raw); var len = toLength(tpl.length); var aLen = arguments.length; var res = []; var i = 0; while (len > i) { res.push(String(tpl[i++])); if (i < aLen) res.push(String(arguments[i])); } return res.join(''); } }); /***/ }), /* 125 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 21.1.3.25 String.prototype.trim() __webpack_require__(82)('trim', function ($trim) { return function trim() { return $trim(this, 3); }; }); /***/ }), /* 126 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $at = __webpack_require__(127)(true); // 21.1.3.27 String.prototype[@@iterator]() __webpack_require__(128)(String, 'String', function (iterated) { this._t = String(iterated); // target this._i = 0; // next index // 21.1.5.2.1 %StringIteratorPrototype%.next() }, function () { var O = this._t; var index = this._i; var point; if (index >= O.length) return { value: undefined, done: true }; point = $at(O, index); this._i += point.length; return { value: point, done: false }; }); /***/ }), /* 127 */ /***/ (function(module, exports, __webpack_require__) { var toInteger = __webpack_require__(38); var defined = __webpack_require__(35); // true -> String#at // false -> String#codePointAt module.exports = function (TO_STRING) { return function (that, pos) { var s = String(defined(that)); var i = toInteger(pos); var l = s.length; var a, b; if (i < 0 || i >= l) return TO_STRING ? '' : undefined; a = s.charCodeAt(i); return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; }; }; /***/ }), /* 128 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var LIBRARY = __webpack_require__(24); var $export = __webpack_require__(8); var redefine = __webpack_require__(18); var hide = __webpack_require__(10); var Iterators = __webpack_require__(129); var $iterCreate = __webpack_require__(130); var setToStringTag = __webpack_require__(25); var getPrototypeOf = __webpack_require__(58); var ITERATOR = __webpack_require__(26)('iterator'); var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` var FF_ITERATOR = '@@iterator'; var KEYS = 'keys'; var VALUES = 'values'; var returnThis = function () { return this; }; module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { $iterCreate(Constructor, NAME, next); var getMethod = function (kind) { if (!BUGGY && kind in proto) return proto[kind]; switch (kind) { case KEYS: return function keys() { return new Constructor(this, kind); }; case VALUES: return function values() { return new Constructor(this, kind); }; } return function entries() { return new Constructor(this, kind); }; }; var TAG = NAME + ' Iterator'; var DEF_VALUES = DEFAULT == VALUES; var VALUES_BUG = false; var proto = Base.prototype; var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; var $default = $native || getMethod(DEFAULT); var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; var methods, key, IteratorPrototype; // Fix native if ($anyNative) { IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { // Set @@toStringTag to native iterators setToStringTag(IteratorPrototype, TAG, true); // fix for some old engines if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); } } // fix Array#{values, @@iterator}.name in V8 / FF if (DEF_VALUES && $native && $native.name !== VALUES) { VALUES_BUG = true; $default = function values() { return $native.call(this); }; } // Define iterator if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { hide(proto, ITERATOR, $default); } // Plug for library Iterators[NAME] = $default; Iterators[TAG] = returnThis; if (DEFAULT) { methods = { values: DEF_VALUES ? $default : getMethod(VALUES), keys: IS_SET ? $default : getMethod(KEYS), entries: $entries }; if (FORCED) for (key in methods) { if (!(key in proto)) redefine(proto, key, methods[key]); } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); } return methods; }; /***/ }), /* 129 */ /***/ (function(module, exports) { module.exports = {}; /***/ }), /* 130 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var create = __webpack_require__(45); var descriptor = __webpack_require__(17); var setToStringTag = __webpack_require__(25); var IteratorPrototype = {}; // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() __webpack_require__(10)(IteratorPrototype, __webpack_require__(26)('iterator'), function () { return this; }); module.exports = function (Constructor, NAME, next) { Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); setToStringTag(Constructor, NAME + ' Iterator'); }; /***/ }), /* 131 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var $at = __webpack_require__(127)(false); $export($export.P, 'String', { // 21.1.3.3 String.prototype.codePointAt(pos) codePointAt: function codePointAt(pos) { return $at(this, pos); } }); /***/ }), /* 132 */ /***/ (function(module, exports, __webpack_require__) { // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) 'use strict'; var $export = __webpack_require__(8); var toLength = __webpack_require__(37); var context = __webpack_require__(133); var ENDS_WITH = 'endsWith'; var $endsWith = ''[ENDS_WITH]; $export($export.P + $export.F * __webpack_require__(135)(ENDS_WITH), 'String', { endsWith: function endsWith(searchString /* , endPosition = @length */) { var that = context(this, searchString, ENDS_WITH); var endPosition = arguments.length > 1 ? arguments[1] : undefined; var len = toLength(that.length); var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len); var search = String(searchString); return $endsWith ? $endsWith.call(that, search, end) : that.slice(end - search.length, end) === search; } }); /***/ }), /* 133 */ /***/ (function(module, exports, __webpack_require__) { // helper for String#{startsWith, endsWith, includes} var isRegExp = __webpack_require__(134); var defined = __webpack_require__(35); module.exports = function (that, searchString, NAME) { if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); return String(defined(that)); }; /***/ }), /* 134 */ /***/ (function(module, exports, __webpack_require__) { // 7.2.8 IsRegExp(argument) var isObject = __webpack_require__(13); var cof = __webpack_require__(34); var MATCH = __webpack_require__(26)('match'); module.exports = function (it) { var isRegExp; return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); }; /***/ }), /* 135 */ /***/ (function(module, exports, __webpack_require__) { var MATCH = __webpack_require__(26)('match'); module.exports = function (KEY) { var re = /./; try { '/./'[KEY](re); } catch (e) { try { re[MATCH] = false; return !'/./'[KEY](re); } catch (f) { /* empty */ } } return true; }; /***/ }), /* 136 */ /***/ (function(module, exports, __webpack_require__) { // 21.1.3.7 String.prototype.includes(searchString, position = 0) 'use strict'; var $export = __webpack_require__(8); var context = __webpack_require__(133); var INCLUDES = 'includes'; $export($export.P + $export.F * __webpack_require__(135)(INCLUDES), 'String', { includes: function includes(searchString /* , position = 0 */) { return !!~context(this, searchString, INCLUDES) .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); } }); /***/ }), /* 137 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); $export($export.P, 'String', { // 21.1.3.13 String.prototype.repeat(count) repeat: __webpack_require__(90) }); /***/ }), /* 138 */ /***/ (function(module, exports, __webpack_require__) { // 21.1.3.18 String.prototype.startsWith(searchString [, position ]) 'use strict'; var $export = __webpack_require__(8); var toLength = __webpack_require__(37); var context = __webpack_require__(133); var STARTS_WITH = 'startsWith'; var $startsWith = ''[STARTS_WITH]; $export($export.P + $export.F * __webpack_require__(135)(STARTS_WITH), 'String', { startsWith: function startsWith(searchString /* , position = 0 */) { var that = context(this, searchString, STARTS_WITH); var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); var search = String(searchString); return $startsWith ? $startsWith.call(that, search, index) : that.slice(index, index + search.length) === search; } }); /***/ }), /* 139 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.2 String.prototype.anchor(name) __webpack_require__(140)('anchor', function (createHTML) { return function anchor(name) { return createHTML(this, 'a', 'name', name); }; }); /***/ }), /* 140 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); var fails = __webpack_require__(7); var defined = __webpack_require__(35); var quot = /"/g; // B.2.3.2.1 CreateHTML(string, tag, attribute, value) var createHTML = function (string, tag, attribute, value) { var S = String(defined(string)); var p1 = '<' + tag; if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '&quot;') + '"'; return p1 + '>' + S + '</' + tag + '>'; }; module.exports = function (NAME, exec) { var O = {}; O[NAME] = exec(createHTML); $export($export.P + $export.F * fails(function () { var test = ''[NAME]('"'); return test !== test.toLowerCase() || test.split('"').length > 3; }), 'String', O); }; /***/ }), /* 141 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.3 String.prototype.big() __webpack_require__(140)('big', function (createHTML) { return function big() { return createHTML(this, 'big', '', ''); }; }); /***/ }), /* 142 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.4 String.prototype.blink() __webpack_require__(140)('blink', function (createHTML) { return function blink() { return createHTML(this, 'blink', '', ''); }; }); /***/ }), /* 143 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.5 String.prototype.bold() __webpack_require__(140)('bold', function (createHTML) { return function bold() { return createHTML(this, 'b', '', ''); }; }); /***/ }), /* 144 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.6 String.prototype.fixed() __webpack_require__(140)('fixed', function (createHTML) { return function fixed() { return createHTML(this, 'tt', '', ''); }; }); /***/ }), /* 145 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.7 String.prototype.fontcolor(color) __webpack_require__(140)('fontcolor', function (createHTML) { return function fontcolor(color) { return createHTML(this, 'font', 'color', color); }; }); /***/ }), /* 146 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.8 String.prototype.fontsize(size) __webpack_require__(140)('fontsize', function (createHTML) { return function fontsize(size) { return createHTML(this, 'font', 'size', size); }; }); /***/ }), /* 147 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.9 String.prototype.italics() __webpack_require__(140)('italics', function (createHTML) { return function italics() { return createHTML(this, 'i', '', ''); }; }); /***/ }), /* 148 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.10 String.prototype.link(url) __webpack_require__(140)('link', function (createHTML) { return function link(url) { return createHTML(this, 'a', 'href', url); }; }); /***/ }), /* 149 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.11 String.prototype.small() __webpack_require__(140)('small', function (createHTML) { return function small() { return createHTML(this, 'small', '', ''); }; }); /***/ }), /* 150 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.12 String.prototype.strike() __webpack_require__(140)('strike', function (createHTML) { return function strike() { return createHTML(this, 'strike', '', ''); }; }); /***/ }), /* 151 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.13 String.prototype.sub() __webpack_require__(140)('sub', function (createHTML) { return function sub() { return createHTML(this, 'sub', '', ''); }; }); /***/ }), /* 152 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // B.2.3.14 String.prototype.sup() __webpack_require__(140)('sup', function (createHTML) { return function sup() { return createHTML(this, 'sup', '', ''); }; }); /***/ }), /* 153 */ /***/ (function(module, exports, __webpack_require__) { // 20.3.3.1 / 15.9.4.4 Date.now() var $export = __webpack_require__(8); $export($export.S, 'Date', { now: function () { return new Date().getTime(); } }); /***/ }), /* 154 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var toObject = __webpack_require__(57); var toPrimitive = __webpack_require__(16); $export($export.P + $export.F * __webpack_require__(7)(function () { return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; }), 'Date', { // eslint-disable-next-line no-unused-vars toJSON: function toJSON(key) { var O = toObject(this); var pv = toPrimitive(O); return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); } }); /***/ }), /* 155 */ /***/ (function(module, exports, __webpack_require__) { // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() var $export = __webpack_require__(8); var toISOString = __webpack_require__(156); // PhantomJS / old WebKit has a broken implementations $export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', { toISOString: toISOString }); /***/ }), /* 156 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() var fails = __webpack_require__(7); var getTime = Date.prototype.getTime; var $toISOString = Date.prototype.toISOString; var lz = function (num) { return num > 9 ? num : '0' + num; }; // PhantomJS / old WebKit has a broken implementations module.exports = (fails(function () { return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; }) || !fails(function () { $toISOString.call(new Date(NaN)); })) ? function toISOString() { if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value'); var d = this; var y = d.getUTCFullYear(); var m = d.getUTCMilliseconds(); var s = y < 0 ? '-' : y > 9999 ? '+' : ''; return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) + '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) + 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) + ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z'; } : $toISOString; /***/ }), /* 157 */ /***/ (function(module, exports, __webpack_require__) { var DateProto = Date.prototype; var INVALID_DATE = 'Invalid Date'; var TO_STRING = 'toString'; var $toString = DateProto[TO_STRING]; var getTime = DateProto.getTime; if (new Date(NaN) + '' != INVALID_DATE) { __webpack_require__(18)(DateProto, TO_STRING, function toString() { var value = getTime.call(this); // eslint-disable-next-line no-self-compare return value === value ? $toString.call(this) : INVALID_DATE; }); } /***/ }), /* 158 */ /***/ (function(module, exports, __webpack_require__) { var TO_PRIMITIVE = __webpack_require__(26)('toPrimitive'); var proto = Date.prototype; if (!(TO_PRIMITIVE in proto)) __webpack_require__(10)(proto, TO_PRIMITIVE, __webpack_require__(159)); /***/ }), /* 159 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var anObject = __webpack_require__(12); var toPrimitive = __webpack_require__(16); var NUMBER = 'number'; module.exports = function (hint) { if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint'); return toPrimitive(anObject(this), hint != NUMBER); }; /***/ }), /* 160 */ /***/ (function(module, exports, __webpack_require__) { // 22.1.2.2 / 15.4.3.2 Array.isArray(arg) var $export = __webpack_require__(8); $export($export.S, 'Array', { isArray: __webpack_require__(44) }); /***/ }), /* 161 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var ctx = __webpack_require__(20); var $export = __webpack_require__(8); var toObject = __webpack_require__(57); var call = __webpack_require__(162); var isArrayIter = __webpack_require__(163); var toLength = __webpack_require__(37); var createProperty = __webpack_require__(164); var getIterFn = __webpack_require__(165); $export($export.S + $export.F * !__webpack_require__(166)(function (iter) { Array.from(iter); }), 'Array', { // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { var O = toObject(arrayLike); var C = typeof this == 'function' ? this : Array; var aLen = arguments.length; var mapfn = aLen > 1 ? arguments[1] : undefined; var mapping = mapfn !== undefined; var index = 0; var iterFn = getIterFn(O); var length, result, step, iterator; if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); // if object isn't iterable or it's array with default iterator - use simple case if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); } } else { length = toLength(O.length); for (result = new C(length); length > index; index++) { createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); } } result.length = index; return result; } }); /***/ }), /* 162 */ /***/ (function(module, exports, __webpack_require__) { // call something on iterator step with safe closing on error var anObject = __webpack_require__(12); module.exports = function (iterator, fn, value, entries) { try { return entries ? fn(anObject(value)[0], value[1]) : fn(value); // 7.4.6 IteratorClose(iterator, completion) } catch (e) { var ret = iterator['return']; if (ret !== undefined) anObject(ret.call(iterator)); throw e; } }; /***/ }), /* 163 */ /***/ (function(module, exports, __webpack_require__) { // check on default Array iterator var Iterators = __webpack_require__(129); var ITERATOR = __webpack_require__(26)('iterator'); var ArrayProto = Array.prototype; module.exports = function (it) { return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); }; /***/ }), /* 164 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $defineProperty = __webpack_require__(11); var createDesc = __webpack_require__(17); module.exports = function (object, index, value) { if (index in object) $defineProperty.f(object, index, createDesc(0, value)); else object[index] = value; }; /***/ }), /* 165 */ /***/ (function(module, exports, __webpack_require__) { var classof = __webpack_require__(74); var ITERATOR = __webpack_require__(26)('iterator'); var Iterators = __webpack_require__(129); module.exports = __webpack_require__(9).getIteratorMethod = function (it) { if (it != undefined) return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)]; }; /***/ }), /* 166 */ /***/ (function(module, exports, __webpack_require__) { var ITERATOR = __webpack_require__(26)('iterator'); var SAFE_CLOSING = false; try { var riter = [7][ITERATOR](); riter['return'] = function () { SAFE_CLOSING = true; }; // eslint-disable-next-line no-throw-literal Array.from(riter, function () { throw 2; }); } catch (e) { /* empty */ } module.exports = function (exec, skipClosing) { if (!skipClosing && !SAFE_CLOSING) return false; var safe = false; try { var arr = [7]; var iter = arr[ITERATOR](); iter.next = function () { return { done: safe = true }; }; arr[ITERATOR] = function () { return iter; }; exec(arr); } catch (e) { /* empty */ } return safe; }; /***/ }), /* 167 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var createProperty = __webpack_require__(164); // WebKit Array.of isn't generic $export($export.S + $export.F * __webpack_require__(7)(function () { function F() { /* empty */ } return !(Array.of.call(F) instanceof F); }), 'Array', { // 22.1.2.3 Array.of( ...items) of: function of(/* ...args */) { var index = 0; var aLen = arguments.length; var result = new (typeof this == 'function' ? this : Array)(aLen); while (aLen > index) createProperty(result, index, arguments[index++]); result.length = aLen; return result; } }); /***/ }), /* 168 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 22.1.3.13 Array.prototype.join(separator) var $export = __webpack_require__(8); var toIObject = __webpack_require__(32); var arrayJoin = [].join; // fallback for not array-like strings $export($export.P + $export.F * (__webpack_require__(33) != Object || !__webpack_require__(169)(arrayJoin)), 'Array', { join: function join(separator) { return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator); } }); /***/ }), /* 169 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var fails = __webpack_require__(7); module.exports = function (method, arg) { return !!method && fails(function () { // eslint-disable-next-line no-useless-call arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); }); }; /***/ }), /* 170 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var html = __webpack_require__(47); var cof = __webpack_require__(34); var toAbsoluteIndex = __webpack_require__(39); var toLength = __webpack_require__(37); var arraySlice = [].slice; // fallback for not array-like ES3 strings and DOM objects $export($export.P + $export.F * __webpack_require__(7)(function () { if (html) arraySlice.call(html); }), 'Array', { slice: function slice(begin, end) { var len = toLength(this.length); var klass = cof(this); end = end === undefined ? len : end; if (klass == 'Array') return arraySlice.call(this, begin, end); var start = toAbsoluteIndex(begin, len); var upTo = toAbsoluteIndex(end, len); var size = toLength(upTo - start); var cloned = new Array(size); var i = 0; for (; i < size; i++) cloned[i] = klass == 'String' ? this.charAt(start + i) : this[start + i]; return cloned; } }); /***/ }), /* 171 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var aFunction = __webpack_require__(21); var toObject = __webpack_require__(57); var fails = __webpack_require__(7); var $sort = [].sort; var test = [1, 2, 3]; $export($export.P + $export.F * (fails(function () { // IE8- test.sort(undefined); }) || !fails(function () { // V8 bug test.sort(null); // Old WebKit }) || !__webpack_require__(169)($sort)), 'Array', { // 22.1.3.25 Array.prototype.sort(comparefn) sort: function sort(comparefn) { return comparefn === undefined ? $sort.call(toObject(this)) : $sort.call(toObject(this), aFunction(comparefn)); } }); /***/ }), /* 172 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var $forEach = __webpack_require__(173)(0); var STRICT = __webpack_require__(169)([].forEach, true); $export($export.P + $export.F * !STRICT, 'Array', { // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg]) forEach: function forEach(callbackfn /* , thisArg */) { return $forEach(this, callbackfn, arguments[1]); } }); /***/ }), /* 173 */ /***/ (function(module, exports, __webpack_require__) { // 0 -> Array#forEach // 1 -> Array#map // 2 -> Array#filter // 3 -> Array#some // 4 -> Array#every // 5 -> Array#find // 6 -> Array#findIndex var ctx = __webpack_require__(20); var IObject = __webpack_require__(33); var toObject = __webpack_require__(57); var toLength = __webpack_require__(37); var asc = __webpack_require__(174); module.exports = function (TYPE, $create) { var IS_MAP = TYPE == 1; var IS_FILTER = TYPE == 2; var IS_SOME = TYPE == 3; var IS_EVERY = TYPE == 4; var IS_FIND_INDEX = TYPE == 6; var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; var create = $create || asc; return function ($this, callbackfn, that) { var O = toObject($this); var self = IObject(O); var f = ctx(callbackfn, that, 3); var length = toLength(self.length); var index = 0; var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; var val, res; for (;length > index; index++) if (NO_HOLES || index in self) { val = self[index]; res = f(val, index, O); if (TYPE) { if (IS_MAP) result[index] = res; // map else if (res) switch (TYPE) { case 3: return true; // some case 5: return val; // find case 6: return index; // findIndex case 2: result.push(val); // filter } else if (IS_EVERY) return false; // every } } return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; }; }; /***/ }), /* 174 */ /***/ (function(module, exports, __webpack_require__) { // 9.4.2.3 ArraySpeciesCreate(originalArray, length) var speciesConstructor = __webpack_require__(175); module.exports = function (original, length) { return new (speciesConstructor(original))(length); }; /***/ }), /* 175 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(13); var isArray = __webpack_require__(44); var SPECIES = __webpack_require__(26)('species'); module.exports = function (original) { var C; if (isArray(original)) { C = original.constructor; // cross-realm fallback if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; if (isObject(C)) { C = C[SPECIES]; if (C === null) C = undefined; } } return C === undefined ? Array : C; }; /***/ }), /* 176 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var $map = __webpack_require__(173)(1); $export($export.P + $export.F * !__webpack_require__(169)([].map, true), 'Array', { // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg]) map: function map(callbackfn /* , thisArg */) { return $map(this, callbackfn, arguments[1]); } }); /***/ }), /* 177 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var $filter = __webpack_require__(173)(2); $export($export.P + $export.F * !__webpack_require__(169)([].filter, true), 'Array', { // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) filter: function filter(callbackfn /* , thisArg */) { return $filter(this, callbackfn, arguments[1]); } }); /***/ }), /* 178 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var $some = __webpack_require__(173)(3); $export($export.P + $export.F * !__webpack_require__(169)([].some, true), 'Array', { // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg]) some: function some(callbackfn /* , thisArg */) { return $some(this, callbackfn, arguments[1]); } }); /***/ }), /* 179 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var $every = __webpack_require__(173)(4); $export($export.P + $export.F * !__webpack_require__(169)([].every, true), 'Array', { // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg]) every: function every(callbackfn /* , thisArg */) { return $every(this, callbackfn, arguments[1]); } }); /***/ }), /* 180 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var $reduce = __webpack_require__(181); $export($export.P + $export.F * !__webpack_require__(169)([].reduce, true), 'Array', { // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue]) reduce: function reduce(callbackfn /* , initialValue */) { return $reduce(this, callbackfn, arguments.length, arguments[1], false); } }); /***/ }), /* 181 */ /***/ (function(module, exports, __webpack_require__) { var aFunction = __webpack_require__(21); var toObject = __webpack_require__(57); var IObject = __webpack_require__(33); var toLength = __webpack_require__(37); module.exports = function (that, callbackfn, aLen, memo, isRight) { aFunction(callbackfn); var O = toObject(that); var self = IObject(O); var length = toLength(O.length); var index = isRight ? length - 1 : 0; var i = isRight ? -1 : 1; if (aLen < 2) for (;;) { if (index in self) { memo = self[index]; index += i; break; } index += i; if (isRight ? index < 0 : length <= index) { throw TypeError('Reduce of empty array with no initial value'); } } for (;isRight ? index >= 0 : length > index; index += i) if (index in self) { memo = callbackfn(memo, self[index], index, O); } return memo; }; /***/ }), /* 182 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var $reduce = __webpack_require__(181); $export($export.P + $export.F * !__webpack_require__(169)([].reduceRight, true), 'Array', { // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue]) reduceRight: function reduceRight(callbackfn /* , initialValue */) { return $reduce(this, callbackfn, arguments.length, arguments[1], true); } }); /***/ }), /* 183 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var $indexOf = __webpack_require__(36)(false); var $native = [].indexOf; var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0; $export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(169)($native)), 'Array', { // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex]) indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { return NEGATIVE_ZERO // convert -0 to +0 ? $native.apply(this, arguments) || 0 : $indexOf(this, searchElement, arguments[1]); } }); /***/ }), /* 184 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var toIObject = __webpack_require__(32); var toInteger = __webpack_require__(38); var toLength = __webpack_require__(37); var $native = [].lastIndexOf; var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0; $export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(169)($native)), 'Array', { // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex]) lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { // convert -0 to +0 if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0; var O = toIObject(this); var length = toLength(O.length); var index = length - 1; if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1])); if (index < 0) index = length + index; for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0; return -1; } }); /***/ }), /* 185 */ /***/ (function(module, exports, __webpack_require__) { // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) var $export = __webpack_require__(8); $export($export.P, 'Array', { copyWithin: __webpack_require__(186) }); __webpack_require__(187)('copyWithin'); /***/ }), /* 186 */ /***/ (function(module, exports, __webpack_require__) { // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) 'use strict'; var toObject = __webpack_require__(57); var toAbsoluteIndex = __webpack_require__(39); var toLength = __webpack_require__(37); module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { var O = toObject(this); var len = toLength(O.length); var to = toAbsoluteIndex(target, len); var from = toAbsoluteIndex(start, len); var end = arguments.length > 2 ? arguments[2] : undefined; var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); var inc = 1; if (from < to && to < from + count) { inc = -1; from += count - 1; to += count - 1; } while (count-- > 0) { if (from in O) O[to] = O[from]; else delete O[to]; to += inc; from += inc; } return O; }; /***/ }), /* 187 */ /***/ (function(module, exports, __webpack_require__) { // 22.1.3.31 Array.prototype[@@unscopables] var UNSCOPABLES = __webpack_require__(26)('unscopables'); var ArrayProto = Array.prototype; if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(10)(ArrayProto, UNSCOPABLES, {}); module.exports = function (key) { ArrayProto[UNSCOPABLES][key] = true; }; /***/ }), /* 188 */ /***/ (function(module, exports, __webpack_require__) { // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) var $export = __webpack_require__(8); $export($export.P, 'Array', { fill: __webpack_require__(189) }); __webpack_require__(187)('fill'); /***/ }), /* 189 */ /***/ (function(module, exports, __webpack_require__) { // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) 'use strict'; var toObject = __webpack_require__(57); var toAbsoluteIndex = __webpack_require__(39); var toLength = __webpack_require__(37); module.exports = function fill(value /* , start = 0, end = @length */) { var O = toObject(this); var length = toLength(O.length); var aLen = arguments.length; var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length); var end = aLen > 2 ? arguments[2] : undefined; var endPos = end === undefined ? length : toAbsoluteIndex(end, length); while (endPos > index) O[index++] = value; return O; }; /***/ }), /* 190 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) var $export = __webpack_require__(8); var $find = __webpack_require__(173)(5); var KEY = 'find'; var forced = true; // Shouldn't skip holes if (KEY in []) Array(1)[KEY](function () { forced = false; }); $export($export.P + $export.F * forced, 'Array', { find: function find(callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); __webpack_require__(187)(KEY); /***/ }), /* 191 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) var $export = __webpack_require__(8); var $find = __webpack_require__(173)(6); var KEY = 'findIndex'; var forced = true; // Shouldn't skip holes if (KEY in []) Array(1)[KEY](function () { forced = false; }); $export($export.P + $export.F * forced, 'Array', { findIndex: function findIndex(callbackfn /* , that = undefined */) { return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); } }); __webpack_require__(187)(KEY); /***/ }), /* 192 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(193)('Array'); /***/ }), /* 193 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var global = __webpack_require__(4); var dP = __webpack_require__(11); var DESCRIPTORS = __webpack_require__(6); var SPECIES = __webpack_require__(26)('species'); module.exports = function (KEY) { var C = global[KEY]; if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { configurable: true, get: function () { return this; } }); }; /***/ }), /* 194 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var addToUnscopables = __webpack_require__(187); var step = __webpack_require__(195); var Iterators = __webpack_require__(129); var toIObject = __webpack_require__(32); // 22.1.3.4 Array.prototype.entries() // 22.1.3.13 Array.prototype.keys() // 22.1.3.29 Array.prototype.values() // 22.1.3.30 Array.prototype[@@iterator]() module.exports = __webpack_require__(128)(Array, 'Array', function (iterated, kind) { this._t = toIObject(iterated); // target this._i = 0; // next index this._k = kind; // kind // 22.1.5.2.1 %ArrayIteratorPrototype%.next() }, function () { var O = this._t; var kind = this._k; var index = this._i++; if (!O || index >= O.length) { this._t = undefined; return step(1); } if (kind == 'keys') return step(0, index); if (kind == 'values') return step(0, O[index]); return step(0, [index, O[index]]); }, 'values'); // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) Iterators.Arguments = Iterators.Array; addToUnscopables('keys'); addToUnscopables('values'); addToUnscopables('entries'); /***/ }), /* 195 */ /***/ (function(module, exports) { module.exports = function (done, value) { return { value: value, done: !!done }; }; /***/ }), /* 196 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(4); var inheritIfRequired = __webpack_require__(87); var dP = __webpack_require__(11).f; var gOPN = __webpack_require__(49).f; var isRegExp = __webpack_require__(134); var $flags = __webpack_require__(197); var $RegExp = global.RegExp; var Base = $RegExp; var proto = $RegExp.prototype; var re1 = /a/g; var re2 = /a/g; // "new" creates a new object, old webkit buggy here var CORRECT_NEW = new $RegExp(re1) !== re1; if (__webpack_require__(6) && (!CORRECT_NEW || __webpack_require__(7)(function () { re2[__webpack_require__(26)('match')] = false; // RegExp constructor can alter flags and IsRegExp works correct with @@match return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i'; }))) { $RegExp = function RegExp(p, f) { var tiRE = this instanceof $RegExp; var piRE = isRegExp(p); var fiU = f === undefined; return !tiRE && piRE && p.constructor === $RegExp && fiU ? p : inheritIfRequired(CORRECT_NEW ? new Base(piRE && !fiU ? p.source : p, f) : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f) , tiRE ? this : proto, $RegExp); }; var proxy = function (key) { key in $RegExp || dP($RegExp, key, { configurable: true, get: function () { return Base[key]; }, set: function (it) { Base[key] = it; } }); }; for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]); proto.constructor = $RegExp; $RegExp.prototype = proto; __webpack_require__(18)(global, 'RegExp', $RegExp); } __webpack_require__(193)('RegExp'); /***/ }), /* 197 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 21.2.5.3 get RegExp.prototype.flags var anObject = __webpack_require__(12); module.exports = function () { var that = anObject(this); var result = ''; if (that.global) result += 'g'; if (that.ignoreCase) result += 'i'; if (that.multiline) result += 'm'; if (that.unicode) result += 'u'; if (that.sticky) result += 'y'; return result; }; /***/ }), /* 198 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; __webpack_require__(199); var anObject = __webpack_require__(12); var $flags = __webpack_require__(197); var DESCRIPTORS = __webpack_require__(6); var TO_STRING = 'toString'; var $toString = /./[TO_STRING]; var define = function (fn) { __webpack_require__(18)(RegExp.prototype, TO_STRING, fn, true); }; // 21.2.5.14 RegExp.prototype.toString() if (__webpack_require__(7)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { define(function toString() { var R = anObject(this); return '/'.concat(R.source, '/', 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); }); // FF44- RegExp#toString has a wrong name } else if ($toString.name != TO_STRING) { define(function toString() { return $toString.call(this); }); } /***/ }), /* 199 */ /***/ (function(module, exports, __webpack_require__) { // 21.2.5.3 get RegExp.prototype.flags() if (__webpack_require__(6) && /./g.flags != 'g') __webpack_require__(11).f(RegExp.prototype, 'flags', { configurable: true, get: __webpack_require__(197) }); /***/ }), /* 200 */ /***/ (function(module, exports, __webpack_require__) { // @@match logic __webpack_require__(201)('match', 1, function (defined, MATCH, $match) { // 21.1.3.11 String.prototype.match(regexp) return [function match(regexp) { 'use strict'; var O = defined(this); var fn = regexp == undefined ? undefined : regexp[MATCH]; return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); }, $match]; }); /***/ }), /* 201 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var hide = __webpack_require__(10); var redefine = __webpack_require__(18); var fails = __webpack_require__(7); var defined = __webpack_require__(35); var wks = __webpack_require__(26); module.exports = function (KEY, length, exec) { var SYMBOL = wks(KEY); var fns = exec(defined, SYMBOL, ''[KEY]); var strfn = fns[0]; var rxfn = fns[1]; if (fails(function () { var O = {}; O[SYMBOL] = function () { return 7; }; return ''[KEY](O) != 7; })) { redefine(String.prototype, KEY, strfn); hide(RegExp.prototype, SYMBOL, length == 2 // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) // 21.2.5.11 RegExp.prototype[@@split](string, limit) ? function (string, arg) { return rxfn.call(string, this, arg); } // 21.2.5.6 RegExp.prototype[@@match](string) // 21.2.5.9 RegExp.prototype[@@search](string) : function (string) { return rxfn.call(string, this); } ); } }; /***/ }), /* 202 */ /***/ (function(module, exports, __webpack_require__) { // @@replace logic __webpack_require__(201)('replace', 2, function (defined, REPLACE, $replace) { // 21.1.3.14 String.prototype.replace(searchValue, replaceValue) return [function replace(searchValue, replaceValue) { 'use strict'; var O = defined(this); var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; return fn !== undefined ? fn.call(searchValue, O, replaceValue) : $replace.call(String(O), searchValue, replaceValue); }, $replace]; }); /***/ }), /* 203 */ /***/ (function(module, exports, __webpack_require__) { // @@search logic __webpack_require__(201)('search', 1, function (defined, SEARCH, $search) { // 21.1.3.15 String.prototype.search(regexp) return [function search(regexp) { 'use strict'; var O = defined(this); var fn = regexp == undefined ? undefined : regexp[SEARCH]; return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); }, $search]; }); /***/ }), /* 204 */ /***/ (function(module, exports, __webpack_require__) { // @@split logic __webpack_require__(201)('split', 2, function (defined, SPLIT, $split) { 'use strict'; var isRegExp = __webpack_require__(134); var _split = $split; var $push = [].push; var $SPLIT = 'split'; var LENGTH = 'length'; var LAST_INDEX = 'lastIndex'; if ( 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || '.'[$SPLIT](/()()/)[LENGTH] > 1 || ''[$SPLIT](/.?/)[LENGTH] ) { var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group // based on es5-shim implementation, need to rework it $split = function (separator, limit) { var string = String(this); if (separator === undefined && limit === 0) return []; // If `separator` is not a regex, use native split if (!isRegExp(separator)) return _split.call(string, separator, limit); var output = []; var flags = (separator.ignoreCase ? 'i' : '') + (separator.multiline ? 'm' : '') + (separator.unicode ? 'u' : '') + (separator.sticky ? 'y' : ''); var lastLastIndex = 0; var splitLimit = limit === undefined ? 4294967295 : limit >>> 0; // Make `global` and avoid `lastIndex` issues by working with a copy var separatorCopy = new RegExp(separator.source, flags + 'g'); var separator2, match, lastIndex, lastLength, i; // Doesn't need flags gy, but they don't hurt if (!NPCG) separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\s)', flags); while (match = separatorCopy.exec(string)) { // `separatorCopy.lastIndex` is not reliable cross-browser lastIndex = match.index + match[0][LENGTH]; if (lastIndex > lastLastIndex) { output.push(string.slice(lastLastIndex, match.index)); // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG // eslint-disable-next-line no-loop-func if (!NPCG && match[LENGTH] > 1) match[0].replace(separator2, function () { for (i = 1; i < arguments[LENGTH] - 2; i++) if (arguments[i] === undefined) match[i] = undefined; }); if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); lastLength = match[0][LENGTH]; lastLastIndex = lastIndex; if (output[LENGTH] >= splitLimit) break; } if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop } if (lastLastIndex === string[LENGTH]) { if (lastLength || !separatorCopy.test('')) output.push(''); } else output.push(string.slice(lastLastIndex)); return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; }; // Chakra, V8 } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { $split = function (separator, limit) { return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit); }; } // 21.1.3.17 String.prototype.split(separator, limit) return [function split(separator, limit) { var O = defined(this); var fn = separator == undefined ? undefined : separator[SPLIT]; return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit); }, $split]; }); /***/ }), /* 205 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var LIBRARY = __webpack_require__(24); var global = __webpack_require__(4); var ctx = __webpack_require__(20); var classof = __webpack_require__(74); var $export = __webpack_require__(8); var isObject = __webpack_require__(13); var aFunction = __webpack_require__(21); var anInstance = __webpack_require__(206); var forOf = __webpack_require__(207); var speciesConstructor = __webpack_require__(208); var task = __webpack_require__(209).set; var microtask = __webpack_require__(210)(); var newPromiseCapabilityModule = __webpack_require__(211); var perform = __webpack_require__(212); var userAgent = __webpack_require__(213); var promiseResolve = __webpack_require__(214); var PROMISE = 'Promise'; var TypeError = global.TypeError; var process = global.process; var versions = process && process.versions; var v8 = versions && versions.v8 || ''; var $Promise = global[PROMISE]; var isNode = classof(process) == 'process'; var empty = function () { /* empty */ }; var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; var USE_NATIVE = !!function () { try { // correct subclassing with @@species support var promise = $Promise.resolve(1); var FakePromise = (promise.constructor = {})[__webpack_require__(26)('species')] = function (exec) { exec(empty, empty); }; // unhandled rejections tracking support, NodeJS Promise without it fails @@species test return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 // we can't detect it synchronously, so just check versions && v8.indexOf('6.6') !== 0 && userAgent.indexOf('Chrome/66') === -1; } catch (e) { /* empty */ } }(); // helpers var isThenable = function (it) { var then; return isObject(it) && typeof (then = it.then) == 'function' ? then : false; }; var notify = function (promise, isReject) { if (promise._n) return; promise._n = true; var chain = promise._c; microtask(function () { var value = promise._v; var ok = promise._s == 1; var i = 0; var run = function (reaction) { var handler = ok ? reaction.ok : reaction.fail; var resolve = reaction.resolve; var reject = reaction.reject; var domain = reaction.domain; var result, then, exited; try { if (handler) { if (!ok) { if (promise._h == 2) onHandleUnhandled(promise); promise._h = 1; } if (handler === true) result = value; else { if (domain) domain.enter(); result = handler(value); // may throw if (domain) { domain.exit(); exited = true; } } if (result === reaction.promise) { reject(TypeError('Promise-chain cycle')); } else if (then = isThenable(result)) { then.call(result, resolve, reject); } else resolve(result); } else reject(value); } catch (e) { if (domain && !exited) domain.exit(); reject(e); } }; while (chain.length > i) run(chain[i++]); // variable length - can't use forEach promise._c = []; promise._n = false; if (isReject && !promise._h) onUnhandled(promise); }); }; var onUnhandled = function (promise) { task.call(global, function () { var value = promise._v; var unhandled = isUnhandled(promise); var result, handler, console; if (unhandled) { result = perform(function () { if (isNode) { process.emit('unhandledRejection', value, promise); } else if (handler = global.onunhandledrejection) { handler({ promise: promise, reason: value }); } else if ((console = global.console) && console.error) { console.error('Unhandled promise rejection', value); } }); // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should promise._h = isNode || isUnhandled(promise) ? 2 : 1; } promise._a = undefined; if (unhandled && result.e) throw result.v; }); }; var isUnhandled = function (promise) { return promise._h !== 1 && (promise._a || promise._c).length === 0; }; var onHandleUnhandled = function (promise) { task.call(global, function () { var handler; if (isNode) { process.emit('rejectionHandled', promise); } else if (handler = global.onrejectionhandled) { handler({ promise: promise, reason: promise._v }); } }); }; var $reject = function (value) { var promise = this; if (promise._d) return; promise._d = true; promise = promise._w || promise; // unwrap promise._v = value; promise._s = 2; if (!promise._a) promise._a = promise._c.slice(); notify(promise, true); }; var $resolve = function (value) { var promise = this; var then; if (promise._d) return; promise._d = true; promise = promise._w || promise; // unwrap try { if (promise === value) throw TypeError("Promise can't be resolved itself"); if (then = isThenable(value)) { microtask(function () { var wrapper = { _w: promise, _d: false }; // wrap try { then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); } catch (e) { $reject.call(wrapper, e); } }); } else { promise._v = value; promise._s = 1; notify(promise, false); } } catch (e) { $reject.call({ _w: promise, _d: false }, e); // wrap } }; // constructor polyfill if (!USE_NATIVE) { // 25.4.3.1 Promise(executor) $Promise = function Promise(executor) { anInstance(this, $Promise, PROMISE, '_h'); aFunction(executor); Internal.call(this); try { executor(ctx($resolve, this, 1), ctx($reject, this, 1)); } catch (err) { $reject.call(this, err); } }; // eslint-disable-next-line no-unused-vars Internal = function Promise(executor) { this._c = []; // <- awaiting reactions this._a = undefined; // <- checked in isUnhandled reactions this._s = 0; // <- state this._d = false; // <- done this._v = undefined; // <- value this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled this._n = false; // <- notify }; Internal.prototype = __webpack_require__(215)($Promise.prototype, { // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) then: function then(onFulfilled, onRejected) { var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; reaction.fail = typeof onRejected == 'function' && onRejected; reaction.domain = isNode ? process.domain : undefined; this._c.push(reaction); if (this._a) this._a.push(reaction); if (this._s) notify(this, false); return reaction.promise; }, // 25.4.5.1 Promise.prototype.catch(onRejected) 'catch': function (onRejected) { return this.then(undefined, onRejected); } }); OwnPromiseCapability = function () { var promise = new Internal(); this.promise = promise; this.resolve = ctx($resolve, promise, 1); this.reject = ctx($reject, promise, 1); }; newPromiseCapabilityModule.f = newPromiseCapability = function (C) { return C === $Promise || C === Wrapper ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C); }; } $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); __webpack_require__(25)($Promise, PROMISE); __webpack_require__(193)(PROMISE); Wrapper = __webpack_require__(9)[PROMISE]; // statics $export($export.S + $export.F * !USE_NATIVE, PROMISE, { // 25.4.4.5 Promise.reject(r) reject: function reject(r) { var capability = newPromiseCapability(this); var $$reject = capability.reject; $$reject(r); return capability.promise; } }); $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { // 25.4.4.6 Promise.resolve(x) resolve: function resolve(x) { return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); } }); $export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(166)(function (iter) { $Promise.all(iter)['catch'](empty); })), PROMISE, { // 25.4.4.1 Promise.all(iterable) all: function all(iterable) { var C = this; var capability = newPromiseCapability(C); var resolve = capability.resolve; var reject = capability.reject; var result = perform(function () { var values = []; var index = 0; var remaining = 1; forOf(iterable, false, function (promise) { var $index = index++; var alreadyCalled = false; values.push(undefined); remaining++; C.resolve(promise).then(function (value) { if (alreadyCalled) return; alreadyCalled = true; values[$index] = value; --remaining || resolve(values); }, reject); }); --remaining || resolve(values); }); if (result.e) reject(result.v); return capability.promise; }, // 25.4.4.4 Promise.race(iterable) race: function race(iterable) { var C = this; var capability = newPromiseCapability(C); var reject = capability.reject; var result = perform(function () { forOf(iterable, false, function (promise) { C.resolve(promise).then(capability.resolve, reject); }); }); if (result.e) reject(result.v); return capability.promise; } }); /***/ }), /* 206 */ /***/ (function(module, exports) { module.exports = function (it, Constructor, name, forbiddenField) { if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { throw TypeError(name + ': incorrect invocation!'); } return it; }; /***/ }), /* 207 */ /***/ (function(module, exports, __webpack_require__) { var ctx = __webpack_require__(20); var call = __webpack_require__(162); var isArrayIter = __webpack_require__(163); var anObject = __webpack_require__(12); var toLength = __webpack_require__(37); var getIterFn = __webpack_require__(165); var BREAK = {}; var RETURN = {}; var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) { var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable); var f = ctx(fn, that, entries ? 2 : 1); var index = 0; var length, step, iterator, result; if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!'); // fast case for arrays with default iterator if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) { result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]); if (result === BREAK || result === RETURN) return result; } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) { result = call(iterator, f, step.value, entries); if (result === BREAK || result === RETURN) return result; } }; exports.BREAK = BREAK; exports.RETURN = RETURN; /***/ }), /* 208 */ /***/ (function(module, exports, __webpack_require__) { // 7.3.20 SpeciesConstructor(O, defaultConstructor) var anObject = __webpack_require__(12); var aFunction = __webpack_require__(21); var SPECIES = __webpack_require__(26)('species'); module.exports = function (O, D) { var C = anObject(O).constructor; var S; return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); }; /***/ }), /* 209 */ /***/ (function(module, exports, __webpack_require__) { var ctx = __webpack_require__(20); var invoke = __webpack_require__(77); var html = __webpack_require__(47); var cel = __webpack_require__(15); var global = __webpack_require__(4); var process = global.process; var setTask = global.setImmediate; var clearTask = global.clearImmediate; var MessageChannel = global.MessageChannel; var Dispatch = global.Dispatch; var counter = 0; var queue = {}; var ONREADYSTATECHANGE = 'onreadystatechange'; var defer, channel, port; var run = function () { var id = +this; // eslint-disable-next-line no-prototype-builtins if (queue.hasOwnProperty(id)) { var fn = queue[id]; delete queue[id]; fn(); } }; var listener = function (event) { run.call(event.data); }; // Node.js 0.9+ & IE10+ has setImmediate, otherwise: if (!setTask || !clearTask) { setTask = function setImmediate(fn) { var args = []; var i = 1; while (arguments.length > i) args.push(arguments[i++]); queue[++counter] = function () { // eslint-disable-next-line no-new-func invoke(typeof fn == 'function' ? fn : Function(fn), args); }; defer(counter); return counter; }; clearTask = function clearImmediate(id) { delete queue[id]; }; // Node.js 0.8- if (__webpack_require__(34)(process) == 'process') { defer = function (id) { process.nextTick(ctx(run, id, 1)); }; // Sphere (JS game engine) Dispatch API } else if (Dispatch && Dispatch.now) { defer = function (id) { Dispatch.now(ctx(run, id, 1)); }; // Browsers with MessageChannel, includes WebWorkers } else if (MessageChannel) { channel = new MessageChannel(); port = channel.port2; channel.port1.onmessage = listener; defer = ctx(port.postMessage, port, 1); // Browsers with postMessage, skip WebWorkers // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { defer = function (id) { global.postMessage(id + '', '*'); }; global.addEventListener('message', listener, false); // IE8- } else if (ONREADYSTATECHANGE in cel('script')) { defer = function (id) { html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { html.removeChild(this); run.call(id); }; }; // Rest old browsers } else { defer = function (id) { setTimeout(ctx(run, id, 1), 0); }; } } module.exports = { set: setTask, clear: clearTask }; /***/ }), /* 210 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(4); var macrotask = __webpack_require__(209).set; var Observer = global.MutationObserver || global.WebKitMutationObserver; var process = global.process; var Promise = global.Promise; var isNode = __webpack_require__(34)(process) == 'process'; module.exports = function () { var head, last, notify; var flush = function () { var parent, fn; if (isNode && (parent = process.domain)) parent.exit(); while (head) { fn = head.fn; head = head.next; try { fn(); } catch (e) { if (head) notify(); else last = undefined; throw e; } } last = undefined; if (parent) parent.enter(); }; // Node.js if (isNode) { notify = function () { process.nextTick(flush); }; // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 } else if (Observer && !(global.navigator && global.navigator.standalone)) { var toggle = true; var node = document.createTextNode(''); new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new notify = function () { node.data = toggle = !toggle; }; // environments with maybe non-completely correct, but existent Promise } else if (Promise && Promise.resolve) { // Promise.resolve without an argument throws an error in LG WebOS 2 var promise = Promise.resolve(undefined); notify = function () { promise.then(flush); }; // for other environments - macrotask based on: // - setImmediate // - MessageChannel // - window.postMessag // - onreadystatechange // - setTimeout } else { notify = function () { // strange IE + webpack dev server bug - use .call(global) macrotask.call(global, flush); }; } return function (fn) { var task = { fn: fn, next: undefined }; if (last) last.next = task; if (!head) { head = task; notify(); } last = task; }; }; /***/ }), /* 211 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 25.4.1.5 NewPromiseCapability(C) var aFunction = __webpack_require__(21); function PromiseCapability(C) { var resolve, reject; this.promise = new C(function ($$resolve, $$reject) { if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); resolve = $$resolve; reject = $$reject; }); this.resolve = aFunction(resolve); this.reject = aFunction(reject); } module.exports.f = function (C) { return new PromiseCapability(C); }; /***/ }), /* 212 */ /***/ (function(module, exports) { module.exports = function (exec) { try { return { e: false, v: exec() }; } catch (e) { return { e: true, v: e }; } }; /***/ }), /* 213 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(4); var navigator = global.navigator; module.exports = navigator && navigator.userAgent || ''; /***/ }), /* 214 */ /***/ (function(module, exports, __webpack_require__) { var anObject = __webpack_require__(12); var isObject = __webpack_require__(13); var newPromiseCapability = __webpack_require__(211); module.exports = function (C, x) { anObject(C); if (isObject(x) && x.constructor === C) return x; var promiseCapability = newPromiseCapability.f(C); var resolve = promiseCapability.resolve; resolve(x); return promiseCapability.promise; }; /***/ }), /* 215 */ /***/ (function(module, exports, __webpack_require__) { var redefine = __webpack_require__(18); module.exports = function (target, src, safe) { for (var key in src) redefine(target, key, src[key], safe); return target; }; /***/ }), /* 216 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var strong = __webpack_require__(217); var validate = __webpack_require__(218); var MAP = 'Map'; // 23.1 Map Objects module.exports = __webpack_require__(219)(MAP, function (get) { return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; }, { // 23.1.3.6 Map.prototype.get(key) get: function get(key) { var entry = strong.getEntry(validate(this, MAP), key); return entry && entry.v; }, // 23.1.3.9 Map.prototype.set(key, value) set: function set(key, value) { return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); } }, strong, true); /***/ }), /* 217 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var dP = __webpack_require__(11).f; var create = __webpack_require__(45); var redefineAll = __webpack_require__(215); var ctx = __webpack_require__(20); var anInstance = __webpack_require__(206); var forOf = __webpack_require__(207); var $iterDefine = __webpack_require__(128); var step = __webpack_require__(195); var setSpecies = __webpack_require__(193); var DESCRIPTORS = __webpack_require__(6); var fastKey = __webpack_require__(22).fastKey; var validate = __webpack_require__(218); var SIZE = DESCRIPTORS ? '_s' : 'size'; var getEntry = function (that, key) { // fast case var index = fastKey(key); var entry; if (index !== 'F') return that._i[index]; // frozen object case for (entry = that._f; entry; entry = entry.n) { if (entry.k == key) return entry; } }; module.exports = { getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { var C = wrapper(function (that, iterable) { anInstance(that, C, NAME, '_i'); that._t = NAME; // collection type that._i = create(null); // index that._f = undefined; // first entry that._l = undefined; // last entry that[SIZE] = 0; // size if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); }); redefineAll(C.prototype, { // 23.1.3.1 Map.prototype.clear() // 23.2.3.2 Set.prototype.clear() clear: function clear() { for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) { entry.r = true; if (entry.p) entry.p = entry.p.n = undefined; delete data[entry.i]; } that._f = that._l = undefined; that[SIZE] = 0; }, // 23.1.3.3 Map.prototype.delete(key) // 23.2.3.4 Set.prototype.delete(value) 'delete': function (key) { var that = validate(this, NAME); var entry = getEntry(that, key); if (entry) { var next = entry.n; var prev = entry.p; delete that._i[entry.i]; entry.r = true; if (prev) prev.n = next; if (next) next.p = prev; if (that._f == entry) that._f = next; if (that._l == entry) that._l = prev; that[SIZE]--; } return !!entry; }, // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) forEach: function forEach(callbackfn /* , that = undefined */) { validate(this, NAME); var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); var entry; while (entry = entry ? entry.n : this._f) { f(entry.v, entry.k, this); // revert to the last existing entry while (entry && entry.r) entry = entry.p; } }, // 23.1.3.7 Map.prototype.has(key) // 23.2.3.7 Set.prototype.has(value) has: function has(key) { return !!getEntry(validate(this, NAME), key); } }); if (DESCRIPTORS) dP(C.prototype, 'size', { get: function () { return validate(this, NAME)[SIZE]; } }); return C; }, def: function (that, key, value) { var entry = getEntry(that, key); var prev, index; // change existing entry if (entry) { entry.v = value; // create new entry } else { that._l = entry = { i: index = fastKey(key, true), // <- index k: key, // <- key v: value, // <- value p: prev = that._l, // <- previous entry n: undefined, // <- next entry r: false // <- removed }; if (!that._f) that._f = entry; if (prev) prev.n = entry; that[SIZE]++; // add to index if (index !== 'F') that._i[index] = entry; } return that; }, getEntry: getEntry, setStrong: function (C, NAME, IS_MAP) { // add .keys, .values, .entries, [@@iterator] // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 $iterDefine(C, NAME, function (iterated, kind) { this._t = validate(iterated, NAME); // target this._k = kind; // kind this._l = undefined; // previous }, function () { var that = this; var kind = that._k; var entry = that._l; // revert to the last existing entry while (entry && entry.r) entry = entry.p; // get next entry if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { // or finish the iteration that._t = undefined; return step(1); } // return step by kind if (kind == 'keys') return step(0, entry.k); if (kind == 'values') return step(0, entry.v); return step(0, [entry.k, entry.v]); }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); // add [@@species], 23.1.2.2, 23.2.2.2 setSpecies(NAME); } }; /***/ }), /* 218 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(13); module.exports = function (it, TYPE) { if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); return it; }; /***/ }), /* 219 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var global = __webpack_require__(4); var $export = __webpack_require__(8); var redefine = __webpack_require__(18); var redefineAll = __webpack_require__(215); var meta = __webpack_require__(22); var forOf = __webpack_require__(207); var anInstance = __webpack_require__(206); var isObject = __webpack_require__(13); var fails = __webpack_require__(7); var $iterDetect = __webpack_require__(166); var setToStringTag = __webpack_require__(25); var inheritIfRequired = __webpack_require__(87); module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { var Base = global[NAME]; var C = Base; var ADDER = IS_MAP ? 'set' : 'add'; var proto = C && C.prototype; var O = {}; var fixMethod = function (KEY) { var fn = proto[KEY]; redefine(proto, KEY, KEY == 'delete' ? function (a) { return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); } : KEY == 'has' ? function has(a) { return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a); } : KEY == 'get' ? function get(a) { return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a); } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; } : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; } ); }; if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { new C().entries().next(); }))) { // create collection constructor C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); redefineAll(C.prototype, methods); meta.NEED = true; } else { var instance = new C(); // early implementations not supports chaining var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); // most early implementations doesn't supports iterables, most modern - not close it correctly var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new // for early implementations -0 and +0 not the same var BUGGY_ZERO = !IS_WEAK && fails(function () { // V8 ~ Chromium 42- fails only with 5+ elements var $instance = new C(); var index = 5; while (index--) $instance[ADDER](index, index); return !$instance.has(-0); }); if (!ACCEPT_ITERABLES) { C = wrapper(function (target, iterable) { anInstance(target, C, NAME); var that = inheritIfRequired(new Base(), target, C); if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); return that; }); C.prototype = proto; proto.constructor = C; } if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { fixMethod('delete'); fixMethod('has'); IS_MAP && fixMethod('get'); } if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); // weak collections should not contains .clear method if (IS_WEAK && proto.clear) delete proto.clear; } setToStringTag(C, NAME); O[NAME] = C; $export($export.G + $export.W + $export.F * (C != Base), O); if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); return C; }; /***/ }), /* 220 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var strong = __webpack_require__(217); var validate = __webpack_require__(218); var SET = 'Set'; // 23.2 Set Objects module.exports = __webpack_require__(219)(SET, function (get) { return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; }, { // 23.2.3.1 Set.prototype.add(value) add: function add(value) { return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); } }, strong); /***/ }), /* 221 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var each = __webpack_require__(173)(0); var redefine = __webpack_require__(18); var meta = __webpack_require__(22); var assign = __webpack_require__(68); var weak = __webpack_require__(222); var isObject = __webpack_require__(13); var fails = __webpack_require__(7); var validate = __webpack_require__(218); var WEAK_MAP = 'WeakMap'; var getWeak = meta.getWeak; var isExtensible = Object.isExtensible; var uncaughtFrozenStore = weak.ufstore; var tmp = {}; var InternalMap; var wrapper = function (get) { return function WeakMap() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; }; var methods = { // 23.3.3.3 WeakMap.prototype.get(key) get: function get(key) { if (isObject(key)) { var data = getWeak(key); if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); return data ? data[this._i] : undefined; } }, // 23.3.3.5 WeakMap.prototype.set(key, value) set: function set(key, value) { return weak.def(validate(this, WEAK_MAP), key, value); } }; // 23.3 WeakMap Objects var $WeakMap = module.exports = __webpack_require__(219)(WEAK_MAP, wrapper, methods, weak, true, true); // IE11 WeakMap frozen keys fix if (fails(function () { return new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7; })) { InternalMap = weak.getConstructor(wrapper, WEAK_MAP); assign(InternalMap.prototype, methods); meta.NEED = true; each(['delete', 'has', 'get', 'set'], function (key) { var proto = $WeakMap.prototype; var method = proto[key]; redefine(proto, key, function (a, b) { // store frozen objects on internal weakmap shim if (isObject(a) && !isExtensible(a)) { if (!this._f) this._f = new InternalMap(); var result = this._f[key](a, b); return key == 'set' ? this : result; // store all the rest on native weakmap } return method.call(this, a, b); }); }); } /***/ }), /* 222 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var redefineAll = __webpack_require__(215); var getWeak = __webpack_require__(22).getWeak; var anObject = __webpack_require__(12); var isObject = __webpack_require__(13); var anInstance = __webpack_require__(206); var forOf = __webpack_require__(207); var createArrayMethod = __webpack_require__(173); var $has = __webpack_require__(5); var validate = __webpack_require__(218); var arrayFind = createArrayMethod(5); var arrayFindIndex = createArrayMethod(6); var id = 0; // fallback for uncaught frozen keys var uncaughtFrozenStore = function (that) { return that._l || (that._l = new UncaughtFrozenStore()); }; var UncaughtFrozenStore = function () { this.a = []; }; var findUncaughtFrozen = function (store, key) { return arrayFind(store.a, function (it) { return it[0] === key; }); }; UncaughtFrozenStore.prototype = { get: function (key) { var entry = findUncaughtFrozen(this, key); if (entry) return entry[1]; }, has: function (key) { return !!findUncaughtFrozen(this, key); }, set: function (key, value) { var entry = findUncaughtFrozen(this, key); if (entry) entry[1] = value; else this.a.push([key, value]); }, 'delete': function (key) { var index = arrayFindIndex(this.a, function (it) { return it[0] === key; }); if (~index) this.a.splice(index, 1); return !!~index; } }; module.exports = { getConstructor: function (wrapper, NAME, IS_MAP, ADDER) { var C = wrapper(function (that, iterable) { anInstance(that, C, NAME, '_i'); that._t = NAME; // collection type that._i = id++; // collection id that._l = undefined; // leak store for uncaught frozen objects if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that); }); redefineAll(C.prototype, { // 23.3.3.2 WeakMap.prototype.delete(key) // 23.4.3.3 WeakSet.prototype.delete(value) 'delete': function (key) { if (!isObject(key)) return false; var data = getWeak(key); if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key); return data && $has(data, this._i) && delete data[this._i]; }, // 23.3.3.4 WeakMap.prototype.has(key) // 23.4.3.4 WeakSet.prototype.has(value) has: function has(key) { if (!isObject(key)) return false; var data = getWeak(key); if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key); return data && $has(data, this._i); } }); return C; }, def: function (that, key, value) { var data = getWeak(anObject(key), true); if (data === true) uncaughtFrozenStore(that).set(key, value); else data[that._i] = value; return that; }, ufstore: uncaughtFrozenStore }; /***/ }), /* 223 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var weak = __webpack_require__(222); var validate = __webpack_require__(218); var WEAK_SET = 'WeakSet'; // 23.4 WeakSet Objects __webpack_require__(219)(WEAK_SET, function (get) { return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; }, { // 23.4.3.1 WeakSet.prototype.add(value) add: function add(value) { return weak.def(validate(this, WEAK_SET), value, true); } }, weak, false, true); /***/ }), /* 224 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var $typed = __webpack_require__(225); var buffer = __webpack_require__(226); var anObject = __webpack_require__(12); var toAbsoluteIndex = __webpack_require__(39); var toLength = __webpack_require__(37); var isObject = __webpack_require__(13); var ArrayBuffer = __webpack_require__(4).ArrayBuffer; var speciesConstructor = __webpack_require__(208); var $ArrayBuffer = buffer.ArrayBuffer; var $DataView = buffer.DataView; var $isView = $typed.ABV && ArrayBuffer.isView; var $slice = $ArrayBuffer.prototype.slice; var VIEW = $typed.VIEW; var ARRAY_BUFFER = 'ArrayBuffer'; $export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer }); $export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, { // 24.1.3.1 ArrayBuffer.isView(arg) isView: function isView(it) { return $isView && $isView(it) || isObject(it) && VIEW in it; } }); $export($export.P + $export.U + $export.F * __webpack_require__(7)(function () { return !new $ArrayBuffer(2).slice(1, undefined).byteLength; }), ARRAY_BUFFER, { // 24.1.4.3 ArrayBuffer.prototype.slice(start, end) slice: function slice(start, end) { if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix var len = anObject(this).byteLength; var first = toAbsoluteIndex(start, len); var fin = toAbsoluteIndex(end === undefined ? len : end, len); var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first)); var viewS = new $DataView(this); var viewT = new $DataView(result); var index = 0; while (first < fin) { viewT.setUint8(index++, viewS.getUint8(first++)); } return result; } }); __webpack_require__(193)(ARRAY_BUFFER); /***/ }), /* 225 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(4); var hide = __webpack_require__(10); var uid = __webpack_require__(19); var TYPED = uid('typed_array'); var VIEW = uid('view'); var ABV = !!(global.ArrayBuffer && global.DataView); var CONSTR = ABV; var i = 0; var l = 9; var Typed; var TypedArrayConstructors = ( 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array' ).split(','); while (i < l) { if (Typed = global[TypedArrayConstructors[i++]]) { hide(Typed.prototype, TYPED, true); hide(Typed.prototype, VIEW, true); } else CONSTR = false; } module.exports = { ABV: ABV, CONSTR: CONSTR, TYPED: TYPED, VIEW: VIEW }; /***/ }), /* 226 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var global = __webpack_require__(4); var DESCRIPTORS = __webpack_require__(6); var LIBRARY = __webpack_require__(24); var $typed = __webpack_require__(225); var hide = __webpack_require__(10); var redefineAll = __webpack_require__(215); var fails = __webpack_require__(7); var anInstance = __webpack_require__(206); var toInteger = __webpack_require__(38); var toLength = __webpack_require__(37); var toIndex = __webpack_require__(227); var gOPN = __webpack_require__(49).f; var dP = __webpack_require__(11).f; var arrayFill = __webpack_require__(189); var setToStringTag = __webpack_require__(25); var ARRAY_BUFFER = 'ArrayBuffer'; var DATA_VIEW = 'DataView'; var PROTOTYPE = 'prototype'; var WRONG_LENGTH = 'Wrong length!'; var WRONG_INDEX = 'Wrong index!'; var $ArrayBuffer = global[ARRAY_BUFFER]; var $DataView = global[DATA_VIEW]; var Math = global.Math; var RangeError = global.RangeError; // eslint-disable-next-line no-shadow-restricted-names var Infinity = global.Infinity; var BaseBuffer = $ArrayBuffer; var abs = Math.abs; var pow = Math.pow; var floor = Math.floor; var log = Math.log; var LN2 = Math.LN2; var BUFFER = 'buffer'; var BYTE_LENGTH = 'byteLength'; var BYTE_OFFSET = 'byteOffset'; var $BUFFER = DESCRIPTORS ? '_b' : BUFFER; var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH; var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET; // IEEE754 conversions based on https://github.com/feross/ieee754 function packIEEE754(value, mLen, nBytes) { var buffer = new Array(nBytes); var eLen = nBytes * 8 - mLen - 1; var eMax = (1 << eLen) - 1; var eBias = eMax >> 1; var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0; var i = 0; var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0; var e, m, c; value = abs(value); // eslint-disable-next-line no-self-compare if (value != value || value === Infinity) { // eslint-disable-next-line no-self-compare m = value != value ? 1 : 0; e = eMax; } else { e = floor(log(value) / LN2); if (value * (c = pow(2, -e)) < 1) { e--; c *= 2; } if (e + eBias >= 1) { value += rt / c; } else { value += rt * pow(2, 1 - eBias); } if (value * c >= 2) { e++; c /= 2; } if (e + eBias >= eMax) { m = 0; e = eMax; } else if (e + eBias >= 1) { m = (value * c - 1) * pow(2, mLen); e = e + eBias; } else { m = value * pow(2, eBias - 1) * pow(2, mLen); e = 0; } } for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8); e = e << mLen | m; eLen += mLen; for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8); buffer[--i] |= s * 128; return buffer; } function unpackIEEE754(buffer, mLen, nBytes) { var eLen = nBytes * 8 - mLen - 1; var eMax = (1 << eLen) - 1; var eBias = eMax >> 1; var nBits = eLen - 7; var i = nBytes - 1; var s = buffer[i--]; var e = s & 127; var m; s >>= 7; for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8); m = e & (1 << -nBits) - 1; e >>= -nBits; nBits += mLen; for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8); if (e === 0) { e = 1 - eBias; } else if (e === eMax) { return m ? NaN : s ? -Infinity : Infinity; } else { m = m + pow(2, mLen); e = e - eBias; } return (s ? -1 : 1) * m * pow(2, e - mLen); } function unpackI32(bytes) { return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0]; } function packI8(it) { return [it & 0xff]; } function packI16(it) { return [it & 0xff, it >> 8 & 0xff]; } function packI32(it) { return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff]; } function packF64(it) { return packIEEE754(it, 52, 8); } function packF32(it) { return packIEEE754(it, 23, 4); } function addGetter(C, key, internal) { dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } }); } function get(view, bytes, index, isLittleEndian) { var numIndex = +index; var intIndex = toIndex(numIndex); if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); var store = view[$BUFFER]._b; var start = intIndex + view[$OFFSET]; var pack = store.slice(start, start + bytes); return isLittleEndian ? pack : pack.reverse(); } function set(view, bytes, index, conversion, value, isLittleEndian) { var numIndex = +index; var intIndex = toIndex(numIndex); if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); var store = view[$BUFFER]._b; var start = intIndex + view[$OFFSET]; var pack = conversion(+value); for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1]; } if (!$typed.ABV) { $ArrayBuffer = function ArrayBuffer(length) { anInstance(this, $ArrayBuffer, ARRAY_BUFFER); var byteLength = toIndex(length); this._b = arrayFill.call(new Array(byteLength), 0); this[$LENGTH] = byteLength; }; $DataView = function DataView(buffer, byteOffset, byteLength) { anInstance(this, $DataView, DATA_VIEW); anInstance(buffer, $ArrayBuffer, DATA_VIEW); var bufferLength = buffer[$LENGTH]; var offset = toInteger(byteOffset); if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!'); byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); this[$BUFFER] = buffer; this[$OFFSET] = offset; this[$LENGTH] = byteLength; }; if (DESCRIPTORS) { addGetter($ArrayBuffer, BYTE_LENGTH, '_l'); addGetter($DataView, BUFFER, '_b'); addGetter($DataView, BYTE_LENGTH, '_l'); addGetter($DataView, BYTE_OFFSET, '_o'); } redefineAll($DataView[PROTOTYPE], { getInt8: function getInt8(byteOffset) { return get(this, 1, byteOffset)[0] << 24 >> 24; }, getUint8: function getUint8(byteOffset) { return get(this, 1, byteOffset)[0]; }, getInt16: function getInt16(byteOffset /* , littleEndian */) { var bytes = get(this, 2, byteOffset, arguments[1]); return (bytes[1] << 8 | bytes[0]) << 16 >> 16; }, getUint16: function getUint16(byteOffset /* , littleEndian */) { var bytes = get(this, 2, byteOffset, arguments[1]); return bytes[1] << 8 | bytes[0]; }, getInt32: function getInt32(byteOffset /* , littleEndian */) { return unpackI32(get(this, 4, byteOffset, arguments[1])); }, getUint32: function getUint32(byteOffset /* , littleEndian */) { return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0; }, getFloat32: function getFloat32(byteOffset /* , littleEndian */) { return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4); }, getFloat64: function getFloat64(byteOffset /* , littleEndian */) { return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8); }, setInt8: function setInt8(byteOffset, value) { set(this, 1, byteOffset, packI8, value); }, setUint8: function setUint8(byteOffset, value) { set(this, 1, byteOffset, packI8, value); }, setInt16: function setInt16(byteOffset, value /* , littleEndian */) { set(this, 2, byteOffset, packI16, value, arguments[2]); }, setUint16: function setUint16(byteOffset, value /* , littleEndian */) { set(this, 2, byteOffset, packI16, value, arguments[2]); }, setInt32: function setInt32(byteOffset, value /* , littleEndian */) { set(this, 4, byteOffset, packI32, value, arguments[2]); }, setUint32: function setUint32(byteOffset, value /* , littleEndian */) { set(this, 4, byteOffset, packI32, value, arguments[2]); }, setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { set(this, 4, byteOffset, packF32, value, arguments[2]); }, setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { set(this, 8, byteOffset, packF64, value, arguments[2]); } }); } else { if (!fails(function () { $ArrayBuffer(1); }) || !fails(function () { new $ArrayBuffer(-1); // eslint-disable-line no-new }) || fails(function () { new $ArrayBuffer(); // eslint-disable-line no-new new $ArrayBuffer(1.5); // eslint-disable-line no-new new $ArrayBuffer(NaN); // eslint-disable-line no-new return $ArrayBuffer.name != ARRAY_BUFFER; })) { $ArrayBuffer = function ArrayBuffer(length) { anInstance(this, $ArrayBuffer); return new BaseBuffer(toIndex(length)); }; var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE]; for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) { if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]); } if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer; } // iOS Safari 7.x bug var view = new $DataView(new $ArrayBuffer(2)); var $setInt8 = $DataView[PROTOTYPE].setInt8; view.setInt8(0, 2147483648); view.setInt8(1, 2147483649); if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], { setInt8: function setInt8(byteOffset, value) { $setInt8.call(this, byteOffset, value << 24 >> 24); }, setUint8: function setUint8(byteOffset, value) { $setInt8.call(this, byteOffset, value << 24 >> 24); } }, true); } setToStringTag($ArrayBuffer, ARRAY_BUFFER); setToStringTag($DataView, DATA_VIEW); hide($DataView[PROTOTYPE], $typed.VIEW, true); exports[ARRAY_BUFFER] = $ArrayBuffer; exports[DATA_VIEW] = $DataView; /***/ }), /* 227 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/ecma262/#sec-toindex var toInteger = __webpack_require__(38); var toLength = __webpack_require__(37); module.exports = function (it) { if (it === undefined) return 0; var number = toInteger(it); var length = toLength(number); if (number !== length) throw RangeError('Wrong length!'); return length; }; /***/ }), /* 228 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); $export($export.G + $export.W + $export.F * !__webpack_require__(225).ABV, { DataView: __webpack_require__(226).DataView }); /***/ }), /* 229 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(230)('Int8', 1, function (init) { return function Int8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); /***/ }), /* 230 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; if (__webpack_require__(6)) { var LIBRARY = __webpack_require__(24); var global = __webpack_require__(4); var fails = __webpack_require__(7); var $export = __webpack_require__(8); var $typed = __webpack_require__(225); var $buffer = __webpack_require__(226); var ctx = __webpack_require__(20); var anInstance = __webpack_require__(206); var propertyDesc = __webpack_require__(17); var hide = __webpack_require__(10); var redefineAll = __webpack_require__(215); var toInteger = __webpack_require__(38); var toLength = __webpack_require__(37); var toIndex = __webpack_require__(227); var toAbsoluteIndex = __webpack_require__(39); var toPrimitive = __webpack_require__(16); var has = __webpack_require__(5); var classof = __webpack_require__(74); var isObject = __webpack_require__(13); var toObject = __webpack_require__(57); var isArrayIter = __webpack_require__(163); var create = __webpack_require__(45); var getPrototypeOf = __webpack_require__(58); var gOPN = __webpack_require__(49).f; var getIterFn = __webpack_require__(165); var uid = __webpack_require__(19); var wks = __webpack_require__(26); var createArrayMethod = __webpack_require__(173); var createArrayIncludes = __webpack_require__(36); var speciesConstructor = __webpack_require__(208); var ArrayIterators = __webpack_require__(194); var Iterators = __webpack_require__(129); var $iterDetect = __webpack_require__(166); var setSpecies = __webpack_require__(193); var arrayFill = __webpack_require__(189); var arrayCopyWithin = __webpack_require__(186); var $DP = __webpack_require__(11); var $GOPD = __webpack_require__(50); var dP = $DP.f; var gOPD = $GOPD.f; var RangeError = global.RangeError; var TypeError = global.TypeError; var Uint8Array = global.Uint8Array; var ARRAY_BUFFER = 'ArrayBuffer'; var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER; var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; var PROTOTYPE = 'prototype'; var ArrayProto = Array[PROTOTYPE]; var $ArrayBuffer = $buffer.ArrayBuffer; var $DataView = $buffer.DataView; var arrayForEach = createArrayMethod(0); var arrayFilter = createArrayMethod(2); var arraySome = createArrayMethod(3); var arrayEvery = createArrayMethod(4); var arrayFind = createArrayMethod(5); var arrayFindIndex = createArrayMethod(6); var arrayIncludes = createArrayIncludes(true); var arrayIndexOf = createArrayIncludes(false); var arrayValues = ArrayIterators.values; var arrayKeys = ArrayIterators.keys; var arrayEntries = ArrayIterators.entries; var arrayLastIndexOf = ArrayProto.lastIndexOf; var arrayReduce = ArrayProto.reduce; var arrayReduceRight = ArrayProto.reduceRight; var arrayJoin = ArrayProto.join; var arraySort = ArrayProto.sort; var arraySlice = ArrayProto.slice; var arrayToString = ArrayProto.toString; var arrayToLocaleString = ArrayProto.toLocaleString; var ITERATOR = wks('iterator'); var TAG = wks('toStringTag'); var TYPED_CONSTRUCTOR = uid('typed_constructor'); var DEF_CONSTRUCTOR = uid('def_constructor'); var ALL_CONSTRUCTORS = $typed.CONSTR; var TYPED_ARRAY = $typed.TYPED; var VIEW = $typed.VIEW; var WRONG_LENGTH = 'Wrong length!'; var $map = createArrayMethod(1, function (O, length) { return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length); }); var LITTLE_ENDIAN = fails(function () { // eslint-disable-next-line no-undef return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1; }); var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () { new Uint8Array(1).set({}); }); var toOffset = function (it, BYTES) { var offset = toInteger(it); if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!'); return offset; }; var validate = function (it) { if (isObject(it) && TYPED_ARRAY in it) return it; throw TypeError(it + ' is not a typed array!'); }; var allocate = function (C, length) { if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) { throw TypeError('It is not a typed array constructor!'); } return new C(length); }; var speciesFromList = function (O, list) { return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list); }; var fromList = function (C, list) { var index = 0; var length = list.length; var result = allocate(C, length); while (length > index) result[index] = list[index++]; return result; }; var addGetter = function (it, key, internal) { dP(it, key, { get: function () { return this._d[internal]; } }); }; var $from = function from(source /* , mapfn, thisArg */) { var O = toObject(source); var aLen = arguments.length; var mapfn = aLen > 1 ? arguments[1] : undefined; var mapping = mapfn !== undefined; var iterFn = getIterFn(O); var i, length, values, result, step, iterator; if (iterFn != undefined && !isArrayIter(iterFn)) { for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) { values.push(step.value); } O = values; } if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2); for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) { result[i] = mapping ? mapfn(O[i], i) : O[i]; } return result; }; var $of = function of(/* ...items */) { var index = 0; var length = arguments.length; var result = allocate(this, length); while (length > index) result[index] = arguments[index++]; return result; }; // iOS Safari 6.x fails here var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); }); var $toLocaleString = function toLocaleString() { return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments); }; var proto = { copyWithin: function copyWithin(target, start /* , end */) { return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined); }, every: function every(callbackfn /* , thisArg */) { return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }, fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars return arrayFill.apply(validate(this), arguments); }, filter: function filter(callbackfn /* , thisArg */) { return speciesFromList(this, arrayFilter(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined)); }, find: function find(predicate /* , thisArg */) { return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); }, findIndex: function findIndex(predicate /* , thisArg */) { return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); }, forEach: function forEach(callbackfn /* , thisArg */) { arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }, indexOf: function indexOf(searchElement /* , fromIndex */) { return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); }, includes: function includes(searchElement /* , fromIndex */) { return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); }, join: function join(separator) { // eslint-disable-line no-unused-vars return arrayJoin.apply(validate(this), arguments); }, lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars return arrayLastIndexOf.apply(validate(this), arguments); }, map: function map(mapfn /* , thisArg */) { return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined); }, reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars return arrayReduce.apply(validate(this), arguments); }, reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars return arrayReduceRight.apply(validate(this), arguments); }, reverse: function reverse() { var that = this; var length = validate(that).length; var middle = Math.floor(length / 2); var index = 0; var value; while (index < middle) { value = that[index]; that[index++] = that[--length]; that[length] = value; } return that; }, some: function some(callbackfn /* , thisArg */) { return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }, sort: function sort(comparefn) { return arraySort.call(validate(this), comparefn); }, subarray: function subarray(begin, end) { var O = validate(this); var length = O.length; var $begin = toAbsoluteIndex(begin, length); return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))( O.buffer, O.byteOffset + $begin * O.BYTES_PER_ELEMENT, toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin) ); } }; var $slice = function slice(start, end) { return speciesFromList(this, arraySlice.call(validate(this), start, end)); }; var $set = function set(arrayLike /* , offset */) { validate(this); var offset = toOffset(arguments[1], 1); var length = this.length; var src = toObject(arrayLike); var len = toLength(src.length); var index = 0; if (len + offset > length) throw RangeError(WRONG_LENGTH); while (index < len) this[offset + index] = src[index++]; }; var $iterators = { entries: function entries() { return arrayEntries.call(validate(this)); }, keys: function keys() { return arrayKeys.call(validate(this)); }, values: function values() { return arrayValues.call(validate(this)); } }; var isTAIndex = function (target, key) { return isObject(target) && target[TYPED_ARRAY] && typeof key != 'symbol' && key in target && String(+key) == String(key); }; var $getDesc = function getOwnPropertyDescriptor(target, key) { return isTAIndex(target, key = toPrimitive(key, true)) ? propertyDesc(2, target[key]) : gOPD(target, key); }; var $setDesc = function defineProperty(target, key, desc) { if (isTAIndex(target, key = toPrimitive(key, true)) && isObject(desc) && has(desc, 'value') && !has(desc, 'get') && !has(desc, 'set') // TODO: add validation descriptor w/o calling accessors && !desc.configurable && (!has(desc, 'writable') || desc.writable) && (!has(desc, 'enumerable') || desc.enumerable) ) { target[key] = desc.value; return target; } return dP(target, key, desc); }; if (!ALL_CONSTRUCTORS) { $GOPD.f = $getDesc; $DP.f = $setDesc; } $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', { getOwnPropertyDescriptor: $getDesc, defineProperty: $setDesc }); if (fails(function () { arrayToString.call({}); })) { arrayToString = arrayToLocaleString = function toString() { return arrayJoin.call(this); }; } var $TypedArrayPrototype$ = redefineAll({}, proto); redefineAll($TypedArrayPrototype$, $iterators); hide($TypedArrayPrototype$, ITERATOR, $iterators.values); redefineAll($TypedArrayPrototype$, { slice: $slice, set: $set, constructor: function () { /* noop */ }, toString: arrayToString, toLocaleString: $toLocaleString }); addGetter($TypedArrayPrototype$, 'buffer', 'b'); addGetter($TypedArrayPrototype$, 'byteOffset', 'o'); addGetter($TypedArrayPrototype$, 'byteLength', 'l'); addGetter($TypedArrayPrototype$, 'length', 'e'); dP($TypedArrayPrototype$, TAG, { get: function () { return this[TYPED_ARRAY]; } }); // eslint-disable-next-line max-statements module.exports = function (KEY, BYTES, wrapper, CLAMPED) { CLAMPED = !!CLAMPED; var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'; var GETTER = 'get' + KEY; var SETTER = 'set' + KEY; var TypedArray = global[NAME]; var Base = TypedArray || {}; var TAC = TypedArray && getPrototypeOf(TypedArray); var FORCED = !TypedArray || !$typed.ABV; var O = {}; var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE]; var getter = function (that, index) { var data = that._d; return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN); }; var setter = function (that, index, value) { var data = that._d; if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff; data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN); }; var addElement = function (that, index) { dP(that, index, { get: function () { return getter(this, index); }, set: function (value) { return setter(this, index, value); }, enumerable: true }); }; if (FORCED) { TypedArray = wrapper(function (that, data, $offset, $length) { anInstance(that, TypedArray, NAME, '_d'); var index = 0; var offset = 0; var buffer, byteLength, length, klass; if (!isObject(data)) { length = toIndex(data); byteLength = length * BYTES; buffer = new $ArrayBuffer(byteLength); } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { buffer = data; offset = toOffset($offset, BYTES); var $len = data.byteLength; if ($length === undefined) { if ($len % BYTES) throw RangeError(WRONG_LENGTH); byteLength = $len - offset; if (byteLength < 0) throw RangeError(WRONG_LENGTH); } else { byteLength = toLength($length) * BYTES; if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH); } length = byteLength / BYTES; } else if (TYPED_ARRAY in data) { return fromList(TypedArray, data); } else { return $from.call(TypedArray, data); } hide(that, '_d', { b: buffer, o: offset, l: byteLength, e: length, v: new $DataView(buffer) }); while (index < length) addElement(that, index++); }); TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$); hide(TypedArrayPrototype, 'constructor', TypedArray); } else if (!fails(function () { TypedArray(1); }) || !fails(function () { new TypedArray(-1); // eslint-disable-line no-new }) || !$iterDetect(function (iter) { new TypedArray(); // eslint-disable-line no-new new TypedArray(null); // eslint-disable-line no-new new TypedArray(1.5); // eslint-disable-line no-new new TypedArray(iter); // eslint-disable-line no-new }, true)) { TypedArray = wrapper(function (that, data, $offset, $length) { anInstance(that, TypedArray, NAME); var klass; // `ws` module bug, temporarily remove validation length for Uint8Array // https://github.com/websockets/ws/pull/645 if (!isObject(data)) return new Base(toIndex(data)); if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { return $length !== undefined ? new Base(data, toOffset($offset, BYTES), $length) : $offset !== undefined ? new Base(data, toOffset($offset, BYTES)) : new Base(data); } if (TYPED_ARRAY in data) return fromList(TypedArray, data); return $from.call(TypedArray, data); }); arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) { if (!(key in TypedArray)) hide(TypedArray, key, Base[key]); }); TypedArray[PROTOTYPE] = TypedArrayPrototype; if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray; } var $nativeIterator = TypedArrayPrototype[ITERATOR]; var CORRECT_ITER_NAME = !!$nativeIterator && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined); var $iterator = $iterators.values; hide(TypedArray, TYPED_CONSTRUCTOR, true); hide(TypedArrayPrototype, TYPED_ARRAY, NAME); hide(TypedArrayPrototype, VIEW, true); hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray); if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) { dP(TypedArrayPrototype, TAG, { get: function () { return NAME; } }); } O[NAME] = TypedArray; $export($export.G + $export.W + $export.F * (TypedArray != Base), O); $export($export.S, NAME, { BYTES_PER_ELEMENT: BYTES }); $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, { from: $from, of: $of }); if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES); $export($export.P, NAME, proto); setSpecies(NAME); $export($export.P + $export.F * FORCED_SET, NAME, { set: $set }); $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators); if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString; $export($export.P + $export.F * fails(function () { new TypedArray(1).slice(); }), NAME, { slice: $slice }); $export($export.P + $export.F * (fails(function () { return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); }) || !fails(function () { TypedArrayPrototype.toLocaleString.call([1, 2]); })), NAME, { toLocaleString: $toLocaleString }); Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator; if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator); }; } else module.exports = function () { /* empty */ }; /***/ }), /* 231 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(230)('Uint8', 1, function (init) { return function Uint8Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); /***/ }), /* 232 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(230)('Uint8', 1, function (init) { return function Uint8ClampedArray(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }, true); /***/ }), /* 233 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(230)('Int16', 2, function (init) { return function Int16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); /***/ }), /* 234 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(230)('Uint16', 2, function (init) { return function Uint16Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); /***/ }), /* 235 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(230)('Int32', 4, function (init) { return function Int32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); /***/ }), /* 236 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(230)('Uint32', 4, function (init) { return function Uint32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); /***/ }), /* 237 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(230)('Float32', 4, function (init) { return function Float32Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); /***/ }), /* 238 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(230)('Float64', 8, function (init) { return function Float64Array(data, byteOffset, length) { return init(this, data, byteOffset, length); }; }); /***/ }), /* 239 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.1 Reflect.apply(target, thisArgument, argumentsList) var $export = __webpack_require__(8); var aFunction = __webpack_require__(21); var anObject = __webpack_require__(12); var rApply = (__webpack_require__(4).Reflect || {}).apply; var fApply = Function.apply; // MS Edge argumentsList argument is optional $export($export.S + $export.F * !__webpack_require__(7)(function () { rApply(function () { /* empty */ }); }), 'Reflect', { apply: function apply(target, thisArgument, argumentsList) { var T = aFunction(target); var L = anObject(argumentsList); return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L); } }); /***/ }), /* 240 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) var $export = __webpack_require__(8); var create = __webpack_require__(45); var aFunction = __webpack_require__(21); var anObject = __webpack_require__(12); var isObject = __webpack_require__(13); var fails = __webpack_require__(7); var bind = __webpack_require__(76); var rConstruct = (__webpack_require__(4).Reflect || {}).construct; // MS Edge supports only 2 arguments and argumentsList argument is optional // FF Nightly sets third argument as `new.target`, but does not create `this` from it var NEW_TARGET_BUG = fails(function () { function F() { /* empty */ } return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); }); var ARGS_BUG = !fails(function () { rConstruct(function () { /* empty */ }); }); $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { construct: function construct(Target, args /* , newTarget */) { aFunction(Target); anObject(args); var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); if (Target == newTarget) { // w/o altered newTarget, optimization for 0-4 arguments switch (args.length) { case 0: return new Target(); case 1: return new Target(args[0]); case 2: return new Target(args[0], args[1]); case 3: return new Target(args[0], args[1], args[2]); case 4: return new Target(args[0], args[1], args[2], args[3]); } // w/o altered newTarget, lot of arguments case var $args = [null]; $args.push.apply($args, args); return new (bind.apply(Target, $args))(); } // with altered newTarget, not support built-in constructors var proto = newTarget.prototype; var instance = create(isObject(proto) ? proto : Object.prototype); var result = Function.apply.call(Target, instance, args); return isObject(result) ? result : instance; } }); /***/ }), /* 241 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) var dP = __webpack_require__(11); var $export = __webpack_require__(8); var anObject = __webpack_require__(12); var toPrimitive = __webpack_require__(16); // MS Edge has broken Reflect.defineProperty - throwing instead of returning false $export($export.S + $export.F * __webpack_require__(7)(function () { // eslint-disable-next-line no-undef Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); }), 'Reflect', { defineProperty: function defineProperty(target, propertyKey, attributes) { anObject(target); propertyKey = toPrimitive(propertyKey, true); anObject(attributes); try { dP.f(target, propertyKey, attributes); return true; } catch (e) { return false; } } }); /***/ }), /* 242 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.4 Reflect.deleteProperty(target, propertyKey) var $export = __webpack_require__(8); var gOPD = __webpack_require__(50).f; var anObject = __webpack_require__(12); $export($export.S, 'Reflect', { deleteProperty: function deleteProperty(target, propertyKey) { var desc = gOPD(anObject(target), propertyKey); return desc && !desc.configurable ? false : delete target[propertyKey]; } }); /***/ }), /* 243 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // 26.1.5 Reflect.enumerate(target) var $export = __webpack_require__(8); var anObject = __webpack_require__(12); var Enumerate = function (iterated) { this._t = anObject(iterated); // target this._i = 0; // next index var keys = this._k = []; // keys var key; for (key in iterated) keys.push(key); }; __webpack_require__(130)(Enumerate, 'Object', function () { var that = this; var keys = that._k; var key; do { if (that._i >= keys.length) return { value: undefined, done: true }; } while (!((key = keys[that._i++]) in that._t)); return { value: key, done: false }; }); $export($export.S, 'Reflect', { enumerate: function enumerate(target) { return new Enumerate(target); } }); /***/ }), /* 244 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.6 Reflect.get(target, propertyKey [, receiver]) var gOPD = __webpack_require__(50); var getPrototypeOf = __webpack_require__(58); var has = __webpack_require__(5); var $export = __webpack_require__(8); var isObject = __webpack_require__(13); var anObject = __webpack_require__(12); function get(target, propertyKey /* , receiver */) { var receiver = arguments.length < 3 ? target : arguments[2]; var desc, proto; if (anObject(target) === receiver) return target[propertyKey]; if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') ? desc.value : desc.get !== undefined ? desc.get.call(receiver) : undefined; if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); } $export($export.S, 'Reflect', { get: get }); /***/ }), /* 245 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) var gOPD = __webpack_require__(50); var $export = __webpack_require__(8); var anObject = __webpack_require__(12); $export($export.S, 'Reflect', { getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { return gOPD.f(anObject(target), propertyKey); } }); /***/ }), /* 246 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.8 Reflect.getPrototypeOf(target) var $export = __webpack_require__(8); var getProto = __webpack_require__(58); var anObject = __webpack_require__(12); $export($export.S, 'Reflect', { getPrototypeOf: function getPrototypeOf(target) { return getProto(anObject(target)); } }); /***/ }), /* 247 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.9 Reflect.has(target, propertyKey) var $export = __webpack_require__(8); $export($export.S, 'Reflect', { has: function has(target, propertyKey) { return propertyKey in target; } }); /***/ }), /* 248 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.10 Reflect.isExtensible(target) var $export = __webpack_require__(8); var anObject = __webpack_require__(12); var $isExtensible = Object.isExtensible; $export($export.S, 'Reflect', { isExtensible: function isExtensible(target) { anObject(target); return $isExtensible ? $isExtensible(target) : true; } }); /***/ }), /* 249 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.11 Reflect.ownKeys(target) var $export = __webpack_require__(8); $export($export.S, 'Reflect', { ownKeys: __webpack_require__(250) }); /***/ }), /* 250 */ /***/ (function(module, exports, __webpack_require__) { // all object keys, includes non-enumerable and symbols var gOPN = __webpack_require__(49); var gOPS = __webpack_require__(42); var anObject = __webpack_require__(12); var Reflect = __webpack_require__(4).Reflect; module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { var keys = gOPN.f(anObject(it)); var getSymbols = gOPS.f; return getSymbols ? keys.concat(getSymbols(it)) : keys; }; /***/ }), /* 251 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.12 Reflect.preventExtensions(target) var $export = __webpack_require__(8); var anObject = __webpack_require__(12); var $preventExtensions = Object.preventExtensions; $export($export.S, 'Reflect', { preventExtensions: function preventExtensions(target) { anObject(target); try { if ($preventExtensions) $preventExtensions(target); return true; } catch (e) { return false; } } }); /***/ }), /* 252 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) var dP = __webpack_require__(11); var gOPD = __webpack_require__(50); var getPrototypeOf = __webpack_require__(58); var has = __webpack_require__(5); var $export = __webpack_require__(8); var createDesc = __webpack_require__(17); var anObject = __webpack_require__(12); var isObject = __webpack_require__(13); function set(target, propertyKey, V /* , receiver */) { var receiver = arguments.length < 4 ? target : arguments[3]; var ownDesc = gOPD.f(anObject(target), propertyKey); var existingDescriptor, proto; if (!ownDesc) { if (isObject(proto = getPrototypeOf(target))) { return set(proto, propertyKey, V, receiver); } ownDesc = createDesc(0); } if (has(ownDesc, 'value')) { if (ownDesc.writable === false || !isObject(receiver)) return false; if (existingDescriptor = gOPD.f(receiver, propertyKey)) { if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false; existingDescriptor.value = V; dP.f(receiver, propertyKey, existingDescriptor); } else dP.f(receiver, propertyKey, createDesc(0, V)); return true; } return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); } $export($export.S, 'Reflect', { set: set }); /***/ }), /* 253 */ /***/ (function(module, exports, __webpack_require__) { // 26.1.14 Reflect.setPrototypeOf(target, proto) var $export = __webpack_require__(8); var setProto = __webpack_require__(72); if (setProto) $export($export.S, 'Reflect', { setPrototypeOf: function setPrototypeOf(target, proto) { setProto.check(target, proto); try { setProto.set(target, proto); return true; } catch (e) { return false; } } }); /***/ }), /* 254 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://github.com/tc39/Array.prototype.includes var $export = __webpack_require__(8); var $includes = __webpack_require__(36)(true); $export($export.P, 'Array', { includes: function includes(el /* , fromIndex = 0 */) { return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); } }); __webpack_require__(187)('includes'); /***/ }), /* 255 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap var $export = __webpack_require__(8); var flattenIntoArray = __webpack_require__(256); var toObject = __webpack_require__(57); var toLength = __webpack_require__(37); var aFunction = __webpack_require__(21); var arraySpeciesCreate = __webpack_require__(174); $export($export.P, 'Array', { flatMap: function flatMap(callbackfn /* , thisArg */) { var O = toObject(this); var sourceLen, A; aFunction(callbackfn); sourceLen = toLength(O.length); A = arraySpeciesCreate(O, 0); flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]); return A; } }); __webpack_require__(187)('flatMap'); /***/ }), /* 256 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray var isArray = __webpack_require__(44); var isObject = __webpack_require__(13); var toLength = __webpack_require__(37); var ctx = __webpack_require__(20); var IS_CONCAT_SPREADABLE = __webpack_require__(26)('isConcatSpreadable'); function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) { var targetIndex = start; var sourceIndex = 0; var mapFn = mapper ? ctx(mapper, thisArg, 3) : false; var element, spreadable; while (sourceIndex < sourceLen) { if (sourceIndex in source) { element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; spreadable = false; if (isObject(element)) { spreadable = element[IS_CONCAT_SPREADABLE]; spreadable = spreadable !== undefined ? !!spreadable : isArray(element); } if (spreadable && depth > 0) { targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; } else { if (targetIndex >= 0x1fffffffffffff) throw TypeError(); target[targetIndex] = element; } targetIndex++; } sourceIndex++; } return targetIndex; } module.exports = flattenIntoArray; /***/ }), /* 257 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatten var $export = __webpack_require__(8); var flattenIntoArray = __webpack_require__(256); var toObject = __webpack_require__(57); var toLength = __webpack_require__(37); var toInteger = __webpack_require__(38); var arraySpeciesCreate = __webpack_require__(174); $export($export.P, 'Array', { flatten: function flatten(/* depthArg = 1 */) { var depthArg = arguments[0]; var O = toObject(this); var sourceLen = toLength(O.length); var A = arraySpeciesCreate(O, 0); flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg)); return A; } }); __webpack_require__(187)('flatten'); /***/ }), /* 258 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://github.com/mathiasbynens/String.prototype.at var $export = __webpack_require__(8); var $at = __webpack_require__(127)(true); $export($export.P, 'String', { at: function at(pos) { return $at(this, pos); } }); /***/ }), /* 259 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://github.com/tc39/proposal-string-pad-start-end var $export = __webpack_require__(8); var $pad = __webpack_require__(260); var userAgent = __webpack_require__(213); // https://github.com/zloirock/core-js/issues/280 $export($export.P + $export.F * /Version\/10\.\d+(\.\d+)? Safari\//.test(userAgent), 'String', { padStart: function padStart(maxLength /* , fillString = ' ' */) { return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true); } }); /***/ }), /* 260 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-string-pad-start-end var toLength = __webpack_require__(37); var repeat = __webpack_require__(90); var defined = __webpack_require__(35); module.exports = function (that, maxLength, fillString, left) { var S = String(defined(that)); var stringLength = S.length; var fillStr = fillString === undefined ? ' ' : String(fillString); var intMaxLength = toLength(maxLength); if (intMaxLength <= stringLength || fillStr == '') return S; var fillLen = intMaxLength - stringLength; var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length)); if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen); return left ? stringFiller + S : S + stringFiller; }; /***/ }), /* 261 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://github.com/tc39/proposal-string-pad-start-end var $export = __webpack_require__(8); var $pad = __webpack_require__(260); var userAgent = __webpack_require__(213); // https://github.com/zloirock/core-js/issues/280 $export($export.P + $export.F * /Version\/10\.\d+(\.\d+)? Safari\//.test(userAgent), 'String', { padEnd: function padEnd(maxLength /* , fillString = ' ' */) { return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false); } }); /***/ }), /* 262 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim __webpack_require__(82)('trimLeft', function ($trim) { return function trimLeft() { return $trim(this, 1); }; }, 'trimStart'); /***/ }), /* 263 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://github.com/sebmarkbage/ecmascript-string-left-right-trim __webpack_require__(82)('trimRight', function ($trim) { return function trimRight() { return $trim(this, 2); }; }, 'trimEnd'); /***/ }), /* 264 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://tc39.github.io/String.prototype.matchAll/ var $export = __webpack_require__(8); var defined = __webpack_require__(35); var toLength = __webpack_require__(37); var isRegExp = __webpack_require__(134); var getFlags = __webpack_require__(197); var RegExpProto = RegExp.prototype; var $RegExpStringIterator = function (regexp, string) { this._r = regexp; this._s = string; }; __webpack_require__(130)($RegExpStringIterator, 'RegExp String', function next() { var match = this._r.exec(this._s); return { value: match, done: match === null }; }); $export($export.P, 'String', { matchAll: function matchAll(regexp) { defined(this); if (!isRegExp(regexp)) throw TypeError(regexp + ' is not a regexp!'); var S = String(this); var flags = 'flags' in RegExpProto ? String(regexp.flags) : getFlags.call(regexp); var rx = new RegExp(regexp.source, ~flags.indexOf('g') ? flags : 'g' + flags); rx.lastIndex = toLength(regexp.lastIndex); return new $RegExpStringIterator(rx, S); } }); /***/ }), /* 265 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(28)('asyncIterator'); /***/ }), /* 266 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(28)('observable'); /***/ }), /* 267 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-object-getownpropertydescriptors var $export = __webpack_require__(8); var ownKeys = __webpack_require__(250); var toIObject = __webpack_require__(32); var gOPD = __webpack_require__(50); var createProperty = __webpack_require__(164); $export($export.S, 'Object', { getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { var O = toIObject(object); var getDesc = gOPD.f; var keys = ownKeys(O); var result = {}; var i = 0; var key, desc; while (keys.length > i) { desc = getDesc(O, key = keys[i++]); if (desc !== undefined) createProperty(result, key, desc); } return result; } }); /***/ }), /* 268 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-object-values-entries var $export = __webpack_require__(8); var $values = __webpack_require__(269)(false); $export($export.S, 'Object', { values: function values(it) { return $values(it); } }); /***/ }), /* 269 */ /***/ (function(module, exports, __webpack_require__) { var getKeys = __webpack_require__(30); var toIObject = __webpack_require__(32); var isEnum = __webpack_require__(43).f; module.exports = function (isEntries) { return function (it) { var O = toIObject(it); var keys = getKeys(O); var length = keys.length; var i = 0; var result = []; var key; while (length > i) if (isEnum.call(O, key = keys[i++])) { result.push(isEntries ? [key, O[key]] : O[key]); } return result; }; }; /***/ }), /* 270 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-object-values-entries var $export = __webpack_require__(8); var $entries = __webpack_require__(269)(true); $export($export.S, 'Object', { entries: function entries(it) { return $entries(it); } }); /***/ }), /* 271 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var toObject = __webpack_require__(57); var aFunction = __webpack_require__(21); var $defineProperty = __webpack_require__(11); // B.2.2.2 Object.prototype.__defineGetter__(P, getter) __webpack_require__(6) && $export($export.P + __webpack_require__(272), 'Object', { __defineGetter__: function __defineGetter__(P, getter) { $defineProperty.f(toObject(this), P, { get: aFunction(getter), enumerable: true, configurable: true }); } }); /***/ }), /* 272 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // Forced replacement prototype accessors methods module.exports = __webpack_require__(24) || !__webpack_require__(7)(function () { var K = Math.random(); // In FF throws only define methods // eslint-disable-next-line no-undef, no-useless-call __defineSetter__.call(null, K, function () { /* empty */ }); delete __webpack_require__(4)[K]; }); /***/ }), /* 273 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var toObject = __webpack_require__(57); var aFunction = __webpack_require__(21); var $defineProperty = __webpack_require__(11); // B.2.2.3 Object.prototype.__defineSetter__(P, setter) __webpack_require__(6) && $export($export.P + __webpack_require__(272), 'Object', { __defineSetter__: function __defineSetter__(P, setter) { $defineProperty.f(toObject(this), P, { set: aFunction(setter), enumerable: true, configurable: true }); } }); /***/ }), /* 274 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var toObject = __webpack_require__(57); var toPrimitive = __webpack_require__(16); var getPrototypeOf = __webpack_require__(58); var getOwnPropertyDescriptor = __webpack_require__(50).f; // B.2.2.4 Object.prototype.__lookupGetter__(P) __webpack_require__(6) && $export($export.P + __webpack_require__(272), 'Object', { __lookupGetter__: function __lookupGetter__(P) { var O = toObject(this); var K = toPrimitive(P, true); var D; do { if (D = getOwnPropertyDescriptor(O, K)) return D.get; } while (O = getPrototypeOf(O)); } }); /***/ }), /* 275 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; var $export = __webpack_require__(8); var toObject = __webpack_require__(57); var toPrimitive = __webpack_require__(16); var getPrototypeOf = __webpack_require__(58); var getOwnPropertyDescriptor = __webpack_require__(50).f; // B.2.2.5 Object.prototype.__lookupSetter__(P) __webpack_require__(6) && $export($export.P + __webpack_require__(272), 'Object', { __lookupSetter__: function __lookupSetter__(P) { var O = toObject(this); var K = toPrimitive(P, true); var D; do { if (D = getOwnPropertyDescriptor(O, K)) return D.set; } while (O = getPrototypeOf(O)); } }); /***/ }), /* 276 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/DavidBruant/Map-Set.prototype.toJSON var $export = __webpack_require__(8); $export($export.P + $export.R, 'Map', { toJSON: __webpack_require__(277)('Map') }); /***/ }), /* 277 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/DavidBruant/Map-Set.prototype.toJSON var classof = __webpack_require__(74); var from = __webpack_require__(278); module.exports = function (NAME) { return function toJSON() { if (classof(this) != NAME) throw TypeError(NAME + "#toJSON isn't generic"); return from(this); }; }; /***/ }), /* 278 */ /***/ (function(module, exports, __webpack_require__) { var forOf = __webpack_require__(207); module.exports = function (iter, ITERATOR) { var result = []; forOf(iter, false, result.push, result, ITERATOR); return result; }; /***/ }), /* 279 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/DavidBruant/Map-Set.prototype.toJSON var $export = __webpack_require__(8); $export($export.P + $export.R, 'Set', { toJSON: __webpack_require__(277)('Set') }); /***/ }), /* 280 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-map.of __webpack_require__(281)('Map'); /***/ }), /* 281 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://tc39.github.io/proposal-setmap-offrom/ var $export = __webpack_require__(8); module.exports = function (COLLECTION) { $export($export.S, COLLECTION, { of: function of() { var length = arguments.length; var A = new Array(length); while (length--) A[length] = arguments[length]; return new this(A); } }); }; /***/ }), /* 282 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-set.of __webpack_require__(281)('Set'); /***/ }), /* 283 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of __webpack_require__(281)('WeakMap'); /***/ }), /* 284 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of __webpack_require__(281)('WeakSet'); /***/ }), /* 285 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from __webpack_require__(286)('Map'); /***/ }), /* 286 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://tc39.github.io/proposal-setmap-offrom/ var $export = __webpack_require__(8); var aFunction = __webpack_require__(21); var ctx = __webpack_require__(20); var forOf = __webpack_require__(207); module.exports = function (COLLECTION) { $export($export.S, COLLECTION, { from: function from(source /* , mapFn, thisArg */) { var mapFn = arguments[1]; var mapping, A, n, cb; aFunction(this); mapping = mapFn !== undefined; if (mapping) aFunction(mapFn); if (source == undefined) return new this(); A = []; if (mapping) { n = 0; cb = ctx(mapFn, arguments[2], 2); forOf(source, false, function (nextItem) { A.push(cb(nextItem, n++)); }); } else { forOf(source, false, A.push, A); } return new this(A); } }); }; /***/ }), /* 287 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-set.from __webpack_require__(286)('Set'); /***/ }), /* 288 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from __webpack_require__(286)('WeakMap'); /***/ }), /* 289 */ /***/ (function(module, exports, __webpack_require__) { // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from __webpack_require__(286)('WeakSet'); /***/ }), /* 290 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-global var $export = __webpack_require__(8); $export($export.G, { global: __webpack_require__(4) }); /***/ }), /* 291 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-global var $export = __webpack_require__(8); $export($export.S, 'System', { global: __webpack_require__(4) }); /***/ }), /* 292 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/ljharb/proposal-is-error var $export = __webpack_require__(8); var cof = __webpack_require__(34); $export($export.S, 'Error', { isError: function isError(it) { return cof(it) === 'Error'; } }); /***/ }), /* 293 */ /***/ (function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); $export($export.S, 'Math', { clamp: function clamp(x, lower, upper) { return Math.min(upper, Math.max(lower, x)); } }); /***/ }), /* 294 */ /***/ (function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); $export($export.S, 'Math', { DEG_PER_RAD: Math.PI / 180 }); /***/ }), /* 295 */ /***/ (function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); var RAD_PER_DEG = 180 / Math.PI; $export($export.S, 'Math', { degrees: function degrees(radians) { return radians * RAD_PER_DEG; } }); /***/ }), /* 296 */ /***/ (function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); var scale = __webpack_require__(297); var fround = __webpack_require__(113); $export($export.S, 'Math', { fscale: function fscale(x, inLow, inHigh, outLow, outHigh) { return fround(scale(x, inLow, inHigh, outLow, outHigh)); } }); /***/ }), /* 297 */ /***/ (function(module, exports) { // https://rwaldron.github.io/proposal-math-extensions/ module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) { if ( arguments.length === 0 // eslint-disable-next-line no-self-compare || x != x // eslint-disable-next-line no-self-compare || inLow != inLow // eslint-disable-next-line no-self-compare || inHigh != inHigh // eslint-disable-next-line no-self-compare || outLow != outLow // eslint-disable-next-line no-self-compare || outHigh != outHigh ) return NaN; if (x === Infinity || x === -Infinity) return x; return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow; }; /***/ }), /* 298 */ /***/ (function(module, exports, __webpack_require__) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 var $export = __webpack_require__(8); $export($export.S, 'Math', { iaddh: function iaddh(x0, x1, y0, y1) { var $x0 = x0 >>> 0; var $x1 = x1 >>> 0; var $y0 = y0 >>> 0; return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0; } }); /***/ }), /* 299 */ /***/ (function(module, exports, __webpack_require__) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 var $export = __webpack_require__(8); $export($export.S, 'Math', { isubh: function isubh(x0, x1, y0, y1) { var $x0 = x0 >>> 0; var $x1 = x1 >>> 0; var $y0 = y0 >>> 0; return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0; } }); /***/ }), /* 300 */ /***/ (function(module, exports, __webpack_require__) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 var $export = __webpack_require__(8); $export($export.S, 'Math', { imulh: function imulh(u, v) { var UINT16 = 0xffff; var $u = +u; var $v = +v; var u0 = $u & UINT16; var v0 = $v & UINT16; var u1 = $u >> 16; var v1 = $v >> 16; var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16); } }); /***/ }), /* 301 */ /***/ (function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); $export($export.S, 'Math', { RAD_PER_DEG: 180 / Math.PI }); /***/ }), /* 302 */ /***/ (function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); var DEG_PER_RAD = Math.PI / 180; $export($export.S, 'Math', { radians: function radians(degrees) { return degrees * DEG_PER_RAD; } }); /***/ }), /* 303 */ /***/ (function(module, exports, __webpack_require__) { // https://rwaldron.github.io/proposal-math-extensions/ var $export = __webpack_require__(8); $export($export.S, 'Math', { scale: __webpack_require__(297) }); /***/ }), /* 304 */ /***/ (function(module, exports, __webpack_require__) { // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 var $export = __webpack_require__(8); $export($export.S, 'Math', { umulh: function umulh(u, v) { var UINT16 = 0xffff; var $u = +u; var $v = +v; var u0 = $u & UINT16; var v0 = $v & UINT16; var u1 = $u >>> 16; var v1 = $v >>> 16; var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16); } }); /***/ }), /* 305 */ /***/ (function(module, exports, __webpack_require__) { // http://jfbastien.github.io/papers/Math.signbit.html var $export = __webpack_require__(8); $export($export.S, 'Math', { signbit: function signbit(x) { // eslint-disable-next-line no-self-compare return (x = +x) != x ? x : x == 0 ? 1 / x == Infinity : x > 0; } }); /***/ }), /* 306 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/tc39/proposal-promise-finally 'use strict'; var $export = __webpack_require__(8); var core = __webpack_require__(9); var global = __webpack_require__(4); var speciesConstructor = __webpack_require__(208); var promiseResolve = __webpack_require__(214); $export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { var C = speciesConstructor(this, core.Promise || global.Promise); var isFunction = typeof onFinally == 'function'; return this.then( isFunction ? function (x) { return promiseResolve(C, onFinally()).then(function () { return x; }); } : onFinally, isFunction ? function (e) { return promiseResolve(C, onFinally()).then(function () { throw e; }); } : onFinally ); } }); /***/ }), /* 307 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://github.com/tc39/proposal-promise-try var $export = __webpack_require__(8); var newPromiseCapability = __webpack_require__(211); var perform = __webpack_require__(212); $export($export.S, 'Promise', { 'try': function (callbackfn) { var promiseCapability = newPromiseCapability.f(this); var result = perform(callbackfn); (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v); return promiseCapability.promise; } }); /***/ }), /* 308 */ /***/ (function(module, exports, __webpack_require__) { var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var toMetaKey = metadata.key; var ordinaryDefineOwnMetadata = metadata.set; metadata.exp({ defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey) { ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey)); } }); /***/ }), /* 309 */ /***/ (function(module, exports, __webpack_require__) { var Map = __webpack_require__(216); var $export = __webpack_require__(8); var shared = __webpack_require__(23)('metadata'); var store = shared.store || (shared.store = new (__webpack_require__(221))()); var getOrCreateMetadataMap = function (target, targetKey, create) { var targetMetadata = store.get(target); if (!targetMetadata) { if (!create) return undefined; store.set(target, targetMetadata = new Map()); } var keyMetadata = targetMetadata.get(targetKey); if (!keyMetadata) { if (!create) return undefined; targetMetadata.set(targetKey, keyMetadata = new Map()); } return keyMetadata; }; var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { var metadataMap = getOrCreateMetadataMap(O, P, false); return metadataMap === undefined ? false : metadataMap.has(MetadataKey); }; var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { var metadataMap = getOrCreateMetadataMap(O, P, false); return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); }; var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); }; var ordinaryOwnMetadataKeys = function (target, targetKey) { var metadataMap = getOrCreateMetadataMap(target, targetKey, false); var keys = []; if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); }); return keys; }; var toMetaKey = function (it) { return it === undefined || typeof it == 'symbol' ? it : String(it); }; var exp = function (O) { $export($export.S, 'Reflect', O); }; module.exports = { store: store, map: getOrCreateMetadataMap, has: ordinaryHasOwnMetadata, get: ordinaryGetOwnMetadata, set: ordinaryDefineOwnMetadata, keys: ordinaryOwnMetadataKeys, key: toMetaKey, exp: exp }; /***/ }), /* 310 */ /***/ (function(module, exports, __webpack_require__) { var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var toMetaKey = metadata.key; var getOrCreateMetadataMap = metadata.map; var store = metadata.store; metadata.exp({ deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2]); var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; if (metadataMap.size) return true; var targetMetadata = store.get(target); targetMetadata['delete'](targetKey); return !!targetMetadata.size || store['delete'](target); } }); /***/ }), /* 311 */ /***/ (function(module, exports, __webpack_require__) { var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var getPrototypeOf = __webpack_require__(58); var ordinaryHasOwnMetadata = metadata.has; var ordinaryGetOwnMetadata = metadata.get; var toMetaKey = metadata.key; var ordinaryGetMetadata = function (MetadataKey, O, P) { var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); var parent = getPrototypeOf(O); return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; }; metadata.exp({ getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); } }); /***/ }), /* 312 */ /***/ (function(module, exports, __webpack_require__) { var Set = __webpack_require__(220); var from = __webpack_require__(278); var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var getPrototypeOf = __webpack_require__(58); var ordinaryOwnMetadataKeys = metadata.keys; var toMetaKey = metadata.key; var ordinaryMetadataKeys = function (O, P) { var oKeys = ordinaryOwnMetadataKeys(O, P); var parent = getPrototypeOf(O); if (parent === null) return oKeys; var pKeys = ordinaryMetadataKeys(parent, P); return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys; }; metadata.exp({ getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); } }); /***/ }), /* 313 */ /***/ (function(module, exports, __webpack_require__) { var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var ordinaryGetOwnMetadata = metadata.get; var toMetaKey = metadata.key; metadata.exp({ getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { return ordinaryGetOwnMetadata(metadataKey, anObject(target) , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); } }); /***/ }), /* 314 */ /***/ (function(module, exports, __webpack_require__) { var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var ordinaryOwnMetadataKeys = metadata.keys; var toMetaKey = metadata.key; metadata.exp({ getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1])); } }); /***/ }), /* 315 */ /***/ (function(module, exports, __webpack_require__) { var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var getPrototypeOf = __webpack_require__(58); var ordinaryHasOwnMetadata = metadata.has; var toMetaKey = metadata.key; var ordinaryHasMetadata = function (MetadataKey, O, P) { var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); if (hasOwn) return true; var parent = getPrototypeOf(O); return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; }; metadata.exp({ hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2])); } }); /***/ }), /* 316 */ /***/ (function(module, exports, __webpack_require__) { var metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var ordinaryHasOwnMetadata = metadata.has; var toMetaKey = metadata.key; metadata.exp({ hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { return ordinaryHasOwnMetadata(metadataKey, anObject(target) , arguments.length < 3 ? undefined : toMetaKey(arguments[2])); } }); /***/ }), /* 317 */ /***/ (function(module, exports, __webpack_require__) { var $metadata = __webpack_require__(309); var anObject = __webpack_require__(12); var aFunction = __webpack_require__(21); var toMetaKey = $metadata.key; var ordinaryDefineOwnMetadata = $metadata.set; $metadata.exp({ metadata: function metadata(metadataKey, metadataValue) { return function decorator(target, targetKey) { ordinaryDefineOwnMetadata( metadataKey, metadataValue, (targetKey !== undefined ? anObject : aFunction)(target), toMetaKey(targetKey) ); }; } }); /***/ }), /* 318 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask var $export = __webpack_require__(8); var microtask = __webpack_require__(210)(); var process = __webpack_require__(4).process; var isNode = __webpack_require__(34)(process) == 'process'; $export($export.G, { asap: function asap(fn) { var domain = isNode && process.domain; microtask(domain ? domain.bind(fn) : fn); } }); /***/ }), /* 319 */ /***/ (function(module, exports, __webpack_require__) { 'use strict'; // https://github.com/zenparsing/es-observable var $export = __webpack_require__(8); var global = __webpack_require__(4); var core = __webpack_require__(9); var microtask = __webpack_require__(210)(); var OBSERVABLE = __webpack_require__(26)('observable'); var aFunction = __webpack_require__(21); var anObject = __webpack_require__(12); var anInstance = __webpack_require__(206); var redefineAll = __webpack_require__(215); var hide = __webpack_require__(10); var forOf = __webpack_require__(207); var RETURN = forOf.RETURN; var getMethod = function (fn) { return fn == null ? undefined : aFunction(fn); }; var cleanupSubscription = function (subscription) { var cleanup = subscription._c; if (cleanup) { subscription._c = undefined; cleanup(); } }; var subscriptionClosed = function (subscription) { return subscription._o === undefined; }; var closeSubscription = function (subscription) { if (!subscriptionClosed(subscription)) { subscription._o = undefined; cleanupSubscription(subscription); } }; var Subscription = function (observer, subscriber) { anObject(observer); this._c = undefined; this._o = observer; observer = new SubscriptionObserver(this); try { var cleanup = subscriber(observer); var subscription = cleanup; if (cleanup != null) { if (typeof cleanup.unsubscribe === 'function') cleanup = function () { subscription.unsubscribe(); }; else aFunction(cleanup); this._c = cleanup; } } catch (e) { observer.error(e); return; } if (subscriptionClosed(this)) cleanupSubscription(this); }; Subscription.prototype = redefineAll({}, { unsubscribe: function unsubscribe() { closeSubscription(this); } }); var SubscriptionObserver = function (subscription) { this._s = subscription; }; SubscriptionObserver.prototype = redefineAll({}, { next: function next(value) { var subscription = this._s; if (!subscriptionClosed(subscription)) { var observer = subscription._o; try { var m = getMethod(observer.next); if (m) return m.call(observer, value); } catch (e) { try { closeSubscription(subscription); } finally { throw e; } } } }, error: function error(value) { var subscription = this._s; if (subscriptionClosed(subscription)) throw value; var observer = subscription._o; subscription._o = undefined; try { var m = getMethod(observer.error); if (!m) throw value; value = m.call(observer, value); } catch (e) { try { cleanupSubscription(subscription); } finally { throw e; } } cleanupSubscription(subscription); return value; }, complete: function complete(value) { var subscription = this._s; if (!subscriptionClosed(subscription)) { var observer = subscription._o; subscription._o = undefined; try { var m = getMethod(observer.complete); value = m ? m.call(observer, value) : undefined; } catch (e) { try { cleanupSubscription(subscription); } finally { throw e; } } cleanupSubscription(subscription); return value; } } }); var $Observable = function Observable(subscriber) { anInstance(this, $Observable, 'Observable', '_f')._f = aFunction(subscriber); }; redefineAll($Observable.prototype, { subscribe: function subscribe(observer) { return new Subscription(observer, this._f); }, forEach: function forEach(fn) { var that = this; return new (core.Promise || global.Promise)(function (resolve, reject) { aFunction(fn); var subscription = that.subscribe({ next: function (value) { try { return fn(value); } catch (e) { reject(e); subscription.unsubscribe(); } }, error: reject, complete: resolve }); }); } }); redefineAll($Observable, { from: function from(x) { var C = typeof this === 'function' ? this : $Observable; var method = getMethod(anObject(x)[OBSERVABLE]); if (method) { var observable = anObject(method.call(x)); return observable.constructor === C ? observable : new C(function (observer) { return observable.subscribe(observer); }); } return new C(function (observer) { var done = false; microtask(function () { if (!done) { try { if (forOf(x, false, function (it) { observer.next(it); if (done) return RETURN; }) === RETURN) return; } catch (e) { if (done) throw e; observer.error(e); return; } observer.complete(); } }); return function () { done = true; }; }); }, of: function of() { for (var i = 0, l = arguments.length, items = new Array(l); i < l;) items[i] = arguments[i++]; return new (typeof this === 'function' ? this : $Observable)(function (observer) { var done = false; microtask(function () { if (!done) { for (var j = 0; j < items.length; ++j) { observer.next(items[j]); if (done) return; } observer.complete(); } }); return function () { done = true; }; }); } }); hide($Observable.prototype, OBSERVABLE, function () { return this; }); $export($export.G, { Observable: $Observable }); __webpack_require__(193)('Observable'); /***/ }), /* 320 */ /***/ (function(module, exports, __webpack_require__) { // ie9- setTimeout & setInterval additional parameters fix var global = __webpack_require__(4); var $export = __webpack_require__(8); var userAgent = __webpack_require__(213); var slice = [].slice; var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check var wrap = function (set) { return function (fn, time /* , ...args */) { var boundArgs = arguments.length > 2; var args = boundArgs ? slice.call(arguments, 2) : false; return set(boundArgs ? function () { // eslint-disable-next-line no-new-func (typeof fn == 'function' ? fn : Function(fn)).apply(this, args); } : fn, time); }; }; $export($export.G + $export.B + $export.F * MSIE, { setTimeout: wrap(global.setTimeout), setInterval: wrap(global.setInterval) }); /***/ }), /* 321 */ /***/ (function(module, exports, __webpack_require__) { var $export = __webpack_require__(8); var $task = __webpack_require__(209); $export($export.G + $export.B, { setImmediate: $task.set, clearImmediate: $task.clear }); /***/ }), /* 322 */ /***/ (function(module, exports, __webpack_require__) { var $iterators = __webpack_require__(194); var getKeys = __webpack_require__(30); var redefine = __webpack_require__(18); var global = __webpack_require__(4); var hide = __webpack_require__(10); var Iterators = __webpack_require__(129); var wks = __webpack_require__(26); var ITERATOR = wks('iterator'); var TO_STRING_TAG = wks('toStringTag'); var ArrayValues = Iterators.Array; var DOMIterables = { CSSRuleList: true, // TODO: Not spec compliant, should be false. CSSStyleDeclaration: false, CSSValueList: false, ClientRectList: false, DOMRectList: false, DOMStringList: false, DOMTokenList: true, DataTransferItemList: false, FileList: false, HTMLAllCollection: false, HTMLCollection: false, HTMLFormElement: false, HTMLSelectElement: false, MediaList: true, // TODO: Not spec compliant, should be false. MimeTypeArray: false, NamedNodeMap: false, NodeList: true, PaintRequestList: false, Plugin: false, PluginArray: false, SVGLengthList: false, SVGNumberList: false, SVGPathSegList: false, SVGPointList: false, SVGStringList: false, SVGTransformList: false, SourceBufferList: false, StyleSheetList: true, // TODO: Not spec compliant, should be false. TextTrackCueList: false, TextTrackList: false, TouchList: false }; for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { var NAME = collections[i]; var explicit = DOMIterables[NAME]; var Collection = global[NAME]; var proto = Collection && Collection.prototype; var key; if (proto) { if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); Iterators[NAME] = ArrayValues; if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); } } /***/ }), /* 323 */ /***/ (function(module, exports) { /* WEBPACK VAR INJECTION */(function(global) {/** * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * https://raw.github.com/facebook/regenerator/master/LICENSE file. An * additional grant of patent rights can be found in the PATENTS file in * the same directory. */ !(function(global) { "use strict"; var Op = Object.prototype; var hasOwn = Op.hasOwnProperty; var undefined; // More compressible than void 0. var $Symbol = typeof Symbol === "function" ? Symbol : {}; var iteratorSymbol = $Symbol.iterator || "@@iterator"; var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; var inModule = typeof module === "object"; var runtime = global.regeneratorRuntime; if (runtime) { if (inModule) { // If regeneratorRuntime is defined globally and we're in a module, // make the exports object identical to regeneratorRuntime. module.exports = runtime; } // Don't bother evaluating the rest of this file if the runtime was // already defined globally. return; } // Define the runtime globally (as expected by generated code) as either // module.exports (if we're in a module) or a new, empty object. runtime = global.regeneratorRuntime = inModule ? module.exports : {}; function wrap(innerFn, outerFn, self, tryLocsList) { // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; var generator = Object.create(protoGenerator.prototype); var context = new Context(tryLocsList || []); // The ._invoke method unifies the implementations of the .next, // .throw, and .return methods. generator._invoke = makeInvokeMethod(innerFn, self, context); return generator; } runtime.wrap = wrap; // Try/catch helper to minimize deoptimizations. Returns a completion // record like context.tryEntries[i].completion. This interface could // have been (and was previously) designed to take a closure to be // invoked without arguments, but in all the cases we care about we // already have an existing method we want to call, so there's no need // to create a new function object. We can even get away with assuming // the method takes exactly one argument, since that happens to be true // in every case, so we don't have to touch the arguments object. The // only additional allocation required is the completion record, which // has a stable shape and so hopefully should be cheap to allocate. function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } var GenStateSuspendedStart = "suspendedStart"; var GenStateSuspendedYield = "suspendedYield"; var GenStateExecuting = "executing"; var GenStateCompleted = "completed"; // Returning this object from the innerFn has the same effect as // breaking out of the dispatch switch statement. var ContinueSentinel = {}; // Dummy constructor functions that we use as the .constructor and // .constructor.prototype properties for functions that return Generator // objects. For full spec compliance, you may wish to configure your // minifier not to mangle the names of these two functions. function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} // This is a polyfill for %IteratorPrototype% for environments that // don't natively support it. var IteratorPrototype = {}; IteratorPrototype[iteratorSymbol] = function () { return this; }; var getProto = Object.getPrototypeOf; var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { // This environment has a native %IteratorPrototype%; use it instead // of the polyfill. IteratorPrototype = NativeIteratorPrototype; } var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; GeneratorFunctionPrototype.constructor = GeneratorFunction; GeneratorFunctionPrototype[toStringTagSymbol] = GeneratorFunction.displayName = "GeneratorFunction"; // Helper for defining the .next, .throw, and .return methods of the // Iterator interface in terms of a single ._invoke method. function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function(method) { prototype[method] = function(arg) { return this._invoke(method, arg); }; }); } runtime.isGeneratorFunction = function(genFun) { var ctor = typeof genFun === "function" && genFun.constructor; return ctor ? ctor === GeneratorFunction || // For the native GeneratorFunction constructor, the best we can // do is to check its .name property. (ctor.displayName || ctor.name) === "GeneratorFunction" : false; }; runtime.mark = function(genFun) { if (Object.setPrototypeOf) { Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); } else { genFun.__proto__ = GeneratorFunctionPrototype; if (!(toStringTagSymbol in genFun)) { genFun[toStringTagSymbol] = "GeneratorFunction"; } } genFun.prototype = Object.create(Gp); return genFun; }; // Within the body of any async function, `await x` is transformed to // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test // `hasOwn.call(value, "__await")` to determine if the yielded value is // meant to be awaited. runtime.awrap = function(arg) { return { __await: arg }; }; function AsyncIterator(generator) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if (record.type === "throw") { reject(record.arg); } else { var result = record.arg; var value = result.value; if (value && typeof value === "object" && hasOwn.call(value, "__await")) { return Promise.resolve(value.__await).then(function(value) { invoke("next", value, resolve, reject); }, function(err) { invoke("throw", err, resolve, reject); }); } return Promise.resolve(value).then(function(unwrapped) { // When a yielded Promise is resolved, its final value becomes // the .value of the Promise<{value,done}> result for the // current iteration. If the Promise is rejected, however, the // result for this iteration will be rejected with the same // reason. Note that rejections of yielded Promises are not // thrown back into the generator function, as is the case // when an awaited Promise is rejected. This difference in // behavior between yield and await is important, because it // allows the consumer to decide what to do with the yielded // rejection (swallow it and continue, manually .throw it back // into the generator, abandon iteration, whatever). With // await, by contrast, there is no opportunity to examine the // rejection reason outside the generator function, so the // only option is to throw it from the await expression, and // let the generator function handle the exception. result.value = unwrapped; resolve(result); }, reject); } } if (typeof global.process === "object" && global.process.domain) { invoke = global.process.domain.bind(invoke); } var previousPromise; function enqueue(method, arg) { function callInvokeWithMethodAndArg() { return new Promise(function(resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = // If enqueue has been called before, then we want to wait until // all previous Promises have been resolved before calling invoke, // so that results are always delivered in the correct order. If // enqueue has not been called before, then it is important to // call invoke immediately, without waiting on a callback to fire, // so that the async generator function has the opportunity to do // any necessary setup in a predictable way. This predictability // is why the Promise constructor synchronously invokes its // executor callback, and why async functions synchronously // execute code before the first await. Since we implement simple // async functions in terms of async generators, it is especially // important to get this right, even though it requires care. previousPromise ? previousPromise.then( callInvokeWithMethodAndArg, // Avoid propagating failures to Promises returned by later // invocations of the iterator. callInvokeWithMethodAndArg ) : callInvokeWithMethodAndArg(); } // Define the unified helper method that is used to implement .next, // .throw, and .return (see defineIteratorMethods). this._invoke = enqueue; } defineIteratorMethods(AsyncIterator.prototype); AsyncIterator.prototype[asyncIteratorSymbol] = function () { return this; }; runtime.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of // AsyncIterator objects; they just return a Promise for the value of // the final result produced by the iterator. runtime.async = function(innerFn, outerFn, self, tryLocsList) { var iter = new AsyncIterator( wrap(innerFn, outerFn, self, tryLocsList) ); return runtime.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator. : iter.next().then(function(result) { return result.done ? result.value : iter.next(); }); }; function makeInvokeMethod(innerFn, self, context) { var state = GenStateSuspendedStart; return function invoke(method, arg) { if (state === GenStateExecuting) { throw new Error("Generator is already running"); } if (state === GenStateCompleted) { if (method === "throw") { throw arg; } // Be forgiving, per 25.3.3.3.3 of the spec: // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume return doneResult(); } context.method = method; context.arg = arg; while (true) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if (context.method === "next") { // Setting context._sent for legacy support of Babel's // function.sent implementation. context.sent = context._sent = context.arg; } else if (context.method === "throw") { if (state === GenStateSuspendedStart) { state = GenStateCompleted; throw context.arg; } context.dispatchException(context.arg); } else if (context.method === "return") { context.abrupt("return", context.arg); } state = GenStateExecuting; var record = tryCatch(innerFn, self, context); if (record.type === "normal") { // If an exception is thrown from innerFn, we leave state === // GenStateExecuting and loop back for another invocation. state = context.done ? GenStateCompleted : GenStateSuspendedYield; if (record.arg === ContinueSentinel) { continue; } return { value: record.arg, done: context.done }; } else if (record.type === "throw") { state = GenStateCompleted; // Dispatch the exception by looping back around to the // context.dispatchException(context.arg) call above. context.method = "throw"; context.arg = record.arg; } } }; } // Call delegate.iterator[context.method](context.arg) and handle the // result, either by returning a { value, done } result from the // delegate iterator, or by modifying context.method and context.arg, // setting context.delegate to null, and returning the ContinueSentinel. function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (method === undefined) { // A .throw or .return when the delegate iterator has no .throw // method always terminates the yield* loop. context.delegate = null; if (context.method === "throw") { if (delegate.iterator.return) { // If the delegate iterator has a return method, give it a // chance to clean up. context.method = "return"; context.arg = undefined; maybeInvokeDelegate(delegate, context); if (context.method === "throw") { // If maybeInvokeDelegate(context) changed context.method from // "return" to "throw", let that override the TypeError below. return ContinueSentinel; } } context.method = "throw"; context.arg = new TypeError( "The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if (record.type === "throw") { context.method = "throw"; context.arg = record.arg; context.delegate = null; return ContinueSentinel; } var info = record.arg; if (! info) { context.method = "throw"; context.arg = new TypeError("iterator result is not an object"); context.delegate = null; return ContinueSentinel; } if (info.done) { // Assign the result of the finished delegate to the temporary // variable specified by delegate.resultName (see delegateYield). context[delegate.resultName] = info.value; // Resume execution at the desired location (see delegateYield). context.next = delegate.nextLoc; // If context.method was "throw" but the delegate handled the // exception, let the outer generator proceed normally. If // context.method was "next", forget context.arg since it has been // "consumed" by the delegate iterator. If context.method was // "return", allow the original .return call to continue in the // outer generator. if (context.method !== "return") { context.method = "next"; context.arg = undefined; } } else { // Re-yield the result returned by the delegate method. return info; } // The delegate iterator is finished, so forget it and continue with // the outer generator. context.delegate = null; return ContinueSentinel; } // Define Generator.prototype.{next,throw,return} in terms of the // unified ._invoke helper method. defineIteratorMethods(Gp); Gp[toStringTagSymbol] = "Generator"; // A Generator should always return itself as the iterator object when the // @@iterator function is called on it. Some browsers' implementations of the // iterator prototype chain incorrectly implement this, causing the Generator // object to not be returned from this call. This ensures that doesn't happen. // See https://github.com/facebook/regenerator/issues/274 for more details. Gp[iteratorSymbol] = function() { return this; }; Gp.toString = function() { return "[object Generator]"; }; function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; if (1 in locs) { entry.catchLoc = locs[1]; } if (2 in locs) { entry.finallyLoc = locs[2]; entry.afterLoc = locs[3]; } this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal"; delete record.arg; entry.completion = record; } function Context(tryLocsList) { // The root entry object (effectively a try statement without a catch // or a finally block) gives us a place to store values thrown from // locations where there is no enclosing try statement. this.tryEntries = [{ tryLoc: "root" }]; tryLocsList.forEach(pushTryEntry, this); this.reset(true); } runtime.keys = function(object) { var keys = []; for (var key in object) { keys.push(key); } keys.reverse(); // Rather than returning an object with a next method, we keep // things simple and return the next function itself. return function next() { while (keys.length) { var key = keys.pop(); if (key in object) { next.value = key; next.done = false; return next; } } // To avoid creating an additional object, we just hang the .value // and .done properties off the next function object itself. This // also ensures that the minifier will not anonymize the function. next.done = true; return next; }; }; function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) { return iteratorMethod.call(iterable); } if (typeof iterable.next === "function") { return iterable; } if (!isNaN(iterable.length)) { var i = -1, next = function next() { while (++i < iterable.length) { if (hasOwn.call(iterable, i)) { next.value = iterable[i]; next.done = false; return next; } } next.value = undefined; next.done = true; return next; }; return next.next = next; } } // Return an iterator with no values. return { next: doneResult }; } runtime.values = values; function doneResult() { return { value: undefined, done: true }; } Context.prototype = { constructor: Context, reset: function(skipTempReset) { this.prev = 0; this.next = 0; // Resetting context._sent for legacy support of Babel's // function.sent implementation. this.sent = this._sent = undefined; this.done = false; this.delegate = null; this.method = "next"; this.arg = undefined; this.tryEntries.forEach(resetTryEntry); if (!skipTempReset) { for (var name in this) { // Not sure about the optimal order of these conditions: if (name.charAt(0) === "t" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) { this[name] = undefined; } } } }, stop: function() { this.done = true; var rootEntry = this.tryEntries[0]; var rootRecord = rootEntry.completion; if (rootRecord.type === "throw") { throw rootRecord.arg; } return this.rval; }, dispatchException: function(exception) { if (this.done) { throw exception; } var context = this; function handle(loc, caught) { record.type = "throw"; record.arg = exception; context.next = loc; if (caught) { // If the dispatched exception was caught by a catch block, // then let that catch block handle the exception normally. context.method = "next"; context.arg = undefined; } return !! caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; var record = entry.completion; if (entry.tryLoc === "root") { // Exception thrown outside of any try block that could handle // it, so set the completion value of the entire function to // throw the exception. return handle("end"); } if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"); var hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) { return handle(entry.catchLoc, true); } else if (this.prev < entry.finallyLoc) { return handle(entry.finallyLoc); } } else if (hasCatch) { if (this.prev < entry.catchLoc) { return handle(entry.catchLoc, true); } } else if (hasFinally) { if (this.prev < entry.finallyLoc) { return handle(entry.finallyLoc); } } else { throw new Error("try statement without catch or finally"); } } } }, abrupt: function(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } if (finallyEntry && (type === "break" || type === "continue") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) { // Ignore the finally entry if control is not jumping to a // location outside the try/catch block. finallyEntry = null; } var record = finallyEntry ? finallyEntry.completion : {}; record.type = type; record.arg = arg; if (finallyEntry) { this.method = "next"; this.next = finallyEntry.finallyLoc; return ContinueSentinel; } return this.complete(record); }, complete: function(record, afterLoc) { if (record.type === "throw") { throw record.arg; } if (record.type === "break" || record.type === "continue") { this.next = record.arg; } else if (record.type === "return") { this.rval = this.arg = record.arg; this.method = "return"; this.next = "end"; } else if (record.type === "normal" && afterLoc) { this.next = afterLoc; } return ContinueSentinel; }, finish: function(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) { this.complete(entry.completion, entry.afterLoc); resetTryEntry(entry); return ContinueSentinel; } } }, "catch": function(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if (record.type === "throw") { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } // The context.catch method must only be called with a location // argument that corresponds to a known catch block. throw new Error("illegal catch attempt"); }, delegateYield: function(iterable, resultName, nextLoc) { this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }; if (this.method === "next") { // Deliberately forget the last sent value so that we don't // accidentally pass it on to the delegate. this.arg = undefined; } return ContinueSentinel; } }; })( // Among the various tricks for obtaining a reference to the global // object, this seems to be the most reliable technique that does not // use indirect eval (which violates Content Security Policy). typeof global === "object" ? global : typeof window === "object" ? window : typeof self === "object" ? self : this ); /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()))) /***/ }), /* 324 */ /***/ (function(module, exports, __webpack_require__) { __webpack_require__(325); module.exports = __webpack_require__(9).RegExp.escape; /***/ }), /* 325 */ /***/ (function(module, exports, __webpack_require__) { // https://github.com/benjamingr/RexExp.escape var $export = __webpack_require__(8); var $re = __webpack_require__(326)(/[\\^$*+?.()|[\]{}]/g, '\\$&'); $export($export.S, 'RegExp', { escape: function escape(it) { return $re(it); } }); /***/ }), /* 326 */ /***/ (function(module, exports) { module.exports = function (regExp, replace) { var replacer = replace === Object(replace) ? function (part) { return replace[part]; } : replace; return function (it) { return String(it).replace(regExp, replacer); }; }; /***/ }), /* 327 */ /***/ (function(module, exports) { 'use strict'; module.exports = ['dave', 'henry', 'martha']; /***/ }) /******/ ]);
syndbg/webpack-google-cloud-storage-plugin
examples/bin/app.bundle.js
JavaScript
mit
271,678
[ 30522, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1006, 3853, 1006, 14184, 1007, 1063, 1013, 1013, 4773, 23947, 27927, 20528, 2361, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1013, 1013, 1996, 11336, 17053, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 13075, 5361, 5302, 8566, 4244, 1027, 1063, 1065, 1025, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1013, 1013, 1996, 5478, 3853, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 3853, 1035, 1035, 4773, 23947, 1035, 5478, 1035, 1035, 1006, 11336, 3593, 1007, 1063, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1013, 1013, 4638, 2065, 11336, 2003, 1999, 17053, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 2065, 1006, 5361, 5302, 8566, 4244, 1031, 11336, 3593, 1033, 1007, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 2709, 5361, 5302, 8566, 4244, 1031, 11336, 3593, 1033, 1012, 14338, 1025, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1013, 1013, 3443, 1037, 2047, 11336, 1006, 1998, 2404, 2009, 2046, 1996, 17053, 1007, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 13075, 11336, 1027, 5361, 5302, 8566, 4244, 1031, 11336, 3593, 1033, 1027, 1063, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 14338, 1024, 1063, 1065, 1010, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 8909, 1024, 11336, 3593, 1010, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 8209, 1024, 6270, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1065, 1025, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1013, 1013, 15389, 1996, 11336, 3853, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 14184, 1031, 11336, 3593, 1033, 1012, 2655, 1006, 11336, 1012, 14338, 1010, 11336, 1010, 11336, 1012, 14338, 1010, 1035, 1035, 4773, 23947, 1035, 5478, 1035, 1035, 1007, 1025, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1013, 1013, 5210, 1996, 11336, 2004, 8209, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 11336, 1012, 8209, 1027, 2995, 1025, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1013, 1013, 2709, 1996, 14338, 1997, 1996, 11336, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 2709, 11336, 1012, 14338, 1025, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1065, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1013, 1013, 14451, 1996, 14184, 4874, 1006, 1035, 1035, 4773, 23947, 1035, 14184, 1035, 1035, 1007, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1035, 1035, 4773, 23947, 1035, 5478, 1035, 1035, 1012, 1049, 1027, 14184, 1025, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1013, 1013, 14451, 1996, 11336, 17053, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1035, 1035, 4773, 23947, 1035, 5478, 1035, 1035, 1012, 1039, 1027, 5361, 5302, 8566, 4244, 1025, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1013, 1013, 1035, 1035, 4773, 23947, 1035, 2270, 1035, 4130, 1035, 1035, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1035, 1035, 4773, 23947, 1035, 5478, 1035, 1035, 1012, 1052, 1027, 1000, 1000, 1025, 1013, 1008, 30524, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 2709, 30523, 1008, 1008, 1008, 1008, 1008, 1013, 1013, 1013, 7170, 4443, 11336, 1998, 2709, 14338, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1008, 1008, 1008, 1008, 1008, 1013, 1013, 1013, 7170, 4443, 11336, 1998, 2709, 14338, 30526 ]
#include "atlas_misc.h" #define ATL_NoFakePF #include "atlas_prefetch.h" #ifdef ATL_ARCH_PPCG5 #undef ATL_pfavR #undef ATL_pfavW #define ATL_pfavR(a_, ctl_, st_) #define ATL_pfavW(a_, ctl_, st_) #define LINEFETCH #endif #ifdef KB #if (KB/4)*4 != KB || KB == 0 #error KB must be multiple of 4! #endif #else #error KB must be compile time constant! #endif #ifdef MB #if (MB/4)*4 != MB #error MB must by multiple of 4! #endif #endif #ifdef NB #if (NB/4)*4 != NB #error NB must by multiple of 4! #endif #endif #define VecReorder(v0, v1, v2, v3) \ { \ vA0 = vec_mergeh(v0, v2); \ vA2 = vec_mergel(v0, v2); \ vA1 = vec_mergeh(v1, v3); \ vA3 = vec_mergel(v1, v3); \ v0 = vec_mergeh(vA0, vA1); \ v2 = vec_mergel(vA0, vA1); \ v1 = vec_mergeh(vA2, vA3); \ v3 = vec_mergel(vA2, vA3); \ } void ATL_USERMM (const int M, const int N, const int K, const TYPE alpha, const TYPE *A, const int lda, const TYPE *B, const int ldb, const TYPE beta, TYPE *C, const int ldc) /* * matmul with muladd=1, TA=T, TB=N, mu=4, nu=4, ku=2, prefetching A and B */ { const TYPE *stM = A + KB*M; const TYPE *stN = B + KB*N; #ifdef ATL_AltiVec int blkstride, cwrdKB, cwrdC=ATL_MulBySize(8); #endif const int incAn = -KB*M; const int incBm = -KB; #define incAm KB3 #define incBn KB4 #ifdef TREAL #define incCm 4 const int incCn = (((ldc) << 2)) - M; #else #define incCm 8 const int incCn = (((ldc) << 3)) - (M+M); #endif void *vC; TYPE *tC; TYPE *pC0=C, *pC1=pC0+(ldc SHIFT), *pC2=pC1+(ldc SHIFT),*pC3=pC2+(ldc SHIFT); const TYPE *pA0=A; const TYPE *pB0=B; #ifdef LINEFETCH const TYPE *pfA = pA0 - incAn; const TYPE *pfB; #endif register int k; register TYPE rA0; register TYPE rC0_0, rC1_0, rC2_0, rC3_0, rC0_1, rC1_1, rC2_1, rC3_1, rC0_2, rC1_2, rC2_2, rC3_2, rC0_3, rC1_3, rC2_3, rC3_3; vector float vA0, vA1, vA2, vA3, vB0, vB1, vB2, vB3; vector float vC0_0, vC1_0, vC2_0, vC3_0, vC0_1, vC1_1, vC2_1, vC3_1, vC0_2, vC1_2, vC2_2, vC3_2, vC0_3, vC1_3, vC2_3, vC3_3; const vector float nzero = VECTOR_INIT(-0.0f, -0.0f, -0.0f, -0.0f); #ifndef ATL_NoIEEE #ifdef ATL_AVgcc const vector int izero = VECTOR_INITI(0,0,0,0); vec_mtvscr(izero); #else vec_mtvscr((vector unsigned long)(0)); #endif #endif vC = malloc(ATL_Cachelen + sizeof(float)*16); ATL_assert( vC && ( ((M>>2)<<2) == M ) && ( ((N>>2)<<2) == N ) ); tC = ATL_AlignPtr(vC); #ifndef LINEFETCH /* * k is blkcount, cwrdKB is block size */ k = 1; /* blkcount set to 1 unless KB too large */ cwrdKB = (ATL_MulBySize(KB)+15) >> 4; /* # of 16-byte words in KB */ while (cwrdKB > 32) { cwrdKB >>= 1; k <<= 1; } if (cwrdKB == 32) cwrdKB = 0; blkstride = (KB * sizeof(TYPE)) / k; ATL_pfavR(A, ATL_GetCtrl(blkstride, k*KB, cwrdKB), 3); cwrdKB = ATL_GetCtrl(blkstride, k, cwrdKB); if (cwrdC >= 16) cwrdC >>= 4; else cwrdC = 1; cwrdC = ATL_GetCtrl(0, 1, cwrdC); #endif do /* N-loop */ { ATL_pfavR(pB0, cwrdKB, 0); ATL_pfavR(pB0+KB , cwrdKB, 1); ATL_pfavR(pB0+KB2, cwrdKB, 2); ATL_pfavR(pB0+KB3, cwrdKB, 3); #ifdef LINEFETCH pfB = pB0 + KB3; #endif do /* M-loop */ { vC0_0 = nzero; #ifdef LINEFETCH ATL_pfl1R(pfB); pfB += 16; #endif vC1_0 = vC2_0 = vC3_0 = vC0_0; vC0_1 = vC1_1 = vC2_1 = vC3_1 = vC0_0; vC0_2 = vC1_2 = vC2_2 = vC3_2 = vC0_0; vC0_3 = vC1_3 = vC2_3 = vC3_3 = vC0_0; #ifdef BETA0 rC0_0 = rC1_0 = rC2_0 = rC3_0 = rC0_1 = rC1_1 = rC2_1 = rC3_1 = rC0_2 = rC1_2 = rC2_2 = rC3_2 = rC0_3 = rC1_3 = rC2_3 = rC3_3 = ATL_rzero; #else #ifdef TREAL rC0_0 = *pC0; rC1_0 = pC0[1]; rC2_0 = pC0[2]; rC3_0 = pC0[3]; rC0_1 = *pC1; rC1_1 = pC1[1]; rC2_1 = pC1[2]; rC3_1 = pC1[3]; rC0_2 = *pC2; rC1_2 = pC2[1]; rC2_2 = pC2[2]; rC3_2 = pC2[3]; rC0_3 = *pC3; rC1_3 = pC3[1]; rC2_3 = pC3[2]; rC3_3 = pC3[3]; #else rC0_0 = *pC0; rC1_0 = pC0[2]; rC2_0 = pC0[4]; rC3_0 = pC0[6]; rC0_1 = *pC1; rC1_1 = pC1[2]; rC2_1 = pC1[4]; rC3_1 = pC1[6]; rC0_2 = *pC2; rC1_2 = pC2[2]; rC2_2 = pC2[4]; rC3_2 = pC2[6]; rC0_3 = *pC3; rC1_3 = pC3[2]; rC2_3 = pC3[4]; rC3_3 = pC3[6]; #endif #endif vA0 = vec_ld(0, pA0); vA1 = vec_ld(0, pA0+KB); vA2 = vec_ld(0, pA0+KB2); vA3 = vec_ld(0, pA0+KB3); pA0 += 4; vB0 = vec_ld(0, pB0); vB1 = vec_ld(0, pB0+KB); vB2 = vec_ld(0, pB0+KB2); vB3 = vec_ld(0, pB0+KB3); pB0 += 4; for (k=(KB>>2)-1; k; k--) { vC0_0 = vec_madd(vA0, vB0, vC0_0); vC1_0 = vec_madd(vA1, vB0, vC1_0); vC2_0 = vec_madd(vA2, vB0, vC2_0); vC3_0 = vec_madd(vA3, vB0, vC3_0); vB0 = vec_ld(0, pB0); vC0_1 = vec_madd(vA0, vB1, vC0_1); vC1_1 = vec_madd(vA1, vB1, vC1_1); vC2_1 = vec_madd(vA2, vB1, vC2_1); vC3_1 = vec_madd(vA3, vB1, vC3_1); vB1 = vec_ld(0, pB0+KB); vC0_2 = vec_madd(vA0, vB2, vC0_2); vC1_2 = vec_madd(vA1, vB2, vC1_2); vC2_2 = vec_madd(vA2, vB2, vC2_2); vC3_2 = vec_madd(vA3, vB2, vC3_2); vB2 = vec_ld(0, pB0+KB2); vC0_3 = vec_madd(vA0, vB3, vC0_3); vA0 = vec_ld(0, pA0); vC1_3 = vec_madd(vA1, vB3, vC1_3); vA1 = vec_ld(0, pA0+KB); vC2_3 = vec_madd(vA2, vB3, vC2_3); vA2 = vec_ld(0, pA0+KB2); vC3_3 = vec_madd(vA3, vB3, vC3_3); vB3 = vec_ld(0, pB0+KB3); vA3 = vec_ld(0, pA0+KB3); pA0 += 4; pB0 += 4; } vC0_0 = vec_madd(vA0, vB0, vC0_0); ATL_pfavW(pC0, cwrdC, 0); vC1_0 = vec_madd(vA1, vB0, vC1_0); ATL_pfavW(pC1, cwrdC, 1); vC2_0 = vec_madd(vA2, vB0, vC2_0); ATL_pfavW(pC2, cwrdC, 2); vC3_0 = vec_madd(vA3, vB0, vC3_0); ATL_pfavW(pC3, cwrdC, 3); vC0_1 = vec_madd(vA0, vB1, vC0_1); vC1_1 = vec_madd(vA1, vB1, vC1_1); vC2_1 = vec_madd(vA2, vB1, vC2_1); vC3_1 = vec_madd(vA3, vB1, vC3_1); vC0_2 = vec_madd(vA0, vB2, vC0_2); vC1_2 = vec_madd(vA1, vB2, vC1_2); vC2_2 = vec_madd(vA2, vB2, vC2_2); vC3_2 = vec_madd(vA3, vB2, vC3_2); vC0_3 = vec_madd(vA0, vB3, vC0_3); vC1_3 = vec_madd(vA1, vB3, vC1_3); vC2_3 = vec_madd(vA2, vB3, vC2_3); vC3_3 = vec_madd(vA3, vB3, vC3_3); VecReorder(vC0_0, vC1_0, vC2_0, vC3_0); VecReorder(vC0_1, vC1_1, vC2_1, vC3_1); vC0_0 = vec_add(vC0_0, vC1_0); vC0_1 = vec_add(vC0_1, vC1_1); vC2_0 = vec_add(vC2_0, vC3_0); ATL_pfavR(pA0+KB3, cwrdKB, 0); vC2_1 = vec_add(vC2_1, vC3_1); ATL_pfavR(pA0+KB4, cwrdKB, 1); vC0_0 = vec_add(vC0_0, vC2_0); ATL_pfavR(pA0+KB5, cwrdKB, 2); vC0_1 = vec_add(vC0_1, vC2_1); ATL_pfavR(pA0+KB6, cwrdKB, 3); VecReorder(vC0_2, vC1_2, vC2_2, vC3_2); VecReorder(vC0_3, vC1_3, vC2_3, vC3_3); vC0_2 = vec_add(vC0_2, vC1_2); vC0_3 = vec_add(vC0_3, vC1_3); #ifdef LINEFETCH ATL_pfl1R(pfA); pfA += 16; #endif vC2_2 = vec_add(vC2_2, vC3_2); vC2_3 = vec_add(vC2_3, vC3_3); vC0_2 = vec_add(vC0_2, vC2_2); vC0_3 = vec_add(vC0_3, vC2_3); vec_st(vC0_0, 0, tC); vec_st(vC0_1, 0, tC+4); vec_st(vC0_2, 0, tC+8); vec_st(vC0_3, 0, tC+12); #ifdef BETAX rA0 = beta; rC0_0 = rC0_0*rA0 + *tC; rC1_0 = rC1_0*rA0 + tC[1]; rC2_0 = rC2_0*rA0 + tC[2]; rC3_0 = rC3_0*rA0 + tC[3]; rC0_1 = rC0_1*rA0 + tC[4]; rC1_1 = rC1_1*rA0 + tC[5]; rC2_1 = rC2_1*rA0 + tC[6]; rC3_1 = rC3_1*rA0 + tC[7]; rC0_2 = rC0_2*rA0 + tC[8]; rC1_2 = rC1_2*rA0 + tC[9]; rC2_2 = rC2_2*rA0 + tC[10]; rC3_2 = rC3_2*rA0 + tC[11]; rC0_3 = rC0_3*rA0 + tC[12]; rC1_3 = rC1_3*rA0 + tC[13]; rC2_3 = rC2_3*rA0 + tC[14]; rC3_3 = rC3_3*rA0 + tC[15]; #else rC0_0 += *tC; rC1_0 += tC[1]; rC2_0 += tC[2]; rC3_0 += tC[3]; rC0_1 += tC[4]; rC1_1 += tC[5]; rC2_1 += tC[6]; rC3_1 += tC[7]; rC0_2 += tC[8]; rC1_2 += tC[9]; rC2_2 += tC[10]; rC3_2 += tC[11]; rC0_3 += tC[12]; rC1_3 += tC[13]; rC2_3 += tC[14]; rC3_3 += tC[15]; #endif #ifdef TREAL *pC0 = rC0_0; pC0[1] = rC1_0; pC0[2] = rC2_0; pC0[3] = rC3_0; *pC1 = rC0_1; pC1[1] = rC1_1; pC1[2] = rC2_1; pC1[3] = rC3_1; *pC2 = rC0_2; pC2[1] = rC1_2; pC2[2] = rC2_2; pC2[3] = rC3_2; *pC3 = rC0_3; pC3[1] = rC1_3; pC3[2] = rC2_3; pC3[3] = rC3_3; #else *pC0 = rC0_0; pC0[2] = rC1_0; pC0[4] = rC2_0; pC0[6] = rC3_0; *pC1 = rC0_1; pC1[2] = rC1_1; pC1[4] = rC2_1; pC1[6] = rC3_1; *pC2 = rC0_2; pC2[2] = rC1_2; pC2[4] = rC2_2; pC2[6] = rC3_2; *pC3 = rC0_3; pC3[2] = rC1_3; pC3[4] = rC2_3; pC3[6] = rC3_3; #endif pC0 += incCm; pC1 += incCm; pC2 += incCm; pC3 += incCm; pA0 += incAm; pB0 += incBm; } while(pA0 != stM); pC0 += incCn; pC1 += incCn; pC2 += incCn; pC3 += incCn; pA0 += incAn; pB0 += incBn; } while(pB0 != stN); free(vC); } #ifdef incAm #undef incAm #endif #ifdef incBn #undef incBn #endif #ifdef incCm #undef incCm #endif
rakib-hasan/math-atlas
AtlasBase/kernel/ClintWhaley/ATL_smm4x4x4_av.c
C
bsd-3-clause
9,974
[ 30522, 1001, 2421, 1000, 11568, 1035, 28616, 2278, 1012, 1044, 1000, 1001, 9375, 2012, 2140, 1035, 2053, 7011, 3489, 14376, 1001, 2421, 1000, 11568, 1035, 3653, 7959, 10649, 1012, 1044, 1000, 1001, 2065, 3207, 2546, 2012, 2140, 1035, 7905, 1035, 4903, 2278, 2290, 2629, 1001, 6151, 12879, 2012, 2140, 1035, 1052, 7011, 19716, 1001, 6151, 12879, 2012, 2140, 1035, 1052, 7011, 2615, 2860, 1001, 9375, 2012, 2140, 1035, 1052, 7011, 19716, 1006, 1037, 1035, 1010, 14931, 2140, 1035, 1010, 2358, 1035, 1007, 1001, 9375, 2012, 2140, 1035, 1052, 7011, 2615, 2860, 1006, 1037, 1035, 1010, 14931, 2140, 1035, 1010, 2358, 1035, 1007, 1001, 9375, 2240, 7959, 10649, 1001, 2203, 10128, 1001, 2065, 3207, 2546, 21677, 1001, 2065, 1006, 21677, 1013, 1018, 1007, 1008, 1018, 999, 1027, 21677, 1064, 1064, 21677, 1027, 1027, 1014, 1001, 7561, 21677, 2442, 2022, 3674, 1997, 1018, 999, 1001, 2203, 10128, 1001, 2842, 1001, 7561, 21677, 2442, 2022, 4012, 22090, 2051, 5377, 999, 1001, 2203, 10128, 1001, 2065, 3207, 2546, 16914, 1001, 2065, 1006, 16914, 1013, 1018, 1007, 1008, 1018, 999, 1027, 16914, 1001, 7561, 16914, 2442, 2011, 3674, 1997, 1018, 999, 1001, 2203, 10128, 1001, 2203, 10128, 1001, 2065, 3207, 2546, 1050, 2497, 1001, 2065, 1006, 1050, 2497, 1013, 1018, 1007, 1008, 1018, 999, 1027, 1050, 2497, 1001, 7561, 1050, 2497, 2442, 2011, 3674, 1997, 1018, 999, 1001, 2203, 10128, 1001, 2203, 10128, 1001, 9375, 2310, 16748, 8551, 2121, 1006, 1058, 2692, 1010, 1058, 2487, 1010, 1058, 2475, 1010, 1058, 2509, 1007, 1032, 1063, 1032, 12436, 2692, 1027, 2310, 2278, 1035, 13590, 2232, 1006, 1058, 2692, 1010, 1058, 2475, 1007, 1025, 1032, 12436, 2475, 1027, 2310, 2278, 1035, 13590, 2140, 1006, 1058, 2692, 1010, 1058, 2475, 1007, 1025, 1032, 12436, 2487, 1027, 2310, 2278, 1035, 13590, 2232, 1006, 1058, 2487, 1010, 1058, 2509, 1007, 1025, 1032, 12436, 2509, 1027, 2310, 2278, 1035, 13590, 2140, 1006, 1058, 2487, 1010, 1058, 2509, 1007, 1025, 1032, 1058, 2692, 1027, 30524, 2509, 1027, 2310, 2278, 1035, 13590, 2140, 1006, 12436, 2475, 1010, 12436, 2509, 1007, 1025, 1032, 1065, 11675, 2012, 2140, 1035, 5310, 7382, 1006, 9530, 3367, 20014, 1049, 1010, 9530, 3367, 20014, 1050, 1010, 9530, 3367, 20014, 1047, 1010, 9530, 3367, 2828, 6541, 1010, 9530, 3367, 2828, 1008, 1037, 1010, 9530, 3367, 20014, 25510, 2050, 1010, 9530, 3367, 2828, 1008, 1038, 1010, 9530, 3367, 20014, 25510, 2497, 1010, 9530, 3367, 2828, 8247, 1010, 2828, 1008, 1039, 1010, 9530, 3367, 20014, 25510, 2278, 1007, 1013, 1008, 1008, 13523, 12274, 2140, 2007, 14163, 27266, 2094, 1027, 1015, 1010, 11937, 1027, 1056, 1010, 26419, 1027, 1050, 1010, 14163, 1027, 1018, 1010, 16371, 1027, 1018, 1010, 13970, 1027, 1016, 1010, 3653, 7959, 10649, 2075, 1037, 1998, 1038, 1008, 1013, 1063, 9530, 3367, 2828, 30523, 2310, 2278, 1035, 13590, 2232, 1006, 12436, 2692, 1010, 12436, 2487, 1007, 1025, 1032, 1058, 2475, 1027, 2310, 2278, 1035, 13590, 2140, 1006, 12436, 2692, 1010, 12436, 2487, 1007, 1025, 1032, 1058, 2487, 1027, 2310, 2278, 1035, 13590, 2232, 1006, 12436, 2475, 1010, 12436, 2509, 1007, 1025, 1032, 1058, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2310, 2278, 1035, 13590, 2232, 1006, 12436, 2692, 1010, 12436, 2487, 1007, 1025, 1032, 1058, 2475, 1027, 2310, 2278, 1035, 13590, 2140, 1006, 12436, 2692, 1010, 12436, 2487, 1007, 1025, 1032, 1058, 2487, 1027, 2310, 2278, 1035, 13590, 2232, 1006, 12436, 2475, 1010, 12436, 2509, 1007, 1025, 1032, 1058, 30526 ]
/* ThemeRoller Humanity override style sheet for jQuery date picker v4.0.0. */ @import "ui.datepick.css"; .ui-widget-header a, .ui-widget-header select { color: #ffffff; /* Set (.ui-widget-header a) colour from theme here */ } .ui-widget-header a:hover { background-color: #f5f0e5; /* Set (.ui-state-hover) colours from theme here */ color: #a46313; } .ui-widget-header select, .ui-widget-header option { background-color: #cb842e; /* Set (.ui-widget-header) background colour from theme here */ } .ui-state-highlight a { color: #060200; /* Set (.ui-state-highlight) colour from theme here */ }
x112358/cdnjs
ajax/libs/datepick/4.0.2/css/ui-humanity.datepick.css
CSS
mit
601
[ 30522, 1013, 1008, 4323, 26611, 8438, 2058, 15637, 2806, 7123, 2005, 1046, 4226, 2854, 3058, 4060, 2121, 1058, 2549, 1012, 1014, 1012, 1014, 1012, 1008, 1013, 1030, 12324, 1000, 21318, 1012, 3058, 24330, 2243, 1012, 20116, 2015, 1000, 1025, 1012, 21318, 1011, 15536, 24291, 1011, 20346, 1037, 1010, 1012, 21318, 1011, 15536, 24291, 1011, 20346, 7276, 1063, 3609, 1024, 1001, 21461, 4246, 4246, 1025, 1013, 1008, 2275, 1006, 1012, 21318, 1011, 15536, 24291, 1011, 20346, 1037, 1007, 6120, 2013, 4323, 2182, 1008, 1013, 1065, 1012, 21318, 1011, 15536, 24291, 1011, 20346, 1037, 1024, 25215, 2099, 1063, 4281, 1011, 3609, 1024, 1001, 1042, 2629, 2546, 2692, 2063, 2629, 1025, 1013, 1008, 2275, 1006, 1012, 21318, 1011, 2110, 1011, 25215, 2099, 1007, 8604, 2013, 4323, 2182, 1008, 1013, 3609, 1024, 1001, 1037, 21472, 21486, 2509, 1025, 1065, 1012, 21318, 1011, 15536, 24291, 1011, 20346, 7276, 1010, 1012, 21318, 1011, 15536, 24291, 1011, 20346, 5724, 1063, 4281, 1011, 3609, 1024, 1001, 17324, 2620, 20958, 2063, 1025, 1013, 1008, 2275, 1006, 1012, 21318, 1011, 15536, 24291, 1011, 20346, 1007, 4281, 6120, 2013, 4323, 2182, 1008, 1013, 1065, 1012, 21318, 1011, 2110, 1011, 12944, 1037, 1063, 3609, 1024, 1001, 5757, 2692, 28332, 1025, 1013, 1008, 2275, 1006, 1012, 21318, 1011, 2110, 1011, 12944, 1007, 6120, 2013, 4323, 2182, 1008, 1013, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
using SelectelSharp.Requests; using System; using System.Net; using System.Threading.Tasks; namespace SelectelSharp { public class SelectelClient { public string StorageUrl { get; private set; } public string CDNUrl { get; private set; } public string AuthToken { get; private set; } public long ExpireAuthToken { get; private set; } public SelectelClient() { } public SelectelClient(string proxyUrl = null, string proxyUser = null, string proxyPassword = null) { var proxy = new WebProxy(proxyUrl, true); proxy.Credentials = new NetworkCredential(proxyUser, proxyPassword); WebRequest.DefaultWebProxy = proxy; } public SelectelClient(WebProxy proxy = null) { WebRequest.DefaultWebProxy = proxy; } public async Task AuthorizeAsync(string user, string key) { var result = await ExecuteAsync(new AuthRequest(user, key)); this.StorageUrl = result.StorageUrl; this.AuthToken = result.AuthToken; this.ExpireAuthToken = result.ExpireAuthToken; this.CDNUrl = this.StorageUrl.Replace("https:", "http:").Replace(".ru", ".com"); } public void Authorize(string user, string key) { AuthorizeAsync(user, key).Wait(); } public async Task<T> ExecuteAsync<T>(BaseRequest<T> request) { if (!request.AllowAnonymously) { CheckTokenNotNull(); } await request.Execute(StorageUrl, AuthToken); return request.Result; } private void CheckTokenNotNull() { if (string.IsNullOrEmpty(AuthToken)) { throw new Exception("You should first authorize this client. Call AuthorizeAsync method."); } } } }
ONLYOFFICE/CommunityServer
redistributable/SelectelSharp/SelectelClient.cs
C#
apache-2.0
2,017
[ 30522, 2478, 7276, 9050, 8167, 2361, 1012, 11186, 1025, 2478, 2291, 1025, 2478, 2291, 1012, 5658, 1025, 2478, 2291, 1012, 11689, 2075, 1012, 8518, 1025, 3415, 15327, 7276, 9050, 8167, 2361, 1063, 2270, 2465, 7276, 2884, 20464, 11638, 1063, 2270, 5164, 5527, 3126, 2140, 1063, 2131, 1025, 2797, 2275, 1025, 1065, 2270, 5164, 3729, 11231, 12190, 1063, 2131, 1025, 2797, 2275, 1025, 1065, 2270, 5164, 8740, 2705, 18715, 2368, 1063, 2131, 1025, 2797, 2275, 1025, 1065, 2270, 2146, 4654, 20781, 4887, 2705, 18715, 2368, 1063, 2131, 1025, 2797, 2275, 1025, 1065, 2270, 7276, 2884, 20464, 11638, 1006, 1007, 1063, 1065, 2270, 7276, 2884, 20464, 11638, 1006, 5164, 24540, 3126, 2140, 1027, 19701, 1010, 5164, 24540, 20330, 1027, 19701, 1010, 5164, 24540, 15194, 18351, 1027, 19701, 1007, 1063, 13075, 24540, 1027, 2047, 4773, 21572, 18037, 1006, 24540, 3126, 2140, 1010, 2995, 1007, 1025, 24540, 1012, 22496, 1027, 2047, 2897, 16748, 16454, 4818, 1006, 24540, 20330, 1010, 24540, 15194, 18351, 1007, 1025, 4773, 2890, 15500, 1012, 12398, 8545, 2497, 21572, 18037, 1027, 24540, 1025, 1065, 2270, 7276, 2884, 20464, 11638, 1006, 4773, 21572, 18037, 24540, 1027, 19701, 1007, 1063, 4773, 2890, 15500, 1012, 12398, 8545, 2497, 21572, 18037, 1027, 24540, 1025, 1065, 2270, 2004, 6038, 2278, 4708, 3166, 4697, 3022, 6038, 2278, 1006, 5164, 5310, 1010, 5164, 3145, 1007, 1063, 13075, 2765, 1027, 26751, 15389, 3022, 6038, 2278, 1006, 2047, 8740, 2705, 2890, 15500, 1006, 5310, 1010, 3145, 1007, 1007, 1025, 2023, 1012, 5527, 3126, 2140, 1027, 2765, 1012, 5527, 3126, 2140, 1025, 2023, 1012, 8740, 2705, 18715, 2368, 1027, 2765, 1012, 8740, 2705, 18715, 2368, 1025, 2023, 1012, 4654, 20781, 4887, 2705, 18715, 2368, 1027, 2765, 1012, 4654, 20781, 4887, 2705, 18715, 2368, 1025, 2023, 1012, 3729, 11231, 12190, 1027, 2023, 1012, 5527, 3126, 2140, 1012, 5672, 1006, 1000, 16770, 1024, 1000, 1010, 1000, 8299, 1024, 1000, 1007, 1012, 5672, 1006, 1000, 1012, 21766, 1000, 1010, 1000, 1012, 4012, 1000, 1007, 1025, 1065, 2270, 11675, 3166, 4697, 1006, 5164, 5310, 1010, 5164, 3145, 1007, 1063, 3166, 4697, 3022, 6038, 2278, 1006, 5310, 1010, 3145, 1007, 1012, 3524, 1006, 1007, 1025, 1065, 2270, 2004, 6038, 2278, 4708, 1026, 1056, 1028, 15389, 3022, 6038, 2278, 1026, 1056, 1028, 1006, 2918, 2890, 15500, 30524, 3126, 2140, 1010, 8740, 2705, 18715, 2368, 1007, 1025, 2709, 5227, 1012, 2765, 1025, 1065, 2797, 11675, 4638, 18715, 2368, 17048, 11231, 3363, 1006, 1007, 1063, 2065, 1006, 5164, 1012, 3475, 18083, 5686, 27718, 2100, 1006, 8740, 2705, 18715, 2368, 1007, 1007, 1063, 5466, 2047, 6453, 1006, 1000, 2017, 2323, 2034, 3166, 4697, 2023, 7396, 1012, 2655, 3166, 4697, 3022, 6038, 2278, 4118, 1012, 1000, 1007, 1025, 1065, 1065, 1065, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1026, 1056, 1028, 5227, 1007, 1063, 2065, 1006, 999, 5227, 1012, 3499, 6761, 4890, 27711, 2135, 1007, 1063, 4638, 18715, 2368, 17048, 11231, 3363, 1006, 1007, 1025, 1065, 26751, 5227, 1012, 15389, 1006, 5527, 30526 ]
package edu.pacificu.cs493f15_1.paperorplasticapp; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
eheydemann/PaperOrPlastic
PaperOrPlasticApp/app/src/test/java/edu/pacificu/cs493f15_1/paperorplasticapp/ExampleUnitTest.java
Java
mit
326
[ 30522, 7427, 3968, 2226, 1012, 3534, 2226, 1012, 20116, 26224, 2509, 2546, 16068, 1035, 1015, 1012, 3259, 2953, 24759, 20875, 29098, 1025, 12324, 8917, 1012, 12022, 4183, 1012, 3231, 1025, 12324, 10763, 8917, 1012, 12022, 4183, 1012, 20865, 1012, 1008, 1025, 1013, 1008, 1008, 1008, 2000, 2147, 2006, 3131, 5852, 1010, 6942, 1996, 3231, 20785, 1999, 1996, 3857, 10176, 3193, 1012, 1008, 1013, 2270, 2465, 2742, 19496, 14581, 2102, 1063, 1030, 3231, 2270, 11675, 2804, 1035, 2003, 27108, 2890, 6593, 1006, 1007, 11618, 6453, 1063, 20865, 2063, 26426, 2015, 1006, 1018, 1010, 1016, 1009, 1016, 1007, 1025, 1065, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
<?php namespace cupidphp\common\Util; use cupidphp\common\Debug; use cupidphp\common\Util; use DateTime; use function cupidphp\main\debug; use function cupidphp\main\dump; use function cupidphp\main\xdiff_string_merge3; use function cupidphp\main\array_walk_recursive; class ArrayHelper { private static $_masks = array(); static public function index($arr, $indexKey = 'id') { $array = []; array_walk_recursive($arr, function($element) use (&$array, $indexKey) { if (is_array($element)) { $array[$element[$indexKey]] = $element; } }); return $array; } static public function avg($values, $weights) { if (!empty($values)) { if (!empty($weights)) { for ($i = 0, $l = count($values); $i < $l && isset($weights[$i]); ++$i) { $values[$i] *= $weights[$i]; } return array_sum($values) / array_sum($weights); } else { return array_sum($values) / count($values); } } else { return 0; } } static public function ksort_recursive(&$arr) { ksort($arr); foreach ($arr as &$a) { if (is_array($a) && !empty($a)) { self::ksort_recursive($a); } } } /** * * @param array $hash * @param array $subject * @return int number of replacements */ static public function replace_assoc($hash, &$subject, $decode = true) { $copy = $subject; if (!is_string($subject)) { $subject = json_encode($subject); } $subject = preg_replace_callback('@"(?<key>' . addcslashes(implode('|', array_keys($hash)), '.') . ')":(?:(?<str>".*?(?<!\\\)")|(?<bool>true|false)|(?<!\{)(?<int>[^,\}]+))@sS', function ($m) use(&$hash, &$copy, $decode) { static $count = []; if (isset($count[$m['key']])) { ++$count[$m['key']]; } else { $count[$m['key']] = 0; } if (isset($m['int'])) { $value = $m['int']; } elseif (isset($m['bool'])) { $value = json_decode($m['bool']); } else { $value = json_decode($m['str']); } if (is_callable($replace = $hash[$m['key']])) { $replace = call_user_func($replace, $value, $m['key'], $copy, $count[$m['key']]); if ($decode) { $replace = json_encode($replace); } } else { $replace = json_encode($replace); } return '"' . $m['key'] . '":' . $replace; }, $subject, -1, $count); if ($decode) { $subject = json_decode($subject, true); } return $count; } static public function array_intersect_key() { $args = func_get_args(); $intersect = call_user_func_array('array_intersect_key', $args); $res = array(); foreach($intersect as $key => &$value) { foreach ($args as &$array) { $res[$key][] = $array[$key]; } } return $res; } static public function diffsum() { $arrays = func_get_args(); $default = array_shift($arrays); foreach ($arrays as $array) { $default = $array + $default; } return $default; } static public function extend() { $arrays = func_get_args(); $default = array_shift($arrays); foreach ($arrays as $array) { $default = array_intersect_key($array, $default) + $default; } return $default; } static public function replace($search, $replacement, &$subject) { return $subject = json_decode(str_replace($search, $replacement, json_encode($subject)), true); } static public function walk_recursive(&$subject, $function, $array = false) { array_walk($subject, function (&$item, $key) use($function, &$subject, $array) { if (is_array($item)) { if (true == $array) { $function($item, $key, $subject); } ArrayHelper::walk_recursive($item, $function, $array); } else { $function($item, $key, $subject); } }); } static public function multisort(&$subject) { if (empty($subject)) { return ; } $cols = func_get_args(); array_shift($cols); $computed = array(); foreach ($subject as $key => $value) { for ($i = 0, $l = count($cols); $i < $l; $i += 2) { $colName = $cols[$i]; $computed[$colName][$key] = $value[$colName]; } } $mutliArgs = array(); for ($i = 0, $l = count($cols), $last = $l - 1; $i < $l; $i += 2) { $colName = $cols[$i]; $sortOption = $cols[$i + 1]; $mutliArgs[] = $computed[$colName]; $mutliArgs[] = $sortOption; } $mutliArgs[] = &$subject; call_user_func_array('array_multisort', $mutliArgs); } static public function remove(&$subject, $ndx) { array_splice($subject, $ndx, 1); } static public function lowercase_keys(&$subject) { $subject = json_decode(preg_replace_callback('@(?<=")([^"]+)(?=":)@sS', function ($m) { return strtolower($m[1]); }, json_encode($subject)), true); return $subject; } static public function filter_keys($subject) { $keys = func_get_args(); array_shift($keys); self::set_mask('__filter_keys__', $keys); return self::apply_mask('__filter_keys__', $subject); } static public function filter($hash, $callback) { $filtered = array(); foreach($hash as $key => $value) { if (true !== $callback($value, $key)) { $filtered[$key] = $value; } } return $filtered; } static public function unprefix_keys($prefix, &$subject) { $subject = json_decode(preg_replace_callback('@(?<=")(\w+)(?=":)@sS', function ($m) use($prefix) { return str_replace($prefix, '', $m[1]); }, json_encode($subject)), true); return $subject; } static public function apply_keys(\Closure $func, array &$subject, array &$mapping = []) { $subject = json_decode(preg_replace_callback('@(?<=")(\w+)(?=":)@sS', function ($m) use($func, &$mapping) { $mapping[$m[1]] = $func($m[1]); return $mapping[$m[1]]; }, json_encode($subject)), true); return $subject; } static public function prefix_keys($prefix, &$subject) { $subject = json_decode(preg_replace_callback('@(?<=")(\w+)(?=":)@sS', function ($m) use($prefix) { return $prefix . $m[1]; }, json_encode($subject)), true); return $subject; } static public function rename_keys($hash, &$subject, $flip = false) { if ($flip) { $hash = array_flip($hash); } $subject = json_decode(preg_replace_callback('@(?<=")(' . addcslashes(implode('|', array_keys($hash)), '.') . ')(?=":)@sS', function ($m) use(&$hash) { return $hash[$m[1]]; }, json_encode($subject)), true); return $subject; } static public function cast($subject) { $subject = json_decode(preg_replace_callback('@:"\((?<type>\w+)\)(?<mixed>.*?)(?<!\\\)"@sS', function ($m) { $value = json_decode('"' . $m['mixed'] . '"'); return ':' . json_encode(Util::cast($value, $m['type'])); }, json_encode($subject)), true); return $subject; } static public function apply_mask($key, $arr) { if (isset(self::$_masks[$key])) { return array_intersect_key($arr, self::$_masks[$key]); } else { return $arr; } } static public function set_mask($key, $mask) { self::$_masks[$key] = array_flip($mask); } static public function insert(&$array, $position, $elm) { return array_splice($array, $position, 0, $elm); } static public function &current($array) { return $array[0]; } static public function &end(&$array) { return $array[count($array) - 1]; } static public function add(&$array, $elm) { return array_splice($array, count($array) - 1, 0, $elm); } static public function toTree($list, $key = 'id', $leafName = 'children', $sep = '-', $root = 'root', $sort = false) { if ($sort) { usort($list, function ($a, $b) use($key) { return strcmp($a[$key], $b[$key]); }); } $tree = array( 'name' => $root, $leafName => array(), 'maxDepth' => 0, 'count' => count($list) ); $cache = array( '/' => array( 'id' => $id = 0, 'lbound' => 0, 'rbound' => 1 ) ); foreach ($list as $leaf) { $current = &$tree[$leafName]; $path = ''; $nodes = explode($sep, ltrim($leaf[$key], '/')); $last = count($nodes) - 1; foreach ($nodes as $i => $nodeName) { $path .= '/' . $nodeName; $depth = $i + 1; $parent = dirname($path); if (!isset($cache[$path])) { $leaf['name'] = $nodeName; if (!isset($leaf['id'])) { $leaf['id'] = $id + 1; } /* $leaf['parent_id'] = $cache[$parent]['id']; $leaf['lbound'] = $cache[$parent]['rbound']; $leaf['rbound'] = $leaf['lbound'] + 1; $leaf['size'] = 1; $leaf['type'] = 'leaf'; if ('/' != $parent) { do { $cache[$parent]['type'] = 'node'; $cache[$parent]['rbound'] += 2; $cache[$parent]['size'] = $cache[$parent]['rbound'] - $cache[$parent]['lbound']; } while('/' != ($parent = dirname($parent))); } $cache[$parent]['rbound'] += 2; $cache[$parent]['size'] = $cache[$parent]['rbound'] - $cache[$parent]['lbound']; //*/ $leaf['class'] = $i == $last ? 'leaf' : 'node'; $leaf['depth'] = $depth; $leaf[$leafName] = array(); $cache[$path] = $leaf; $current[] = &$cache[$path]; if ($tree['maxDepth'] < $leaf['depth']) { $tree['maxDepth'] = $leaf['depth']; } } else { $tmpLeaf = &$cache[$path]; $tmpLeaf['class'] = $i == $last ? 'leaf' : 'node'; } $current = &$cache[$path][$leafName]; ++$id; } } return $tree; } }
lsalomon/cupidphp
common/Util/ArrayHelper.php
PHP
gpl-2.0
9,326
[ 30522, 1026, 1029, 25718, 3415, 15327, 2452, 3593, 8458, 2361, 1032, 2691, 1032, 21183, 4014, 1025, 2224, 2452, 3593, 8458, 2361, 1032, 2691, 1032, 2139, 8569, 2290, 1025, 2224, 2452, 3593, 8458, 2361, 1032, 2691, 1032, 21183, 4014, 1025, 2224, 3058, 7292, 1025, 2224, 3853, 2452, 3593, 8458, 2361, 1032, 2364, 1032, 2139, 8569, 2290, 1025, 2224, 3853, 2452, 3593, 8458, 2361, 1032, 2364, 1032, 15653, 1025, 2224, 3853, 2452, 3593, 8458, 2361, 1032, 2364, 1032, 1060, 4305, 4246, 1035, 5164, 1035, 13590, 2509, 1025, 2224, 3853, 2452, 3593, 8458, 2361, 1032, 2364, 1032, 9140, 1035, 3328, 1035, 28667, 9236, 3512, 1025, 2465, 9140, 16001, 4842, 1063, 2797, 10763, 1002, 1035, 15806, 1027, 9140, 1006, 1007, 1025, 10763, 2270, 3853, 5950, 1006, 1002, 12098, 2099, 1010, 1002, 5950, 14839, 1027, 1005, 8909, 1005, 1007, 1063, 1002, 9140, 1027, 1031, 1033, 1025, 9140, 1035, 3328, 1035, 28667, 9236, 3512, 1006, 1002, 12098, 2099, 1010, 3853, 1006, 1002, 5783, 1007, 2224, 1006, 1004, 1002, 9140, 1010, 1002, 5950, 14839, 1007, 1063, 2065, 1006, 2003, 1035, 9140, 1006, 1002, 5783, 1007, 1007, 1063, 1002, 9140, 1031, 1002, 5783, 1031, 1002, 5950, 14839, 1033, 1033, 1027, 1002, 5783, 1025, 1065, 1065, 1007, 1025, 2709, 1002, 9140, 1025, 1065, 10763, 2270, 3853, 20704, 2290, 1006, 1002, 5300, 1010, 1002, 15871, 1007, 1063, 2065, 1006, 999, 4064, 1006, 1002, 5300, 1007, 1007, 1063, 2065, 1006, 999, 4064, 1006, 1002, 15871, 1007, 1007, 1063, 2005, 1006, 1002, 1045, 1027, 1014, 1010, 1002, 1048, 1027, 4175, 1006, 1002, 5300, 1007, 1025, 1002, 1045, 1026, 1002, 1048, 1004, 1004, 26354, 3388, 1006, 1002, 15871, 1031, 1002, 1045, 1033, 1007, 1025, 30524, 2842, 1063, 2709, 9140, 1035, 7680, 1006, 1002, 5300, 1007, 1013, 4175, 1006, 1002, 5300, 1007, 1025, 1065, 1065, 2842, 1063, 2709, 1014, 1025, 1065, 1065, 10763, 2270, 3853, 29535, 11589, 1035, 28667, 9236, 3512, 1006, 1004, 1002, 12098, 2099, 1007, 1063, 29535, 11589, 1006, 1002, 12098, 2099, 1007, 1025, 18921, 6776, 1006, 1002, 12098, 2099, 2004, 1004, 1002, 1037, 1007, 1063, 2065, 1006, 2003, 1035, 9140, 1006, 1002, 1037, 1007, 1004, 1004, 999, 4064, 1006, 1002, 1037, 1007, 1007, 1063, 2969, 1024, 1024, 29535, 11589, 1035, 28667, 9236, 3512, 1006, 1002, 1037, 1007, 1025, 1065, 1065, 1065, 1013, 1008, 1008, 1008, 1008, 1030, 11498, 2213, 9140, 1002, 23325, 1008, 1030, 11498, 2213, 9140, 1002, 3395, 1008, 1030, 2709, 20014, 2193, 1997, 23936, 1008, 1013, 10763, 2270, 3853, 5672, 1035, 4632, 10085, 1006, 1002, 23325, 1010, 1004, 1002, 3395, 1010, 1002, 21933, 3207, 1027, 2995, 1007, 1063, 1002, 6100, 1027, 1002, 3395, 1025, 2065, 1006, 999, 2003, 1035, 5164, 1006, 1002, 3395, 1007, 1007, 1063, 1002, 3395, 1027, 1046, 3385, 1035, 4372, 16044, 1006, 1002, 3395, 1007, 1025, 1065, 1002, 3395, 1027, 3653, 2290, 1035, 5672, 1035, 2655, 30523, 1009, 1009, 1002, 1045, 1007, 1063, 1002, 5300, 1031, 1002, 1045, 1033, 1008, 1027, 1002, 15871, 1031, 1002, 1045, 1033, 1025, 1065, 2709, 9140, 1035, 7680, 1006, 1002, 5300, 1007, 1013, 9140, 1035, 7680, 1006, 1002, 15871, 1007, 1025, 1065, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1009, 1009, 1002, 1045, 1007, 1063, 1002, 5300, 1031, 1002, 1045, 1033, 1008, 1027, 1002, 15871, 1031, 1002, 1045, 1033, 1025, 1065, 2709, 9140, 1035, 7680, 1006, 1002, 5300, 1007, 1013, 9140, 1035, 7680, 1006, 1002, 15871, 1007, 1025, 1065, 30526 ]
using System; using System.Reflection; namespace GitHub.Unity { enum ResourceType { Icon, Platform, Generic } class AssemblyResources { public static NPath ToFile(ResourceType resourceType, string resource, NPath destinationPath, IEnvironment environment) { var os = ""; if (resourceType == ResourceType.Platform) { os = DefaultEnvironment.OnWindows ? "windows" : DefaultEnvironment.OnLinux ? "linux" : "mac"; } var type = resourceType == ResourceType.Icon ? "IconsAndLogos" : resourceType == ResourceType.Platform ? "PlatformResources" : "Resources"; var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream( String.Format("GitHub.Unity.{0}{1}.{2}", type, os != "" ? "." + os : os, resource)); if (stream != null) return destinationPath.Combine(resource).WriteAllBytes(stream.ToByteArray()); return environment.ExtensionInstallPath.Combine(type, os, resource); } } }
mpOzelot/Unity
src/GitHub.Api/Helpers/AssemblyResources.cs
C#
mit
1,200
[ 30522, 2478, 2291, 1025, 2478, 2291, 1012, 9185, 1025, 3415, 15327, 21025, 2705, 12083, 1012, 8499, 1063, 4372, 2819, 7692, 13874, 1063, 12696, 1010, 4132, 1010, 12391, 1065, 2465, 3320, 6072, 8162, 9623, 1063, 2270, 10763, 27937, 8988, 2000, 8873, 2571, 1006, 7692, 13874, 7692, 13874, 1010, 5164, 7692, 1010, 27937, 8988, 7688, 15069, 1010, 29464, 2078, 21663, 2239, 3672, 4044, 1007, 1063, 13075, 9808, 1027, 1000, 1000, 1025, 2065, 1006, 7692, 13874, 1027, 1027, 7692, 13874, 1012, 4132, 1007, 1063, 9808, 1027, 12398, 2368, 21663, 2239, 3672, 1012, 2006, 11101, 15568, 1029, 1000, 3645, 1000, 1024, 12398, 2368, 21663, 2239, 3672, 1012, 2006, 4115, 5602, 1029, 1000, 11603, 1000, 1024, 1000, 6097, 1000, 1025, 1065, 13075, 2828, 1027, 7692, 13874, 1027, 1027, 7692, 13874, 1012, 12696, 1029, 1000, 18407, 5685, 21197, 2891, 1000, 1024, 7692, 13874, 1027, 1027, 7692, 13874, 1012, 4132, 1029, 1000, 4132, 6072, 8162, 9623, 1000, 1024, 1000, 4219, 1000, 1025, 13075, 5460, 1027, 3320, 1012, 2131, 10288, 8586, 20807, 27241, 14905, 2135, 1006, 1007, 1012, 2131, 20799, 14081, 6072, 8162, 9623, 25379, 1006, 5164, 1012, 4289, 1006, 1000, 21025, 2705, 12083, 1012, 8499, 1012, 1063, 1014, 1065, 1063, 1015, 1065, 1012, 1063, 1016, 1065, 1000, 1010, 2828, 1010, 9808, 999, 1027, 1000, 1000, 1029, 1000, 1012, 1000, 1009, 9808, 1024, 9808, 1010, 7692, 1007, 1007, 1025, 2065, 1006, 5460, 999, 1027, 19701, 1007, 2709, 7688, 15069, 1012, 11506, 1006, 7692, 1007, 1012, 4339, 8095, 3762, 4570, 1006, 5460, 1012, 11291, 27058, 11335, 2100, 1006, 1007, 1007, 1025, 2709, 4044, 1012, 30524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30523, 5331, 7076, 9080, 14277, 8988, 1012, 11506, 1006, 2828, 1010, 9808, 1010, 7692, 1007, 1025, 1065, 1065, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
[ 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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 5331, 7076, 9080, 14277, 8988, 1012, 11506, 1006, 2828, 1010, 9808, 1010, 7692, 1007, 1025, 1065, 1065, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
<?php namespace PhpOffice\PhpSpreadsheet\Worksheet; use ArrayObject; use PhpOffice\PhpSpreadsheet\Calculation\Calculation; use PhpOffice\PhpSpreadsheet\Cell\Cell; use PhpOffice\PhpSpreadsheet\Cell\Coordinate; use PhpOffice\PhpSpreadsheet\Cell\DataType; use PhpOffice\PhpSpreadsheet\Cell\DataValidation; use PhpOffice\PhpSpreadsheet\Cell\Hyperlink; use PhpOffice\PhpSpreadsheet\Chart\Chart; use PhpOffice\PhpSpreadsheet\Collection\Cells; use PhpOffice\PhpSpreadsheet\Collection\CellsFactory; use PhpOffice\PhpSpreadsheet\Comment; use PhpOffice\PhpSpreadsheet\DefinedName; use PhpOffice\PhpSpreadsheet\Exception; use PhpOffice\PhpSpreadsheet\IComparable; use PhpOffice\PhpSpreadsheet\ReferenceHelper; use PhpOffice\PhpSpreadsheet\RichText\RichText; use PhpOffice\PhpSpreadsheet\Shared; use PhpOffice\PhpSpreadsheet\Spreadsheet; use PhpOffice\PhpSpreadsheet\Style\Color; use PhpOffice\PhpSpreadsheet\Style\Conditional; use PhpOffice\PhpSpreadsheet\Style\NumberFormat; use PhpOffice\PhpSpreadsheet\Style\Style; class Worksheet implements IComparable { // Break types const BREAK_NONE = 0; const BREAK_ROW = 1; const BREAK_COLUMN = 2; // Sheet state const SHEETSTATE_VISIBLE = 'visible'; const SHEETSTATE_HIDDEN = 'hidden'; const SHEETSTATE_VERYHIDDEN = 'veryHidden'; /** * Maximum 31 characters allowed for sheet title. * * @var int */ const SHEET_TITLE_MAXIMUM_LENGTH = 31; /** * Invalid characters in sheet title. * * @var array */ private static $invalidCharacters = ['*', ':', '/', '\\', '?', '[', ']']; /** * Parent spreadsheet. * * @var Spreadsheet */ private $parent; /** * Collection of cells. * * @var Cells */ private $cellCollection; /** * Collection of row dimensions. * * @var RowDimension[] */ private $rowDimensions = []; /** * Default row dimension. * * @var RowDimension */ private $defaultRowDimension; /** * Collection of column dimensions. * * @var ColumnDimension[] */ private $columnDimensions = []; /** * Default column dimension. * * @var ColumnDimension */ private $defaultColumnDimension; /** * Collection of drawings. * * @var ArrayObject<int, BaseDrawing> */ private $drawingCollection; /** * Collection of Chart objects. * * @var ArrayObject<int, Chart> */ private $chartCollection; /** * Worksheet title. * * @var string */ private $title; /** * Sheet state. * * @var string */ private $sheetState; /** * Page setup. * * @var PageSetup */ private $pageSetup; /** * Page margins. * * @var PageMargins */ private $pageMargins; /** * Page header/footer. * * @var HeaderFooter */ private $headerFooter; /** * Sheet view. * * @var SheetView */ private $sheetView; /** * Protection. * * @var Protection */ private $protection; /** * Collection of styles. * * @var Style[] */ private $styles = []; /** * Conditional styles. Indexed by cell coordinate, e.g. 'A1'. * * @var array */ private $conditionalStylesCollection = []; /** * Is the current cell collection sorted already? * * @var bool */ private $cellCollectionIsSorted = false; /** * Collection of breaks. * * @var int[] */ private $breaks = []; /** * Collection of merged cell ranges. * * @var string[] */ private $mergeCells = []; /** * Collection of protected cell ranges. * * @var string[] */ private $protectedCells = []; /** * Autofilter Range and selection. * * @var AutoFilter */ private $autoFilter; /** * Freeze pane. * * @var null|string */ private $freezePane; /** * Default position of the right bottom pane. * * @var null|string */ private $topLeftCell; /** * Show gridlines? * * @var bool */ private $showGridlines = true; /** * Print gridlines? * * @var bool */ private $printGridlines = false; /** * Show row and column headers? * * @var bool */ private $showRowColHeaders = true; /** * Show summary below? (Row/Column outline). * * @var bool */ private $showSummaryBelow = true; /** * Show summary right? (Row/Column outline). * * @var bool */ private $showSummaryRight = true; /** * Collection of comments. * * @var Comment[] */ private $comments = []; /** * Active cell. (Only one!). * * @var string */ private $activeCell = 'A1'; /** * Selected cells. * * @var string */ private $selectedCells = 'A1'; /** * Cached highest column. * * @var int */ private $cachedHighestColumn = 1; /** * Cached highest row. * * @var int */ private $cachedHighestRow = 1; /** * Right-to-left? * * @var bool */ private $rightToLeft = false; /** * Hyperlinks. Indexed by cell coordinate, e.g. 'A1'. * * @var array */ private $hyperlinkCollection = []; /** * Data validation objects. Indexed by cell coordinate, e.g. 'A1'. * * @var array */ private $dataValidationCollection = []; /** * Tab color. * * @var null|Color */ private $tabColor; /** * Dirty flag. * * @var bool */ private $dirty = true; /** * Hash. * * @var string */ private $hash; /** * CodeName. * * @var string */ private $codeName; /** * Create a new worksheet. * * @param string $title */ public function __construct(?Spreadsheet $parent = null, $title = 'Worksheet') { // Set parent and title $this->parent = $parent; $this->setTitle($title, false); // setTitle can change $pTitle $this->setCodeName($this->getTitle()); $this->setSheetState(self::SHEETSTATE_VISIBLE); $this->cellCollection = CellsFactory::getInstance($this); // Set page setup $this->pageSetup = new PageSetup(); // Set page margins $this->pageMargins = new PageMargins(); // Set page header/footer $this->headerFooter = new HeaderFooter(); // Set sheet view $this->sheetView = new SheetView(); // Drawing collection $this->drawingCollection = new ArrayObject(); // Chart collection $this->chartCollection = new ArrayObject(); // Protection $this->protection = new Protection(); // Default row dimension $this->defaultRowDimension = new RowDimension(null); // Default column dimension $this->defaultColumnDimension = new ColumnDimension(null); $this->autoFilter = new AutoFilter(null, $this); } /** * Disconnect all cells from this Worksheet object, * typically so that the worksheet object can be unset. */ public function disconnectCells(): void { if ($this->cellCollection !== null) { $this->cellCollection->unsetWorksheetCells(); // @phpstan-ignore-next-line $this->cellCollection = null; } // detach ourself from the workbook, so that it can then delete this worksheet successfully // @phpstan-ignore-next-line $this->parent = null; } /** * Code to execute when this worksheet is unset(). */ public function __destruct() { Calculation::getInstance($this->parent)->clearCalculationCacheForWorksheet($this->title); $this->disconnectCells(); $this->rowDimensions = []; } /** * Return the cell collection. * * @return Cells */ public function getCellCollection() { return $this->cellCollection; } /** * Get array of invalid characters for sheet title. * * @return array */ public static function getInvalidCharacters() { return self::$invalidCharacters; } /** * Check sheet code name for valid Excel syntax. * * @param string $sheetCodeName The string to check * * @return string The valid string */ private static function checkSheetCodeName($sheetCodeName) { $charCount = Shared\StringHelper::countCharacters($sheetCodeName); if ($charCount == 0) { throw new Exception('Sheet code name cannot be empty.'); } // Some of the printable ASCII characters are invalid: * : / \ ? [ ] and first and last characters cannot be a "'" if ( (str_replace(self::$invalidCharacters, '', $sheetCodeName) !== $sheetCodeName) || (Shared\StringHelper::substring($sheetCodeName, -1, 1) == '\'') || (Shared\StringHelper::substring($sheetCodeName, 0, 1) == '\'') ) { throw new Exception('Invalid character found in sheet code name'); } // Enforce maximum characters allowed for sheet title if ($charCount > self::SHEET_TITLE_MAXIMUM_LENGTH) { throw new Exception('Maximum ' . self::SHEET_TITLE_MAXIMUM_LENGTH . ' characters allowed in sheet code name.'); } return $sheetCodeName; } /** * Check sheet title for valid Excel syntax. * * @param string $sheetTitle The string to check * * @return string The valid string */ private static function checkSheetTitle($sheetTitle) { // Some of the printable ASCII characters are invalid: * : / \ ? [ ] if (str_replace(self::$invalidCharacters, '', $sheetTitle) !== $sheetTitle) { throw new Exception('Invalid character found in sheet title'); } // Enforce maximum characters allowed for sheet title if (Shared\StringHelper::countCharacters($sheetTitle) > self::SHEET_TITLE_MAXIMUM_LENGTH) { throw new Exception('Maximum ' . self::SHEET_TITLE_MAXIMUM_LENGTH . ' characters allowed in sheet title.'); } return $sheetTitle; } /** * Get a sorted list of all cell coordinates currently held in the collection by row and column. * * @param bool $sorted Also sort the cell collection? * * @return string[] */ public function getCoordinates($sorted = true) { if ($this->cellCollection == null) { return []; } if ($sorted) { return $this->cellCollection->getSortedCoordinates(); } return $this->cellCollection->getCoordinates(); } /** * Get collection of row dimensions. * * @return RowDimension[] */ public function getRowDimensions() { return $this->rowDimensions; } /** * Get default row dimension. * * @return RowDimension */ public function getDefaultRowDimension() { return $this->defaultRowDimension; } /** * Get collection of column dimensions. * * @return ColumnDimension[] */ public function getColumnDimensions() { return $this->columnDimensions; } /** * Get default column dimension. * * @return ColumnDimension */ public function getDefaultColumnDimension() { return $this->defaultColumnDimension; } /** * Get collection of drawings. * * @return ArrayObject<int, BaseDrawing> */ public function getDrawingCollection() { return $this->drawingCollection; } /** * Get collection of charts. * * @return ArrayObject<int, Chart> */ public function getChartCollection() { return $this->chartCollection; } /** * Add chart. * * @param null|int $chartIndex Index where chart should go (0,1,..., or null for last) * * @return Chart */ public function addChart(Chart $chart, $chartIndex = null) { $chart->setWorksheet($this); if ($chartIndex === null) { $this->chartCollection[] = $chart; } else { // Insert the chart at the requested index array_splice($this->chartCollection, $chartIndex, 0, [$chart]); } return $chart; } /** * Return the count of charts on this worksheet. * * @return int The number of charts */ public function getChartCount() { return count($this->chartCollection); } /** * Get a chart by its index position. * * @param string $index Chart index position * * @return Chart|false */ public function getChartByIndex($index) { $chartCount = count($this->chartCollection); if ($chartCount == 0) { return false; } if ($index === null) { $index = --$chartCount; } if (!isset($this->chartCollection[$index])) { return false; } return $this->chartCollection[$index]; } /** * Return an array of the names of charts on this worksheet. * * @return string[] The names of charts */ public function getChartNames() { $chartNames = []; foreach ($this->chartCollection as $chart) { $chartNames[] = $chart->getName(); } return $chartNames; } /** * Get a chart by name. * * @param string $chartName Chart name * * @return Chart|false */ public function getChartByName($chartName) { $chartCount = count($this->chartCollection); if ($chartCount == 0) { return false; } foreach ($this->chartCollection as $index => $chart) { if ($chart->getName() == $chartName) { return $this->chartCollection[$index]; } } return false; } /** * Refresh column dimensions. * * @return $this */ public function refreshColumnDimensions() { $currentColumnDimensions = $this->getColumnDimensions(); $newColumnDimensions = []; foreach ($currentColumnDimensions as $objColumnDimension) { $newColumnDimensions[$objColumnDimension->getColumnIndex()] = $objColumnDimension; } $this->columnDimensions = $newColumnDimensions; return $this; } /** * Refresh row dimensions. * * @return $this */ public function refreshRowDimensions() { $currentRowDimensions = $this->getRowDimensions(); $newRowDimensions = []; foreach ($currentRowDimensions as $objRowDimension) { $newRowDimensions[$objRowDimension->getRowIndex()] = $objRowDimension; } $this->rowDimensions = $newRowDimensions; return $this; } /** * Calculate worksheet dimension. * * @return string String containing the dimension of this worksheet */ public function calculateWorksheetDimension() { // Return return 'A1:' . $this->getHighestColumn() . $this->getHighestRow(); } /** * Calculate worksheet data dimension. * * @return string String containing the dimension of this worksheet that actually contain data */ public function calculateWorksheetDataDimension() { // Return return 'A1:' . $this->getHighestDataColumn() . $this->getHighestDataRow(); } /** * Calculate widths for auto-size columns. * * @return $this */ public function calculateColumnWidths() { // initialize $autoSizes array $autoSizes = []; foreach ($this->getColumnDimensions() as $colDimension) { if ($colDimension->getAutoSize()) { $autoSizes[$colDimension->getColumnIndex()] = -1; } } // There is only something to do if there are some auto-size columns if (!empty($autoSizes)) { // build list of cells references that participate in a merge $isMergeCell = []; foreach ($this->getMergeCells() as $cells) { foreach (Coordinate::extractAllCellReferencesInRange($cells) as $cellReference) { $isMergeCell[$cellReference] = true; } } // loop through all cells in the worksheet foreach ($this->getCoordinates(false) as $coordinate) { $cell = $this->getCellOrNull($coordinate); if ($cell !== null && isset($autoSizes[$this->cellCollection->getCurrentColumn()])) { //Determine if cell is in merge range $isMerged = isset($isMergeCell[$this->cellCollection->getCurrentCoordinate()]); //By default merged cells should be ignored $isMergedButProceed = false; //The only exception is if it's a merge range value cell of a 'vertical' randge (1 column wide) if ($isMerged && $cell->isMergeRangeValueCell()) { $range = $cell->getMergeRange(); $rangeBoundaries = Coordinate::rangeDimension($range); if ($rangeBoundaries[0] == 1) { $isMergedButProceed = true; } } // Determine width if cell does not participate in a merge or does and is a value cell of 1-column wide range if (!$isMerged || $isMergedButProceed) { // Calculated value // To formatted string $cellValue = NumberFormat::toFormattedString( $cell->getCalculatedValue(), $this->getParent()->getCellXfByIndex($cell->getXfIndex())->getNumberFormat()->getFormatCode() ); if ($cellValue !== null && $cellValue !== '') { $autoSizes[$this->cellCollection->getCurrentColumn()] = max( (float) $autoSizes[$this->cellCollection->getCurrentColumn()], (float) Shared\Font::calculateColumnWidth( $this->getParent()->getCellXfByIndex($cell->getXfIndex())->getFont(), $cellValue, $this->getParent()->getCellXfByIndex($cell->getXfIndex())->getAlignment()->getTextRotation(), $this->getParent()->getDefaultStyle()->getFont() ) ); } } } } // adjust column widths foreach ($autoSizes as $columnIndex => $width) { if ($width == -1) { $width = $this->getDefaultColumnDimension()->getWidth(); } $this->getColumnDimension($columnIndex)->setWidth($width); } } return $this; } /** * Get parent. * * @return Spreadsheet */ public function getParent() { return $this->parent; } /** * Re-bind parent. * * @return $this */ public function rebindParent(Spreadsheet $parent) { if ($this->parent !== null) { $definedNames = $this->parent->getDefinedNames(); foreach ($definedNames as $definedName) { $parent->addDefinedName($definedName); } $this->parent->removeSheetByIndex( $this->parent->getIndex($this) ); } $this->parent = $parent; return $this; } /** * Get title. * * @return string */ public function getTitle() { return $this->title; } /** * Set title. * * @param string $title String containing the dimension of this worksheet * @param bool $updateFormulaCellReferences Flag indicating whether cell references in formulae should * be updated to reflect the new sheet name. * This should be left as the default true, unless you are * certain that no formula cells on any worksheet contain * references to this worksheet * @param bool $validate False to skip validation of new title. WARNING: This should only be set * at parse time (by Readers), where titles can be assumed to be valid. * * @return $this */ public function setTitle($title, $updateFormulaCellReferences = true, $validate = true) { // Is this a 'rename' or not? if ($this->getTitle() == $title) { return $this; } // Old title $oldTitle = $this->getTitle(); if ($validate) { // Syntax check self::checkSheetTitle($title); if ($this->parent) { // Is there already such sheet name? if ($this->parent->sheetNameExists($title)) { // Use name, but append with lowest possible integer if (Shared\StringHelper::countCharacters($title) > 29) { $title = Shared\StringHelper::substring($title, 0, 29); } $i = 1; while ($this->parent->sheetNameExists($title . ' ' . $i)) { ++$i; if ($i == 10) { if (Shared\StringHelper::countCharacters($title) > 28) { $title = Shared\StringHelper::substring($title, 0, 28); } } elseif ($i == 100) { if (Shared\StringHelper::countCharacters($title) > 27) { $title = Shared\StringHelper::substring($title, 0, 27); } } } $title .= " $i"; } } } // Set title $this->title = $title; $this->dirty = true; if ($this->parent && $this->parent->getCalculationEngine()) { // New title $newTitle = $this->getTitle(); $this->parent->getCalculationEngine() ->renameCalculationCacheForWorksheet($oldTitle, $newTitle); if ($updateFormulaCellReferences) { ReferenceHelper::getInstance()->updateNamedFormulas($this->parent, $oldTitle, $newTitle); } } return $this; } /** * Get sheet state. * * @return string Sheet state (visible, hidden, veryHidden) */ public function getSheetState() { return $this->sheetState; } /** * Set sheet state. * * @param string $value Sheet state (visible, hidden, veryHidden) * * @return $this */ public function setSheetState($value) { $this->sheetState = $value; return $this; } /** * Get page setup. * * @return PageSetup */ public function getPageSetup() { return $this->pageSetup; } /** * Set page setup. * * @return $this */ public function setPageSetup(PageSetup $pageSetup) { $this->pageSetup = $pageSetup; return $this; } /** * Get page margins. * * @return PageMargins */ public function getPageMargins() { return $this->pageMargins; } /** * Set page margins. * * @return $this */ public function setPageMargins(PageMargins $pageMargins) { $this->pageMargins = $pageMargins; return $this; } /** * Get page header/footer. * * @return HeaderFooter */ public function getHeaderFooter() { return $this->headerFooter; } /** * Set page header/footer. * * @return $this */ public function setHeaderFooter(HeaderFooter $headerFooter) { $this->headerFooter = $headerFooter; return $this; } /** * Get sheet view. * * @return SheetView */ public function getSheetView() { return $this->sheetView; } /** * Set sheet view. * * @return $this */ public function setSheetView(SheetView $sheetView) { $this->sheetView = $sheetView; return $this; } /** * Get Protection. * * @return Protection */ public function getProtection() { return $this->protection; } /** * Set Protection. * * @return $this */ public function setProtection(Protection $protection) { $this->protection = $protection; $this->dirty = true; return $this; } /** * Get highest worksheet column. * * @param null|int|string $row Return the data highest column for the specified row, * or the highest column of any row if no row number is passed * * @return string Highest column name */ public function getHighestColumn($row = null) { if (empty($row)) { return Coordinate::stringFromColumnIndex($this->cachedHighestColumn); } return $this->getHighestDataColumn($row); } /** * Get highest worksheet column that contains data. * * @param null|int|string $row Return the highest data column for the specified row, * or the highest data column of any row if no row number is passed * * @return string Highest column name that contains data */ public function getHighestDataColumn($row = null) { return $this->cellCollection->getHighestColumn($row); } /** * Get highest worksheet row. * * @param null|string $column Return the highest data row for the specified column, * or the highest row of any column if no column letter is passed * * @return int Highest row number */ public function getHighestRow($column = null) { if ($column == null) { return $this->cachedHighestRow; } return $this->getHighestDataRow($column); } /** * Get highest worksheet row that contains data. * * @param null|string $column Return the highest data row for the specified column, * or the highest data row of any column if no column letter is passed * * @return int Highest row number that contains data */ public function getHighestDataRow($column = null) { return $this->cellCollection->getHighestRow($column); } /** * Get highest worksheet column and highest row that have cell records. * * @return array Highest column name and highest row number */ public function getHighestRowAndColumn() { return $this->cellCollection->getHighestRowAndColumn(); } /** * Set a cell value. * * @param string $coordinate Coordinate of the cell, eg: 'A1' * @param mixed $value Value of the cell * * @return $this */ public function setCellValue($coordinate, $value) { $this->getCell($coordinate)->setValue($value); return $this; } /** * Set a cell value by using numeric cell coordinates. * * @param int $columnIndex Numeric column coordinate of the cell * @param int $row Numeric row coordinate of the cell * @param mixed $value Value of the cell * * @return $this */ public function setCellValueByColumnAndRow($columnIndex, $row, $value) { $this->getCellByColumnAndRow($columnIndex, $row)->setValue($value); return $this; } /** * Set a cell value. * * @param string $coordinate Coordinate of the cell, eg: 'A1' * @param mixed $value Value of the cell * @param string $dataType Explicit data type, see DataType::TYPE_* * * @return $this */ public function setCellValueExplicit($coordinate, $value, $dataType) { // Set value $this->getCell($coordinate)->setValueExplicit($value, $dataType); return $this; } /** * Set a cell value by using numeric cell coordinates. * * @param int $columnIndex Numeric column coordinate of the cell * @param int $row Numeric row coordinate of the cell * @param mixed $value Value of the cell * @param string $dataType Explicit data type, see DataType::TYPE_* * * @return $this */ public function setCellValueExplicitByColumnAndRow($columnIndex, $row, $value, $dataType) { $this->getCellByColumnAndRow($columnIndex, $row)->setValueExplicit($value, $dataType); return $this; } /** * Get cell at a specific coordinate. * * @param string $coordinate Coordinate of the cell, eg: 'A1' * * @return Cell Cell that was found or created */ public function getCell(string $coordinate): Cell { // Shortcut for increased performance for the vast majority of simple cases if ($this->cellCollection->has($coordinate)) { /** @var Cell $cell */ $cell = $this->cellCollection->get($coordinate); return $cell; } /** @var Worksheet $sheet */ [$sheet, $finalCoordinate] = $this->getWorksheetAndCoordinate($coordinate); $cell = $sheet->cellCollection->get($finalCoordinate); return $cell ?? $sheet->createNewCell($finalCoordinate); } /** * Get the correct Worksheet and coordinate from a coordinate that may * contains reference to another sheet or a named range. * * @return array{0: Worksheet, 1: string} */ private function getWorksheetAndCoordinate(string $coordinate): array { $sheet = null; $finalCoordinate = null; // Worksheet reference? if (strpos($coordinate, '!') !== false) { $worksheetReference = self::extractSheetTitle($coordinate, true); $sheet = $this->parent->getSheetByName($worksheetReference[0]); $finalCoordinate = strtoupper($worksheetReference[1]); if (!$sheet) { throw new Exception('Sheet not found for name: ' . $worksheetReference[0]); } } elseif ( !preg_match('/^' . Calculation::CALCULATION_REGEXP_CELLREF . '$/i', $coordinate) && preg_match('/^' . Calculation::CALCULATION_REGEXP_DEFINEDNAME . '$/i', $coordinate) ) { // Named range? $namedRange = $this->validateNamedRange($coordinate, true); if ($namedRange !== null) { $sheet = $namedRange->getWorksheet(); if (!$sheet) { throw new Exception('Sheet not found for named range: ' . $namedRange->getName()); } $cellCoordinate = ltrim(substr($namedRange->getValue(), strrpos($namedRange->getValue(), '!')), '!'); $finalCoordinate = str_replace('$', '', $cellCoordinate); } } if (!$sheet || !$finalCoordinate) { $sheet = $this; $finalCoordinate = strtoupper($coordinate); } if (Coordinate::coordinateIsRange($finalCoordinate)) { throw new Exception('Cell coordinate string can not be a range of cells.'); } elseif (strpos($finalCoordinate, '$') !== false) { throw new Exception('Cell coordinate must not be absolute.'); } return [$sheet, $finalCoordinate]; } /** * Get an existing cell at a specific coordinate, or null. * * @param string $coordinate Coordinate of the cell, eg: 'A1' * * @return null|Cell Cell that was found or null */ private function getCellOrNull($coordinate): ?Cell { // Check cell collection if ($this->cellCollection->has($coordinate)) { return $this->cellCollection->get($coordinate); } return null; } /** * Get cell at a specific coordinate by using numeric cell coordinates. * * @param int $columnIndex Numeric column coordinate of the cell * @param int $row Numeric row coordinate of the cell * * @return Cell Cell that was found/created or null */ public function getCellByColumnAndRow($columnIndex, $row): Cell { $columnLetter = Coordinate::stringFromColumnIndex($columnIndex); $coordinate = $columnLetter . $row; if ($this->cellCollection->has($coordinate)) { /** @var Cell $cell */ $cell = $this->cellCollection->get($coordinate); return $cell; } // Create new cell object, if required return $this->createNewCell($coordinate); } /** * Create a new cell at the specified coordinate. * * @param string $coordinate Coordinate of the cell * * @return Cell Cell that was created */ private function createNewCell($coordinate) { $cell = new Cell(null, DataType::TYPE_NULL, $this); $this->cellCollection->add($coordinate, $cell); $this->cellCollectionIsSorted = false; // Coordinates [$column, $row] = Coordinate::coordinateFromString($coordinate); $aIndexes = Coordinate::indexesFromString($coordinate); if ($this->cachedHighestColumn < $aIndexes[0]) { $this->cachedHighestColumn = $aIndexes[0]; } if ($aIndexes[1] > $this->cachedHighestRow) { $this->cachedHighestRow = $aIndexes[1]; } // Cell needs appropriate xfIndex from dimensions records // but don't create dimension records if they don't already exist $rowDimension = $this->rowDimensions[$row] ?? null; $columnDimension = $this->columnDimensions[$column] ?? null; if ($rowDimension !== null && $rowDimension->getXfIndex() > 0) { // then there is a row dimension with explicit style, assign it to the cell $cell->setXfIndex($rowDimension->getXfIndex()); } elseif ($columnDimension !== null && $columnDimension->getXfIndex() > 0) { // then there is a column dimension, assign it to the cell $cell->setXfIndex($columnDimension->getXfIndex()); } return $cell; } /** * Does the cell at a specific coordinate exist? * * @param string $coordinate Coordinate of the cell eg: 'A1' * * @return bool */ public function cellExists($coordinate) { /** @var Worksheet $sheet */ [$sheet, $finalCoordinate] = $this->getWorksheetAndCoordinate($coordinate); return $sheet->cellCollection->has($finalCoordinate); } /** * Cell at a specific coordinate by using numeric cell coordinates exists? * * @param int $columnIndex Numeric column coordinate of the cell * @param int $row Numeric row coordinate of the cell * * @return bool */ public function cellExistsByColumnAndRow($columnIndex, $row) { return $this->cellExists(Coordinate::stringFromColumnIndex($columnIndex) . $row); } /** * Get row dimension at a specific row. * * @param int $row Numeric index of the row */ public function getRowDimension(int $row): RowDimension { // Get row dimension if (!isset($this->rowDimensions[$row])) { $this->rowDimensions[$row] = new RowDimension($row); $this->cachedHighestRow = max($this->cachedHighestRow, $row); } return $this->rowDimensions[$row]; } /** * Get column dimension at a specific column. * * @param string $column String index of the column eg: 'A' */ public function getColumnDimension(string $column): ColumnDimension { // Uppercase coordinate $column = strtoupper($column); // Fetch dimensions if (!isset($this->columnDimensions[$column])) { $this->columnDimensions[$column] = new ColumnDimension($column); $columnIndex = Coordinate::columnIndexFromString($column); if ($this->cachedHighestColumn < $columnIndex) { $this->cachedHighestColumn = $columnIndex; } } return $this->columnDimensions[$column]; } /** * Get column dimension at a specific column by using numeric cell coordinates. * * @param int $columnIndex Numeric column coordinate of the cell */ public function getColumnDimensionByColumn(int $columnIndex): ColumnDimension { return $this->getColumnDimension(Coordinate::stringFromColumnIndex($columnIndex)); } /** * Get styles. * * @return Style[] */ public function getStyles() { return $this->styles; } /** * Get style for cell. * * @param string $cellCoordinate Cell coordinate (or range) to get style for, eg: 'A1' * * @return Style */ public function getStyle($cellCoordinate) { // set this sheet as active $this->parent->setActiveSheetIndex($this->parent->getIndex($this)); // set cell coordinate as active $this->setSelectedCells($cellCoordinate); return $this->parent->getCellXfSupervisor(); } /** * Get conditional styles for a cell. * * @param string $coordinate eg: 'A1' * * @return Conditional[] */ public function getConditionalStyles($coordinate) { $coordinate = strtoupper($coordinate); if (!isset($this->conditionalStylesCollection[$coordinate])) { $this->conditionalStylesCollection[$coordinate] = []; } return $this->conditionalStylesCollection[$coordinate]; } /** * Do conditional styles exist for this cell? * * @param string $coordinate eg: 'A1' * * @return bool */ public function conditionalStylesExists($coordinate) { return isset($this->conditionalStylesCollection[strtoupper($coordinate)]); } /** * Removes conditional styles for a cell. * * @param string $coordinate eg: 'A1' * * @return $this */ public function removeConditionalStyles($coordinate) { unset($this->conditionalStylesCollection[strtoupper($coordinate)]); return $this; } /** * Get collection of conditional styles. * * @return array */ public function getConditionalStylesCollection() { return $this->conditionalStylesCollection; } /** * Set conditional styles. * * @param string $coordinate eg: 'A1' * @param Conditional[] $styles * * @return $this */ public function setConditionalStyles($coordinate, $styles) { $this->conditionalStylesCollection[strtoupper($coordinate)] = $styles; return $this; } /** * Get style for cell by using numeric cell coordinates. * * @param int $columnIndex1 Numeric column coordinate of the cell * @param int $row1 Numeric row coordinate of the cell * @param null|int $columnIndex2 Numeric column coordinate of the range cell * @param null|int $row2 Numeric row coordinate of the range cell * * @return Style */ public function getStyleByColumnAndRow($columnIndex1, $row1, $columnIndex2 = null, $row2 = null) { if ($columnIndex2 !== null && $row2 !== null) { $cellRange = Coordinate::stringFromColumnIndex($columnIndex1) . $row1 . ':' . Coordinate::stringFromColumnIndex($columnIndex2) . $row2; return $this->getStyle($cellRange); } return $this->getStyle(Coordinate::stringFromColumnIndex($columnIndex1) . $row1); } /** * Duplicate cell style to a range of cells. * * Please note that this will overwrite existing cell styles for cells in range! * * @param Style $style Cell style to duplicate * @param string $range Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") * * @return $this */ public function duplicateStyle(Style $style, $range) { // Add the style to the workbook if necessary $workbook = $this->parent; if ($existingStyle = $this->parent->getCellXfByHashCode($style->getHashCode())) { // there is already such cell Xf in our collection $xfIndex = $existingStyle->getIndex(); } else { // we don't have such a cell Xf, need to add $workbook->addCellXf($style); $xfIndex = $style->getIndex(); } // Calculate range outer borders [$rangeStart, $rangeEnd] = Coordinate::rangeBoundaries($range . ':' . $range); // Make sure we can loop upwards on rows and columns if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) { $tmp = $rangeStart; $rangeStart = $rangeEnd; $rangeEnd = $tmp; } // Loop through cells and apply styles for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { $this->getCell(Coordinate::stringFromColumnIndex($col) . $row)->setXfIndex($xfIndex); } } return $this; } /** * Duplicate conditional style to a range of cells. * * Please note that this will overwrite existing cell styles for cells in range! * * @param Conditional[] $styles Cell style to duplicate * @param string $range Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") * * @return $this */ public function duplicateConditionalStyle(array $styles, $range = '') { foreach ($styles as $cellStyle) { if (!($cellStyle instanceof Conditional)) { throw new Exception('Style is not a conditional style'); } } // Calculate range outer borders [$rangeStart, $rangeEnd] = Coordinate::rangeBoundaries($range . ':' . $range); // Make sure we can loop upwards on rows and columns if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) { $tmp = $rangeStart; $rangeStart = $rangeEnd; $rangeEnd = $tmp; } // Loop through cells and apply styles for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { $this->setConditionalStyles(Coordinate::stringFromColumnIndex($col) . $row, $styles); } } return $this; } /** * Set break on a cell. * * @param string $coordinate Cell coordinate (e.g. A1) * @param int $break Break type (type of Worksheet::BREAK_*) * * @return $this */ public function setBreak($coordinate, $break) { // Uppercase coordinate $coordinate = strtoupper($coordinate); if ($coordinate != '') { if ($break == self::BREAK_NONE) { if (isset($this->breaks[$coordinate])) { unset($this->breaks[$coordinate]); } } else { $this->breaks[$coordinate] = $break; } } else { throw new Exception('No cell coordinate specified.'); } return $this; } /** * Set break on a cell by using numeric cell coordinates. * * @param int $columnIndex Numeric column coordinate of the cell * @param int $row Numeric row coordinate of the cell * @param int $break Break type (type of Worksheet::BREAK_*) * * @return $this */ public function setBreakByColumnAndRow($columnIndex, $row, $break) { return $this->setBreak(Coordinate::stringFromColumnIndex($columnIndex) . $row, $break); } /** * Get breaks. * * @return int[] */ public function getBreaks() { return $this->breaks; } /** * Set merge on a cell range. * * @param string $range Cell range (e.g. A1:E1) * * @return $this */ public function mergeCells($range) { // Uppercase coordinate $range = strtoupper($range); if (strpos($range, ':') !== false) { $this->mergeCells[$range] = $range; // make sure cells are created // get the cells in the range $aReferences = Coordinate::extractAllCellReferencesInRange($range); // create upper left cell if it does not already exist $upperLeft = $aReferences[0]; if (!$this->cellExists($upperLeft)) { $this->getCell($upperLeft)->setValueExplicit(null, DataType::TYPE_NULL); } // Blank out the rest of the cells in the range (if they exist) $count = count($aReferences); for ($i = 1; $i < $count; ++$i) { if ($this->cellExists($aReferences[$i])) { $this->getCell($aReferences[$i])->setValueExplicit(null, DataType::TYPE_NULL); } } } else { throw new Exception('Merge must be set on a range of cells.'); } return $this; } /** * Set merge on a cell range by using numeric cell coordinates. * * @param int $columnIndex1 Numeric column coordinate of the first cell * @param int $row1 Numeric row coordinate of the first cell * @param int $columnIndex2 Numeric column coordinate of the last cell * @param int $row2 Numeric row coordinate of the last cell * * @return $this */ public function mergeCellsByColumnAndRow($columnIndex1, $row1, $columnIndex2, $row2) { $cellRange = Coordinate::stringFromColumnIndex($columnIndex1) . $row1 . ':' . Coordinate::stringFromColumnIndex($columnIndex2) . $row2; return $this->mergeCells($cellRange); } /** * Remove merge on a cell range. * * @param string $range Cell range (e.g. A1:E1) * * @return $this */ public function unmergeCells($range) { // Uppercase coordinate $range = strtoupper($range); if (strpos($range, ':') !== false) { if (isset($this->mergeCells[$range])) { unset($this->mergeCells[$range]); } else { throw new Exception('Cell range ' . $range . ' not known as merged.'); } } else { throw new Exception('Merge can only be removed from a range of cells.'); } return $this; } /** * Remove merge on a cell range by using numeric cell coordinates. * * @param int $columnIndex1 Numeric column coordinate of the first cell * @param int $row1 Numeric row coordinate of the first cell * @param int $columnIndex2 Numeric column coordinate of the last cell * @param int $row2 Numeric row coordinate of the last cell * * @return $this */ public function unmergeCellsByColumnAndRow($columnIndex1, $row1, $columnIndex2, $row2) { $cellRange = Coordinate::stringFromColumnIndex($columnIndex1) . $row1 . ':' . Coordinate::stringFromColumnIndex($columnIndex2) . $row2; return $this->unmergeCells($cellRange); } /** * Get merge cells array. * * @return string[] */ public function getMergeCells() { return $this->mergeCells; } /** * Set merge cells array for the entire sheet. Use instead mergeCells() to merge * a single cell range. * * @param string[] $mergeCells * * @return $this */ public function setMergeCells(array $mergeCells) { $this->mergeCells = $mergeCells; return $this; } /** * Set protection on a cell range. * * @param string $range Cell (e.g. A1) or cell range (e.g. A1:E1) * @param string $password Password to unlock the protection * @param bool $alreadyHashed If the password has already been hashed, set this to true * * @return $this */ public function protectCells($range, $password, $alreadyHashed = false) { // Uppercase coordinate $range = strtoupper($range); if (!$alreadyHashed) { $password = Shared\PasswordHasher::hashPassword($password); } $this->protectedCells[$range] = $password; return $this; } /** * Set protection on a cell range by using numeric cell coordinates. * * @param int $columnIndex1 Numeric column coordinate of the first cell * @param int $row1 Numeric row coordinate of the first cell * @param int $columnIndex2 Numeric column coordinate of the last cell * @param int $row2 Numeric row coordinate of the last cell * @param string $password Password to unlock the protection * @param bool $alreadyHashed If the password has already been hashed, set this to true * * @return $this */ public function protectCellsByColumnAndRow($columnIndex1, $row1, $columnIndex2, $row2, $password, $alreadyHashed = false) { $cellRange = Coordinate::stringFromColumnIndex($columnIndex1) . $row1 . ':' . Coordinate::stringFromColumnIndex($columnIndex2) . $row2; return $this->protectCells($cellRange, $password, $alreadyHashed); } /** * Remove protection on a cell range. * * @param string $range Cell (e.g. A1) or cell range (e.g. A1:E1) * * @return $this */ public function unprotectCells($range) { // Uppercase coordinate $range = strtoupper($range); if (isset($this->protectedCells[$range])) { unset($this->protectedCells[$range]); } else { throw new Exception('Cell range ' . $range . ' not known as protected.'); } return $this; } /** * Remove protection on a cell range by using numeric cell coordinates. * * @param int $columnIndex1 Numeric column coordinate of the first cell * @param int $row1 Numeric row coordinate of the first cell * @param int $columnIndex2 Numeric column coordinate of the last cell * @param int $row2 Numeric row coordinate of the last cell * * @return $this */ public function unprotectCellsByColumnAndRow($columnIndex1, $row1, $columnIndex2, $row2) { $cellRange = Coordinate::stringFromColumnIndex($columnIndex1) . $row1 . ':' . Coordinate::stringFromColumnIndex($columnIndex2) . $row2; return $this->unprotectCells($cellRange); } /** * Get protected cells. * * @return string[] */ public function getProtectedCells() { return $this->protectedCells; } /** * Get Autofilter. * * @return AutoFilter */ public function getAutoFilter() { return $this->autoFilter; } /** * Set AutoFilter. * * @param AutoFilter|string $autoFilterOrRange * A simple string containing a Cell range like 'A1:E10' is permitted for backward compatibility * * @return $this */ public function setAutoFilter($autoFilterOrRange) { if (is_string($autoFilterOrRange)) { $this->autoFilter->setRange($autoFilterOrRange); } elseif (is_object($autoFilterOrRange) && ($autoFilterOrRange instanceof AutoFilter)) { $this->autoFilter = $autoFilterOrRange; } return $this; } /** * Set Autofilter Range by using numeric cell coordinates. * * @param int $columnIndex1 Numeric column coordinate of the first cell * @param int $row1 Numeric row coordinate of the first cell * @param int $columnIndex2 Numeric column coordinate of the second cell * @param int $row2 Numeric row coordinate of the second cell * * @return $this */ public function setAutoFilterByColumnAndRow($columnIndex1, $row1, $columnIndex2, $row2) { return $this->setAutoFilter( Coordinate::stringFromColumnIndex($columnIndex1) . $row1 . ':' . Coordinate::stringFromColumnIndex($columnIndex2) . $row2 ); } /** * Remove autofilter. * * @return $this */ public function removeAutoFilter() { $this->autoFilter->setRange(null); return $this; } /** * Get Freeze Pane. * * @return null|string */ public function getFreezePane() { return $this->freezePane; } /** * Freeze Pane. * * Examples: * * - A2 will freeze the rows above cell A2 (i.e row 1) * - B1 will freeze the columns to the left of cell B1 (i.e column A) * - B2 will freeze the rows above and to the left of cell B2 (i.e row 1 and column A) * * @param null|string $cell Position of the split * @param null|string $topLeftCell default position of the right bottom pane * * @return $this */ public function freezePane($cell, $topLeftCell = null) { if (is_string($cell) && Coordinate::coordinateIsRange($cell)) { throw new Exception('Freeze pane can not be set on a range of cells.'); } if ($cell !== null && $topLeftCell === null) { $coordinate = Coordinate::coordinateFromString($cell); $topLeftCell = $coordinate[0] . $coordinate[1]; } $this->freezePane = $cell; $this->topLeftCell = $topLeftCell; return $this; } public function setTopLeftCell(string $topLeftCell): self { $this->topLeftCell = $topLeftCell; return $this; } /** * Freeze Pane by using numeric cell coordinates. * * @param int $columnIndex Numeric column coordinate of the cell * @param int $row Numeric row coordinate of the cell * * @return $this */ public function freezePaneByColumnAndRow($columnIndex, $row) { return $this->freezePane(Coordinate::stringFromColumnIndex($columnIndex) . $row); } /** * Unfreeze Pane. * * @return $this */ public function unfreezePane() { return $this->freezePane(null); } /** * Get the default position of the right bottom pane. * * @return null|string */ public function getTopLeftCell() { return $this->topLeftCell; } /** * Insert a new row, updating all possible related data. * * @param int $before Insert before this one * @param int $numberOfRows Number of rows to insert * * @return $this */ public function insertNewRowBefore($before, $numberOfRows = 1) { if ($before >= 1) { $objReferenceHelper = ReferenceHelper::getInstance(); $objReferenceHelper->insertNewBefore('A' . $before, 0, $numberOfRows, $this); } else { throw new Exception('Rows can only be inserted before at least row 1.'); } return $this; } /** * Insert a new column, updating all possible related data. * * @param string $before Insert before this one, eg: 'A' * @param int $numberOfColumns Number of columns to insert * * @return $this */ public function insertNewColumnBefore($before, $numberOfColumns = 1) { if (!is_numeric($before)) { $objReferenceHelper = ReferenceHelper::getInstance(); $objReferenceHelper->insertNewBefore($before . '1', $numberOfColumns, 0, $this); } else { throw new Exception('Column references should not be numeric.'); } return $this; } /** * Insert a new column, updating all possible related data. * * @param int $beforeColumnIndex Insert before this one (numeric column coordinate of the cell) * @param int $numberOfColumns Number of columns to insert * * @return $this */ public function insertNewColumnBeforeByIndex($beforeColumnIndex, $numberOfColumns = 1) { if ($beforeColumnIndex >= 1) { return $this->insertNewColumnBefore(Coordinate::stringFromColumnIndex($beforeColumnIndex), $numberOfColumns); } throw new Exception('Columns can only be inserted before at least column A (1).'); } /** * Delete a row, updating all possible related data. * * @param int $row Remove starting with this one * @param int $numberOfRows Number of rows to remove * * @return $this */ public function removeRow($row, $numberOfRows = 1) { if ($row < 1) { throw new Exception('Rows to be deleted should at least start from row 1.'); } $highestRow = $this->getHighestDataRow(); $removedRowsCounter = 0; for ($r = 0; $r < $numberOfRows; ++$r) { if ($row + $r <= $highestRow) { $this->getCellCollection()->removeRow($row + $r); ++$removedRowsCounter; } } $objReferenceHelper = ReferenceHelper::getInstance(); $objReferenceHelper->insertNewBefore('A' . ($row + $numberOfRows), 0, -$numberOfRows, $this); for ($r = 0; $r < $removedRowsCounter; ++$r) { $this->getCellCollection()->removeRow($highestRow); --$highestRow; } return $this; } /** * Remove a column, updating all possible related data. * * @param string $column Remove starting with this one, eg: 'A' * @param int $numberOfColumns Number of columns to remove * * @return $this */ public function removeColumn($column, $numberOfColumns = 1) { if (is_numeric($column)) { throw new Exception('Column references should not be numeric.'); } $highestColumn = $this->getHighestDataColumn(); $highestColumnIndex = Coordinate::columnIndexFromString($highestColumn); $pColumnIndex = Coordinate::columnIndexFromString($column); if ($pColumnIndex > $highestColumnIndex) { return $this; } $column = Coordinate::stringFromColumnIndex($pColumnIndex + $numberOfColumns); $objReferenceHelper = ReferenceHelper::getInstance(); $objReferenceHelper->insertNewBefore($column . '1', -$numberOfColumns, 0, $this); $maxPossibleColumnsToBeRemoved = $highestColumnIndex - $pColumnIndex + 1; for ($c = 0, $n = min($maxPossibleColumnsToBeRemoved, $numberOfColumns); $c < $n; ++$c) { $this->getCellCollection()->removeColumn($highestColumn); $highestColumn = Coordinate::stringFromColumnIndex(Coordinate::columnIndexFromString($highestColumn) - 1); } $this->garbageCollect(); return $this; } /** * Remove a column, updating all possible related data. * * @param int $columnIndex Remove starting with this one (numeric column coordinate of the cell) * @param int $numColumns Number of columns to remove * * @return $this */ public function removeColumnByIndex($columnIndex, $numColumns = 1) { if ($columnIndex >= 1) { return $this->removeColumn(Coordinate::stringFromColumnIndex($columnIndex), $numColumns); } throw new Exception('Columns to be deleted should at least start from column A (1)'); } /** * Show gridlines? * * @return bool */ public function getShowGridlines() { return $this->showGridlines; } /** * Set show gridlines. * * @param bool $showGridLines Show gridlines (true/false) * * @return $this */ public function setShowGridlines($showGridLines) { $this->showGridlines = $showGridLines; return $this; } /** * Print gridlines? * * @return bool */ public function getPrintGridlines() { return $this->printGridlines; } /** * Set print gridlines. * * @param bool $printGridLines Print gridlines (true/false) * * @return $this */ public function setPrintGridlines($printGridLines) { $this->printGridlines = $printGridLines; return $this; } /** * Show row and column headers? * * @return bool */ public function getShowRowColHeaders() { return $this->showRowColHeaders; } /** * Set show row and column headers. * * @param bool $showRowColHeaders Show row and column headers (true/false) * * @return $this */ public function setShowRowColHeaders($showRowColHeaders) { $this->showRowColHeaders = $showRowColHeaders; return $this; } /** * Show summary below? (Row/Column outlining). * * @return bool */ public function getShowSummaryBelow() { return $this->showSummaryBelow; } /** * Set show summary below. * * @param bool $showSummaryBelow Show summary below (true/false) * * @return $this */ public function setShowSummaryBelow($showSummaryBelow) { $this->showSummaryBelow = $showSummaryBelow; return $this; } /** * Show summary right? (Row/Column outlining). * * @return bool */ public function getShowSummaryRight() { return $this->showSummaryRight; } /** * Set show summary right. * * @param bool $showSummaryRight Show summary right (true/false) * * @return $this */ public function setShowSummaryRight($showSummaryRight) { $this->showSummaryRight = $showSummaryRight; return $this; } /** * Get comments. * * @return Comment[] */ public function getComments() { return $this->comments; } /** * Set comments array for the entire sheet. * * @param Comment[] $comments * * @return $this */ public function setComments(array $comments) { $this->comments = $comments; return $this; } /** * Get comment for cell. * * @param string $cellCoordinate Cell coordinate to get comment for, eg: 'A1' * * @return Comment */ public function getComment($cellCoordinate) { // Uppercase coordinate $cellCoordinate = strtoupper($cellCoordinate); if (Coordinate::coordinateIsRange($cellCoordinate)) { throw new Exception('Cell coordinate string can not be a range of cells.'); } elseif (strpos($cellCoordinate, '$') !== false) { throw new Exception('Cell coordinate string must not be absolute.'); } elseif ($cellCoordinate == '') { throw new Exception('Cell coordinate can not be zero-length string.'); } // Check if we already have a comment for this cell. if (isset($this->comments[$cellCoordinate])) { return $this->comments[$cellCoordinate]; } // If not, create a new comment. $newComment = new Comment(); $this->comments[$cellCoordinate] = $newComment; return $newComment; } /** * Get comment for cell by using numeric cell coordinates. * * @param int $columnIndex Numeric column coordinate of the cell * @param int $row Numeric row coordinate of the cell * * @return Comment */ public function getCommentByColumnAndRow($columnIndex, $row) { return $this->getComment(Coordinate::stringFromColumnIndex($columnIndex) . $row); } /** * Get active cell. * * @return string Example: 'A1' */ public function getActiveCell() { return $this->activeCell; } /** * Get selected cells. * * @return string */ public function getSelectedCells() { return $this->selectedCells; } /** * Selected cell. * * @param string $coordinate Cell (i.e. A1) * * @return $this */ public function setSelectedCell($coordinate) { return $this->setSelectedCells($coordinate); } /** * Sigh - Phpstan thinks, correctly, that preg_replace can return null. * But Scrutinizer doesn't. Try to satisfy both. * * @param mixed $str */ private static function ensureString($str): string { return is_string($str) ? $str : ''; } public static function pregReplace(string $pattern, string $replacement, string $subject): string { return self::ensureString(preg_replace($pattern, $replacement, $subject)); } private function tryDefinedName(string $coordinate): string { // Uppercase coordinate $coordinate = strtoupper($coordinate); // Eliminate leading equal sign $coordinate = self::pregReplace('/^=/', '', $coordinate); $defined = $this->parent->getDefinedName($coordinate, $this); if ($defined !== null) { if ($defined->getWorksheet() === $this && !$defined->isFormula()) { $coordinate = self::pregReplace('/^=/', '', $defined->getValue()); } } return $coordinate; } /** * Select a range of cells. * * @param string $coordinate Cell range, examples: 'A1', 'B2:G5', 'A:C', '3:6' * * @return $this */ public function setSelectedCells($coordinate) { $originalCoordinate = $coordinate; $coordinate = $this->tryDefinedName($coordinate); // Convert 'A' to 'A:A' $coordinate = self::pregReplace('/^([A-Z]+)$/', '${1}:${1}', $coordinate); // Convert '1' to '1:1' $coordinate = self::pregReplace('/^(\d+)$/', '${1}:${1}', $coordinate); // Convert 'A:C' to 'A1:C1048576' $coordinate = self::pregReplace('/^([A-Z]+):([A-Z]+)$/', '${1}1:${2}1048576', $coordinate); // Convert '1:3' to 'A1:XFD3' $coordinate = self::pregReplace('/^(\d+):(\d+)$/', 'A${1}:XFD${2}', $coordinate); if (preg_match('/^\\$?[A-Z]{1,3}\\$?\d{1,7}(:\\$?[A-Z]{1,3}\\$?\d{1,7})?$/', $coordinate) !== 1) { throw new Exception("Invalid setSelectedCells $originalCoordinate $coordinate"); } if (Coordinate::coordinateIsRange($coordinate)) { [$first] = Coordinate::splitRange($coordinate); $this->activeCell = $first[0]; } else { $this->activeCell = $coordinate; } $this->selectedCells = $coordinate; return $this; } /** * Selected cell by using numeric cell coordinates. * * @param int $columnIndex Numeric column coordinate of the cell * @param int $row Numeric row coordinate of the cell * * @return $this */ public function setSelectedCellByColumnAndRow($columnIndex, $row) { return $this->setSelectedCells(Coordinate::stringFromColumnIndex($columnIndex) . $row); } /** * Get right-to-left. * * @return bool */ public function getRightToLeft() { return $this->rightToLeft; } /** * Set right-to-left. * * @param bool $value Right-to-left true/false * * @return $this */ public function setRightToLeft($value) { $this->rightToLeft = $value; return $this; } /** * Fill worksheet from values in array. * * @param array $source Source array * @param mixed $nullValue Value in source array that stands for blank cell * @param string $startCell Insert array starting from this cell address as the top left coordinate * @param bool $strictNullComparison Apply strict comparison when testing for null values in the array * * @return $this */ public function fromArray(array $source, $nullValue = null, $startCell = 'A1', $strictNullComparison = false) { // Convert a 1-D array to 2-D (for ease of looping) if (!is_array(end($source))) { $source = [$source]; } // start coordinate [$startColumn, $startRow] = Coordinate::coordinateFromString($startCell); // Loop through $source foreach ($source as $rowData) { $currentColumn = $startColumn; foreach ($rowData as $cellValue) { if ($strictNullComparison) { if ($cellValue !== $nullValue) { // Set cell value $this->getCell($currentColumn . $startRow)->setValue($cellValue); } } else { if ($cellValue != $nullValue) { // Set cell value $this->getCell($currentColumn . $startRow)->setValue($cellValue); } } ++$currentColumn; } ++$startRow; } return $this; } /** * Create array from a range of cells. * * @param string $range Range of cells (i.e. "A1:B10"), or just one cell (i.e. "A1") * @param mixed $nullValue Value returned in the array entry if a cell doesn't exist * @param bool $calculateFormulas Should formulas be calculated? * @param bool $formatData Should formatting be applied to cell values? * @param bool $returnCellRef False - Return a simple array of rows and columns indexed by number counting from zero * True - Return rows and columns indexed by their actual row and column IDs * * @return array */ public function rangeToArray($range, $nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false) { // Returnvalue $returnValue = []; // Identify the range that we need to extract from the worksheet [$rangeStart, $rangeEnd] = Coordinate::rangeBoundaries($range); $minCol = Coordinate::stringFromColumnIndex($rangeStart[0]); $minRow = $rangeStart[1]; $maxCol = Coordinate::stringFromColumnIndex($rangeEnd[0]); $maxRow = $rangeEnd[1]; ++$maxCol; // Loop through rows $r = -1; for ($row = $minRow; $row <= $maxRow; ++$row) { $rRef = $returnCellRef ? $row : ++$r; $c = -1; // Loop through columns in the current row for ($col = $minCol; $col != $maxCol; ++$col) { $cRef = $returnCellRef ? $col : ++$c; // Using getCell() will create a new cell if it doesn't already exist. We don't want that to happen // so we test and retrieve directly against cellCollection if ($this->cellCollection->has($col . $row)) { // Cell exists $cell = $this->cellCollection->get($col . $row); if ($cell->getValue() !== null) { if ($cell->getValue() instanceof RichText) { $returnValue[$rRef][$cRef] = $cell->getValue()->getPlainText(); } else { if ($calculateFormulas) { $returnValue[$rRef][$cRef] = $cell->getCalculatedValue(); } else { $returnValue[$rRef][$cRef] = $cell->getValue(); } } if ($formatData) { $style = $this->parent->getCellXfByIndex($cell->getXfIndex()); $returnValue[$rRef][$cRef] = NumberFormat::toFormattedString( $returnValue[$rRef][$cRef], ($style && $style->getNumberFormat()) ? $style->getNumberFormat()->getFormatCode() : NumberFormat::FORMAT_GENERAL ); } } else { // Cell holds a NULL $returnValue[$rRef][$cRef] = $nullValue; } } else { // Cell doesn't exist $returnValue[$rRef][$cRef] = $nullValue; } } } // Return return $returnValue; } private function validateNamedRange(string $definedName, bool $returnNullIfInvalid = false): ?DefinedName { $namedRange = DefinedName::resolveName($definedName, $this); if ($namedRange === null) { if ($returnNullIfInvalid) { return null; } throw new Exception('Named Range ' . $definedName . ' does not exist.'); } if ($namedRange->isFormula()) { if ($returnNullIfInvalid) { return null; } throw new Exception('Defined Named ' . $definedName . ' is a formula, not a range or cell.'); } if ($namedRange->getLocalOnly() && $this->getHashCode() !== $namedRange->getWorksheet()->getHashCode()) { if ($returnNullIfInvalid) { return null; } throw new Exception( 'Named range ' . $definedName . ' is not accessible from within sheet ' . $this->getTitle() ); } return $namedRange; } /** * Create array from a range of cells. * * @param string $definedName The Named Range that should be returned * @param mixed $nullValue Value returned in the array entry if a cell doesn't exist * @param bool $calculateFormulas Should formulas be calculated? * @param bool $formatData Should formatting be applied to cell values? * @param bool $returnCellRef False - Return a simple array of rows and columns indexed by number counting from zero * True - Return rows and columns indexed by their actual row and column IDs * * @return array */ public function namedRangeToArray(string $definedName, $nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false) { $namedRange = $this->validateNamedRange($definedName); $workSheet = $namedRange->getWorksheet(); $cellRange = ltrim(substr($namedRange->getValue(), strrpos($namedRange->getValue(), '!')), '!'); $cellRange = str_replace('$', '', $cellRange); return $workSheet->rangeToArray($cellRange, $nullValue, $calculateFormulas, $formatData, $returnCellRef); } /** * Create array from worksheet. * * @param mixed $nullValue Value returned in the array entry if a cell doesn't exist * @param bool $calculateFormulas Should formulas be calculated? * @param bool $formatData Should formatting be applied to cell values? * @param bool $returnCellRef False - Return a simple array of rows and columns indexed by number counting from zero * True - Return rows and columns indexed by their actual row and column IDs * * @return array */ public function toArray($nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false) { // Garbage collect... $this->garbageCollect(); // Identify the range that we need to extract from the worksheet $maxCol = $this->getHighestColumn(); $maxRow = $this->getHighestRow(); // Return return $this->rangeToArray('A1:' . $maxCol . $maxRow, $nullValue, $calculateFormulas, $formatData, $returnCellRef); } /** * Get row iterator. * * @param int $startRow The row number at which to start iterating * @param int $endRow The row number at which to stop iterating * * @return RowIterator */ public function getRowIterator($startRow = 1, $endRow = null) { return new RowIterator($this, $startRow, $endRow); } /** * Get column iterator. * * @param string $startColumn The column address at which to start iterating * @param string $endColumn The column address at which to stop iterating * * @return ColumnIterator */ public function getColumnIterator($startColumn = 'A', $endColumn = null) { return new ColumnIterator($this, $startColumn, $endColumn); } /** * Run PhpSpreadsheet garbage collector. * * @return $this */ public function garbageCollect() { // Flush cache $this->cellCollection->get('A1'); // Lookup highest column and highest row if cells are cleaned $colRow = $this->cellCollection->getHighestRowAndColumn(); $highestRow = $colRow['row']; $highestColumn = Coordinate::columnIndexFromString($colRow['column']); // Loop through column dimensions foreach ($this->columnDimensions as $dimension) { $highestColumn = max($highestColumn, Coordinate::columnIndexFromString($dimension->getColumnIndex())); } // Loop through row dimensions foreach ($this->rowDimensions as $dimension) { $highestRow = max($highestRow, $dimension->getRowIndex()); } // Cache values if ($highestColumn < 1) { $this->cachedHighestColumn = 1; } else { $this->cachedHighestColumn = $highestColumn; } $this->cachedHighestRow = $highestRow; // Return return $this; } /** * Get hash code. * * @return string Hash code */ public function getHashCode() { if ($this->dirty) { $this->hash = md5($this->title . $this->autoFilter . ($this->protection->isProtectionEnabled() ? 't' : 'f') . __CLASS__); $this->dirty = false; } return $this->hash; } /** * Extract worksheet title from range. * * Example: extractSheetTitle("testSheet!A1") ==> 'A1' * Example: extractSheetTitle("'testSheet 1'!A1", true) ==> ['testSheet 1', 'A1']; * * @param string $range Range to extract title from * @param bool $returnRange Return range? (see example) * * @return mixed */ public static function extractSheetTitle($range, $returnRange = false) { // Sheet title included? if (($sep = strrpos($range, '!')) === false) { return $returnRange ? ['', $range] : ''; } if ($returnRange) { return [substr($range, 0, $sep), substr($range, $sep + 1)]; } return substr($range, $sep + 1); } /** * Get hyperlink. * * @param string $cellCoordinate Cell coordinate to get hyperlink for, eg: 'A1' * * @return Hyperlink */ public function getHyperlink($cellCoordinate) { // return hyperlink if we already have one if (isset($this->hyperlinkCollection[$cellCoordinate])) { return $this->hyperlinkCollection[$cellCoordinate]; } // else create hyperlink $this->hyperlinkCollection[$cellCoordinate] = new Hyperlink(); return $this->hyperlinkCollection[$cellCoordinate]; } /** * Set hyperlink. * * @param string $cellCoordinate Cell coordinate to insert hyperlink, eg: 'A1' * * @return $this */ public function setHyperlink($cellCoordinate, ?Hyperlink $hyperlink = null) { if ($hyperlink === null) { unset($this->hyperlinkCollection[$cellCoordinate]); } else { $this->hyperlinkCollection[$cellCoordinate] = $hyperlink; } return $this; } /** * Hyperlink at a specific coordinate exists? * * @param string $coordinate eg: 'A1' * * @return bool */ public function hyperlinkExists($coordinate) { return isset($this->hyperlinkCollection[$coordinate]); } /** * Get collection of hyperlinks. * * @return Hyperlink[] */ public function getHyperlinkCollection() { return $this->hyperlinkCollection; } /** * Get data validation. * * @param string $cellCoordinate Cell coordinate to get data validation for, eg: 'A1' * * @return DataValidation */ public function getDataValidation($cellCoordinate) { // return data validation if we already have one if (isset($this->dataValidationCollection[$cellCoordinate])) { return $this->dataValidationCollection[$cellCoordinate]; } // else create data validation $this->dataValidationCollection[$cellCoordinate] = new DataValidation(); return $this->dataValidationCollection[$cellCoordinate]; } /** * Set data validation. * * @param string $cellCoordinate Cell coordinate to insert data validation, eg: 'A1' * * @return $this */ public function setDataValidation($cellCoordinate, ?DataValidation $dataValidation = null) { if ($dataValidation === null) { unset($this->dataValidationCollection[$cellCoordinate]); } else { $this->dataValidationCollection[$cellCoordinate] = $dataValidation; } return $this; } /** * Data validation at a specific coordinate exists? * * @param string $coordinate eg: 'A1' * * @return bool */ public function dataValidationExists($coordinate) { return isset($this->dataValidationCollection[$coordinate]); } /** * Get collection of data validations. * * @return DataValidation[] */ public function getDataValidationCollection() { return $this->dataValidationCollection; } /** * Accepts a range, returning it as a range that falls within the current highest row and column of the worksheet. * * @param string $range * * @return string Adjusted range value */ public function shrinkRangeToFit($range) { $maxCol = $this->getHighestColumn(); $maxRow = $this->getHighestRow(); $maxCol = Coordinate::columnIndexFromString($maxCol); $rangeBlocks = explode(' ', $range); foreach ($rangeBlocks as &$rangeSet) { $rangeBoundaries = Coordinate::getRangeBoundaries($rangeSet); if (Coordinate::columnIndexFromString($rangeBoundaries[0][0]) > $maxCol) { $rangeBoundaries[0][0] = Coordinate::stringFromColumnIndex($maxCol); } if ($rangeBoundaries[0][1] > $maxRow) { $rangeBoundaries[0][1] = $maxRow; } if (Coordinate::columnIndexFromString($rangeBoundaries[1][0]) > $maxCol) { $rangeBoundaries[1][0] = Coordinate::stringFromColumnIndex($maxCol); } if ($rangeBoundaries[1][1] > $maxRow) { $rangeBoundaries[1][1] = $maxRow; } $rangeSet = $rangeBoundaries[0][0] . $rangeBoundaries[0][1] . ':' . $rangeBoundaries[1][0] . $rangeBoundaries[1][1]; } unset($rangeSet); return implode(' ', $rangeBlocks); } /** * Get tab color. * * @return Color */ public function getTabColor() { if ($this->tabColor === null) { $this->tabColor = new Color(); } return $this->tabColor; } /** * Reset tab color. * * @return $this */ public function resetTabColor() { $this->tabColor = null; return $this; } /** * Tab color set? * * @return bool */ public function isTabColorSet() { return $this->tabColor !== null; } /** * Copy worksheet (!= clone!). * * @return static */ public function copy() { return clone $this; } /** * Implement PHP __clone to create a deep clone, not just a shallow copy. */ public function __clone() { // @phpstan-ignore-next-line foreach ($this as $key => $val) { if ($key == 'parent') { continue; } if (is_object($val) || (is_array($val))) { if ($key == 'cellCollection') { $newCollection = $this->cellCollection->cloneCellCollection($this); $this->cellCollection = $newCollection; } elseif ($key == 'drawingCollection') { $currentCollection = $this->drawingCollection; $this->drawingCollection = new ArrayObject(); foreach ($currentCollection as $item) { if (is_object($item)) { $newDrawing = clone $item; $newDrawing->setWorksheet($this); } } } elseif (($key == 'autoFilter') && ($this->autoFilter instanceof AutoFilter)) { $newAutoFilter = clone $this->autoFilter; $this->autoFilter = $newAutoFilter; $this->autoFilter->setParent($this); } else { $this->{$key} = unserialize(serialize($val)); } } } } /** * Define the code name of the sheet. * * @param string $codeName Same rule as Title minus space not allowed (but, like Excel, change * silently space to underscore) * @param bool $validate False to skip validation of new title. WARNING: This should only be set * at parse time (by Readers), where titles can be assumed to be valid. * * @return $this */ public function setCodeName($codeName, $validate = true) { // Is this a 'rename' or not? if ($this->getCodeName() == $codeName) { return $this; } if ($validate) { $codeName = str_replace(' ', '_', $codeName); //Excel does this automatically without flinching, we are doing the same // Syntax check // throw an exception if not valid self::checkSheetCodeName($codeName); // We use the same code that setTitle to find a valid codeName else not using a space (Excel don't like) but a '_' if ($this->getParent()) { // Is there already such sheet name? if ($this->getParent()->sheetCodeNameExists($codeName)) { // Use name, but append with lowest possible integer if (Shared\StringHelper::countCharacters($codeName) > 29) { $codeName = Shared\StringHelper::substring($codeName, 0, 29); } $i = 1; while ($this->getParent()->sheetCodeNameExists($codeName . '_' . $i)) { ++$i; if ($i == 10) { if (Shared\StringHelper::countCharacters($codeName) > 28) { $codeName = Shared\StringHelper::substring($codeName, 0, 28); } } elseif ($i == 100) { if (Shared\StringHelper::countCharacters($codeName) > 27) { $codeName = Shared\StringHelper::substring($codeName, 0, 27); } } } $codeName .= '_' . $i; // ok, we have a valid name } } } $this->codeName = $codeName; return $this; } /** * Return the code name of the sheet. * * @return null|string */ public function getCodeName() { return $this->codeName; } /** * Sheet has a code name ? * * @return bool */ public function hasCodeName() { return $this->codeName !== null; } }
collectiveaccess/pawtucket2
vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php
PHP
gpl-3.0
89,151
[ 30522, 1026, 1029, 25718, 3415, 15327, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 2573, 21030, 2102, 1025, 2224, 9140, 16429, 20614, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 17208, 1032, 17208, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 3526, 1032, 3526, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 3526, 1032, 13530, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 3526, 1032, 2951, 13874, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 3526, 1032, 2951, 10175, 8524, 3508, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 3526, 1032, 23760, 13767, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 3673, 1032, 3673, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 3074, 1032, 4442, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 3074, 1032, 4442, 21450, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 7615, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 4225, 18442, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 6453, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 24582, 25377, 25236, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 4431, 16001, 4842, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 4138, 18209, 1032, 4138, 18209, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 4207, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 20861, 21030, 2102, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 2806, 1032, 3609, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 2806, 1032, 18462, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 2806, 1032, 2193, 14192, 4017, 1025, 2224, 25718, 7245, 6610, 1032, 25718, 13102, 16416, 5104, 21030, 2102, 1032, 2806, 1032, 30524, 1013, 1013, 7123, 2110, 9530, 3367, 8697, 12259, 1035, 5710, 1027, 1005, 5710, 1005, 1025, 9530, 3367, 8697, 12259, 1035, 5023, 1027, 1005, 5023, 1005, 1025, 9530, 3367, 8697, 12259, 1035, 2200, 27511, 4181, 1027, 1005, 2200, 27511, 4181, 1005, 1025, 1013, 1008, 1008, 1008, 4555, 2861, 3494, 3039, 2005, 7123, 2516, 1012, 1008, 1008, 1030, 13075, 20014, 1008, 1013, 9530, 3367, 7123, 1035, 2516, 1035, 4555, 1035, 3091, 1027, 2861, 1025, 1013, 1008, 1008, 1008, 19528, 3494, 1999, 7123, 2516, 1012, 1008, 1008, 1030, 13075, 9140, 1008, 1013, 2797, 10763, 1002, 19528, 7507, 22648, 7747, 1027, 30523, 2806, 1025, 2465, 2573, 21030, 2102, 22164, 24582, 25377, 25236, 1063, 1013, 1013, 3338, 4127, 9530, 3367, 3338, 1035, 3904, 1027, 1014, 1025, 9530, 3367, 3338, 1035, 5216, 1027, 1015, 1025, 9530, 3367, 3338, 1035, 5930, 1027, 1016, 1025, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2806, 1025, 2465, 2573, 21030, 2102, 22164, 24582, 25377, 25236, 1063, 1013, 1013, 3338, 4127, 9530, 3367, 3338, 1035, 3904, 1027, 1014, 1025, 9530, 3367, 3338, 1035, 5216, 1027, 1015, 1025, 9530, 3367, 3338, 1035, 5930, 1027, 1016, 1025, 30526 ]
/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 2012 - 2013, Digium, Inc. * * David M. Lee, II <[email protected]> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of this project for assistance; * the project provides a web site, mailing lists and IRC * channels for your use. * * This program is free software, distributed under the terms of * the GNU General Public License Version 2. See the LICENSE file * at the top of the source tree. */ /*! \file * * \brief Stasis dialplan application. * * \author David M. Lee, II <[email protected]> */ /*** MODULEINFO <depend>res_stasis</depend> <support_level>core</support_level> ***/ #include "asterisk.h" ASTERISK_FILE_VERSION(__FILE__, "$Revision: 392777 $") #include "asterisk/app.h" #include "asterisk/module.h" #include "asterisk/stasis.h" #include "asterisk/stasis_app_impl.h" /*** DOCUMENTATION <application name="Stasis" language="en_US"> <synopsis>Invoke an external Stasis application.</synopsis> <syntax> <parameter name="app_name" required="true"> <para>Name of the application to invoke.</para> </parameter> <parameter name="args"> <para>Optional comma-delimited arguments for the application invocation.</para> </parameter> </syntax> <description> <para> Invoke a Stasis application. </para> </description> </application> ***/ /*! \brief Maximum number of arguments for the Stasis dialplan application */ #define MAX_ARGS 128 /*! \brief Dialplan application name */ static const char *stasis = "Stasis"; /*! /brief Stasis dialplan application callback */ static int app_exec(struct ast_channel *chan, const char *data) { char *parse = NULL; AST_DECLARE_APP_ARGS(args, AST_APP_ARG(app_name); AST_APP_ARG(app_argv)[MAX_ARGS]; ); ast_assert(chan != NULL); ast_assert(data != NULL); /* parse the arguments */ parse = ast_strdupa(data); AST_STANDARD_APP_ARGS(args, parse); if (args.argc < 1) { ast_log(LOG_WARNING, "Stasis app_name argument missing\n"); return -1; } return stasis_app_exec( chan, args.app_name, args.argc - 1, args.app_argv); } static int load_module(void) { int r = 0; stasis_app_ref(); r |= ast_register_application_xml(stasis, app_exec); return r; } static int unload_module(void) { int r = 0; r |= ast_unregister_application(stasis); stasis_app_unref(); return r; } AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Stasis dialplan application", .load = load_module, .unload = unload_module, .nonoptreq = "res_stasis", );
truongduy134/asterisk
apps/app_stasis.c
C
gpl-2.0
2,635
[ 30522, 1013, 1008, 1008, 2004, 3334, 20573, 1011, 1011, 2019, 2330, 3120, 10093, 13699, 27629, 6994, 23615, 1012, 1008, 1008, 9385, 1006, 1039, 1007, 2262, 1011, 2286, 1010, 10667, 5007, 1010, 4297, 1012, 1008, 1008, 2585, 30524, 1997, 1996, 5441, 2545, 1997, 2023, 2622, 2005, 5375, 1025, 1008, 1996, 2622, 3640, 1037, 4773, 2609, 1010, 5653, 2075, 7201, 1998, 20868, 2278, 1008, 6833, 2005, 2115, 2224, 1012, 1008, 1008, 2023, 2565, 2003, 2489, 4007, 1010, 5500, 2104, 1996, 3408, 1997, 1008, 1996, 27004, 2236, 2270, 6105, 2544, 1016, 1012, 2156, 1996, 6105, 5371, 1008, 2012, 1996, 2327, 1997, 1996, 3120, 3392, 1012, 1008, 1013, 1013, 1008, 999, 1032, 5371, 1008, 1008, 1032, 4766, 2358, 21369, 2015, 13764, 24759, 2319, 4646, 1012, 1008, 1008, 1032, 3166, 2585, 1049, 1012, 3389, 1010, 2462, 1026, 21469, 4402, 1030, 10667, 5007, 1012, 4012, 1028, 1008, 1013, 1013, 1008, 1008, 1008, 11336, 2378, 14876, 1026, 12530, 1028, 24501, 1035, 2358, 21369, 2015, 1026, 1013, 12530, 1028, 1026, 2490, 1035, 2504, 1028, 4563, 1026, 1013, 2490, 1035, 2504, 1028, 1008, 1008, 1008, 1013, 1001, 2421, 1000, 2004, 3334, 20573, 1012, 1044, 1000, 2004, 3334, 20573, 1035, 5371, 1035, 2544, 1006, 1035, 1035, 5371, 1035, 1035, 1010, 1000, 1002, 13921, 1024, 4464, 22907, 2581, 2581, 1002, 1000, 1007, 1001, 2421, 1000, 2004, 3334, 20573, 1013, 10439, 1012, 1044, 1000, 1001, 2421, 1000, 2004, 3334, 20573, 1013, 11336, 1012, 1044, 1000, 1001, 2421, 1000, 2004, 3334, 20573, 1013, 2358, 21369, 2015, 1012, 1044, 1000, 1001, 2421, 1000, 2004, 3334, 20573, 1013, 2358, 21369, 2015, 1035, 10439, 1035, 17727, 2140, 1012, 1044, 1000, 1013, 1008, 1008, 1008, 12653, 1026, 4646, 2171, 1027, 1000, 2358, 21369, 2015, 1000, 2653, 1027, 1000, 4372, 1035, 2149, 1000, 1028, 1026, 19962, 22599, 1028, 1999, 6767, 3489, 2019, 6327, 2358, 21369, 2015, 4646, 1012, 1026, 1013, 19962, 22599, 1028, 1026, 20231, 1028, 1026, 16381, 2171, 1027, 1000, 10439, 1035, 2171, 1000, 3223, 1027, 1000, 2995, 1000, 1028, 1026, 11498, 1028, 2171, 1997, 1996, 4646, 2000, 1999, 6767, 3489, 1012, 1026, 1013, 11498, 1028, 1026, 1013, 16381, 1028, 1026, 16381, 2171, 1027, 1000, 12098, 5620, 1000, 1028, 1026, 11498, 1028, 11887, 4012, 2863, 1011, 3972, 27605, 3064, 9918, 2005, 1996, 4646, 1999, 19152, 1012, 1026, 1013, 11498, 1028, 1026, 1013, 16381, 1028, 1026, 1013, 20231, 1028, 1026, 6412, 1028, 1026, 11498, 1028, 1999, 6767, 3489, 1037, 2358, 21369, 2015, 4646, 1012, 1026, 1013, 11498, 1028, 1026, 1013, 6412, 1028, 1026, 1013, 4646, 1028, 1008, 1008, 1008, 1013, 1013, 1008, 999, 1032, 4766, 4555, 2193, 1997, 9918, 2005, 1996, 2358, 21369, 2015, 13764, 24759, 2319, 4646, 1008, 1013, 1001, 9375, 4098, 1035, 12098, 5620, 11899, 1013, 1008, 999, 1032, 4766, 13764, 24759, 2319, 4646, 2171, 1008, 1013, 10763, 9530, 3367, 30523, 1049, 1012, 3389, 1010, 2462, 1026, 21469, 4402, 1030, 10667, 5007, 1012, 4012, 1028, 1008, 1008, 2156, 8299, 1024, 1013, 1013, 7479, 1012, 2004, 3334, 20573, 1012, 8917, 2005, 2062, 2592, 2055, 1008, 1996, 2004, 3334, 20573, 2622, 1012, 3531, 2079, 2025, 3495, 3967, 1008, 2151, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1049, 1012, 3389, 1010, 2462, 1026, 21469, 4402, 1030, 10667, 5007, 1012, 4012, 1028, 1008, 1008, 2156, 8299, 1024, 1013, 1013, 7479, 1012, 2004, 3334, 20573, 1012, 8917, 2005, 2062, 2592, 2055, 1008, 1996, 2004, 3334, 20573, 2622, 1012, 3531, 2079, 2025, 3495, 3967, 1008, 2151, 30526 ]
select Material.Id as Material_Id,Materiel.Price as Price, Materiel.State as State,Materiel_Main.Caption as Caption from Material_Org inner join Materiel on Material_Org.Material_Id = Materiel.Id inner join Materiel_Main on Materiel.Material_Main_Id = Materiel_Main.Id where Org_Id = 1 and Version = 0
MyErpSoft/System.ERP.Documents
Database Demos/DataVersion/v2/select all materiel in org.sql
SQL
mit
316
[ 30522, 7276, 3430, 1012, 8909, 2004, 3430, 1035, 8909, 1010, 16289, 9257, 1012, 3976, 2004, 3976, 1010, 16289, 9257, 1012, 2110, 2004, 2110, 1010, 16289, 9257, 1035, 2364, 1012, 14408, 3258, 2004, 14408, 3258, 2013, 3430, 1035, 8917, 5110, 3693, 16289, 9257, 2006, 3430, 1035, 8917, 1012, 3430, 1035, 8909, 1027, 16289, 9257, 1012, 8909, 5110, 3693, 16289, 9257, 1035, 2364, 2006, 16289, 9257, 1012, 3430, 1035, 2364, 1035, 8909, 1027, 16289, 9257, 1035, 2364, 1012, 8909, 2073, 8917, 1035, 8909, 1027, 1015, 1998, 2544, 1027, 1014, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 30526 ]
import time, copy import os, os.path import sys import numpy from PyQt4.QtCore import * from PyQt4.QtGui import * from scipy import optimize from echem_plate_ui import * from echem_plate_math import * import pickle p1='C:/Users/Gregoire/Documents/CaltechWork/echemdrop/2012-9_FeCoNiTi/results/echemplots/2012-9_FeCoNiTi_500C_fastCPCV_plate1_dlist_1066.dat' p2='C:/Users/Gregoire/Documents/CaltechWork/echemdrop/2012-9_FeCoNiTi/results/echemplots/2012-9_FeCoNiTi_500C_fastCPCV_plate1_dlist_1662.dat' pill='C:/Users/Gregoire/Documents/CaltechWork/echemdrop/2012-9_FeCoNiTi/results/echemplots/2012-9FeCoNiTi_500C_CAill_plate1_dlist_1164.dat' os.chdir('C:/Users/Gregoire/Documents/CaltechWork/echemdrop/2012-9_FeCoNiTi/results/echemplots') vshift=-.24 imult=1.e6 cai0, cai1=(0, 6500) f=open(p1, mode='r') d1=pickle.load(f) f.close() f=open(p2, mode='r') d2=pickle.load(f) f.close() f=open(pill, mode='r') dill=pickle.load(f) f.close() segd1up, segd1dn=d1['segprops_dlist'] i1up=d1['I(A)'][segd1up['inds']][4:] lin1up=i1up-d1['I(A)_LinSub'][segd1up['inds']][4:] v1up=d1['Ewe(V)'][segd1up['inds']][4:]+vshift i1dn=d1['I(A)'][segd1dn['inds']] v1dn=d1['Ewe(V)'][segd1dn['inds']]+vshift i1up*=imult i1dn*=imult lin1up*=imult segd2up, segd2dn=d2['segprops_dlist'] i2up=d2['I(A)'][segd2up['inds']][4:] lin2up=i2up-d2['I(A)_LinSub'][segd2up['inds']][4:] v2up=d2['Ewe(V)'][segd2up['inds']][4:]+vshift i2dn=d2['I(A)'][segd2dn['inds']] v2dn=d2['Ewe(V)'][segd2dn['inds']]+vshift i2up*=imult i2dn*=imult lin2up*=imult ica=dill['I(A)_SG'][cai0:cai1]*imult icadiff=dill['Idiff_time'][cai0:cai1]*imult tca=dill['t(s)'][cai0:cai1] tca_cycs=dill['till_cycs'] cycinds=numpy.where((tca_cycs>=tca.min())&(tca_cycs<=tca.max()))[0] tca_cycs=tca_cycs[cycinds] iphoto_cycs=dill['Photocurrent_cycs(A)'][cycinds]*imult pylab.rc('font', family='serif', serif='Times New Roman', size=11) fig=pylab.figure(figsize=(3.5, 4.5)) #ax1=pylab.subplot(211) #ax2=pylab.subplot(212) ax1=fig.add_axes((.2, .6, .74, .35)) ax2=fig.add_axes((.2, .11, .6, .35)) ax3=ax2.twinx() ax1.plot(v1up, i1up, 'g-', linewidth=1.) ax1.plot(v1up, lin1up, 'g:', linewidth=1.) ax1.plot(v1dn, i1dn, 'g--', linewidth=1.) ax1.plot(v2up, i2up, 'b-', linewidth=1.) ax1.plot(v2up, lin2up, 'b:', linewidth=1.) ax1.plot(v2dn, i2dn, 'b--', linewidth=1.) ax1.set_xlim((-.1, .62)) ax1.set_ylim((-40, 130)) ax1.set_xlabel('Potential (V vs H$_2$O/O$_2$)', fontsize=12) ax1.set_ylabel('Current ($\mu$A)', fontsize=12) ax2.plot(tca, ica, 'k-') ax2.plot(tca, icadiff, 'b--', linewidth=2) ax2.set_xlim((0, 6.5)) ax2.set_ylim((0, 0.4)) ax3.plot(tca_cycs, iphoto_cycs, 'ro-') ax3.set_ylim((0, 0.1)) ax2.set_xlabel('Elapsed time (s)', fontsize=12) ax2.set_ylabel('Current ($\mu$A)', fontsize=12) ax3.set_ylabel('Photocurrent ($\mu$A)', fontsize=12) pylab.show() print ''.join(['%s%.3f' %tup for tup in zip(dill['elements'], dill['compositions'])]) print ''.join(['%s%.3f' %tup for tup in zip(d1['elements'], d1['compositions'])]) print ''.join(['%s%.3f' %tup for tup in zip(d2['elements'], d2['compositions'])])
johnmgregoire/JCAPdatavis
echem_paperplots.py
Python
bsd-3-clause
3,052
[ 30522, 12324, 2051, 1010, 6100, 12324, 9808, 1010, 9808, 1012, 4130, 12324, 25353, 2015, 12324, 16371, 8737, 2100, 2013, 1052, 2100, 4160, 2102, 2549, 1012, 1053, 13535, 5686, 12324, 1008, 2013, 1052, 2100, 4160, 2102, 2549, 1012, 1053, 2102, 25698, 12324, 1008, 2013, 16596, 7685, 12324, 23569, 27605, 4371, 2013, 14925, 29122, 1035, 5127, 1035, 21318, 12324, 1008, 2013, 14925, 29122, 1035, 5127, 1035, 8785, 12324, 1008, 12324, 4060, 2571, 1052, 2487, 1027, 1005, 1039, 1024, 1013, 5198, 1013, 6754, 26250, 1013, 5491, 1013, 10250, 15007, 6198, 1013, 14925, 29122, 25711, 1013, 2262, 1011, 1023, 1035, 10768, 8663, 25090, 1013, 3463, 1013, 14925, 29122, 24759, 12868, 1013, 2262, 1011, 1023, 1035, 10768, 8663, 25090, 1035, 3156, 2278, 1035, 3435, 21906, 2278, 2615, 1035, 5127, 2487, 1035, 21469, 2923, 1035, 10114, 2575, 1012, 23755, 1005, 1052, 2475, 1027, 1005, 1039, 1024, 1013, 5198, 1013, 6754, 26250, 1013, 5491, 1013, 10250, 15007, 6198, 1013, 14925, 29122, 25711, 1013, 2262, 1011, 1023, 1035, 10768, 8663, 25090, 1013, 3463, 1013, 14925, 29122, 24759, 12868, 1013, 2262, 1011, 1023, 1035, 10768, 8663, 25090, 1035, 3156, 2278, 1035, 3435, 21906, 2278, 2615, 1035, 5127, 2487, 1035, 21469, 2923, 1035, 25909, 1012, 23755, 1005, 17357, 1027, 1005, 1039, 1024, 1013, 5198, 1013, 6754, 26250, 1013, 5491, 1013, 10250, 15007, 6198, 1013, 14925, 29122, 25711, 1013, 2262, 1011, 1023, 1035, 10768, 8663, 25090, 1013, 3463, 1013, 14925, 29122, 24759, 12868, 1013, 2262, 1011, 1023, 7959, 8663, 25090, 1035, 3156, 2278, 1035, 29080, 3363, 1035, 5127, 2487, 1035, 21469, 2923, 1035, 12904, 2549, 1012, 23755, 1005, 9808, 1012, 10381, 4305, 2099, 1006, 1005, 1039, 1024, 1013, 5198, 1013, 6754, 26250, 1013, 5491, 1013, 10250, 15007, 6198, 1013, 14925, 29122, 25711, 1013, 2262, 1011, 1023, 1035, 10768, 8663, 25090, 1013, 3463, 1013, 14925, 29122, 24759, 12868, 1005, 1007, 5443, 4048, 6199, 1027, 1011, 1012, 2484, 10047, 11314, 1027, 1015, 1012, 1041, 2575, 29080, 2692, 1010, 29080, 2487, 1027, 1006, 1014, 1010, 13757, 2692, 1007, 1042, 1027, 2330, 1006, 1052, 2487, 1010, 5549, 1027, 1005, 1054, 1005, 1007, 1040, 2487, 1027, 4060, 2571, 1012, 7170, 1006, 1042, 1007, 1042, 1012, 2485, 1006, 1007, 1042, 1027, 2330, 1006, 1052, 2475, 1010, 5549, 1027, 1005, 1054, 1005, 1007, 1040, 2475, 1027, 4060, 2571, 1012, 7170, 1006, 1042, 1007, 1042, 1012, 2485, 1006, 1007, 1042, 1027, 2330, 1006, 17357, 1010, 5549, 1027, 1005, 1054, 1005, 1007, 29454, 2140, 1027, 4060, 2571, 1012, 7170, 1006, 1042, 1007, 1042, 1012, 2485, 1006, 1007, 7367, 2290, 2094, 2487, 6279, 1010, 7367, 2290, 2094, 2487, 2094, 2078, 1027, 1040, 2487, 1031, 1005, 7367, 21600, 30524, 2015, 1005, 1033, 1033, 1031, 1018, 1024, 1033, 11409, 2487, 6279, 1027, 1045, 2487, 6279, 1011, 1040, 2487, 1031, 1005, 1045, 1006, 1037, 1007, 1035, 11409, 6342, 2497, 1005, 1033, 1031, 7367, 2290, 2094, 2487, 6279, 1031, 1005, 27427, 2015, 1005, 1033, 1033, 30523, 18981, 2015, 1035, 21469, 2923, 1005, 1033, 1045, 2487, 6279, 1027, 1040, 2487, 1031, 1005, 1045, 1006, 1037, 1007, 1005, 1033, 1031, 7367, 2290, 2094, 2487, 6279, 1031, 1005, 27427, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 18981, 2015, 1035, 21469, 2923, 1005, 1033, 1045, 2487, 6279, 1027, 1040, 2487, 1031, 1005, 1045, 1006, 1037, 1007, 1005, 1033, 1031, 7367, 2290, 2094, 2487, 6279, 1031, 1005, 27427, 30526 ]
/* * * This file is part of Tulip (http://tulip.labri.fr) * * Authors: David Auber and the Tulip development Team * from LaBRI, University of Bordeaux * * Tulip 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. * * Tulip is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the GNU General Public License for more details. * */ #ifndef TULIP_PROPERTY_H #define TULIP_PROPERTY_H #include <tulip/Algorithm.h> #include <tulip/Graph.h> #include <sstream> namespace tlp { class PluginContext; static const std::string PROPERTY_ALGORITHM_CATEGORY = "Property"; /** * @ingroup Plugins * @brief A non-template interface for tlp::TemplateAlgorithm * @see tlp::TemplateAlgorithm **/ class TLP_SCOPE PropertyAlgorithm : public tlp::Algorithm { public: PropertyAlgorithm(const tlp::PluginContext *context) : Algorithm(context) {} std::string category() const override { return PROPERTY_ALGORITHM_CATEGORY; } }; /** * @ingroup Plugins * @brief The TemplateAlgorithm class describes a plugin that can operate on a single graph's * property. * @param Property The property template arguments gives the type of the property the algorithm * operates on. * * A TemplateAlgorithm takes a graph as input (plus additional parameters defined via * tlp::WithParameter) and outputs its results in a tlp::PropertyInterface subclass. * The output property is defined as an output parameter named "result" and as a class member called * result. * * @warning Subclassing TemplateAlgorithm is not recommended since template specifications are * available for every Tulip property types. * * @see tlp::BooleanAlgorithm * @see tlp::StringAlgorithm * @see tlp::DoubleAlgorithm * @see tlp::IntegerAlgorithm * @see tlp::LayoutAlgorithm * @see tlp::SizeAlgorithm */ template <class Property> class TLP_SCOPE TemplateAlgorithm : public PropertyAlgorithm { public: Property *result; TemplateAlgorithm(const tlp::PluginContext *context) : tlp::PropertyAlgorithm(context), result(nullptr) { if (dataSet != nullptr) { if (!dataSet->exists("result")) { std::stringstream propname; propname << "result"; unsigned number = 0; while (graph->existProperty(propname.str())) { propname.clear(); propname << "result" << number; ++number; } result = graph->getProperty<Property>(propname.str()); } else { dataSet->get("result", result); } } } }; } // namespace tlp #endif
tulip5/tulip
library/tulip-core/include/tulip/TemplateAlgorithm.h
C
lgpl-3.0
2,821
[ 30522, 1013, 1008, 1008, 1008, 2023, 5371, 2003, 2112, 1997, 10722, 15000, 1006, 8299, 1024, 1013, 1013, 10722, 15000, 1012, 6845, 3089, 1012, 10424, 1007, 1008, 1008, 6048, 1024, 2585, 8740, 5677, 1998, 1996, 10722, 15000, 2458, 2136, 1008, 2013, 6845, 3089, 1010, 2118, 1997, 16384, 1008, 1008, 10722, 15000, 2003, 2489, 4007, 1025, 2017, 2064, 2417, 2923, 3089, 8569, 2618, 2009, 1998, 1013, 2030, 19933, 1008, 2009, 2104, 1996, 3408, 1997, 1996, 27004, 8276, 2236, 2270, 6105, 1008, 2004, 2405, 2011, 1996, 2489, 4007, 3192, 1010, 2593, 2544, 1017, 1008, 1997, 1996, 6105, 1010, 2030, 1006, 2012, 2115, 5724, 1007, 2151, 2101, 2544, 1012, 1008, 1008, 10722, 15000, 2003, 5500, 1999, 1996, 3246, 2008, 2009, 2097, 2022, 6179, 1010, 1008, 2021, 2302, 2151, 10943, 2100, 1025, 2302, 2130, 1996, 13339, 10943, 2100, 1997, 1008, 6432, 8010, 2030, 10516, 2005, 1037, 3327, 3800, 1012, 1008, 2156, 1996, 27004, 2236, 2270, 6105, 2005, 2062, 4751, 1012, 1008, 1008, 1013, 1001, 2065, 13629, 2546, 10722, 15000, 1035, 3200, 1035, 1044, 1001, 9375, 10722, 15000, 1035, 3200, 1035, 1044, 1001, 2421, 1026, 10722, 15000, 1013, 9896, 1012, 1044, 1028, 1001, 2421, 1026, 10722, 15000, 1013, 10629, 1012, 1044, 1028, 1001, 2421, 1026, 7020, 25379, 1028, 3415, 15327, 1056, 14277, 1063, 2465, 13354, 2378, 8663, 18209, 1025, 10763, 9530, 3367, 2358, 2094, 1024, 1024, 5164, 3200, 1035, 9896, 1035, 4696, 1027, 1000, 3200, 1000, 1025, 1013, 1008, 1008, 1008, 1030, 13749, 22107, 13354, 7076, 1008, 1030, 4766, 1037, 2512, 1011, 23561, 8278, 2005, 1056, 14277, 1024, 1024, 23561, 2389, 20255, 8939, 2213, 1008, 1030, 2156, 1056, 14277, 1024, 1024, 23561, 2389, 20255, 8939, 2213, 1008, 1008, 1013, 2465, 1056, 14277, 1035, 9531, 3200, 2389, 20255, 8939, 2213, 1024, 2270, 1056, 14277, 1024, 1024, 9896, 1063, 2270, 1024, 3200, 2389, 20255, 8939, 2213, 1006, 9530, 3367, 1056, 14277, 1024, 1024, 13354, 2378, 8663, 18209, 1008, 6123, 1007, 1024, 9896, 1006, 6123, 1007, 1063, 1065, 2358, 2094, 1024, 1024, 5164, 4696, 1006, 1007, 9530, 3367, 2058, 15637, 1063, 2709, 3200, 1035, 9896, 1035, 4696, 1025, 1065, 1065, 1025, 1013, 1008, 1008, 1008, 1030, 13749, 22107, 13354, 7076, 1008, 1030, 4766, 1996, 23561, 2389, 20255, 8939, 2213, 2465, 5577, 1037, 13354, 2378, 2008, 2064, 5452, 2006, 1037, 2309, 10629, 1005, 1055, 1008, 3200, 1012, 1008, 1030, 11498, 2213, 3200, 1996, 3200, 23561, 9918, 3957, 1996, 2828, 1997, 1996, 3200, 1996, 9896, 1008, 5748, 2006, 30524, 1024, 3200, 18447, 2121, 12172, 4942, 26266, 1012, 1008, 1996, 6434, 3200, 2003, 4225, 2004, 2019, 6434, 16381, 2315, 1000, 2765, 1000, 1998, 2004, 1037, 2465, 2266, 2170, 1008, 2765, 1012, 1008, 1008, 1030, 5432, 4942, 26266, 2075, 23561, 2389, 20255, 8939, 2213, 2003, 2025, 6749, 2144, 23561, 15480, 2024, 1008, 2800, 2005, 2296, 10722, 15000, 3200, 4127, 1012, 1008, 1008, 1030, 2156, 1056, 30523, 1012, 1008, 1008, 1037, 23561, 2389, 20255, 8939, 2213, 3138, 1037, 10629, 2004, 7953, 1006, 4606, 3176, 11709, 4225, 3081, 1008, 1056, 14277, 1024, 1024, 2007, 28689, 22828, 1007, 1998, 27852, 2049, 3463, 1999, 1037, 1056, 14277, 1024, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1012, 1008, 1008, 1037, 23561, 2389, 20255, 8939, 2213, 3138, 1037, 10629, 2004, 7953, 1006, 4606, 3176, 11709, 4225, 3081, 1008, 1056, 14277, 1024, 1024, 2007, 28689, 22828, 1007, 1998, 27852, 2049, 3463, 1999, 1037, 1056, 14277, 1024, 30526 ]
package com.thomasjensen.checkstyle.addons.checks; /* * Checkstyle-Addons - Additional Checkstyle checks * Copyright (c) 2015-2020, the Checkstyle Addons contributors * * This program is free software: you can redistribute it and/or modify it under the * terms of the GNU General Public License, version 3, as published by the Free * Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with this * program. If not, see <http://www.gnu.org/licenses/>. */ import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Iterator; import java.util.List; import javax.annotation.CheckForNull; import javax.annotation.Nonnull; import javax.annotation.Nullable; import net.jcip.annotations.Immutable; /** * Represents a Java binary class name for reference types, in the form of its fragments. This is the only way to tell * the difference between a class called <code>A$B</code> and a class called <code>A</code> that has an inner class * <code>B</code>. */ @Immutable public final class BinaryName { private final String pkg; private final List<String> cls; /** * Constructor. * * @param pPkg package name * @param pOuterCls outer class simple name * @param pInnerCls inner class simple names in descending order of their nesting */ public BinaryName(@Nullable final String pPkg, @Nonnull final String pOuterCls, @Nullable final String... pInnerCls) { pkg = pPkg; List<String> nameList = new ArrayList<>(); if (pOuterCls != null) { nameList.add(pOuterCls); } else { throw new IllegalArgumentException("pOuterCls was null"); } if (pInnerCls != null) { for (final String inner : pInnerCls) { nameList.add(inner); } } cls = Collections.unmodifiableList(nameList); } /** * Constructor. * * @param pPkg package name * @param pClsNames class simple names in descending order of their nesting */ public BinaryName(@Nullable final String pPkg, @Nonnull final Collection<String> pClsNames) { pkg = pPkg; if (pClsNames.size() == 0) { throw new IllegalArgumentException("pClsNames is empty"); } cls = Collections.unmodifiableList(new ArrayList<>(pClsNames)); } @Override public String toString() { StringBuilder sb = new StringBuilder(); if (pkg != null) { sb.append(pkg); sb.append('.'); } for (final Iterator<String> iter = cls.iterator(); iter.hasNext();) { sb.append(iter.next()); if (iter.hasNext()) { sb.append('$'); } } return sb.toString(); } @Override public boolean equals(final Object pOther) { if (this == pOther) { return true; } if (pOther == null || getClass() != pOther.getClass()) { return false; } BinaryName other = (BinaryName) pOther; if (pkg != null ? !pkg.equals(other.pkg) : other.pkg != null) { return false; } if (!cls.equals(other.cls)) { return false; } return true; } @Override public int hashCode() { int result = pkg != null ? pkg.hashCode() : 0; result = 31 * result + cls.hashCode(); return result; } public String getPackage() { return pkg; } /** * Getter. * * @return the simple name of the outer class (even if this binary name represents an inner class) */ public String getOuterSimpleName() { return cls.get(0); } /** * Getter. * * @return the simple name of the inner class represented by this binary name. <code>null</code> if this binary name * does not represent an inner class */ public String getInnerSimpleName() { return cls.size() > 1 ? cls.get(cls.size() - 1) : null; } /** * The fully qualified name of the outer class. * * @return that, or <code>null</code> if the simple name of the outer class is unknown */ @CheckForNull public String getOuterFqcn() { return (pkg != null ? (pkg + ".") : "") + getOuterSimpleName(); } }
checkstyle-addons/checkstyle-addons
src/main/java/com/thomasjensen/checkstyle/addons/checks/BinaryName.java
Java
gpl-3.0
4,699
[ 30522, 7427, 4012, 1012, 2726, 6460, 29428, 1012, 14148, 27983, 1012, 5587, 5644, 1012, 14148, 1025, 1013, 1008, 1008, 14148, 27983, 1011, 5587, 5644, 1011, 3176, 14148, 27983, 14148, 1008, 9385, 1006, 1039, 1007, 2325, 1011, 12609, 1010, 1996, 14148, 27983, 5587, 5644, 16884, 1008, 1008, 2023, 2565, 2003, 2489, 4007, 1024, 2017, 2064, 2417, 2923, 3089, 8569, 2618, 2009, 1998, 1013, 2030, 19933, 2009, 2104, 1996, 1008, 3408, 1997, 1996, 27004, 2236, 2270, 6105, 1010, 2544, 1017, 1010, 2004, 2405, 2011, 1996, 2489, 1008, 4007, 3192, 1012, 1008, 1008, 2023, 2565, 2003, 5500, 1999, 1996, 3246, 2008, 2009, 2097, 2022, 6179, 1010, 2021, 2302, 2151, 1008, 10943, 2100, 1025, 2302, 2130, 1996, 13339, 10943, 2100, 1997, 6432, 8010, 2030, 10516, 2005, 1037, 1008, 3327, 3800, 1012, 2156, 1996, 27004, 2236, 2270, 6105, 2005, 2062, 4751, 1012, 1008, 1008, 2017, 2323, 2031, 2363, 1037, 6100, 1997, 1996, 27004, 2236, 2270, 6105, 2247, 2007, 2023, 1008, 2565, 1012, 2065, 2025, 1010, 2156, 1026, 8299, 1024, 1013, 1013, 7479, 1012, 27004, 1012, 8917, 1013, 15943, 1013, 1028, 1012, 1008, 1013, 12324, 9262, 1012, 21183, 4014, 1012, 9140, 9863, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 3074, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 6407, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 2009, 6906, 4263, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 2862, 1025, 12324, 9262, 2595, 1012, 5754, 17287, 3508, 1012, 4638, 29278, 11231, 3363, 1025, 12324, 9262, 2595, 1012, 5754, 17287, 3508, 1012, 2512, 11231, 3363, 1025, 12324, 9262, 2595, 1012, 5754, 17287, 3508, 1012, 19701, 3085, 1025, 12324, 5658, 1012, 29175, 11514, 1012, 5754, 17287, 9285, 1012, 10047, 28120, 3085, 1025, 1013, 1008, 1008, 1008, 5836, 1037, 9262, 12441, 2465, 2171, 2005, 4431, 4127, 30524, 2465, 2170, 1026, 3642, 1028, 1037, 1002, 1038, 1026, 1013, 3642, 1028, 1998, 1037, 2465, 2170, 1026, 3642, 1028, 1037, 1026, 1013, 3642, 1028, 2008, 2038, 2019, 5110, 2465, 1008, 1026, 3642, 1028, 1038, 1026, 1013, 3642, 1028, 1012, 1008, 1013, 1030, 10047, 28120, 3085, 2270, 2345, 2465, 12441, 18442, 1063, 2797, 2345, 5164, 1052, 2243, 2290, 1025, 2797, 2345, 2862, 1026, 5164, 1028, 18856, 2015, 1025, 1013, 1008, 1008, 1008, 9570, 2953, 1012, 1008, 1008, 1030, 11498, 2213, 4903, 2243, 2290, 7427, 2171, 1008, 1030, 11498, 2213, 13433, 19901, 20464, 2015, 6058, 2465, 3722, 2171, 1008, 1030, 11498, 2213, 9231, 3678, 20464, 2015, 5110, 2465, 3722, 3415, 1999, 15127, 2344, 1997, 2037, 21016, 1008, 1013, 2270, 12441, 18442, 1006, 1030, 19701, 3085, 2345, 5164, 4903, 2243, 2290, 1010, 1030, 2512, 11231, 3363, 2345, 5164, 13433, 19901, 20464, 2015, 1010, 1030, 19701, 3085, 2345, 5164, 1012, 1012, 1012, 9231, 3678, 20464, 2015, 1007, 1063, 1052, 2243, 2290, 1027, 4903, 2243, 2290, 1025, 2862, 1026, 5164, 1028, 2171, 9863, 1027, 2047, 9140, 9863, 1026, 1028, 1006, 1007, 1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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1010, 1999, 1996, 2433, 1997, 2049, 10341, 1012, 2023, 2003, 1996, 2069, 2126, 2000, 2425, 1008, 1996, 4489, 2090, 1037, 30526 ]
from distutils.core import setup setup( name='sequencehelpers', py_modules=['sequencehelpers'], version='0.2.1', description="A library consisting of functions for interacting with sequences and iterables.", author='Zach Swift', author_email='[email protected]', url='https://github.com/2achary/sequencehelpers', download_url='https://github.com/2achary/sequence/tarball/0.2.1', keywords=['sequence', 'single', 'distinct'], classifiers=[], )
2achary/sequencehelpers
setup.py
Python
mit
467
[ 30522, 2013, 4487, 3367, 21823, 4877, 1012, 4563, 12324, 16437, 16437, 1006, 2171, 1027, 1005, 5537, 16001, 7347, 1005, 1010, 1052, 2100, 1035, 14184, 1027, 1031, 1005, 5537, 16001, 7347, 1005, 1033, 1010, 2544, 1027, 1005, 1014, 1012, 1016, 1012, 1015, 1005, 1010, 6412, 1027, 1000, 1037, 3075, 5398, 1997, 4972, 2005, 21935, 2007, 10071, 1998, 2009, 6906, 13510, 1012, 1000, 1010, 3166, 1027, 1005, 12397, 9170, 1005, 1010, 3166, 1035, 10373, 1027, 1005, 13675, 3022, 1012, 1062, 26760, 10128, 2102, 1030, 20917, 4014, 1012, 4012, 1005, 1010, 24471, 2140, 1027, 1005, 16770, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 23409, 7507, 2854, 1013, 5537, 16001, 7347, 1005, 1010, 8816, 1035, 24471, 2140, 1027, 1005, 16770, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 23409, 7507, 2854, 1013, 5537, 1013, 16985, 7384, 1013, 1014, 1012, 1016, 1012, 1015, 1005, 1010, 3145, 22104, 1027, 1031, 1005, 5537, 1005, 1010, 1005, 2309, 1005, 1010, 1005, 5664, 1005, 1033, 1010, 2465, 28295, 1027, 1031, 1033, 1010, 1007, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
# ccm_r R repository for the "Cali Come Mejor" project. # What would I find here? In this repository, you can have access to a set of functions, scripts and routines for extracting and processing information about food consumption in Cali. All the data come from the DANE's (Colombian National Administrative Department of Statistics) Income and Expenditure 2006- 2007 National Survey. # Where are the datasets? As the dataset files are so big, in this repository I have included only the processing R scripts that allow to extract and consult information from the original DANE's files. Therefore, in order to use this repository, you have to download the original DANE's 24 datamodules of the Income and Expenditure 2006- 2007 National Survey and put all the original .txt files in a new folder called ``txt`` inside another folder called ``data``, just outside this folder. Otherwise, you can select a new folder path for those files, by changing the route of the following line, that is located in the ``scripts/main.R`` script: ``modules<-list.files(path="../data/txt", full.names=TRUE)`` # Where can I find more information about the methodology that you used? You can consult the official methodological aspects of this survey in the DANE's website. However, I have included some of this reference documents inside the folder ``reference_documents``. # How can I replicate your results? If you want to get the same results that I got, you can run only the lines of the ``scripts/main.R`` script. It loads the functions of the other scripts and it put all the results in a new folder called ``output``. # Contact If you have any question, suggestion, or if you want to contribute to this project, feel free to fork this repo and to comment. In addition, you can send me a message to my email [[email protected]](mailto:[email protected] "email")
cchacua/ccm_r
README.md
Markdown
gpl-3.0
1,866
[ 30522, 1001, 10507, 2213, 1035, 1054, 1054, 22409, 2005, 1996, 1000, 10250, 2072, 2272, 2033, 5558, 2099, 1000, 2622, 1012, 1001, 2054, 2052, 1045, 2424, 2182, 1029, 1999, 2023, 22409, 1010, 2017, 2064, 2031, 3229, 2000, 1037, 2275, 1997, 4972, 1010, 14546, 1998, 23964, 2005, 14817, 2075, 1998, 6364, 2592, 2055, 2833, 8381, 1999, 10250, 2072, 1012, 2035, 1996, 2951, 2272, 2013, 1996, 14569, 1005, 1055, 1006, 13598, 2120, 3831, 2533, 1997, 6747, 1007, 3318, 1998, 20700, 2294, 1011, 2289, 2120, 5002, 1012, 1001, 2073, 2024, 1996, 2951, 13462, 2015, 1029, 2004, 1996, 2951, 13462, 6764, 2024, 2061, 2502, 1010, 1999, 2023, 22409, 1045, 2031, 2443, 2069, 1996, 6364, 1054, 14546, 2008, 3499, 2000, 14817, 1998, 23363, 2592, 2013, 1996, 2434, 14569, 1005, 1055, 6764, 1012, 3568, 1010, 1999, 2344, 2000, 2224, 2023, 22409, 1010, 2017, 2031, 2000, 8816, 1996, 2434, 14569, 1005, 1055, 2484, 2951, 5302, 8566, 4244, 1997, 1996, 3318, 1998, 20700, 2294, 1011, 2289, 2120, 5002, 1998, 2404, 2035, 1996, 2434, 1012, 19067, 2102, 6764, 1999, 1037, 2047, 19622, 2170, 1036, 1036, 19067, 2102, 1036, 1036, 2503, 2178, 19622, 2170, 1036, 1036, 2951, 1036, 1036, 1010, 2074, 2648, 2023, 19622, 1012, 4728, 1010, 2017, 2064, 7276, 1037, 2047, 19622, 4130, 2005, 2216, 6764, 1010, 2011, 5278, 1996, 2799, 1997, 1996, 2206, 2240, 1010, 2008, 2003, 2284, 1999, 1996, 1036, 1036, 14546, 1013, 2364, 1012, 1054, 1036, 1036, 5896, 1024, 1036, 1036, 14184, 1026, 1011, 2862, 30524, 2073, 2064, 1045, 2424, 2062, 2592, 2055, 1996, 16134, 2008, 2017, 2109, 1029, 2017, 2064, 23363, 1996, 2880, 4118, 10091, 5919, 1997, 2023, 5002, 1999, 1996, 14569, 1005, 1055, 4037, 1012, 2174, 1010, 1045, 2031, 2443, 2070, 1997, 2023, 4431, 5491, 2503, 1996, 19622, 1036, 1036, 4431, 1035, 5491, 1036, 1036, 1012, 1001, 2129, 2064, 1045, 28024, 2115, 3463, 1029, 2065, 2017, 2215, 2000, 2131, 1996, 2168, 3463, 2008, 1045, 2288, 1010, 2017, 2064, 2448, 2069, 1996, 3210, 1997, 1996, 1036, 1036, 14546, 1013, 2364, 1012, 1054, 1036, 1036, 5896, 1012, 2009, 15665, 1996, 4972, 1997, 1996, 2060, 14546, 1998, 2009, 2404, 2035, 1996, 3463, 1999, 1037, 2047, 19622, 2170, 1036, 1036, 6434, 1036, 1036, 1012, 1001, 3967, 2065, 2017, 2031, 2151, 3160, 1010, 10293, 1010, 2030, 2065, 2017, 2215, 2000, 9002, 2000, 2023, 2622, 1010, 2514, 2489, 2000, 9292, 2023, 16360, 2080, 1998, 2000, 7615, 1012, 1999, 2804, 1010, 2017, 2064, 4604, 2033, 1037, 4471, 2000, 2026, 10373, 1031, 10507, 3270, 10841, 2050, 1030, 20917, 4014, 1012, 4012, 1033, 1006, 5653, 3406, 1024, 10507, 3270, 10841, 2050, 1030, 20917, 4014, 1012, 4012, 1000, 10373, 1000, 1007, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30523, 1012, 6764, 1006, 4130, 1027, 1000, 1012, 1012, 1013, 2951, 1013, 19067, 2102, 1000, 1010, 2440, 1012, 3415, 1027, 2995, 1007, 1036, 1036, 1001, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1012, 6764, 1006, 4130, 1027, 1000, 1012, 1012, 1013, 2951, 1013, 19067, 2102, 1000, 1010, 2440, 1012, 3415, 1027, 2995, 1007, 1036, 1036, 1001, 30526 ]
namespace ChinaUnion_Agent { partial class frmMain { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain)); this.menuMain = new System.Windows.Forms.MenuStrip(); this.menuItemSystem = new System.Windows.Forms.ToolStripMenuItem(); this.menuItemLog = new System.Windows.Forms.ToolStripMenuItem(); this.menuItemExit = new System.Windows.Forms.ToolStripMenuItem(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.ToolBarPannelList = new BSE.Windows.Forms.XPanderPanelList(); this.CommissionManagement = new BSE.Windows.Forms.XPanderPanel(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton2 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton12 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton3 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton15 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator10 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton7 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton17 = new System.Windows.Forms.ToolStripButton(); this.ErrorCodeManagment = new BSE.Windows.Forms.XPanderPanel(); this.toolStrip2 = new System.Windows.Forms.ToolStrip(); this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton5 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator15 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator16 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton8 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripButton4 = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); this.toolbarErrorBroadcast = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.InvoiceManagement = new BSE.Windows.Forms.XPanderPanel(); this.toolStrip3 = new System.Windows.Forms.ToolStrip(); this.toolStripSeparator12 = new System.Windows.Forms.ToolStripSeparator(); this.btnInvoiceImport = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator13 = new System.Windows.Forms.ToolStripSeparator(); this.btnInvoiceManagement = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator14 = new System.Windows.Forms.ToolStripSeparator(); this.btnPaymentImport = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator17 = new System.Windows.Forms.ToolStripSeparator(); this.btnPaymentManagement = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator18 = new System.Windows.Forms.ToolStripSeparator(); this.btnInvoiceWechatPublish = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator19 = new System.Windows.Forms.ToolStripSeparator(); this.menuMain.SuspendLayout(); this.ToolBarPannelList.SuspendLayout(); this.CommissionManagement.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.ErrorCodeManagment.SuspendLayout(); this.toolStrip2.SuspendLayout(); this.InvoiceManagement.SuspendLayout(); this.toolStrip3.SuspendLayout(); this.SuspendLayout(); // // menuMain // this.menuMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuItemSystem}); this.menuMain.Location = new System.Drawing.Point(0, 0); this.menuMain.Name = "menuMain"; this.menuMain.Size = new System.Drawing.Size(1016, 24); this.menuMain.TabIndex = 0; this.menuMain.Text = "menuStrip1"; // // menuItemSystem // this.menuItemSystem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuItemLog, this.menuItemExit}); this.menuItemSystem.Name = "menuItemSystem"; this.menuItemSystem.Size = new System.Drawing.Size(65, 20); this.menuItemSystem.Text = "系统管理"; // // menuItemLog // this.menuItemLog.Name = "menuItemLog"; this.menuItemLog.Size = new System.Drawing.Size(152, 22); this.menuItemLog.Text = "版本日志"; this.menuItemLog.Click += new System.EventHandler(this.menuItemLog_Click); // // menuItemExit // this.menuItemExit.Name = "menuItemExit"; this.menuItemExit.Size = new System.Drawing.Size(152, 22); this.menuItemExit.Text = "退出"; this.menuItemExit.Click += new System.EventHandler(this.menuItemExit_Click); // // statusStrip1 // this.statusStrip1.Location = new System.Drawing.Point(0, 719); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(1016, 22); this.statusStrip1.TabIndex = 4; this.statusStrip1.Text = "statusStrip1"; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "author-48.png"); this.imageList1.Images.SetKeyName(1, "3.png"); this.imageList1.Images.SetKeyName(2, "12.png"); this.imageList1.Images.SetKeyName(3, "2.png"); this.imageList1.Images.SetKeyName(4, "4.png"); this.imageList1.Images.SetKeyName(5, "1.png"); this.imageList1.Images.SetKeyName(6, "5.png"); this.imageList1.Images.SetKeyName(7, "6.png"); this.imageList1.Images.SetKeyName(8, "7.png"); this.imageList1.Images.SetKeyName(9, "8.png"); this.imageList1.Images.SetKeyName(10, "9.png"); this.imageList1.Images.SetKeyName(11, "10.png"); this.imageList1.Images.SetKeyName(12, "11.png"); // // ToolBarPannelList // this.ToolBarPannelList.BackgroundImage = global::ChinaUnion_Agent.Properties.Resources.桌面1; this.ToolBarPannelList.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ToolBarPannelList.CaptionHeight = 30; this.ToolBarPannelList.CaptionStyle = BSE.Windows.Forms.CaptionStyle.Flat; this.ToolBarPannelList.Controls.Add(this.CommissionManagement); this.ToolBarPannelList.Controls.Add(this.ErrorCodeManagment); this.ToolBarPannelList.Controls.Add(this.InvoiceManagement); this.ToolBarPannelList.Dock = System.Windows.Forms.DockStyle.Left; this.ToolBarPannelList.Font = new System.Drawing.Font("SimSun", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134))); this.ToolBarPannelList.GradientBackground = System.Drawing.Color.Empty; this.ToolBarPannelList.Location = new System.Drawing.Point(0, 24); this.ToolBarPannelList.Name = "ToolBarPannelList"; this.ToolBarPannelList.PanelColors = null; this.ToolBarPannelList.PanelStyle = BSE.Windows.Forms.PanelStyle.Office2007; this.ToolBarPannelList.ShowGradientBackground = true; this.ToolBarPannelList.Size = new System.Drawing.Size(134, 695); this.ToolBarPannelList.TabIndex = 6; this.ToolBarPannelList.Text = "xPanderPanelList1"; // // CommissionManagement // this.CommissionManagement.CaptionFont = new System.Drawing.Font("SimSun", 10F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline)))); this.CommissionManagement.CaptionHeight = 40; this.CommissionManagement.Controls.Add(this.toolStrip1); this.CommissionManagement.CustomColors.BackColor = System.Drawing.Color.Blue; this.CommissionManagement.CustomColors.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(160)))), ((int)(((byte)(160))))); this.CommissionManagement.CustomColors.CaptionCheckedGradientBegin = System.Drawing.Color.Empty; this.CommissionManagement.CustomColors.CaptionCheckedGradientEnd = System.Drawing.Color.Empty; this.CommissionManagement.CustomColors.CaptionCheckedGradientMiddle = System.Drawing.Color.Empty; this.CommissionManagement.CustomColors.CaptionCloseIcon = System.Drawing.SystemColors.ControlText; this.CommissionManagement.CustomColors.CaptionExpandIcon = System.Drawing.SystemColors.ControlText; this.CommissionManagement.CustomColors.CaptionGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(244)))), ((int)(((byte)(242))))); this.CommissionManagement.CustomColors.CaptionGradientEnd = System.Drawing.Color.Blue; this.CommissionManagement.CustomColors.CaptionGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(232)))), ((int)(((byte)(228))))); this.CommissionManagement.CustomColors.CaptionPressedGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(146)))), ((int)(((byte)(181))))); this.CommissionManagement.CustomColors.CaptionPressedGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(146)))), ((int)(((byte)(181))))); this.CommissionManagement.CustomColors.CaptionPressedGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(146)))), ((int)(((byte)(181))))); this.CommissionManagement.CustomColors.CaptionSelectedGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(189)))), ((int)(((byte)(210))))); this.CommissionManagement.CustomColors.CaptionSelectedGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(189)))), ((int)(((byte)(210))))); this.CommissionManagement.CustomColors.CaptionSelectedGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(189)))), ((int)(((byte)(210))))); this.CommissionManagement.CustomColors.CaptionSelectedText = System.Drawing.SystemColors.ControlText; this.CommissionManagement.CustomColors.CaptionText = System.Drawing.SystemColors.ControlText; this.CommissionManagement.CustomColors.FlatCaptionGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(232)))), ((int)(((byte)(228))))); this.CommissionManagement.CustomColors.FlatCaptionGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(244)))), ((int)(((byte)(242))))); this.CommissionManagement.CustomColors.InnerBorderColor = System.Drawing.Color.SkyBlue; this.CommissionManagement.Expand = true; this.CommissionManagement.Font = new System.Drawing.Font("SimSun", 10F); this.CommissionManagement.ForeColor = System.Drawing.SystemColors.ControlText; this.CommissionManagement.Image = null; this.CommissionManagement.Name = "CommissionManagement"; this.CommissionManagement.PanelStyle = BSE.Windows.Forms.PanelStyle.Office2007; this.CommissionManagement.Size = new System.Drawing.Size(134, 615); this.CommissionManagement.TabIndex = 0; this.CommissionManagement.Text = "佣金受理管理"; this.CommissionManagement.ToolTipTextCloseIcon = null; this.CommissionManagement.ToolTipTextExpandIconPanelCollapsed = null; this.CommissionManagement.ToolTipTextExpandIconPanelExpanded = null; // // toolStrip1 // this.toolStrip1.AutoSize = false; this.toolStrip1.BackgroundImage = global::ChinaUnion_Agent.Properties.Resources.Desktop; this.toolStrip1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStrip1.ImageScalingSize = new System.Drawing.Size(48, 48); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripSeparator1, this.toolStripButton1, this.toolStripSeparator2, this.toolStripButton2, this.toolStripSeparator3, this.toolStripButton12, this.toolStripSeparator5, this.toolStripButton3, this.toolStripSeparator4, this.toolStripButton15, this.toolStripSeparator10, this.toolStripButton7, this.toolStripSeparator7, this.toolStripButton17}); this.toolStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.VerticalStackWithOverflow; this.toolStrip1.Location = new System.Drawing.Point(1, 40); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(132, 575); this.toolStrip1.TabIndex = 5; this.toolStrip1.Text = "toolStrip1"; // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(130, 6); // // toolStripButton1 // this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image"))); this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; this.toolStripButton1.Size = new System.Drawing.Size(130, 64); this.toolStripButton1.Text = "代理商佣金导入"; this.toolStripButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButton1.Click += new System.EventHandler(this.CommissionImport_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(130, 6); // // toolStripButton2 // this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image"))); this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton2.Name = "toolStripButton2"; this.toolStripButton2.Size = new System.Drawing.Size(130, 64); this.toolStripButton2.Text = "代理商佣金发布"; this.toolStripButton2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButton2.Click += new System.EventHandler(this.CommissionPublish_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(130, 6); // // toolStripButton12 // this.toolStripButton12.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton12.Image"))); this.toolStripButton12.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton12.Name = "toolStripButton12"; this.toolStripButton12.Size = new System.Drawing.Size(130, 64); this.toolStripButton12.Text = "代理商报告查询"; this.toolStripButton12.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButton12.Click += new System.EventHandler(this.CommissionOpenReport_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(130, 6); // // toolStripButton3 // this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image"))); this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton3.Name = "toolStripButton3"; this.toolStripButton3.Size = new System.Drawing.Size(130, 64); this.toolStripButton3.Text = "代理商信息导入"; this.toolStripButton3.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButton3.Click += new System.EventHandler(this.ChannelImport_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(130, 6); // // toolStripButton15 // this.toolStripButton15.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton15.Image"))); this.toolStripButton15.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton15.Name = "toolStripButton15"; this.toolStripButton15.Size = new System.Drawing.Size(130, 64); this.toolStripButton15.Text = "微信账号同步"; this.toolStripButton15.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButton15.ToolTipText = "代理商微信同步"; this.toolStripButton15.Click += new System.EventHandler(this.ChannelWechatSync_Click); // // toolStripSeparator10 // this.toolStripSeparator10.Name = "toolStripSeparator10"; this.toolStripSeparator10.Size = new System.Drawing.Size(130, 6); // // toolStripButton7 // this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image"))); this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton7.Name = "toolStripButton7"; this.toolStripButton7.Size = new System.Drawing.Size(130, 64); this.toolStripButton7.Text = "微信账号查询"; this.toolStripButton7.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButton7.Click += new System.EventHandler(this.ChannelWechatQuery_Click); // // toolStripSeparator7 // this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Size = new System.Drawing.Size(130, 6); // // toolStripButton17 // this.toolStripButton17.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton17.Image"))); this.toolStripButton17.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton17.Name = "toolStripButton17"; this.toolStripButton17.Size = new System.Drawing.Size(130, 64); this.toolStripButton17.Text = "微信公告发布"; this.toolStripButton17.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButton17.Click += new System.EventHandler(this.ChannelWechatBroadcast_Click); // // ErrorCodeManagment // this.ErrorCodeManagment.CaptionFont = new System.Drawing.Font("SimSun", 10F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline)))); this.ErrorCodeManagment.CaptionHeight = 40; this.ErrorCodeManagment.Controls.Add(this.toolStrip2); this.ErrorCodeManagment.CustomColors.BackColor = System.Drawing.SystemColors.Control; this.ErrorCodeManagment.CustomColors.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(160)))), ((int)(((byte)(160))))); this.ErrorCodeManagment.CustomColors.CaptionCheckedGradientBegin = System.Drawing.Color.Empty; this.ErrorCodeManagment.CustomColors.CaptionCheckedGradientEnd = System.Drawing.Color.Empty; this.ErrorCodeManagment.CustomColors.CaptionCheckedGradientMiddle = System.Drawing.Color.Empty; this.ErrorCodeManagment.CustomColors.CaptionCloseIcon = System.Drawing.SystemColors.ControlText; this.ErrorCodeManagment.CustomColors.CaptionExpandIcon = System.Drawing.SystemColors.ControlText; this.ErrorCodeManagment.CustomColors.CaptionGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(244)))), ((int)(((byte)(242))))); this.ErrorCodeManagment.CustomColors.CaptionGradientEnd = System.Drawing.SystemColors.ButtonFace; this.ErrorCodeManagment.CustomColors.CaptionGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(232)))), ((int)(((byte)(228))))); this.ErrorCodeManagment.CustomColors.CaptionPressedGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(146)))), ((int)(((byte)(181))))); this.ErrorCodeManagment.CustomColors.CaptionPressedGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(146)))), ((int)(((byte)(181))))); this.ErrorCodeManagment.CustomColors.CaptionPressedGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(146)))), ((int)(((byte)(181))))); this.ErrorCodeManagment.CustomColors.CaptionSelectedGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(189)))), ((int)(((byte)(210))))); this.ErrorCodeManagment.CustomColors.CaptionSelectedGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(189)))), ((int)(((byte)(210))))); this.ErrorCodeManagment.CustomColors.CaptionSelectedGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(189)))), ((int)(((byte)(210))))); this.ErrorCodeManagment.CustomColors.CaptionSelectedText = System.Drawing.SystemColors.ControlText; this.ErrorCodeManagment.CustomColors.CaptionText = System.Drawing.SystemColors.ControlText; this.ErrorCodeManagment.CustomColors.FlatCaptionGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(232)))), ((int)(((byte)(228))))); this.ErrorCodeManagment.CustomColors.FlatCaptionGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(244)))), ((int)(((byte)(242))))); this.ErrorCodeManagment.CustomColors.InnerBorderColor = System.Drawing.SystemColors.Window; this.ErrorCodeManagment.Font = new System.Drawing.Font("SimSun", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.ErrorCodeManagment.ForeColor = System.Drawing.SystemColors.ControlText; this.ErrorCodeManagment.Image = null; this.ErrorCodeManagment.Name = "ErrorCodeManagment"; this.ErrorCodeManagment.PanelStyle = BSE.Windows.Forms.PanelStyle.Office2007; this.ErrorCodeManagment.Size = new System.Drawing.Size(134, 40); this.ErrorCodeManagment.TabIndex = 1; this.ErrorCodeManagment.Text = "报错受理管理"; this.ErrorCodeManagment.ToolTipTextCloseIcon = null; this.ErrorCodeManagment.ToolTipTextExpandIconPanelCollapsed = null; this.ErrorCodeManagment.ToolTipTextExpandIconPanelExpanded = null; // // toolStrip2 // this.toolStrip2.AutoSize = false; this.toolStrip2.BackgroundImage = global::ChinaUnion_Agent.Properties.Resources.Desktop; this.toolStrip2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.toolStrip2.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStrip2.ImageScalingSize = new System.Drawing.Size(48, 48); this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripSeparator11, this.toolStripButton5, this.toolStripSeparator15, this.toolStripButton6, this.toolStripSeparator16, this.toolStripButton8, this.toolStripSeparator9, this.toolStripButton4, this.toolStripSeparator8, this.toolbarErrorBroadcast, this.toolStripSeparator6}); this.toolStrip2.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.VerticalStackWithOverflow; this.toolStrip2.Location = new System.Drawing.Point(1, 40); this.toolStrip2.Name = "toolStrip2"; this.toolStrip2.Size = new System.Drawing.Size(132, 0); this.toolStrip2.TabIndex = 4; this.toolStrip2.Text = "toolStrip2"; // // toolStripSeparator11 // this.toolStripSeparator11.Name = "toolStripSeparator11"; this.toolStripSeparator11.Size = new System.Drawing.Size(130, 6); // // toolStripButton5 // this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image"))); this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton5.Name = "toolStripButton5"; this.toolStripButton5.Size = new System.Drawing.Size(81, 64); this.toolStripButton5.Text = "报错信息导入"; this.toolStripButton5.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButton5.Click += new System.EventHandler(this.ErrorCodeImport_Click); // // toolStripSeparator15 // this.toolStripSeparator15.Name = "toolStripSeparator15"; this.toolStripSeparator15.Size = new System.Drawing.Size(130, 6); // // toolStripButton6 // this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image"))); this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton6.Name = "toolStripButton6"; this.toolStripButton6.Size = new System.Drawing.Size(81, 64); this.toolStripButton6.Text = "报错信息查询"; this.toolStripButton6.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButton6.Click += new System.EventHandler(this.ErrorCodeQuery_Click); // // toolStripSeparator16 // this.toolStripSeparator16.Name = "toolStripSeparator16"; this.toolStripSeparator16.Size = new System.Drawing.Size(130, 6); // // toolStripButton8 // this.toolStripButton8.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton8.Image"))); this.toolStripButton8.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton8.Name = "toolStripButton8"; this.toolStripButton8.Size = new System.Drawing.Size(81, 64); this.toolStripButton8.Text = "微信账号导入"; this.toolStripButton8.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButton8.Click += new System.EventHandler(this.ErrorWechatImport_Click); // // toolStripSeparator9 // this.toolStripSeparator9.Name = "toolStripSeparator9"; this.toolStripSeparator9.Size = new System.Drawing.Size(130, 6); // // toolStripButton4 // this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image"))); this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton4.Name = "toolStripButton4"; this.toolStripButton4.Size = new System.Drawing.Size(81, 64); this.toolStripButton4.Text = "微信账号查询"; this.toolStripButton4.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolStripButton4.Click += new System.EventHandler(this.ErrorWechatQuery_Click); // // toolStripSeparator8 // this.toolStripSeparator8.Name = "toolStripSeparator8"; this.toolStripSeparator8.Size = new System.Drawing.Size(130, 6); // // toolbarErrorBroadcast // this.toolbarErrorBroadcast.Image = ((System.Drawing.Image)(resources.GetObject("toolbarErrorBroadcast.Image"))); this.toolbarErrorBroadcast.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolbarErrorBroadcast.Name = "toolbarErrorBroadcast"; this.toolbarErrorBroadcast.Size = new System.Drawing.Size(81, 64); this.toolbarErrorBroadcast.Text = "微信公告发布"; this.toolbarErrorBroadcast.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.toolbarErrorBroadcast.ToolTipText = "微信公告"; this.toolbarErrorBroadcast.Click += new System.EventHandler(this.ErrorWehatBroadcast_Click); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(130, 6); // // InvoiceManagement // this.InvoiceManagement.CaptionFont = new System.Drawing.Font("SimSun", 10F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline)))); this.InvoiceManagement.CaptionHeight = 40; this.InvoiceManagement.Controls.Add(this.toolStrip3); this.InvoiceManagement.CustomColors.BackColor = System.Drawing.SystemColors.Control; this.InvoiceManagement.CustomColors.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(160)))), ((int)(((byte)(160)))), ((int)(((byte)(160))))); this.InvoiceManagement.CustomColors.CaptionCheckedGradientBegin = System.Drawing.Color.Empty; this.InvoiceManagement.CustomColors.CaptionCheckedGradientEnd = System.Drawing.Color.Empty; this.InvoiceManagement.CustomColors.CaptionCheckedGradientMiddle = System.Drawing.Color.Empty; this.InvoiceManagement.CustomColors.CaptionCloseIcon = System.Drawing.SystemColors.ControlText; this.InvoiceManagement.CustomColors.CaptionExpandIcon = System.Drawing.SystemColors.ControlText; this.InvoiceManagement.CustomColors.CaptionGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(244)))), ((int)(((byte)(242))))); this.InvoiceManagement.CustomColors.CaptionGradientEnd = System.Drawing.SystemColors.ButtonFace; this.InvoiceManagement.CustomColors.CaptionGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(232)))), ((int)(((byte)(228))))); this.InvoiceManagement.CustomColors.CaptionPressedGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(146)))), ((int)(((byte)(181))))); this.InvoiceManagement.CustomColors.CaptionPressedGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(146)))), ((int)(((byte)(181))))); this.InvoiceManagement.CustomColors.CaptionPressedGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(133)))), ((int)(((byte)(146)))), ((int)(((byte)(181))))); this.InvoiceManagement.CustomColors.CaptionSelectedGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(189)))), ((int)(((byte)(210))))); this.InvoiceManagement.CustomColors.CaptionSelectedGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(189)))), ((int)(((byte)(210))))); this.InvoiceManagement.CustomColors.CaptionSelectedGradientMiddle = System.Drawing.Color.FromArgb(((int)(((byte)(182)))), ((int)(((byte)(189)))), ((int)(((byte)(210))))); this.InvoiceManagement.CustomColors.CaptionSelectedText = System.Drawing.SystemColors.ControlText; this.InvoiceManagement.CustomColors.CaptionText = System.Drawing.SystemColors.ControlText; this.InvoiceManagement.CustomColors.FlatCaptionGradientBegin = System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(232)))), ((int)(((byte)(228))))); this.InvoiceManagement.CustomColors.FlatCaptionGradientEnd = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(244)))), ((int)(((byte)(242))))); this.InvoiceManagement.CustomColors.InnerBorderColor = System.Drawing.SystemColors.Window; this.InvoiceManagement.Font = new System.Drawing.Font("SimSun", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); this.InvoiceManagement.ForeColor = System.Drawing.SystemColors.ControlText; this.InvoiceManagement.Image = null; this.InvoiceManagement.Name = "InvoiceManagement"; this.InvoiceManagement.PanelStyle = BSE.Windows.Forms.PanelStyle.Office2007; this.InvoiceManagement.Size = new System.Drawing.Size(134, 40); this.InvoiceManagement.TabIndex = 2; this.InvoiceManagement.Text = "发票受理管理"; this.InvoiceManagement.ToolTipTextCloseIcon = null; this.InvoiceManagement.ToolTipTextExpandIconPanelCollapsed = null; this.InvoiceManagement.ToolTipTextExpandIconPanelExpanded = null; // // toolStrip3 // this.toolStrip3.AutoSize = false; this.toolStrip3.BackgroundImage = global::ChinaUnion_Agent.Properties.Resources.Desktop; this.toolStrip3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.toolStrip3.Dock = System.Windows.Forms.DockStyle.Fill; this.toolStrip3.ImageScalingSize = new System.Drawing.Size(48, 48); this.toolStrip3.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripSeparator12, this.btnInvoiceImport, this.toolStripSeparator13, this.btnInvoiceManagement, this.toolStripSeparator14, this.btnPaymentImport, this.toolStripSeparator17, this.btnPaymentManagement, this.toolStripSeparator18, this.btnInvoiceWechatPublish, this.toolStripSeparator19}); this.toolStrip3.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.VerticalStackWithOverflow; this.toolStrip3.Location = new System.Drawing.Point(1, 40); this.toolStrip3.Name = "toolStrip3"; this.toolStrip3.Size = new System.Drawing.Size(132, 0); this.toolStrip3.TabIndex = 5; this.toolStrip3.Text = "toolStrip3"; // // toolStripSeparator12 // this.toolStripSeparator12.Name = "toolStripSeparator12"; this.toolStripSeparator12.Size = new System.Drawing.Size(130, 6); // // btnInvoiceImport // this.btnInvoiceImport.Image = ((System.Drawing.Image)(resources.GetObject("btnInvoiceImport.Image"))); this.btnInvoiceImport.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnInvoiceImport.Name = "btnInvoiceImport"; this.btnInvoiceImport.Size = new System.Drawing.Size(130, 64); this.btnInvoiceImport.Text = "发票信息导入"; this.btnInvoiceImport.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.btnInvoiceImport.Click += new System.EventHandler(this.btnInvoiceImport_Click); // // toolStripSeparator13 // this.toolStripSeparator13.Name = "toolStripSeparator13"; this.toolStripSeparator13.Size = new System.Drawing.Size(130, 6); // // btnInvoiceManagement // this.btnInvoiceManagement.Image = ((System.Drawing.Image)(resources.GetObject("btnInvoiceManagement.Image"))); this.btnInvoiceManagement.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnInvoiceManagement.Name = "btnInvoiceManagement"; this.btnInvoiceManagement.Size = new System.Drawing.Size(130, 64); this.btnInvoiceManagement.Text = "发票信息管理"; this.btnInvoiceManagement.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.btnInvoiceManagement.Click += new System.EventHandler(this.btnInvoiceManagement_Click); // // toolStripSeparator14 // this.toolStripSeparator14.Name = "toolStripSeparator14"; this.toolStripSeparator14.Size = new System.Drawing.Size(130, 6); // // btnPaymentImport // this.btnPaymentImport.Image = ((System.Drawing.Image)(resources.GetObject("btnPaymentImport.Image"))); this.btnPaymentImport.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnPaymentImport.Name = "btnPaymentImport"; this.btnPaymentImport.Size = new System.Drawing.Size(130, 64); this.btnPaymentImport.Text = "支付信息导入"; this.btnPaymentImport.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.btnPaymentImport.Click += new System.EventHandler(this.btnPaymentImport_Click); // // toolStripSeparator17 // this.toolStripSeparator17.Name = "toolStripSeparator17"; this.toolStripSeparator17.Size = new System.Drawing.Size(130, 6); // // btnPaymentManagement // this.btnPaymentManagement.Image = ((System.Drawing.Image)(resources.GetObject("btnPaymentManagement.Image"))); this.btnPaymentManagement.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnPaymentManagement.Name = "btnPaymentManagement"; this.btnPaymentManagement.Size = new System.Drawing.Size(130, 64); this.btnPaymentManagement.Text = "支付信息管理"; this.btnPaymentManagement.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.btnPaymentManagement.Click += new System.EventHandler(this.btnPaymentManagement_Click); // // toolStripSeparator18 // this.toolStripSeparator18.Name = "toolStripSeparator18"; this.toolStripSeparator18.Size = new System.Drawing.Size(130, 6); // // btnInvoiceWechatPublish // this.btnInvoiceWechatPublish.Image = ((System.Drawing.Image)(resources.GetObject("btnInvoiceWechatPublish.Image"))); this.btnInvoiceWechatPublish.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnInvoiceWechatPublish.Name = "btnInvoiceWechatPublish"; this.btnInvoiceWechatPublish.Size = new System.Drawing.Size(130, 64); this.btnInvoiceWechatPublish.Text = "微信公告发布"; this.btnInvoiceWechatPublish.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.btnInvoiceWechatPublish.ToolTipText = "微信公告公告"; this.btnInvoiceWechatPublish.Click += new System.EventHandler(this.btnInvoiceWechatPublish_Click); // // toolStripSeparator19 // this.toolStripSeparator19.Name = "toolStripSeparator19"; this.toolStripSeparator19.Size = new System.Drawing.Size(130, 6); // // frmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(233)))), ((int)(((byte)(207))))); this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(1016, 741); this.Controls.Add(this.ToolBarPannelList); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.menuMain); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.MainMenuStrip = this.menuMain; this.Name = "frmMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "上海联通合作伙伴支撑平台"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmMain_Load); this.menuMain.ResumeLayout(false); this.menuMain.PerformLayout(); this.ToolBarPannelList.ResumeLayout(false); this.CommissionManagement.ResumeLayout(false); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.ErrorCodeManagment.ResumeLayout(false); this.toolStrip2.ResumeLayout(false); this.toolStrip2.PerformLayout(); this.InvoiceManagement.ResumeLayout(false); this.toolStrip3.ResumeLayout(false); this.toolStrip3.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.MenuStrip menuMain; private System.Windows.Forms.ToolStripMenuItem menuItemSystem; private System.Windows.Forms.ToolStripMenuItem menuItemExit; private System.Windows.Forms.StatusStrip statusStrip1; private BSE.Windows.Forms.XPanderPanelList ToolBarPannelList; private BSE.Windows.Forms.XPanderPanel CommissionManagement; private BSE.Windows.Forms.XPanderPanel ErrorCodeManagment; private System.Windows.Forms.ToolStrip toolStrip2; private System.Windows.Forms.ToolStripSeparator toolStripSeparator11; private System.Windows.Forms.ToolStripButton toolStripButton5; private System.Windows.Forms.ToolStripSeparator toolStripSeparator15; private System.Windows.Forms.ToolStripButton toolStripButton6; private System.Windows.Forms.ToolStripSeparator toolStripSeparator16; private System.Windows.Forms.ToolStripButton toolStripButton8; private System.Windows.Forms.ImageList imageList1; private System.Windows.Forms.ToolStrip toolStrip1; private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; private System.Windows.Forms.ToolStripButton toolStripButton1; private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; private System.Windows.Forms.ToolStripButton toolStripButton12; private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; private System.Windows.Forms.ToolStripButton toolStripButton15; private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; private System.Windows.Forms.ToolStripButton toolStripButton17; private System.Windows.Forms.ToolStripButton toolStripButton2; private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; private System.Windows.Forms.ToolStripButton toolStripButton3; private System.Windows.Forms.ToolStripButton toolbarErrorBroadcast; private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; private System.Windows.Forms.ToolStripButton toolStripButton4; private System.Windows.Forms.ToolStripSeparator toolStripSeparator10; private System.Windows.Forms.ToolStripButton toolStripButton7; private System.Windows.Forms.ToolStripMenuItem menuItemLog; private BSE.Windows.Forms.XPanderPanel InvoiceManagement; private System.Windows.Forms.ToolStrip toolStrip3; private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; private System.Windows.Forms.ToolStripButton btnInvoiceImport; private System.Windows.Forms.ToolStripSeparator toolStripSeparator13; private System.Windows.Forms.ToolStripButton btnInvoiceManagement; private System.Windows.Forms.ToolStripSeparator toolStripSeparator14; private System.Windows.Forms.ToolStripButton btnPaymentImport; private System.Windows.Forms.ToolStripSeparator toolStripSeparator17; private System.Windows.Forms.ToolStripButton btnPaymentManagement; private System.Windows.Forms.ToolStripSeparator toolStripSeparator18; private System.Windows.Forms.ToolStripButton btnInvoiceWechatPublish; private System.Windows.Forms.ToolStripSeparator toolStripSeparator19; } }
ZhouAnPing/Mail
Mail/ChinaUnion_Agent/frmMain.Designer.cs
C#
apache-2.0
48,352
[ 30522, 3415, 15327, 2859, 19496, 2239, 1035, 4005, 1063, 7704, 2465, 10424, 14760, 2378, 1063, 1013, 1013, 1013, 1026, 12654, 1028, 1013, 1013, 1013, 3223, 5859, 8023, 1012, 1013, 1013, 1013, 1026, 1013, 12654, 1028, 2797, 2291, 1012, 6922, 5302, 9247, 1012, 12696, 18249, 2121, 6177, 1027, 19701, 1025, 1013, 1013, 1013, 1026, 12654, 1028, 1013, 1013, 1013, 4550, 2039, 2151, 4219, 2108, 2109, 1012, 1013, 1013, 1013, 1026, 1013, 12654, 1028, 1013, 1013, 1013, 1026, 11498, 2213, 2171, 1027, 1000, 4487, 13102, 18606, 1000, 1028, 2995, 2065, 3266, 4219, 2323, 2022, 21866, 1025, 30524, 18606, 1004, 1004, 1006, 6177, 999, 1027, 19701, 1007, 1007, 1063, 6177, 1012, 27764, 1006, 1007, 1025, 1065, 2918, 1012, 27764, 1006, 4487, 13102, 18606, 1007, 1025, 1065, 1001, 2555, 3645, 2433, 5859, 7013, 3642, 1013, 1013, 1013, 1026, 12654, 1028, 1013, 1013, 1013, 3223, 4118, 2005, 5859, 2490, 1011, 2079, 2025, 19933, 1013, 1013, 1013, 1996, 8417, 1997, 2023, 4118, 2007, 1996, 3642, 3559, 1012, 1013, 1013, 1013, 1026, 1013, 12654, 1028, 2797, 11675, 3988, 4697, 9006, 29513, 3372, 1006, 1007, 1063, 2023, 1012, 6177, 1027, 2047, 2291, 1012, 6922, 5302, 9247, 1012, 11661, 1006, 1007, 1025, 2291, 1012, 6922, 5302, 9247, 1012, 6922, 6072, 8162, 3401, 24805, 4590, 4219, 1027, 2047, 2291, 1012, 6922, 5302, 9247, 1012, 6922, 6072, 8162, 3401, 24805, 4590, 1006, 2828, 11253, 1006, 10424, 14760, 2378, 1007, 1007, 1025, 2023, 1012, 12183, 24238, 1027, 2047, 2291, 1012, 3645, 1012, 3596, 1012, 12183, 3367, 29443, 1006, 1007, 1025, 2023, 1012, 12183, 4221, 5244, 27268, 6633, 1027, 2047, 2291, 1012, 3645, 1012, 3596, 1012, 5906, 24901, 3549, 14663, 6633, 1006, 1007, 1025, 2023, 1012, 12183, 4221, 19968, 8649, 1027, 2047, 2291, 1012, 3645, 1012, 3596, 1012, 5906, 24901, 3549, 14663, 6633, 1006, 1007, 1025, 2023, 1012, 12183, 4221, 4168, 9048, 2102, 1027, 2047, 2291, 1012, 3645, 1012, 3596, 1012, 5906, 24901, 3549, 14663, 6633, 1006, 1007, 1025, 2023, 1012, 3570, 3367, 29443, 2487, 1027, 2047, 2291, 1012, 3645, 1012, 3596, 1012, 3570, 3367, 29443, 1006, 1007, 1025, 2023, 1012, 3746, 9863, 2487, 1027, 2047, 2291, 1012, 3645, 1012, 3596, 1012, 3746, 9863, 1006, 2023, 1012, 6177, 1007, 1025, 2023, 1012, 6994, 8237, 9739, 9091, 2923, 1027, 2047, 18667, 2063, 1012, 3645, 1012, 3596, 1012, 26726, 12243, 9739, 13348, 3367, 1006, 1007, 1025, 2023, 1012, 3222, 24805, 20511, 1027, 2047, 18667, 2063, 1012, 3645, 1012, 3596, 1012, 26726, 12243, 9739, 2884, 1006, 1007, 1025, 2023, 1012, 5906, 24901, 2487, 1027, 2047, 2291, 1012, 3645, 1012, 3596, 1012, 5906, 24901, 1006, 1007, 1025, 2023, 1012, 5906, 24901, 3366, 28689, 4263, 2487, 1027, 2047, 2291, 1012, 3645, 1012, 3596, 1012, 5906, 24901, 3366, 28689, 4263, 1006, 1007, 1025, 2023, 1012, 5906, 24901, 8569, 15474, 2487, 1027, 2047, 2291, 1012, 3645, 1012, 3596, 1012, 5906, 24901, 8569, 15474, 1006, 1007, 1025, 2023, 1012, 5906, 24901, 3366, 28689, 4263, 2475, 30523, 4728, 1010, 6270, 1012, 1026, 1013, 11498, 2213, 1028, 5123, 2058, 15637, 11675, 27764, 1006, 22017, 2140, 4487, 13102, 18606, 1007, 1063, 2065, 1006, 4487, 13102, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 4728, 1010, 6270, 1012, 1026, 1013, 11498, 2213, 1028, 5123, 2058, 15637, 11675, 27764, 1006, 22017, 2140, 4487, 13102, 18606, 1007, 1063, 2065, 1006, 4487, 13102, 30526 ]
#!/usr/bin/perl # Copyright 2008 SARL Biblibre # # This file is part of Koha. # # Koha is free software; you can redistribute it and/or modify it under the # terms of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # # Koha is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with Koha; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. use strict; use warnings; BEGIN { # find Koha's Perl modules # test carefully before changing this use FindBin; eval { require "$FindBin::Bin/../kohalib.pl" }; } use C4::Context; use C4::Dates qw/format_date format_date_in_iso/; use C4::Debug; use C4::Serials; use Date::Calc qw/Date_to_Days check_date/; use Getopt::Long; use Pod::Usage; my $dbh = C4::Context->dbh; my $man = 0; my $help = 0; my $confirm = 0; GetOptions( 'help|?' => \$help, 'c' => \$confirm, ) or pod2usage(2); pod2usage(1) if $help; pod2usage( -verbose => 2 ) if $man; # select all serials with not "irregular" periodicity that are late my $sth = $dbh->prepare(" SELECT * FROM serial LEFT JOIN subscription ON (subscription.subscriptionid=serial.subscriptionid) WHERE serial.status = 1 AND periodicity <> 32 AND DATE_ADD(planneddate, INTERVAL CAST(graceperiod AS SIGNED) DAY) < NOW() "); $sth->execute(); while ( my $issue = $sth->fetchrow_hashref ) { my $subscription = &GetSubscription( $issue->{subscriptionid} ); my $planneddate = $issue->{planneddate}; if( $subscription && $planneddate && $planneddate ne "0000-00-00" ){ my $nextpublisheddate = GetNextDate( $planneddate, $subscription ); my $today = format_date_in_iso( C4::Dates->new()->output() ); if ($nextpublisheddate && $today){ my ( $year, $month, $day ) = split( /-/, $nextpublisheddate ); my ( $tyear, $tmonth, $tday ) = split( /-/, $today ); if ( check_date( $year, $month, $day ) && check_date( $tyear, $tmonth, $tday ) && Date_to_Days( $year, $month, $day ) < Date_to_Days( $tyear, $tmonth, $tday ) ) { ModSerialStatus( $issue->{serialid}, $issue->{serialseq}, $issue->{planneddate}, $issue->{publisheddate}, 3, "Automatically set to late" ); print $issue->{serialid}." update\n"; } }else{ print "Error with serial(".$issue->{serialid}.") has no existent subscription(".$issue->{subscriptionid}.") attached or planneddate is "; } } }
MASmedios/koha
misc/cronjobs/serialsUpdate.pl
Perl
gpl-2.0
3,040
[ 30522, 1001, 999, 1013, 2149, 2099, 1013, 8026, 1013, 2566, 2140, 1001, 9385, 2263, 18906, 2140, 12170, 16558, 12322, 2890, 1001, 1001, 2023, 5371, 2003, 2112, 1997, 12849, 3270, 1012, 1001, 1001, 12849, 3270, 2003, 2489, 4007, 1025, 2017, 2064, 2417, 2923, 3089, 8569, 2618, 2009, 1998, 1013, 2030, 19933, 2009, 2104, 1996, 1001, 3408, 1997, 1996, 27004, 2236, 2270, 6105, 2004, 2405, 2011, 1996, 2489, 4007, 1001, 3192, 1025, 2593, 2544, 1016, 1997, 1996, 6105, 1010, 2030, 1006, 2012, 2115, 5724, 1007, 2151, 2101, 1001, 2544, 1012, 1001, 1001, 12849, 3270, 2003, 5500, 1999, 1996, 3246, 2008, 2009, 2097, 2022, 6179, 1010, 2021, 2302, 2151, 1001, 10943, 2100, 1025, 2302, 2130, 1996, 13339, 10943, 2100, 1997, 6432, 8010, 2030, 10516, 2005, 1001, 1037, 3327, 3800, 1012, 2156, 1996, 27004, 2236, 2270, 6105, 2005, 2062, 4751, 1012, 1001, 1001, 2017, 2323, 2031, 2363, 1037, 6100, 1997, 1996, 27004, 2236, 2270, 6105, 2247, 1001, 2007, 12849, 3270, 1025, 2065, 2025, 1010, 4339, 2000, 1996, 2489, 4007, 3192, 1010, 4297, 1012, 1010, 1001, 4868, 5951, 2395, 1010, 3587, 2723, 1010, 3731, 1010, 5003, 6185, 14526, 2692, 1011, 7558, 2487, 3915, 1012, 2224, 9384, 1025, 2224, 16234, 1025, 4088, 1063, 1001, 2424, 12849, 3270, 1005, 1055, 2566, 2140, 14184, 1001, 3231, 5362, 2077, 5278, 2023, 2224, 2424, 8428, 1025, 9345, 2140, 1063, 5478, 1000, 1002, 2424, 8428, 1024, 1024, 8026, 1013, 1012, 1012, 1013, 12849, 8865, 12322, 1012, 30524, 1024, 1024, 5246, 1053, 2860, 1013, 4289, 1035, 3058, 4289, 1035, 3058, 1035, 1999, 1035, 11163, 1013, 1025, 2224, 1039, 2549, 1024, 1024, 2139, 8569, 2290, 1025, 2224, 1039, 2549, 1024, 1024, 28172, 1025, 2224, 3058, 1024, 1024, 10250, 2278, 1053, 2860, 1013, 3058, 1035, 2000, 1035, 2420, 4638, 1035, 3058, 1013, 1025, 2224, 2131, 7361, 2102, 1024, 1024, 2146, 1025, 2224, 17491, 1024, 1024, 8192, 1025, 2026, 1002, 16962, 2232, 1027, 1039, 2549, 1024, 1024, 6123, 1011, 1028, 16962, 2232, 1025, 2026, 1002, 2158, 1027, 1014, 1025, 2026, 1002, 2393, 1027, 1014, 1025, 2026, 1002, 12210, 1027, 1014, 1025, 2131, 7361, 9285, 1006, 1005, 2393, 1064, 1029, 1005, 1027, 1028, 1032, 1002, 2393, 1010, 1005, 1039, 1005, 1027, 1028, 1032, 1002, 12210, 1010, 1007, 2030, 17491, 2475, 10383, 3351, 1006, 1016, 1007, 1025, 17491, 2475, 10383, 3351, 1006, 1015, 1007, 2065, 1002, 2393, 1025, 17491, 2475, 10383, 3351, 1006, 1011, 12034, 9232, 1027, 1028, 1016, 1007, 2065, 1002, 2158, 1025, 1001, 7276, 2035, 28172, 2007, 2025, 1000, 12052, 1000, 15861, 3012, 2008, 2024, 2397, 2026, 1002, 2358, 2232, 1027, 1002, 16962, 2232, 1011, 1028, 7374, 1006, 1000, 7276, 1008, 2013, 7642, 2187, 3693, 15002, 2006, 1006, 15002, 1012, 15002, 3593, 1027, 7642, 1012, 15002, 3593, 1007, 2073, 7642, 1012, 3570, 1027, 1015, 1998, 15861, 3012, 1026, 1028, 3590, 1998, 3058, 1035, 5587, 1006, 3740, 13701, 1010, 13483, 3459, 1006, 4519, 4842, 3695, 2094, 2004, 2772, 1007, 2154, 1007, 1026, 2085, 1006, 1007, 1000, 1007, 1025, 1002, 2358, 2232, 30523, 20228, 1000, 1065, 1025, 1065, 2224, 1039, 2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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 20228, 1000, 1065, 1025, 1065, 2224, 1039, 2549, 1024, 1024, 6123, 1025, 2224, 1039, 2549, 30526 ]
/* * Copyright (c) 2016 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. */ /** * DOC: wlan_hdd_nan_datapath.h * * WLAN Host Device Driver nan datapath API specification */ #ifndef __WLAN_HDD_NAN_DATAPATH_H #define __WLAN_HDD_NAN_DATAPATH_H struct hdd_context_s; struct hdd_tgt_cfg; struct hdd_config; struct hdd_adapter_s; struct wireless_dev; /* NAN Social channels */ #define NAN_SOCIAL_CHANNEL_2_4GHZ 6 #define NAN_SOCIAL_CHANNEL_5GHZ_LOWER_BAND 44 #define NAN_SOCIAL_CHANNEL_5GHZ_UPPER_BAND 149 #define NDP_APP_INFO_LEN 255 #define NDP_QOS_INFO_LEN 255 #define HDD_MAX_NUM_NDP_STA (HDD_MAX_NUM_IBSS_STA) #define NDP_BROADCAST_STAID (IBSS_BROADCAST_STAID) #ifdef WLAN_FEATURE_NAN_DATAPATH #define WLAN_HDD_IS_NDI(adapter) ((adapter)->device_mode == WLAN_HDD_NDI) #define WLAN_HDD_IS_NDI_CONNECTED(adapter) ( \ eConnectionState_NdiConnected ==\ (adapter)->sessionCtx.station.conn_info.connState) #else #define WLAN_HDD_IS_NDI(adapter) (false) #define WLAN_HDD_IS_NDI_CONNECTED(adapter) (false) #endif /* WLAN_FEATURE_NAN_DATAPATH */ /** * enum qca_wlan_vendor_attr_ndp_params - vendor attribute parameters * @QCA_WLAN_VENDOR_ATTR_NDP_SUBCMD: NDP Sub command * @QCA_WLAN_VENDOR_ATTR_NDP_TRANSACTION_ID: Transaction id reference * @QCA_WLAN_VENDOR_ATTR_NDP_STATUS_ID: NDP status id * @QCA_WLAN_VENDOR_ATTR_NDP_SERVICE_INSTANCE_ID: Service instance id * @QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL: Requested channel * @QCA_WLAN_VENDOR_ATTR_NDP_PEER_DISCOVERY_MAC_ADDR: Peer discovery mac addr * @QCA_WLAN_VENDOR_ATTR_NDP_IFACE_STR: Iface name * @QCA_WLAN_VENDOR_ATTR_NDP_CONFIG_SECURITY: Security configuration * @QCA_WLAN_VENDOR_ATTR_NDP_CONFIG_QOS: Qos configuration * @QCA_WLAN_VENDOR_ATTR_NDP_APP_INFO_LEN: Application info length * @QCA_WLAN_VENDOR_ATTR_NDP_APP_INFO: Application info * @QCA_WLAN_VENDOR_ATTR_NDP_INSTANCE_ID: NDP instance id * @QCA_WLAN_VENDOR_ATTR_NDP_NUM_INSTANCE_ID: Number of NDP instance ids * @QCA_WLAN_VENDOR_ATTR_NDP_INSTANCE_ID_ARRAY: NDP instance id array * @QCA_WLAN_VENDOR_ATTR_NDP_RESPONSE_CODE: Schedule response * @QCA_WLAN_VENDOR_ATTR_NDP_SCHEDULE_STATUS_CODE: schedule status * @QCA_WLAN_VENDOR_ATTR_NDP_NDI_MAC_ADDR: NDI mac address * @QCA_WLAN_VENDOR_ATTR_NDP_DRV_RETURN_TYPE: Driver return status * @QCA_WLAN_VENDOR_ATTR_NDP_DRV_RETURN_VALUE: Driver return value */ enum qca_wlan_vendor_attr_ndp_params { QCA_WLAN_VENDOR_ATTR_NDP_PARAM_INVALID = 0, QCA_WLAN_VENDOR_ATTR_NDP_SUBCMD, QCA_WLAN_VENDOR_ATTR_NDP_TRANSACTION_ID, QCA_WLAN_VENDOR_ATTR_NDP_SERVICE_INSTANCE_ID, QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL, QCA_WLAN_VENDOR_ATTR_NDP_PEER_DISCOVERY_MAC_ADDR, QCA_WLAN_VENDOR_ATTR_NDP_IFACE_STR, QCA_WLAN_VENDOR_ATTR_NDP_CONFIG_SECURITY, QCA_WLAN_VENDOR_ATTR_NDP_CONFIG_QOS, QCA_WLAN_VENDOR_ATTR_NDP_APP_INFO_LEN, QCA_WLAN_VENDOR_ATTR_NDP_APP_INFO, QCA_WLAN_VENDOR_ATTR_NDP_INSTANCE_ID, QCA_WLAN_VENDOR_ATTR_NDP_NUM_INSTANCE_ID, QCA_WLAN_VENDOR_ATTR_NDP_INSTANCE_ID_ARRAY, QCA_WLAN_VENDOR_ATTR_NDP_RESPONSE_CODE, QCA_WLAN_VENDOR_ATTR_NDP_SCHEDULE_STATUS_CODE, QCA_WLAN_VENDOR_ATTR_NDP_NDI_MAC_ADDR, QCA_WLAN_VENDOR_ATTR_NDP_DRV_RETURN_TYPE, QCA_WLAN_VENDOR_ATTR_NDP_DRV_RETURN_VALUE, QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_MAX = QCA_WLAN_VENDOR_ATTR_NDP_PARAMS_AFTER_LAST - 1, }; /** * enum qca_wlan_vendor_attr_ndp_cfg_security - vendor security attribute * @QCA_WLAN_VENDOR_ATTR_NDP_SECURITY_ENABLE: Security enabled */ enum qca_wlan_vendor_attr_ndp_cfg_security { QCA_WLAN_VENDOR_ATTR_NDP_SECURITY_ENABLE = 1, }; /** * enum qca_wlan_vendor_attr_ndp_qos - vendor qos attribute * @QCA_WLAN_VENDOR_ATTR_NDP_QOS_CONFIG: NDP QoS configuration */ enum qca_wlan_vendor_attr_ndp_qos { QCA_WLAN_VENDOR_ATTR_NDP_QOS_CONFIG = 1, }; /** * enum qca_wlan_vendor_attr_ndp_sub_cmd_value - NDP subcmd value * @QCA_WLAN_VENDOR_ATTR_NDP_INVALID: Unused subcmd value * @QCA_WLAN_VENDOR_ATTR_NDP_INTERFACE_CREATE: iface create * @QCA_WLAN_VENDOR_ATTR_NDP_INTERFACE_DELETE: iface delete * @QCA_WLAN_VENDOR_ATTR_NDP_INITIATOR_REQUEST: NDP initiator request * @QCA_WLAN_VENDOR_ATTR_NDP_INITIATOR_RESPONSE: NDP initiator response * @QCA_WLAN_VENDOR_ATTR_NDP_RESPONDER_REQUEST: NDP responder request * @QCA_WLAN_VENDOR_ATTR_NDP_RESPONDER_RESPONSE: NDP responder response * @QCA_WLAN_VENDOR_ATTR_NDP_END_REQUEST: NDP end request * @QCA_WLAN_VENDOR_ATTR_NDP_END_RESPONSE: NDP end response * @QCA_WLAN_VENDOR_ATTR_NDP_SCHEDULE_UPDATE_REQUEST: NDP update request * @QCA_WLAN_VENDOR_ATTR_NDP_SCHEDULE_UPDATE_RESPONSE: NDP update response * @QCA_WLAN_VENDOR_ATTR_NDP_REQUEST_IND: NDP request indication * @QCA_WLAN_VENDOR_ATTR_NDP_CONFIRM_IND: NDP confirm indication * @QCA_WLAN_VENDOR_ATTR_NDP_SCHEDULE_UPDATE_IND: NDP sched update indication * @QCA_WLAN_VENDOR_ATTR_NDP_END_IND: NDP End indication */ enum qca_wlan_vendor_attr_ndp_sub_cmd_value { QCA_WLAN_VENDOR_ATTR_NDP_INVALID = 0, QCA_WLAN_VENDOR_ATTR_NDP_INTERFACE_CREATE = 1, QCA_WLAN_VENDOR_ATTR_NDP_INTERFACE_DELETE = 2, QCA_WLAN_VENDOR_ATTR_NDP_INITIATOR_REQUEST = 3, QCA_WLAN_VENDOR_ATTR_NDP_INITIATOR_RESPONSE = 4, QCA_WLAN_VENDOR_ATTR_NDP_RESPONDER_REQUEST = 5, QCA_WLAN_VENDOR_ATTR_NDP_RESPONDER_RESPONSE = 6, QCA_WLAN_VENDOR_ATTR_NDP_END_REQUEST = 7, QCA_WLAN_VENDOR_ATTR_NDP_END_RESPONSE = 8, QCA_WLAN_VENDOR_ATTR_NDP_SCHEDULE_UPDATE_REQUEST = 9, QCA_WLAN_VENDOR_ATTR_NDP_SCHEDULE_UPDATE_RESPONSE = 10, QCA_WLAN_VENDOR_ATTR_NDP_REQUEST_IND = 11, QCA_WLAN_VENDOR_ATTR_NDP_CONFIRM_IND = 12, QCA_WLAN_VENDOR_ATTR_NDP_SCHEDULE_UPDATE_IND = 13, QCA_WLAN_VENDOR_ATTR_NDP_END_IND = 14 }; /** enum nan_datapath_state - NAN datapath states * @NAN_DATA_NDI_CREATING_STATE: NDI create is in progress * @NAN_DATA_NDI_CREATED_STATE: NDI successfully crated * @NAN_DATA_NDI_DELETING_STATE: NDI delete is in progress * @NAN_DATA_NDI_DELETED_STATE: NDI delete is in progress * @NAN_DATA_PEER_CREATE_STATE: Peer create is in progress * @NAN_DATA_PEER_DELETE_STATE: Peer delete is in progrss * @NAN_DATA_CONNECTING_STATE: Data connection in progress * @NAN_DATA_CONNECTED_STATE: Data connection successful * @NAN_DATA_END_STATE: NDP end is in progress * @NAN_DATA_DISCONNECTED_STATE: NDP is in disconnected state */ enum nan_datapath_state { NAN_DATA_NDI_CREATING_STATE = 0, NAN_DATA_NDI_CREATED_STATE = 1, NAN_DATA_NDI_DELETING_STATE = 2, NAN_DATA_NDI_DELETED_STATE = 3, NAN_DATA_PEER_CREATE_STATE = 4, NAN_DATA_PEER_DELETE_STATE = 5, NAN_DATA_CONNECTING_STATE = 6, NAN_DATA_CONNECTED_STATE = 7, NAN_DATA_END_STATE = 8, NAN_DATA_DISCONNECTED_STATE = 9, }; /** * struct nan_datapath_ctx - context for nan data path * @state: Current state of NDP * @active_ndp_sessions: active ndp sessions per adapter * @active_ndp_peers: number of active ndp peers * @ndp_create_transaction_id: transaction id for create req * @ndp_delete_transaction_id: transaction id for delete req * @wext_state: Wext state variable * @conn_info: NDP connection info * @roam_info: NDP roam info * @gtk_offload_req_params: GTK offload request params * @ndp_key_installed: NDP security key installed * @ndp_enc_key: NDP encryption key info * @ndp_debug_state: debug state info */ struct nan_datapath_ctx { enum nan_datapath_state state; uint32_t active_ndp_sessions; uint32_t active_ndp_peers; uint16_t ndp_create_transaction_id; uint16_t ndp_delete_transaction_id; bool ndp_key_installed; tCsrRoamSetKey ndp_enc_key; uint32_t ndp_debug_state; }; #ifdef WLAN_FEATURE_NAN_DATAPATH void hdd_ndp_print_ini_config(struct hdd_context_s *hdd_ctx); void hdd_nan_datapath_target_config(hdd_context_t *hdd_ctx, struct hdd_tgt_cfg *cfg); void hdd_ndp_event_handler(struct hdd_adapter_s *adapter, tCsrRoamInfo *roam_info, uint32_t roam_id, eRoamCmdStatus roam_status, eCsrRoamResult roam_result); int wlan_hdd_cfg80211_process_ndp_cmd(struct wiphy *wiphy, struct wireless_dev *wdev, const void *data, int data_len); int hdd_init_nan_data_mode(struct hdd_adapter_s *adapter); void hdd_ndp_session_end_handler(hdd_adapter_t *adapter); #else static inline void hdd_ndp_print_ini_config(struct hdd_context_s *hdd_ctx) { } static inline void hdd_nan_datapath_target_config(struct hdd_context_s *hdd_ctx, struct hdd_tgt_cfg *cfg) { } static inline void hdd_ndp_event_handler(struct hdd_adapter_s *adapter, tCsrRoamInfo *roam_info, uint32_t roam_id, eRoamCmdStatus roam_status, eCsrRoamResult roam_result) { } static inline int wlan_hdd_cfg80211_process_ndp_cmd(struct wiphy *wiphy, struct wireless_dev *wdev, const void *data, int data_len) { return 0; } static inline int hdd_init_nan_data_mode(struct hdd_adapter_s *adapter) { return 0; } static inline void hdd_ndp_session_end_handler(hdd_adapter_t *adapter) { } #endif /* WLAN_FEATURE_NAN_DATAPATH */ #endif /* __WLAN_HDD_NAN_DATAPATH_H */
mdalexca/marlin
drivers/staging/qcacld-2.0/CORE/HDD/src/wlan_hdd_nan_datapath.h
C
gpl-2.0
9,628
[ 30522, 1013, 1008, 1008, 9385, 1006, 1039, 1007, 2355, 1996, 11603, 3192, 1012, 2035, 2916, 9235, 1012, 1008, 1008, 3130, 7000, 2104, 1996, 2003, 2278, 30524, 1996, 1008, 2682, 9385, 5060, 1998, 2023, 6656, 5060, 3711, 1999, 2035, 1008, 4809, 1012, 1008, 1008, 1996, 4007, 2003, 3024, 1000, 2004, 2003, 1000, 1998, 1996, 3166, 5860, 19771, 5244, 2035, 1008, 10943, 3111, 2007, 7634, 2000, 2023, 4007, 2164, 2035, 13339, 1008, 10943, 3111, 1997, 6432, 8010, 1998, 10516, 1012, 1999, 2053, 2724, 4618, 1996, 1008, 3166, 2022, 20090, 2005, 2151, 2569, 1010, 3622, 1010, 14958, 1010, 2030, 9530, 3366, 15417, 4818, 1008, 12394, 2030, 2151, 12394, 18971, 4525, 2013, 3279, 1997, 2224, 1010, 2951, 2030, 1008, 11372, 1010, 3251, 1999, 2019, 2895, 1997, 3206, 1010, 27988, 2030, 2060, 1008, 17153, 20771, 2895, 1010, 17707, 2041, 1997, 2030, 1999, 4434, 2007, 1996, 2224, 2030, 1008, 2836, 1997, 2023, 4007, 1012, 1008, 1013, 1013, 1008, 1008, 1008, 9986, 1024, 1059, 5802, 1035, 10751, 2094, 1035, 16660, 1035, 2951, 15069, 1012, 1044, 1008, 1008, 1059, 5802, 3677, 5080, 4062, 16660, 2951, 15069, 17928, 12827, 1008, 1013, 1001, 2065, 13629, 2546, 1035, 1035, 1059, 5802, 1035, 10751, 2094, 1035, 16660, 1035, 2951, 15069, 1035, 1044, 1001, 9375, 1035, 1035, 1059, 5802, 1035, 10751, 2094, 1035, 16660, 1035, 2951, 15069, 1035, 1044, 2358, 6820, 6593, 10751, 2094, 1035, 6123, 1035, 1055, 1025, 2358, 6820, 6593, 10751, 2094, 1035, 1056, 13512, 1035, 12935, 2290, 1025, 2358, 6820, 6593, 10751, 2094, 1035, 9530, 8873, 2290, 1025, 2358, 6820, 6593, 10751, 2094, 1035, 15581, 2121, 1035, 1055, 1025, 2358, 6820, 6593, 9949, 1035, 16475, 1025, 1013, 1008, 16660, 2591, 6833, 1008, 1013, 1001, 9375, 16660, 1035, 2591, 1035, 3149, 1035, 1016, 1035, 1018, 5603, 2480, 1020, 1001, 9375, 16660, 1035, 2591, 1035, 3149, 1035, 1019, 5603, 2480, 1035, 2896, 1035, 2316, 4008, 1001, 9375, 16660, 1035, 2591, 1035, 3149, 1035, 1019, 5603, 2480, 1035, 3356, 1035, 2316, 17332, 1001, 9375, 21915, 1035, 10439, 1035, 18558, 1035, 18798, 20637, 1001, 9375, 21915, 1035, 1053, 2891, 1035, 18558, 1035, 18798, 20637, 1001, 9375, 10751, 2094, 1035, 4098, 1035, 16371, 2213, 1035, 21915, 1035, 2358, 2050, 1006, 10751, 2094, 1035, 4098, 1035, 16371, 2213, 1035, 21307, 4757, 1035, 2358, 2050, 1007, 1001, 9375, 21915, 1035, 3743, 1035, 2358, 14326, 1006, 21307, 4757, 1035, 3743, 1035, 2358, 14326, 1007, 1001, 2065, 3207, 2546, 1059, 5802, 1035, 3444, 1035, 16660, 1035, 2951, 15069, 1001, 9375, 1059, 5802, 1035, 10751, 2094, 1035, 2003, 1035, 1050, 4305, 1006, 15581, 2121, 1007, 1006, 1006, 15581, 2121, 1007, 1011, 1028, 5080, 1035, 5549, 1027, 1027, 1059, 5802, 1035, 10751, 2094, 1035, 1050, 4305, 1007, 1001, 9375, 1059, 5802, 1035, 10751, 2094, 1035, 2003, 1035, 1050, 4305, 1035, 4198, 1006, 15581, 2121, 1007, 1006, 1032, 17338, 30523, 6105, 2011, 24209, 2389, 9006, 2213, 2012, 5886, 2891, 1010, 4297, 1012, 1008, 1008, 6656, 2000, 2224, 1010, 6100, 1010, 19933, 1010, 1998, 1013, 2030, 16062, 2023, 4007, 2005, 1008, 2151, 3800, 2007, 2030, 2302, 7408, 2003, 2182, 3762, 4379, 1010, 3024, 2008, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 6105, 2011, 24209, 2389, 9006, 2213, 2012, 5886, 2891, 1010, 4297, 1012, 1008, 1008, 6656, 2000, 2224, 1010, 6100, 1010, 19933, 1010, 1998, 1013, 2030, 16062, 2023, 4007, 2005, 1008, 2151, 3800, 2007, 2030, 2302, 7408, 2003, 2182, 3762, 4379, 1010, 3024, 2008, 30526 ]
int testImigrant(){ Context context = createTestContext(); /* COMPUTIONG METHODS */ // int getChiasma(); // void makeGamete(std::vector<Chromosome>& gamete); //this method should be rewriten to accept vector of chromosomes instead of pointer to imigrant // double getFitness(); // double getBprop() const; // void getSizesOfBBlocks(std::vector<int>& sizes); // bool isPureA() const; // bool isPureB() const; // int getSelectionPressure() const; Imigrant Iakov(context, 5, 2000, 1.53); Imigrant Andrea(context, 'B', 5, 2000, 1); // for(int i = 0; i < 10000; i++){ // std::cout << Andrea.getChiasma() << std::endl; // } std::vector<Chromosome> gamete; Andrea.makeGamete(gamete); Imigrant Amina(context, gamete, 1.53); // std::cerr << "Individual\tBprop\n"; // std::cerr << "Iakov\t" << Iakov.getBprop() << std::endl; // std::cerr << "Andrea\t" << Andrea.getBprop() << std::endl; // std::cerr << "Amina\t" << Amina.getBprop() << std::endl; // // std::vector<int> sizes; // Amina.getSizesOfBBlocks(sizes); // for(int i = 0; i < sizes.size(); i++){ // std::cerr << sizes[i] << " \n"; // } // // Amina.readGenotype(); // // std::cerr << " isPureA: " << Amina.isPureA() << std::endl; // std::cerr << " isPureB: " << Amina.isPureB() << std::endl; return 0; }
KamilSJaron/Conjunction
test/ImigrantTest.cpp
C++
gpl-3.0
1,267
[ 30522, 20014, 3231, 27605, 18980, 1006, 1007, 1063, 6123, 6123, 1027, 3443, 22199, 8663, 18209, 1006, 1007, 1025, 1013, 1008, 4012, 18780, 3258, 2290, 4725, 1008, 1013, 1013, 1013, 20014, 2131, 20881, 26212, 1006, 1007, 1025, 1013, 1013, 11675, 2191, 16650, 2618, 1006, 2358, 2094, 1024, 1024, 9207, 1026, 16706, 1028, 1004, 2208, 2618, 1007, 1025, 1013, 1013, 2023, 4118, 2323, 2022, 2128, 26373, 2078, 2000, 5138, 9207, 1997, 26874, 2612, 1997, 20884, 2000, 10047, 8004, 17884, 1013, 1013, 3313, 2131, 8873, 27401, 1006, 1007, 1025, 1013, 1013, 3313, 2131, 2497, 21572, 2361, 1006, 1007, 9530, 3367, 1025, 1013, 1013, 11675, 4152, 10057, 11253, 10322, 7878, 2015, 1006, 2358, 2094, 1024, 1024, 9207, 1026, 20014, 1028, 1004, 10826, 1007, 1025, 1013, 1013, 22017, 2140, 2003, 5311, 5243, 1006, 1007, 9530, 3367, 1025, 1013, 1013, 22017, 2140, 2003, 5311, 15878, 1006, 1007, 9530, 3367, 1025, 1013, 1013, 20014, 4152, 12260, 7542, 20110, 5397, 1006, 1007, 9530, 3367, 1025, 10047, 8004, 17884, 24264, 7724, 1006, 6123, 1010, 1019, 1010, 2456, 1010, 1015, 1012, 5187, 1007, 1025, 10047, 8004, 17884, 8657, 1006, 6123, 1010, 1005, 1038, 1005, 1010, 1019, 1010, 2456, 1010, 1015, 1007, 1025, 1013, 1013, 2005, 1006, 20014, 1045, 1027, 1014, 1025, 1045, 1026, 6694, 2692, 1025, 1045, 1009, 1009, 1007, 1063, 1013, 1013, 2358, 2094, 1024, 1024, 2522, 4904, 1026, 1026, 8657, 1012, 2131, 20881, 26212, 1006, 1007, 1026, 1026, 2358, 2094, 1024, 1024, 2203, 2140, 1025, 1013, 1013, 1065, 2358, 2094, 1024, 1024, 9207, 1026, 16706, 1028, 2208, 2618, 1025, 8657, 1012, 2191, 16650, 2618, 1006, 2208, 2618, 1007, 1025, 10047, 8004, 17884, 24432, 2050, 1006, 6123, 1010, 2208, 2618, 1010, 1015, 1012, 5187, 1007, 1025, 1013, 1013, 2358, 2094, 1024, 1024, 8292, 12171, 1026, 1026, 1000, 3265, 1032, 26419, 21572, 2361, 1032, 1050, 1000, 1025, 1013, 1013, 2358, 2094, 1024, 1024, 8292, 12171, 1026, 1026, 1000, 24264, 7724, 1032, 1056, 1000, 1026, 1026, 24264, 7724, 1012, 2131, 2497, 21572, 2361, 1006, 1007, 1026, 1026, 2358, 2094, 1024, 1024, 2203, 2140, 1025, 1013, 1013, 2358, 2094, 1024, 1024, 8292, 12171, 1026, 1026, 1000, 8657, 1032, 1056, 1000, 1026, 1026, 8657, 1012, 2131, 2497, 21572, 2361, 1006, 1007, 1026, 1026, 2358, 2094, 1024, 1024, 2203, 2140, 1025, 1013, 1013, 2358, 2094, 1024, 1024, 8292, 12171, 1026, 1026, 1000, 24432, 2050, 1032, 1056, 1000, 1026, 1026, 24432, 2050, 1012, 2131, 2497, 21572, 2361, 1006, 1007, 1026, 1026, 2358, 2094, 1024, 1024, 2203, 2140, 1025, 1013, 1013, 1013, 1013, 2358, 2094, 1024, 1024, 9207, 1026, 20014, 1028, 10826, 1025, 1013, 1013, 24432, 2050, 1012, 4152, 10057, 11253, 10322, 7878, 2015, 1006, 10826, 1007, 1025, 1013, 1013, 2005, 1006, 20014, 1045, 1027, 1014, 1025, 1045, 1026, 10826, 1012, 2946, 1006, 1007, 1025, 1045, 1009, 1009, 1007, 1063, 1013, 1013, 2358, 2094, 1024, 1024, 8292, 12171, 1026, 1026, 10826, 1031, 1045, 1033, 1026, 1026, 1000, 1032, 1050, 1000, 1025, 1013, 1013, 1065, 1013, 1013, 1013, 1013, 24432, 30524, 1013, 1013, 2358, 2094, 1024, 1024, 30523, 2050, 1012, 3191, 6914, 26305, 1006, 1007, 1025, 1013, 1013, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2050, 1012, 3191, 6914, 26305, 1006, 1007, 1025, 1013, 1013, 30526 ]
package org.jtwig.environment; import org.jtwig.environment.initializer.EnvironmentInitializer; import org.jtwig.escape.environment.EscapeEnvironmentFactory; import org.jtwig.extension.Extension; import org.jtwig.functions.environment.FunctionResolverFactory; import org.jtwig.parser.JtwigParserFactory; import org.jtwig.property.environment.PropertyResolverEnvironmentFactory; import org.jtwig.render.environment.RenderEnvironmentFactory; import org.jtwig.render.expression.calculator.enumerated.environment.EnumerationListStrategyFactory; import org.jtwig.resource.environment.ResourceEnvironmentFactory; import org.jtwig.value.environment.ValueEnvironmentFactory; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Stateless and thread-safe implementation of a Environment factory. */ public class EnvironmentFactory { private static final Logger log = LoggerFactory.getLogger(EnvironmentFactory.class); private final JtwigParserFactory jtwigParserFactory; private final ResourceEnvironmentFactory resourceEnvironmentFactory; private final RenderEnvironmentFactory renderEnvironmentFactory; private final FunctionResolverFactory functionResolverFactory; private final PropertyResolverEnvironmentFactory propertyResolverFactory; private final ValueEnvironmentFactory valueEnvironmentFactory; private final EnumerationListStrategyFactory enumerationListStrategyFactory; private final EscapeEnvironmentFactory escapeEnvironmentFactory; public EnvironmentFactory () { this(new JtwigParserFactory(), new ResourceEnvironmentFactory(), new RenderEnvironmentFactory(), new FunctionResolverFactory(), new PropertyResolverEnvironmentFactory(), new ValueEnvironmentFactory(), new EnumerationListStrategyFactory(), new EscapeEnvironmentFactory()); } public EnvironmentFactory(JtwigParserFactory jtwigParserFactory, ResourceEnvironmentFactory resourceEnvironmentFactory, RenderEnvironmentFactory renderEnvironmentFactory, FunctionResolverFactory functionResolverFactory, PropertyResolverEnvironmentFactory propertyResolverFactory, ValueEnvironmentFactory valueEnvironmentFactory, EnumerationListStrategyFactory enumerationListStrategyFactory, EscapeEnvironmentFactory escapeEnvironmentFactory) { this.jtwigParserFactory = jtwigParserFactory; this.resourceEnvironmentFactory = resourceEnvironmentFactory; this.renderEnvironmentFactory = renderEnvironmentFactory; this.functionResolverFactory = functionResolverFactory; this.propertyResolverFactory = propertyResolverFactory; this.enumerationListStrategyFactory = enumerationListStrategyFactory; this.valueEnvironmentFactory = valueEnvironmentFactory; this.escapeEnvironmentFactory = escapeEnvironmentFactory; } public Environment create(EnvironmentConfiguration environmentConfiguration) { EnvironmentConfiguration configuration = environmentConfiguration; if (!environmentConfiguration.getExtensions().isEmpty()) { log.info("Jtwig base configuration extended with:"); EnvironmentConfigurationBuilder builder = new EnvironmentConfigurationBuilder(environmentConfiguration); for (Extension extension : environmentConfiguration.getExtensions()) { log.info("- {}", extension.getClass().getSimpleName()); extension.configure(builder); } configuration = builder.build(); } Environment instance = new Environment( jtwigParserFactory.create(configuration.getJtwigParserConfiguration()), configuration.getParameters(), resourceEnvironmentFactory.create(configuration.getResourceConfiguration()), functionResolverFactory.create(configuration.getFunctions()), propertyResolverFactory.create(configuration.getPropertyResolverConfiguration()), renderEnvironmentFactory.create(configuration.getRenderConfiguration()), valueEnvironmentFactory.create(configuration.getValueConfiguration()), enumerationListStrategyFactory.create(configuration.getEnumerationStrategies()), escapeEnvironmentFactory.create(configuration.getEscapeConfiguration())); if (!configuration.getInitializers().isEmpty()) { log.info("Jtwig pre-loading resources"); for (EnvironmentInitializer initializer : configuration.getInitializers()) { initializer.initialize(instance); } } return instance; } }
lyncodev/jtwig-core
src/main/java/org/jtwig/environment/EnvironmentFactory.java
Java
apache-2.0
4,693
[ 30522, 7427, 8917, 1012, 1046, 2102, 16279, 1012, 4044, 1025, 12324, 8917, 1012, 1046, 2102, 16279, 1012, 4044, 1012, 3988, 17629, 1012, 4044, 5498, 20925, 17629, 1025, 12324, 8917, 1012, 1046, 2102, 16279, 1012, 4019, 1012, 4044, 1012, 4019, 2368, 21663, 2239, 3672, 21450, 1025, 12324, 8917, 1012, 1046, 2102, 16279, 1012, 5331, 1012, 5331, 1025, 12324, 8917, 1012, 1046, 2102, 16279, 30524, 21450, 1025, 12324, 8917, 1012, 1046, 2102, 16279, 1012, 3200, 1012, 4044, 1012, 3200, 6072, 4747, 28943, 2078, 21663, 2239, 3672, 21450, 1025, 12324, 8917, 1012, 1046, 2102, 16279, 1012, 17552, 1012, 4044, 1012, 17552, 2368, 21663, 2239, 3672, 21450, 1025, 12324, 8917, 1012, 1046, 2102, 16279, 1012, 17552, 1012, 3670, 1012, 10250, 19879, 4263, 1012, 4372, 17897, 9250, 1012, 4044, 1012, 4372, 17897, 8156, 27103, 6494, 2618, 6292, 21450, 1025, 12324, 8917, 1012, 1046, 2102, 16279, 1012, 7692, 1012, 4044, 1012, 7692, 2368, 21663, 2239, 3672, 21450, 1025, 12324, 8917, 1012, 1046, 2102, 16279, 1012, 3643, 1012, 4044, 1012, 3643, 2368, 21663, 2239, 3672, 21450, 1025, 12324, 8917, 1012, 22889, 2546, 2549, 3501, 1012, 8833, 4590, 1025, 12324, 8917, 1012, 22889, 2546, 2549, 3501, 1012, 8833, 4590, 21450, 1025, 1013, 1008, 1008, 1008, 2110, 3238, 1998, 11689, 1011, 3647, 7375, 1997, 1037, 4044, 4713, 1012, 1008, 1013, 2270, 2465, 4044, 21450, 1063, 2797, 10763, 2345, 8833, 4590, 8833, 1027, 8833, 4590, 21450, 1012, 2131, 21197, 4590, 1006, 4044, 21450, 1012, 2465, 1007, 1025, 2797, 2345, 1046, 2102, 16279, 19362, 8043, 21450, 1046, 2102, 16279, 19362, 8043, 21450, 1025, 2797, 2345, 7692, 2368, 21663, 2239, 3672, 21450, 7692, 2368, 21663, 2239, 3672, 21450, 1025, 2797, 2345, 17552, 2368, 21663, 2239, 3672, 21450, 17552, 2368, 21663, 2239, 3672, 21450, 1025, 2797, 2345, 3853, 6072, 4747, 6299, 21450, 3853, 6072, 4747, 6299, 21450, 1025, 2797, 2345, 3200, 6072, 4747, 28943, 2078, 21663, 2239, 3672, 21450, 3200, 6072, 4747, 6299, 21450, 1025, 2797, 2345, 3643, 2368, 21663, 2239, 3672, 21450, 3643, 2368, 21663, 2239, 3672, 21450, 1025, 2797, 2345, 4372, 17897, 8156, 27103, 6494, 2618, 6292, 21450, 4372, 17897, 8156, 27103, 6494, 2618, 6292, 21450, 1025, 2797, 2345, 4019, 2368, 21663, 2239, 3672, 21450, 4019, 2368, 21663, 2239, 3672, 21450, 1025, 2270, 4044, 21450, 1006, 1007, 1063, 2023, 1006, 2047, 1046, 2102, 16279, 19362, 8043, 21450, 1006, 1007, 1010, 2047, 7692, 2368, 21663, 2239, 3672, 21450, 1006, 1007, 1010, 2047, 17552, 2368, 21663, 2239, 3672, 21450, 1006, 1007, 1010, 2047, 3853, 6072, 4747, 6299, 21450, 1006, 1007, 1010, 2047, 3200, 6072, 4747, 28943, 2078, 21663, 2239, 3672, 21450, 1006, 1007, 1010, 2047, 3643, 2368, 21663, 2239, 3672, 21450, 1006, 1007, 1010, 2047, 4372, 17897, 8156, 27103, 6494, 2618, 6292, 21450, 1006, 1007, 1010, 2047, 4019, 2368, 21663, 2239, 3672, 21450, 1006, 1007, 1007, 1025, 1065, 2270, 4044, 21450, 1006, 1046, 2102, 16279, 19362, 8043, 21450, 1046, 2102, 16279, 19362, 8043, 21450, 1010, 7692, 2368, 30523, 1012, 4972, 1012, 4044, 1012, 3853, 6072, 4747, 6299, 21450, 1025, 12324, 8917, 1012, 1046, 2102, 16279, 1012, 11968, 8043, 1012, 1046, 2102, 16279, 19362, 8043, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1012, 4972, 1012, 4044, 1012, 3853, 6072, 4747, 6299, 21450, 1025, 12324, 8917, 1012, 1046, 2102, 16279, 1012, 11968, 8043, 1012, 1046, 2102, 16279, 19362, 8043, 30526 ]
class CreateVersions < ActiveRecord::Migration def change create_table :versions do |t| t.string :item_type, :null => false t.integer :item_id, :null => false t.string :event, :null => false t.string :whodunnit t.text :object t.string :locale t.datetime :created_at end add_index :versions, [:item_type, :item_id] end end
kostyakch/rhinoart_cms
db/migrate/20141229155334_create_versions.rb
Ruby
mit
399
[ 30522, 2465, 3443, 27774, 2015, 1026, 3161, 2890, 27108, 2094, 1024, 1024, 9230, 13366, 2689, 3443, 1035, 2795, 1024, 4617, 2079, 1064, 1056, 1064, 1056, 1012, 5164, 1024, 8875, 1035, 2828, 1010, 1024, 19701, 1027, 1028, 6270, 1056, 1012, 16109, 1024, 8875, 1035, 8909, 1010, 1024, 19701, 1027, 1028, 6270, 1056, 30524, 27584, 3490, 2102, 1056, 1012, 3793, 1024, 4874, 1056, 1012, 5164, 1024, 2334, 2063, 1056, 1012, 3058, 7292, 1024, 2580, 1035, 2012, 2203, 5587, 1035, 5950, 1024, 4617, 1010, 1031, 1024, 8875, 1035, 2828, 1010, 1024, 8875, 1035, 8909, 1033, 2203, 2203, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1012, 5164, 1024, 2724, 1010, 1024, 19701, 1027, 1028, 6270, 1056, 1012, 5164, 1024, 2040, 30526 ]
/* * W.J. van der Laan 2011-2012 */ #include "bitcoingui.h" #include "clientmodel.h" #include "walletmodel.h" #include "optionsmodel.h" #include "guiutil.h" #include "guiconstants.h" #include "init.h" #include "ui_interface.h" #include "qtipcserver.h" #include <QApplication> #include <QMessageBox> #include <QTextCodec> #include <QLocale> #include <QTranslator> #include <QSplashScreen> #include <QLibraryInfo> #if defined(BITCOIN_NEED_QT_PLUGINS) && !defined(_BITCOIN_QT_PLUGINS_INCLUDED) #define _BITCOIN_QT_PLUGINS_INCLUDED #define __INSURE__ #include <QtPlugin> Q_IMPORT_PLUGIN(qcncodecs) Q_IMPORT_PLUGIN(qjpcodecs) Q_IMPORT_PLUGIN(qtwcodecs) Q_IMPORT_PLUGIN(qkrcodecs) Q_IMPORT_PLUGIN(qtaccessiblewidgets) #endif // Need a global reference for the notifications to find the GUI static BitcoinGUI *guiref; static QSplashScreen *splashref; static void ThreadSafeMessageBox(const std::string& message, const std::string& caption, int style) { // Message from network thread if(guiref) { bool modal = (style & CClientUIInterface::MODAL); // in case of modal message, use blocking connection to wait for user to click OK QMetaObject::invokeMethod(guiref, "error", modal ? GUIUtil::blockingGUIThreadConnection() : Qt::QueuedConnection, Q_ARG(QString, QString::fromStdString(caption)), Q_ARG(QString, QString::fromStdString(message)), Q_ARG(bool, modal)); } else { printf("%s: %s\n", caption.c_str(), message.c_str()); fprintf(stderr, "%s: %s\n", caption.c_str(), message.c_str()); } } static bool ThreadSafeAskFee(int64_t nFeeRequired, const std::string& strCaption) { if(!guiref) return false; if(nFeeRequired < MIN_TX_FEE || nFeeRequired <= nTransactionFee || fDaemon) return true; bool payFee = false; QMetaObject::invokeMethod(guiref, "askFee", GUIUtil::blockingGUIThreadConnection(), Q_ARG(qint64, nFeeRequired), Q_ARG(bool*, &payFee)); return payFee; } static void ThreadSafeHandleURI(const std::string& strURI) { if(!guiref) return; QMetaObject::invokeMethod(guiref, "handleURI", GUIUtil::blockingGUIThreadConnection(), Q_ARG(QString, QString::fromStdString(strURI))); } static void InitMessage(const std::string &message) { if(splashref) { splashref->showMessage(QString::fromStdString(message), Qt::AlignBottom|Qt::AlignHCenter, QColor(0,0,0)); QApplication::instance()->processEvents(); } } static void QueueShutdown() { QMetaObject::invokeMethod(QCoreApplication::instance(), "quit", Qt::QueuedConnection); } /* Translate string to current locale using Qt. */ static std::string Translate(const char* psz) { return QCoreApplication::translate("bitcoin-core", psz).toStdString(); } /* Handle runaway exceptions. Shows a message box with the problem and quits the program. */ static void handleRunawayException(std::exception *e) { PrintExceptionContinue(e, "Runaway exception"); QMessageBox::critical(0, "Runaway exception", BitcoinGUI::tr("A fatal error occurred. hochiminh can no longer continue safely and will quit.") + QString("\n\n") + QString::fromStdString(strMiscWarning)); exit(1); } #ifndef BITCOIN_QT_TEST int main(int argc, char *argv[]) { // Do this early as we don't want to bother initializing if we are just calling IPC ipcScanRelay(argc, argv); #if QT_VERSION < 0x050000 // Internal string conversion is all UTF-8 QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8")); QTextCodec::setCodecForCStrings(QTextCodec::codecForTr()); #endif Q_INIT_RESOURCE(bitcoin); QApplication app(argc, argv); // Install global event filter that makes sure that long tooltips can be word-wrapped app.installEventFilter(new GUIUtil::ToolTipToRichTextFilter(TOOLTIP_WRAP_THRESHOLD, &app)); // Command-line options take precedence: ParseParameters(argc, argv); // ... then bitcoin.conf: if (!boost::filesystem::is_directory(GetDataDir(false))) { // This message can not be translated, as translation is not initialized yet // (which not yet possible because lang=XX can be overridden in bitcoin.conf in the data directory) QMessageBox::critical(0, "hochiminh", QString("Error: Specified data directory \"%1\" does not exist.").arg(QString::fromStdString(mapArgs["-datadir"]))); return 1; } ReadConfigFile(mapArgs, mapMultiArgs); // Application identification (must be set before OptionsModel is initialized, // as it is used to locate QSettings) app.setOrganizationName("hochiminh"); //XXX app.setOrganizationDomain(""); if(GetBoolArg("-testnet")) // Separate UI settings for testnet app.setApplicationName("hochiminh-Qt-testnet"); else app.setApplicationName("hochiminh-Qt"); // ... then GUI settings: OptionsModel optionsModel; // Get desired locale (e.g. "de_DE") from command line or use system locale QString lang_territory = QString::fromStdString(GetArg("-lang", QLocale::system().name().toStdString())); QString lang = lang_territory; // Convert to "de" only by truncating "_DE" lang.truncate(lang_territory.lastIndexOf('_')); QTranslator qtTranslatorBase, qtTranslator, translatorBase, translator; // Load language files for configured locale: // - First load the translator for the base language, without territory // - Then load the more specific locale translator // Load e.g. qt_de.qm if (qtTranslatorBase.load("qt_" + lang, QLibraryInfo::location(QLibraryInfo::TranslationsPath))) app.installTranslator(&qtTranslatorBase); // Load e.g. qt_de_DE.qm if (qtTranslator.load("qt_" + lang_territory, QLibraryInfo::location(QLibraryInfo::TranslationsPath))) app.installTranslator(&qtTranslator); // Load e.g. bitcoin_de.qm (shortcut "de" needs to be defined in bitcoin.qrc) if (translatorBase.load(lang, ":/translations/")) app.installTranslator(&translatorBase); // Load e.g. bitcoin_de_DE.qm (shortcut "de_DE" needs to be defined in bitcoin.qrc) if (translator.load(lang_territory, ":/translations/")) app.installTranslator(&translator); // Subscribe to global signals from core uiInterface.ThreadSafeMessageBox.connect(ThreadSafeMessageBox); uiInterface.ThreadSafeAskFee.connect(ThreadSafeAskFee); uiInterface.ThreadSafeHandleURI.connect(ThreadSafeHandleURI); uiInterface.InitMessage.connect(InitMessage); uiInterface.QueueShutdown.connect(QueueShutdown); uiInterface.Translate.connect(Translate); // Show help message immediately after parsing command-line options (for "-lang") and setting locale, // but before showing splash screen. if (mapArgs.count("-?") || mapArgs.count("--help")) { GUIUtil::HelpMessageBox help; help.showOrPrint(); return 1; } QSplashScreen splash(QPixmap(":/images/splash"), 0); if (GetBoolArg("-splash", true) && !GetBoolArg("-min")) { splash.show(); splash.setAutoFillBackground(false); splashref = &splash; } app.processEvents(); app.setQuitOnLastWindowClosed(false); try { // Regenerate startup link, to fix links to old versions if (GUIUtil::GetStartOnSystemStartup()) GUIUtil::SetStartOnSystemStartup(true); BitcoinGUI window; guiref = &window; if(AppInit2()) { { // Put this in a block, so that the Model objects are cleaned up before // calling Shutdown(). optionsModel.Upgrade(); // Must be done after AppInit2 if (splashref) splash.finish(&window); ClientModel clientModel(&optionsModel); WalletModel walletModel(pwalletMain, &optionsModel); window.setClientModel(&clientModel); window.setWalletModel(&walletModel); // If -min option passed, start window minimized. if(GetBoolArg("-min")) { window.showMinimized(); } else { window.show(); } // Place this here as guiref has to be defined if we don't want to lose URIs ipcInit(argc, argv); app.exec(); window.hide(); window.setClientModel(0); window.setWalletModel(0); guiref = 0; } // Shutdown the core and its threads, but don't exit Bitcoin-Qt here Shutdown(NULL); } else { return 1; } } catch (std::exception& e) { handleRunawayException(&e); } catch (...) { handleRunawayException(NULL); } return 0; } #endif // BITCOIN_QT_TEST
viet-tech/HCMCoin
src/qt/bitcoin.cpp
C++
mit
9,191
[ 30522, 1013, 1008, 1008, 1059, 1012, 1046, 1012, 3158, 4315, 2474, 2319, 2249, 1011, 2262, 1008, 1013, 1001, 2421, 1000, 2978, 3597, 2075, 10179, 1012, 1044, 1000, 1001, 2421, 1000, 7396, 5302, 9247, 1012, 1044, 1000, 1001, 2421, 1000, 15882, 5302, 9247, 1012, 1044, 1000, 1001, 2421, 1000, 7047, 5302, 9247, 1012, 1044, 1000, 1001, 2421, 1000, 26458, 21823, 2140, 1012, 1044, 1000, 1001, 2421, 1000, 26458, 8663, 12693, 3215, 1012, 1044, 1000, 1001, 2421, 1000, 1999, 4183, 1012, 1044, 1000, 1001, 2421, 1000, 21318, 1035, 8278, 1012, 1044, 1000, 1001, 2421, 1000, 1053, 25101, 6169, 2121, 6299, 1012, 1044, 1000, 1001, 2421, 1026, 1053, 29098, 19341, 3508, 1028, 1001, 2421, 1026, 1053, 7834, 3736, 3351, 8758, 1028, 1001, 2421, 1026, 1053, 18209, 16044, 2278, 1028, 1001, 2421, 1026, 1053, 4135, 9289, 2063, 1028, 1001, 2421, 1026, 1053, 6494, 3619, 20051, 2953, 1028, 1001, 2421, 1026, 1053, 13102, 27067, 18182, 1028, 1001, 2421, 1026, 1053, 29521, 19848, 25811, 14876, 1028, 1001, 2065, 4225, 1006, 2978, 3597, 2378, 1035, 2342, 1035, 1053, 2102, 1035, 13354, 7076, 1007, 1004, 1004, 999, 4225, 1006, 1035, 2978, 3597, 2378, 1035, 1053, 2102, 1035, 13354, 7076, 1035, 2443, 1007, 1001, 9375, 1035, 2978, 3597, 2378, 1035, 1053, 2102, 1035, 13354, 7076, 1035, 2443, 1001, 9375, 1035, 1035, 16021, 5397, 1035, 1035, 1001, 2421, 1026, 1053, 25856, 7630, 11528, 1028, 1053, 1035, 12324, 1035, 13354, 2378, 1006, 25196, 15305, 3207, 6169, 1007, 1053, 1035, 12324, 1035, 13354, 2378, 1006, 1053, 3501, 15042, 10244, 6169, 1007, 1053, 1035, 12324, 1035, 13354, 2378, 1006, 1053, 2102, 16526, 10244, 6169, 1007, 1053, 1035, 12324, 1035, 13354, 2378, 1006, 1053, 21638, 16044, 6169, 1007, 1053, 1035, 12324, 1035, 13354, 2378, 1006, 1053, 2696, 9468, 7971, 7028, 9148, 28682, 1007, 1001, 2203, 10128, 1013, 1013, 2342, 1037, 3795, 4431, 2005, 1996, 26828, 2015, 2000, 2424, 1996, 26458, 10763, 2978, 3597, 2075, 10179, 1008, 26458, 2890, 2546, 1025, 10763, 1053, 13102, 27067, 18182, 1008, 17624, 2890, 2546, 1025, 10763, 11675, 16457, 10354, 21382, 11488, 3351, 8758, 1006, 9530, 3367, 2358, 2094, 1024, 1024, 5164, 1004, 4471, 1010, 9530, 3367, 30524, 16913, 2389, 1007, 1025, 1013, 1013, 1999, 2553, 1997, 16913, 2389, 4471, 1010, 2224, 10851, 4434, 2000, 3524, 2005, 5310, 2000, 11562, 7929, 1053, 11368, 7113, 2497, 20614, 1024, 1024, 1999, 6767, 3489, 11368, 6806, 2094, 1006, 26458, 2890, 2546, 1010, 1000, 7561, 1000, 1010, 16913, 2389, 1029, 26458, 21823, 2140, 1024, 1024, 10851, 25698, 2705, 16416, 16409, 18256, 7542, 1006, 1007, 1024, 1053, 2102, 1024, 1024, 24240, 16409, 18256, 7542, 1010, 1053, 1035, 12098, 2290, 1006, 1053, 3367, 4892, 1010, 1053, 3367, 4892, 1024, 1024, 2013, 3367, 5104, 18886, 3070, 1006, 14408, 3258, 1007, 1007, 1010, 1053, 1035, 12098, 2290, 1006, 1053, 3367, 4892, 1010, 1053, 3367, 4892, 30523, 2358, 2094, 1024, 1024, 5164, 1004, 14408, 3258, 1010, 20014, 2806, 1007, 1063, 1013, 1013, 4471, 2013, 2897, 11689, 2065, 1006, 26458, 2890, 2546, 1007, 1063, 22017, 2140, 16913, 2389, 1027, 1006, 2806, 1004, 10507, 8751, 3372, 10179, 18447, 2121, 12172, 1024, 1024, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2358, 2094, 1024, 1024, 5164, 1004, 14408, 3258, 1010, 20014, 2806, 1007, 1063, 1013, 1013, 4471, 2013, 2897, 11689, 2065, 1006, 26458, 2890, 2546, 1007, 1063, 22017, 2140, 16913, 2389, 1027, 1006, 2806, 1004, 10507, 8751, 3372, 10179, 18447, 2121, 12172, 1024, 1024, 30526 ]
require 'spec_helper' describe Gitlab::Client do it { should respond_to :search_projects } describe ".projects" do before do stub_get("/projects", "projects") @projects = Gitlab.projects end it "should get the correct resource" do expect(a_get("/projects")).to have_been_made end it "should return a paginated response of projects" do expect(@projects).to be_a Gitlab::PaginatedResponse expect(@projects.first.name).to eq("Brute") expect(@projects.first.owner.name).to eq("John Smith") end end describe ".project_search" do before do stub_get("/projects/search/Gitlab", "project_search") @project_search = Gitlab.project_search("Gitlab") end it "should get the correct resource" do expect(a_get("/projects/search/Gitlab")).to have_been_made end it "should return a paginated response of projects found" do expect(@project_search).to be_a Gitlab::PaginatedResponse expect(@project_search.first.name).to eq("Gitlab") expect(@project_search.first.owner.name).to eq("John Smith") end end describe ".project" do before do stub_get("/projects/3", "project") @project = Gitlab.project(3) end it "should get the correct resource" do expect(a_get("/projects/3")).to have_been_made end it "should return information about a project" do expect(@project.name).to eq("Gitlab") expect(@project.owner.name).to eq("John Smith") end end describe ".project_events" do before do stub_get("/projects/2/events", "project_events") @events = Gitlab.project_events(2) end it "should get the correct resource" do expect(a_get("/projects/2/events")).to have_been_made end it "should return a paginated response of events" do expect(@events).to be_a Gitlab::PaginatedResponse expect(@events.size).to eq(2) end it "should return the action name of the event" do expect(@events.first.action_name).to eq("opened") end end describe ".create_project" do before do stub_post("/projects", "project") @project = Gitlab.create_project('Gitlab') end it "should get the correct resource" do expect(a_post("/projects")).to have_been_made end it "should return information about a created project" do expect(@project.name).to eq("Gitlab") expect(@project.owner.name).to eq("John Smith") end end describe ".create_project for user" do before do stub_post("/users", "user") @owner = Gitlab.create_user("[email protected]", "pass", name: 'John Owner') stub_post("/projects/user/#{@owner.id}", "project_for_user") @project = Gitlab.create_project('Brute', user_id: @owner.id) end it "should return information about a created project" do expect(@project.name).to eq("Brute") expect(@project.owner.name).to eq("John Owner") end end describe ".delete_project" do before do stub_delete("/projects/Gitlab", "project") @project = Gitlab.delete_project('Gitlab') end it "should get the correct resource" do expect(a_delete("/projects/Gitlab")).to have_been_made end it "should return information about a deleted project" do expect(@project.name).to eq("Gitlab") expect(@project.owner.name).to eq("John Smith") end end describe ".create_fork" do context "without sudo option" do before do stub_post("/projects/fork/3", "project_fork") @project = Gitlab.create_fork(3) end it "should post to the correct resource" do expect(a_post("/projects/fork/3")).to have_been_made end it "should return information about the forked project" do expect(@project.forked_from_project.id).to eq(3) expect(@project.id).to eq(20) end end context "with the sudo option" do before do stub_post("/projects/fork/3", "project_forked_for_user") @sudoed_username = 'jack.smith' @project = Gitlab.create_fork(3, sudo: @sudoed_username) end it "should post to the correct resource" do expect(a_post("/projects/fork/3")).to have_been_made end it "should return information about the forked project" do expect(@project.forked_from_project.id).to eq(3) expect(@project.id).to eq(20) expect(@project.owner.username).to eq(@sudoed_username) end end end describe ".team_members" do before do stub_get("/projects/3/members", "team_members") @team_members = Gitlab.team_members(3) end it "should get the correct resource" do expect(a_get("/projects/3/members")).to have_been_made end it "should return a paginated response of team members" do expect(@team_members).to be_a Gitlab::PaginatedResponse expect(@team_members.first.name).to eq("John Smith") end end describe ".team_member" do before do stub_get("/projects/3/members/1", "team_member") @team_member = Gitlab.team_member(3, 1) end it "should get the correct resource" do expect(a_get("/projects/3/members/1")).to have_been_made end it "should return information about a team member" do expect(@team_member.name).to eq("John Smith") end end describe ".add_team_member" do before do stub_post("/projects/3/members", "team_member") @team_member = Gitlab.add_team_member(3, 1, 40) end it "should get the correct resource" do expect(a_post("/projects/3/members"). with(body: { user_id: '1', access_level: '40' })).to have_been_made end it "should return information about an added team member" do expect(@team_member.name).to eq("John Smith") end end describe ".edit_team_member" do before do stub_put("/projects/3/members/1", "team_member") @team_member = Gitlab.edit_team_member(3, 1, 40) end it "should get the correct resource" do expect(a_put("/projects/3/members/1"). with(body: { access_level: '40' })).to have_been_made end it "should return information about an edited team member" do expect(@team_member.name).to eq("John Smith") end end describe ".remove_team_member" do before do stub_delete("/projects/3/members/1", "team_member") @team_member = Gitlab.remove_team_member(3, 1) end it "should get the correct resource" do expect(a_delete("/projects/3/members/1")).to have_been_made end it "should return information about a removed team member" do expect(@team_member.name).to eq("John Smith") end end describe ".project_hooks" do before do stub_get("/projects/1/hooks", "project_hooks") @hooks = Gitlab.project_hooks(1) end it "should get the correct resource" do expect(a_get("/projects/1/hooks")).to have_been_made end it "should return a paginated response of hooks" do expect(@hooks).to be_a Gitlab::PaginatedResponse expect(@hooks.first.url).to eq("https://api.example.net/v1/webhooks/ci") end end describe ".project_hook" do before do stub_get("/projects/1/hooks/1", "project_hook") @hook = Gitlab.project_hook(1, 1) end it "should get the correct resource" do expect(a_get("/projects/1/hooks/1")).to have_been_made end it "should return information about a hook" do expect(@hook.url).to eq("https://api.example.net/v1/webhooks/ci") end end describe ".add_project_hook" do context "without specified events" do before do stub_post("/projects/1/hooks", "project_hook") @hook = Gitlab.add_project_hook(1, "https://api.example.net/v1/webhooks/ci") end it "should get the correct resource" do body = { url: "https://api.example.net/v1/webhooks/ci" } expect(a_post("/projects/1/hooks").with(body: body)).to have_been_made end it "should return information about an added hook" do expect(@hook.url).to eq("https://api.example.net/v1/webhooks/ci") end end context "with specified events" do before do stub_post("/projects/1/hooks", "project_hook") @hook = Gitlab.add_project_hook(1, "https://api.example.net/v1/webhooks/ci", push_events: true, merge_requests_events: true) end it "should get the correct resource" do body = { url: "https://api.example.net/v1/webhooks/ci", push_events: "true", merge_requests_events: "true" } expect(a_post("/projects/1/hooks").with(body: body)).to have_been_made end it "should return information about an added hook" do expect(@hook.url).to eq("https://api.example.net/v1/webhooks/ci") end end end describe ".edit_project_hook" do before do stub_put("/projects/1/hooks/1", "project_hook") @hook = Gitlab.edit_project_hook(1, 1, "https://api.example.net/v1/webhooks/ci") end it "should get the correct resource" do body = { url: "https://api.example.net/v1/webhooks/ci" } expect(a_put("/projects/1/hooks/1").with(body: body)).to have_been_made end it "should return information about an edited hook" do expect(@hook.url).to eq("https://api.example.net/v1/webhooks/ci") end end describe ".edit_project" do before do stub_put("/projects/3", "project_edit").with(query: { name: "Gitlab-edit" }) @edited_project = Gitlab.edit_project(3, name: "Gitlab-edit") end it "should get the correct resource" do expect(a_put("/projects/3").with(query: { name: "Gitlab-edit" })).to have_been_made end it "should return information about an edited project" do expect(@edited_project.name).to eq("Gitlab-edit") end end describe ".delete_project_hook" do context "when empty response" do before do stub_request(:delete, "#{Gitlab.endpoint}/projects/1/hooks/1"). with(headers: { 'PRIVATE-TOKEN' => Gitlab.private_token }). to_return(body: '') @hook = Gitlab.delete_project_hook(1, 1) end it "should get the correct resource" do expect(a_delete("/projects/1/hooks/1")).to have_been_made end it "should return false" do expect(@hook).to be(false) end end context "when JSON response" do before do stub_delete("/projects/1/hooks/1", "project_hook") @hook = Gitlab.delete_project_hook(1, 1) end it "should get the correct resource" do expect(a_delete("/projects/1/hooks/1")).to have_been_made end it "should return information about a deleted hook" do expect(@hook.url).to eq("https://api.example.net/v1/webhooks/ci") end end end describe ".git_hook" do before do stub_get("/projects/1/git_hook", "git_hook") @git_hook = Gitlab.git_hook(1) end it "should get the correct resource" do expect(a_get("/projects/1/git_hook")).to have_been_made end it "should return information about a git hook" do expect(@git_hook.commit_message_regex).to eq("\\b[A-Z]{3}-[0-9]+\\b") end end describe ".add_git_hook" do before do stub_post("/projects/1/git_hook", "git_hook") @git_hook = Gitlab.add_git_hook(1, { deny_delete_tag: false, commit_message_regex: "\\b[A-Z]{3}-[0-9]+\\b" }) end it "should get the correct resource" do expect(a_post("/projects/1/git_hook")).to have_been_made end it "should return information about an added git hook" do expect(@git_hook.commit_message_regex).to eq("\\b[A-Z]{3}-[0-9]+\\b") end end describe ".edit_git_hook" do before do stub_put("/projects/1/git_hook", "git_hook") @git_hook = Gitlab.edit_git_hook(1, { deny_delete_tag: false, commit_message_regex: "\\b[A-Z]{3}-[0-9]+\\b" }) end it "should get the correct resource" do expect(a_put("/projects/1/git_hook")).to have_been_made end it "should return information about an edited git hook" do expect(@git_hook.commit_message_regex).to eq("\\b[A-Z]{3}-[0-9]+\\b") end end describe ".delete_git_hook" do context "when empty response" do before do stub_request(:delete, "#{Gitlab.endpoint}/projects/1/git_hook"). with(headers: { 'PRIVATE-TOKEN' => Gitlab.private_token }). to_return(body: '') @git_hook = Gitlab.delete_git_hook(1) end it "should get the correct resource" do expect(a_delete("/projects/1/git_hook")).to have_been_made end it "should return false" do expect(@git_hook).to be(false) end end context "when JSON response" do before do stub_delete("/projects/1/git_hook", "git_hook") @git_hook = Gitlab.delete_git_hook(1) end it "should get the correct resource" do expect(a_delete("/projects/1/git_hook")).to have_been_made end it "should return information about a deleted git hook" do expect(@git_hook.commit_message_regex).to eq("\\b[A-Z]{3}-[0-9]+\\b") end end end describe ".make_forked_from" do before do stub_post("/projects/42/fork/24", "project_fork_link") @forked_project_link = Gitlab.make_forked_from(42, 24) end it "should get the correct resource" do expect(a_post("/projects/42/fork/24")).to have_been_made end it "should return information about a forked project" do expect(@forked_project_link.forked_from_project_id).to eq(24) expect(@forked_project_link.forked_to_project_id).to eq(42) end end describe ".remove_forked" do before do stub_delete("/projects/42/fork", "project_fork_link") @forked_project_link = Gitlab.remove_forked(42) end it "should be sent to correct resource" do expect(a_delete("/projects/42/fork")).to have_been_made end it "should return information about an unforked project" do expect(@forked_project_link.forked_to_project_id).to eq(42) end end describe ".deploy_keys" do before do stub_get("/projects/42/keys", "project_keys") @deploy_keys = Gitlab.deploy_keys(42) end it "should get the correct resource" do expect(a_get("/projects/42/keys")).to have_been_made end it "should return project deploy keys" do expect(@deploy_keys).to be_a Gitlab::PaginatedResponse expect(@deploy_keys.first.id).to eq 2 expect(@deploy_keys.first.title).to eq "Key Title" expect(@deploy_keys.first.key).to match(/ssh-rsa/) end end describe ".deploy_key" do before do stub_get("/projects/42/keys/2", "project_key") @deploy_key = Gitlab.deploy_key(42, 2) end it "should get the correct resource" do expect(a_get("/projects/42/keys/2")).to have_been_made end it "should return project deploy key" do expect(@deploy_key.id).to eq 2 expect(@deploy_key.title).to eq "Key Title" expect(@deploy_key.key).to match(/ssh-rsa/) end end describe ".delete_deploy_key" do before do stub_delete("/projects/42/keys/2", "project_key") @deploy_key = Gitlab.delete_deploy_key(42, 2) end it "should get the correct resource" do expect(a_delete("/projects/42/keys/2")).to have_been_made end it "should return information about a deleted key" do expect(@deploy_key.id).to eq(2) end end end
nanofi/gitlab
spec/gitlab/client/projects_spec.rb
Ruby
bsd-2-clause
15,563
[ 30522, 5478, 1005, 28699, 1035, 2393, 2121, 1005, 6235, 21025, 19646, 7875, 1024, 1024, 7396, 2079, 2009, 1063, 2323, 6869, 1035, 2000, 1024, 3945, 1035, 3934, 1065, 6235, 1000, 1012, 3934, 1000, 2079, 2077, 2079, 24646, 2497, 30524, 2081, 2203, 2009, 1000, 2323, 2709, 1037, 6643, 20876, 3064, 3433, 1997, 3934, 1000, 2079, 5987, 1006, 1030, 3934, 1007, 1012, 2000, 2022, 1035, 1037, 21025, 19646, 7875, 1024, 1024, 6643, 20876, 3064, 6072, 26029, 3366, 5987, 1006, 1030, 3934, 1012, 2034, 1012, 2171, 1007, 1012, 2000, 1041, 4160, 1006, 1000, 26128, 1000, 1007, 5987, 1006, 1030, 3934, 1012, 2034, 1012, 3954, 1012, 2171, 1007, 1012, 2000, 1041, 4160, 1006, 1000, 2198, 3044, 1000, 1007, 2203, 2203, 6235, 1000, 1012, 2622, 1035, 3945, 1000, 2079, 2077, 2079, 24646, 2497, 1035, 2131, 1006, 1000, 1013, 3934, 1013, 3945, 1013, 21025, 19646, 7875, 1000, 1010, 1000, 2622, 1035, 3945, 1000, 1007, 1030, 2622, 1035, 3945, 1027, 21025, 19646, 7875, 1012, 2622, 1035, 3945, 1006, 1000, 21025, 19646, 7875, 1000, 1007, 2203, 2009, 1000, 2323, 2131, 1996, 6149, 7692, 1000, 2079, 5987, 1006, 1037, 1035, 2131, 1006, 1000, 1013, 3934, 1013, 3945, 1013, 21025, 19646, 7875, 1000, 1007, 1007, 1012, 2000, 2031, 1035, 2042, 1035, 2081, 2203, 2009, 1000, 2323, 2709, 1037, 6643, 20876, 3064, 3433, 1997, 3934, 2179, 1000, 2079, 5987, 1006, 1030, 2622, 1035, 3945, 1007, 1012, 2000, 2022, 1035, 1037, 21025, 19646, 7875, 1024, 1024, 6643, 20876, 3064, 6072, 26029, 3366, 5987, 1006, 1030, 2622, 1035, 3945, 1012, 2034, 1012, 2171, 1007, 1012, 2000, 1041, 4160, 1006, 1000, 21025, 19646, 7875, 1000, 1007, 5987, 1006, 1030, 2622, 1035, 3945, 1012, 2034, 1012, 3954, 1012, 2171, 1007, 1012, 2000, 1041, 4160, 1006, 1000, 2198, 3044, 1000, 1007, 2203, 2203, 6235, 1000, 1012, 2622, 1000, 2079, 2077, 2079, 24646, 2497, 1035, 2131, 1006, 1000, 1013, 3934, 1013, 1017, 1000, 1010, 1000, 2622, 1000, 1007, 1030, 2622, 1027, 21025, 19646, 7875, 1012, 2622, 1006, 1017, 1007, 2203, 2009, 1000, 2323, 2131, 1996, 6149, 7692, 1000, 2079, 5987, 1006, 1037, 1035, 2131, 1006, 1000, 1013, 3934, 1013, 1017, 1000, 1007, 1007, 1012, 2000, 2031, 1035, 2042, 1035, 2081, 2203, 2009, 1000, 2323, 2709, 2592, 2055, 1037, 2622, 1000, 2079, 5987, 1006, 1030, 2622, 1012, 2171, 1007, 1012, 2000, 1041, 4160, 1006, 1000, 21025, 19646, 7875, 1000, 1007, 5987, 1006, 1030, 2622, 1012, 3954, 1012, 2171, 1007, 1012, 2000, 1041, 4160, 1006, 1000, 2198, 3044, 1000, 1007, 2203, 2203, 6235, 1000, 1012, 2622, 1035, 2824, 1000, 2079, 2077, 2079, 24646, 2497, 1035, 2131, 1006, 1000, 1013, 3934, 1013, 1016, 1013, 2824, 1000, 1010, 1000, 2622, 1035, 2824, 1000, 1007, 1030, 2824, 1027, 21025, 19646, 7875, 1012, 2622, 1035, 2824, 1006, 1016, 1007, 2203, 2009, 1000, 2323, 2131, 1996, 6149, 30523, 1035, 2131, 1006, 1000, 1013, 3934, 1000, 1010, 1000, 3934, 1000, 1007, 1030, 3934, 1027, 21025, 19646,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1035, 2131, 1006, 1000, 1013, 3934, 1000, 1010, 1000, 3934, 1000, 1007, 1030, 3934, 1027, 21025, 19646, 7875, 1012, 3934, 2203, 2009, 1000, 2323, 2131, 1996, 6149, 7692, 1000, 2079, 5987, 1006, 1037, 1035, 2131, 1006, 1000, 1013, 3934, 1000, 1007, 1007, 1012, 2000, 2031, 1035, 2042, 1035, 30526 ]
# == Schema Information # # Table name: accounts # # id :integer not null, primary key # type :string default("Account"), not null # description :string default(""), not null # currency :string default("USD"), not null # created_at :datetime not null # updated_at :datetime not null # owner_id :integer # owner_type :string # standalone :boolean default(FALSE) # override_fee_percentage :integer # # Indexes # # index_accounts_on_item_id (owner_id) # index_accounts_on_item_type (owner_type) # index_accounts_on_type (type) # class Account::SoftwarePublicInterest < Account end
bountysource/core
app/models/account/software_public_interest.rb
Ruby
mit
800
[ 30522, 1001, 1027, 1027, 8040, 28433, 2592, 1001, 1001, 2795, 2171, 1024, 6115, 1001, 1001, 8909, 1024, 16109, 2025, 19701, 1010, 3078, 3145, 1001, 2828, 1024, 5164, 12398, 1006, 1000, 4070, 1000, 1007, 1010, 2025, 19701, 1001, 6412, 1024, 5164, 12398, 1006, 1000, 1000, 1007, 1010, 2025, 19701, 1001, 9598, 1024, 5164, 12398, 1006, 1000, 13751, 1000, 1007, 1010, 2025, 19701, 1001, 2580, 1035, 2012, 1024, 3058, 7292, 2025, 19701, 1001, 7172, 1035, 2012, 1024, 3058, 7292, 2025, 19701, 1001, 3954, 1035, 8909, 1024, 16109, 1001, 3954, 1035, 2828, 1024, 5164, 1001, 26609, 1024, 22017, 20898, 12398, 1006, 6270, 1007, 1001, 2058, 15637, 1035, 7408, 1035, 7017, 1024, 16109, 1001, 1001, 5950, 2229, 1001, 1001, 5950, 1035, 6115, 1035, 2006, 1035, 8875, 1035, 8909, 1006, 3954, 1035, 8909, 1007, 1001, 5950, 1035, 6115, 1035, 2006, 1035, 8875, 1035, 30524, 4070, 2203, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2828, 1006, 3954, 1035, 2828, 1007, 1001, 5950, 1035, 6115, 1035, 2006, 1035, 2828, 1006, 2828, 1007, 1001, 2465, 4070, 1024, 1024, 4007, 14289, 16558, 28775, 10111, 28533, 1026, 30526 ]
--- layout: default --- <h1> <!-- https://allejo.io/blog/a-jekyll-toc-in-liquid-only/ --> <!-- preserve <code/> in titles --> {% capture title %}{% include toc_pure_liquid.html html=content h_min=1 h_max=1 %}{% endcapture %} {{ title | replace: '<code class="highlighter-rouge">', '`' | replace: '</code>', '`' | strip_html | markdownify }} </h1> <nav> <!-- https://allejo.io/blog/a-jekyll-toc-in-liquid-only/ --> {% assign my_min = page.toc_min | default: site.toc_min | default: 2 %} {% assign my_max = page.toc_max | default: site.toc_max | default: 6 %} {% include toc_pure_liquid.html html=content sanitize=true h_min=my_min h_max=my_max %} </nav> {{ content }}
spencertiberi/compsci.one
_layouts/top.html
HTML
mit
702
[ 30522, 1011, 1011, 1011, 9621, 1024, 12398, 1011, 1011, 1011, 1026, 1044, 2487, 1028, 1026, 999, 1011, 1011, 16770, 1024, 1013, 1013, 2035, 20518, 2080, 1012, 22834, 1013, 9927, 1013, 1037, 1011, 15333, 4801, 3363, 1011, 2000, 2278, 1011, 1999, 1011, 6381, 1011, 2069, 1013, 1011, 1011, 1028, 1026, 999, 1011, 1011, 7969, 1026, 3642, 1013, 1028, 1999, 4486, 1011, 1011, 1028, 1063, 1003, 5425, 2516, 1003, 1065, 1063, 1003, 2421, 2000, 2278, 1035, 5760, 1035, 6381, 1012, 16129, 16129, 1027, 4180, 1044, 1035, 8117, 1027, 1015, 1044, 1035, 4098, 1027, 1015, 1003, 1065, 1063, 1003, 2203, 17695, 11244, 1003, 1065, 1063, 1063, 2516, 1064, 5672, 1024, 1005, 1026, 3642, 2465, 1027, 1000, 12944, 2121, 1011, 12801, 1000, 1028, 1005, 1010, 1005, 1036, 1005, 1064, 5672, 1024, 1005, 1026, 1013, 3642, 1028, 1005, 1010, 1005, 1036, 1005, 1064, 6167, 1035, 16129, 1064, 2928, 7698, 8757, 1065, 1065, 1026, 1013, 1044, 2487, 1028, 1026, 6583, 2615, 1028, 1026, 999, 1011, 1011, 16770, 1024, 1013, 1013, 2035, 20518, 2080, 1012, 22834, 1013, 9927, 1013, 1037, 1011, 15333, 4801, 3363, 1011, 2000, 2278, 1011, 1999, 1011, 6381, 1011, 2069, 1013, 1011, 1011, 1028, 1063, 1003, 23911, 2026, 1035, 8117, 1027, 3931, 1012, 2000, 2278, 1035, 8117, 1064, 12398, 1024, 2609, 1012, 2000, 2278, 1035, 8117, 1064, 12398, 1024, 1016, 1003, 1065, 1063, 1003, 23911, 2026, 1035, 30524, 2000, 2278, 1035, 4098, 1064, 12398, 1024, 1020, 1003, 1065, 1063, 1003, 2421, 2000, 2278, 1035, 5760, 1035, 6381, 1012, 16129, 16129, 1027, 4180, 2624, 25090, 4371, 1027, 2995, 1044, 1035, 8117, 1027, 2026, 1035, 8117, 1044, 1035, 4098, 1027, 2026, 1035, 4098, 1003, 1065, 1026, 1013, 6583, 2615, 1028, 1063, 1063, 4180, 1065, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30523, 4098, 1027, 3931, 1012, 2000, 2278, 1035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100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 4098, 1027, 3931, 1012, 2000, 2278, 1035, 4098, 1064, 12398, 1024, 2609, 1012, 30526 ]
/*! * # Semantic UI 2.1.8 - Item * http://github.com/semantic-org/semantic-ui/ * * * Copyright 2015 Contributors * Released under the MIT license * http://opensource.org/licenses/MIT * */ /******************************* Standard *******************************/ /*-------------- Item ---------------*/ .ui.items > .item { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; margin: 1em 0em; width: 100%; min-height: 0px; background: transparent; padding: 0em; border: none; border-radius: 0rem; box-shadow: none; -webkit-transition: box-shadow 0.1s ease; transition: box-shadow 0.1s ease; z-index: ''; } .ui.items > .item a { cursor: pointer; } /*-------------- Items ---------------*/ .ui.items { margin: 1.5em 0em; } .ui.items:first-child { margin-top: 0em !important; } .ui.items:last-child { margin-bottom: 0em !important; } /*-------------- Item ---------------*/ .ui.items > .item:after { display: block; content: ' '; height: 0px; clear: both; overflow: hidden; visibility: hidden; } .ui.items > .item:first-child { margin-top: 0em; } .ui.items > .item:last-child { margin-bottom: 0em; } /*-------------- Images ---------------*/ .ui.items > .item > .image { position: relative; -webkit-box-flex: 0; -webkit-flex: 0 0 auto; -ms-flex: 0 0 auto; flex: 0 0 auto; display: block; float: none; margin: 0em; padding: 0em; max-height: ''; -webkit-align-self: top; -ms-flex-item-align: top; align-self: top; } .ui.items > .item > .image > img { display: block; width: 100%; height: auto; border-radius: 0.125rem; border: none; } .ui.items > .item > .image:only-child > img { border-radius: 0rem; } /*-------------- Content ---------------*/ .ui.items > .item > .content { display: block; -webkit-box-flex: 1; -webkit-flex: 1 1 auto; -ms-flex: 1 1 auto; flex: 1 1 auto; background: none; margin: 0em; padding: 0em; box-shadow: none; font-size: 1em; border: none; border-radius: 0em; } .ui.items > .item > .content:after { display: block; content: ' '; height: 0px; clear: both; overflow: hidden; visibility: hidden; } .ui.items > .item > .image + .content { min-width: 0; width: auto; display: block; margin-left: 0em; -webkit-align-self: top; -ms-flex-item-align: top; align-self: top; padding-left: 1.5em; } .ui.items > .item > .content > .header { display: inline-block; margin: -0.21425em 0em 0em; font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif; font-weight: bold; color: rgba(0, 0, 0, 0.85); } /* Default Header Size */ .ui.items > .item > .content > .header:not(.ui) { font-size: 1.28571429em; } /*-------------- Floated ---------------*/ .ui.items > .item [class*="left floated"] { float: left; } .ui.items > .item [class*="right floated"] { float: right; } /*-------------- Content Image ---------------*/ .ui.items > .item .content img { -webkit-align-self: middle; -ms-flex-item-align: middle; align-self: middle; width: ''; } .ui.items > .item img.avatar, .ui.items > .item .avatar img { width: ''; height: ''; border-radius: 500rem; } /*-------------- Description ---------------*/ .ui.items > .item > .content > .description { margin-top: 0.6em; max-width: auto; font-size: 1em; line-height: 1.4285em; color: rgba(0, 0, 0, 0.87); } /*-------------- Paragraph ---------------*/ .ui.items > .item > .content p { margin: 0em 0em 0.5em; } .ui.items > .item > .content p:last-child { margin-bottom: 0em; } /*-------------- Meta ---------------*/ .ui.items > .item .meta { margin: 0.5em 0em 0.5em; font-size: 1em; line-height: 1em; color: rgba(0, 0, 0, 0.6); } .ui.items > .item .meta * { margin-right: 0.3em; } .ui.items > .item .meta :last-child { margin-right: 0em; } .ui.items > .item .meta [class*="right floated"] { margin-right: 0em; margin-left: 0.3em; } /*-------------- Links ---------------*/ /* Generic */ .ui.items > .item > .content a:not(.ui) { color: ''; -webkit-transition: color 0.1s ease; transition: color 0.1s ease; } .ui.items > .item > .content a:not(.ui):hover { color: ''; } /* Header */ .ui.items > .item > .content > a.header { color: rgba(0, 0, 0, 0.85); } .ui.items > .item > .content > a.header:hover { color: #1e70bf; } /* Meta */ .ui.items > .item .meta > a:not(.ui) { color: rgba(0, 0, 0, 0.4); } .ui.items > .item .meta > a:not(.ui):hover { color: rgba(0, 0, 0, 0.87); } /*-------------- Labels ---------------*/ /*-----Star----- */ /* Icon */ .ui.items > .item > .content .favorite.icon { cursor: pointer; opacity: 0.75; -webkit-transition: color 0.1s ease; transition: color 0.1s ease; } .ui.items > .item > .content .favorite.icon:hover { opacity: 1; color: #FFB70A; } .ui.items > .item > .content .active.favorite.icon { color: #FFE623; } /*-----Like----- */ /* Icon */ .ui.items > .item > .content .like.icon { cursor: pointer; opacity: 0.75; -webkit-transition: color 0.1s ease; transition: color 0.1s ease; } .ui.items > .item > .content .like.icon:hover { opacity: 1; color: #FF2733; } .ui.items > .item > .content .active.like.icon { color: #FF2733; } /*---------------- Extra Content -----------------*/ .ui.items > .item .extra { display: block; position: relative; background: none; margin: 0.5rem 0em 0em; width: 100%; padding: 0em 0em 0em; top: 0em; left: 0em; color: rgba(0, 0, 0, 0.4); box-shadow: none; -webkit-transition: color 0.1s ease; transition: color 0.1s ease; border-top: none; } .ui.items > .item .extra > * { margin: 0.25rem 0.5rem 0.25rem 0em; } .ui.items > .item .extra > [class*="right floated"] { margin: 0.25rem 0em 0.25rem 0.5rem; } .ui.items > .item .extra:after { display: block; content: ' '; height: 0px; clear: both; overflow: hidden; visibility: hidden; } /******************************* Responsive *******************************/ /* Default Image Width */ .ui.items > .item > .image:not(.ui) { width: 175px; } /* Tablet Only */ @media only screen and (min-width: 768px) and (max-width: 991px) { .ui.items > .item { margin: 1em 0em; } .ui.items > .item > .image:not(.ui) { width: 150px; } .ui.items > .item > .image + .content { display: block; padding: 0em 0em 0em 1em; } } /* Mobily Only */ @media only screen and (max-width: 767px) { .ui.items > .item { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; margin: 2em 0em; } .ui.items > .item > .image { display: block; margin-left: auto; margin-right: auto; } .ui.items > .item > .image, .ui.items > .item > .image > img { max-width: 100% !important; width: auto !important; max-height: 250px !important; } .ui.items > .item > .image + .content { display: block; padding: 1.5em 0em 0em; } } /******************************* Variations *******************************/ /*------------------- Aligned --------------------*/ .ui.items > .item > .image + [class*="top aligned"].content { -webkit-align-self: flex-start; -ms-flex-item-align: start; align-self: flex-start; } .ui.items > .item > .image + [class*="middle aligned"].content { -webkit-align-self: center; -ms-flex-item-align: center; align-self: center; } .ui.items > .item > .image + [class*="bottom aligned"].content { -webkit-align-self: flex-end; -ms-flex-item-align: end; align-self: flex-end; } /*-------------- Relaxed ---------------*/ .ui.relaxed.items > .item { margin: 1.5em 0em; } .ui[class*="very relaxed"].items > .item { margin: 2em 0em; } /*------------------- Divided --------------------*/ .ui.divided.items > .item { border-top: 1px solid rgba(34, 36, 38, 0.15); margin: 0em; padding: 1em 0em; } .ui.divided.items > .item:first-child { border-top: none; margin-top: 0em !important; padding-top: 0em !important; } .ui.divided.items > .item:last-child { margin-bottom: 0em !important; padding-bottom: 0em !important; } /* Relaxed Divided */ .ui.relaxed.divided.items > .item { margin: 0em; padding: 1.5em 0em; } .ui[class*="very relaxed"].divided.items > .item { margin: 0em; padding: 2em 0em; } /*------------------- Link --------------------*/ .ui.items a.item:hover, .ui.link.items > .item:hover { cursor: pointer; } .ui.items a.item:hover .content .header, .ui.link.items > .item:hover .content .header { color: #1e70bf; } /*-------------- Size ---------------*/ .ui.items > .item { font-size: 1em; } /******************************* Theme Overrides *******************************/ /******************************* User Variable Overrides *******************************/
bambangadrian/CISetup
public/assets/library/semantic/dist/components/item.css
CSS
mit
9,138
[ 30522, 1013, 1008, 999, 1008, 1001, 21641, 21318, 1016, 1012, 1015, 1012, 1022, 1011, 8875, 1008, 8299, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 21641, 1011, 8917, 1013, 21641, 1011, 21318, 1013, 1008, 1008, 1008, 9385, 2325, 16884, 1008, 2207, 2104, 1996, 10210, 6105, 1008, 8299, 1024, 1013, 1013, 7480, 8162, 3401, 1012, 8917, 1013, 15943, 1013, 10210, 1008, 1008, 1013, 1013, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 3115, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1008, 1013, 1013, 1008, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 8875, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1008, 1013, 1012, 21318, 1012, 5167, 1028, 1012, 8875, 1063, 4653, 1024, 1011, 4773, 23615, 1011, 3482, 1025, 4653, 1024, 1011, 4773, 23615, 1011, 23951, 1025, 4653, 1024, 1011, 5796, 1011, 23951, 8758, 1025, 4653, 1024, 23951, 1025, 7785, 1024, 1015, 6633, 1014, 6633, 1025, 9381, 1024, 2531, 1003, 1025, 8117, 1011, 4578, 1024, 1014, 2361, 2595, 1025, 4281, 1024, 13338, 1025, 11687, 4667, 1024, 1014, 6633, 1025, 3675, 1024, 3904, 1025, 3675, 1011, 12177, 1024, 1014, 28578, 1025, 3482, 1011, 5192, 1024, 3904, 1025, 1011, 4773, 23615, 1011, 6653, 1024, 3482, 1011, 5192, 1014, 1012, 1015, 2015, 7496, 1025, 6653, 1024, 3482, 1011, 5192, 1014, 1012, 1015, 2015, 7496, 1025, 1062, 1011, 5950, 1024, 1005, 1005, 1025, 1065, 1012, 21318, 1012, 5167, 1028, 1012, 8875, 1037, 1063, 12731, 25301, 2099, 1024, 20884, 1025, 1065, 1013, 1008, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 5167, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1008, 1013, 1012, 21318, 1012, 5167, 1063, 7785, 1024, 1015, 1012, 1019, 6633, 1014, 6633, 1025, 1065, 1012, 21318, 1012, 5167, 1024, 2034, 1011, 2775, 1063, 7785, 1011, 2327, 1024, 30524, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1008, 1013, 1012, 21318, 1012, 5167, 1028, 1012, 8875, 1024, 2044, 1063, 4653, 1024, 3796, 1025, 4180, 1024, 1005, 1005, 1025, 4578, 1024, 1014, 2361, 2595, 1025, 3154, 1024, 2119, 1025, 2058, 12314, 1024, 5023, 1025, 16476, 1024, 5023, 1025, 1065, 1012, 21318, 1012, 5167, 1028, 1012, 8875, 1024, 2034, 1011, 2775, 1063, 7785, 1011, 2327, 1024, 1014, 6633, 1025, 1065, 1012, 21318, 1012, 5167, 1028, 1012, 8875, 1024, 2197, 1011, 2775, 1063, 7785, 1011, 3953, 1024, 1014, 6633, 1025, 1065, 1013, 1008, 1011, 1011, 30523, 1014, 6633, 999, 2590, 1025, 1065, 1012, 21318, 1012, 5167, 1024, 2197, 1011, 2775, 1063, 7785, 1011, 3953, 1024, 1014, 6633, 999, 2590, 1025, 1065, 1013, 1008, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 8875, 1011, 1011, 1011, 1011, 1011, 1011, 30526 ]
[ 0, 0, 0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100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1014, 6633, 999, 2590, 1025, 1065, 1012, 21318, 1012, 5167, 1024, 2197, 1011, 2775, 1063, 7785, 1011, 3953, 1024, 1014, 6633, 999, 2590, 1025, 1065, 1013, 1008, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 8875, 1011, 1011, 1011, 1011, 1011, 1011, 30526 ]
[![Build Status](https://travis-ci.org/appsembler/roles.svg?branch=develop)](https://travis-ci.org/appsembler/roles) # Ansible Roles The purpose of this repository is to collect general-purpose Ansible roles with a focus on sane defaults, extensibility, and reusability. ## Getting started Clone this repo: $ cd /path/to/extra/roles $ git clone [email protected]:appsembler/roles.git appsembler-roles Add it to your `ansible.cfg`: [defaults] roles_path = /path/to/extra/roles/appsembler-roles ## Philosophy Roles that live in this repo should be general enough to be reused across multiple applications. Please read the [documentation on best practices][best-practices]. [best-practices]: https://github.com/appsembler/roles/tree/develop/docs/best-practices.md ## Testing At the very least, you should run a syntax check locally: $ make syntax-check The repo is configured to run some basic tests on TravisCI. It runs them on Ubuntu 14.04 and 16.04 systems with different ansible versions, just checking that the roles can be applied without errors and that they are idempotent. (TODO: document how to run these tests locally)
appsembler/roles
README.md
Markdown
mit
1,163
[ 30522, 1031, 999, 1031, 3857, 3570, 1033, 1006, 16770, 1024, 1013, 1013, 10001, 1011, 25022, 1012, 8917, 1013, 18726, 6633, 16213, 1013, 4395, 1012, 17917, 2290, 1029, 3589, 1027, 4503, 1007, 1033, 1006, 16770, 1024, 1013, 1013, 10001, 1011, 25022, 1012, 8917, 1013, 18726, 6633, 16213, 1013, 4395, 1007, 1001, 2019, 19307, 4395, 1996, 3800, 1997, 2023, 22409, 2003, 2000, 8145, 2236, 1011, 3800, 2019, 19307, 4395, 2007, 1037, 3579, 2006, 22856, 12398, 2015, 1010, 4654, 25808, 13464, 1010, 1998, 2128, 10383, 8553, 1012, 1001, 1001, 2893, 2318, 17598, 2023, 16360, 2080, 1024, 1002, 3729, 1013, 4130, 1013, 2000, 1013, 4469, 1013, 4395, 1002, 21025, 2102, 17598, 21025, 2102, 1030, 21025, 2705, 12083, 1012, 4012, 1024, 18726, 6633, 16213, 1013, 4395, 1012, 21025, 2102, 18726, 6633, 16213, 1011, 4395, 5587, 2009, 2000, 2115, 1036, 2019, 19307, 1012, 12935, 2290, 1036, 1024, 1031, 12398, 2015, 1033, 4395, 1035, 4130, 1027, 1013, 4130, 1013, 2000, 1013, 4469, 1013, 4395, 1013, 18726, 6633, 16213, 1011, 4395, 1001, 1001, 4695, 4395, 2008, 2444, 1999, 2023, 16360, 2080, 2323, 2022, 2236, 2438, 2000, 2022, 26513, 2408, 3674, 5097, 1012, 3531, 3191, 1996, 1031, 12653, 2006, 2190, 6078, 1033, 1031, 2190, 1011, 6078, 1033, 1012, 1031, 2190, 1011, 6078, 1033, 1024, 16770, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 18726, 6633, 16213, 1013, 4395, 30524, 3937, 5852, 2006, 10001, 6895, 1012, 2009, 3216, 2068, 2006, 1057, 8569, 3372, 2226, 2403, 1012, 5840, 1998, 2385, 1012, 5840, 3001, 2007, 2367, 2019, 19307, 4617, 1010, 2074, 9361, 2008, 1996, 4395, 2064, 2022, 4162, 2302, 10697, 1998, 2008, 2027, 2024, 8909, 6633, 11008, 4765, 1012, 1006, 28681, 2080, 1024, 6254, 2129, 2000, 2448, 2122, 5852, 7246, 1007, 102, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1013, 3392, 1013, 4503, 1013, 9986, 2015, 1013, 2190, 1011, 6078, 1012, 9108, 1001, 1001, 5604, 2012, 1996, 2200, 2560, 1010, 2017, 2323, 2448, 1037, 20231, 4638, 7246, 1024, 1002, 2191, 20231, 1011, 4638, 1996, 16360, 2080, 2003, 26928, 2000, 2448, 2070, 30526 ]
#**Tema 6 - Gestión de infraestructuras virtuales** ##**Objetivos** - [x] Aprender lenguajes de configuración usados en infraestructuras virtuales. - [x] Saber cómo aplicarlos en un caso determinado. - [x] Conocer los sistemas de gestión de la configuración, provisionamiento y monitorizació más usados hoy en día. ##**Ejercicios** - [Ejercicio 01](https://github.com/Elirova/IV2K13/blob/master/Tema6/ejercicio01.md) - [Ejercicio 02](https://github.com/Elirova/IV2K13/blob/master/Tema6/ejercicio02.md) - [Ejercicio 03](https://github.com/Elirova/IV2K13/blob/master/Tema6/ejercicio03.md) - [Ejercicio 06](https://github.com/Elirova/IV2K13/blob/master/Tema6/ejercicio06.md) - [Ejercicio 07](https://github.com/Elirova/IV2K13/blob/master/Tema6/ejercicio07.md) - [Ejercicio 08](https://github.com/Elirova/IV2K13/blob/master/Tema6/ejercicio08.md)
Elirova/IV2K13
Tema6/README.md
Markdown
gpl-3.0
854
[ 30522, 1001, 1008, 1008, 8915, 2863, 1020, 1011, 16216, 16643, 2239, 2139, 1999, 27843, 4355, 6820, 6593, 4648, 2015, 7484, 2229, 1008, 1008, 1001, 1001, 1008, 1008, 27885, 15759, 20984, 2015, 1008, 1008, 1011, 1031, 1060, 1033, 19804, 10497, 2121, 18798, 19696, 6460, 2015, 2139, 9530, 8873, 27390, 21736, 3915, 12269, 4372, 1999, 27843, 4355, 6820, 6593, 4648, 2015, 7484, 2229, 1012, 1011, 1031, 1060, 1033, 25653, 18609, 9706, 19341, 12190, 2891, 4372, 4895, 25222, 2080, 28283, 22311, 3527, 1012, 1011, 1031, 1060, 1033, 9530, 10085, 2121, 3050, 24761, 18532, 3022, 2139, 16216, 16643, 2239, 2139, 2474, 9530, 8873, 27390, 21736, 1010, 9347, 10631, 4765, 2080, 1061, 8080, 21335, 9793, 16137, 3915, 12269, 7570, 2100, 4372, 22939, 1012, 1001, 1001, 1008, 1008, 1041, 20009, 19053, 10735, 1008, 1008, 1011, 1031, 1041, 20009, 19053, 3695, 5890, 1033, 1006, 16770, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 12005, 12298, 2050, 1013, 4921, 2475, 2243, 17134, 1013, 1038, 4135, 2497, 1013, 3040, 1013, 8915, 2863, 2575, 1013, 1041, 20009, 19053, 3695, 24096, 1012, 9108, 1007, 1011, 1031, 1041, 20009, 19053, 3695, 6185, 1033, 1006, 16770, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 12005, 12298, 2050, 1013, 4921, 2475, 2243, 17134, 1013, 1038, 4135, 2497, 1013, 3040, 1013, 8915, 2863, 2575, 1013, 1041, 20009, 19053, 3695, 2692, 2475, 1012, 9108, 1007, 1011, 1031, 1041, 20009, 19053, 3695, 6021, 1033, 1006, 16770, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 12005, 12298, 2050, 1013, 4921, 2475, 2243, 17134, 1013, 1038, 4135, 2497, 1013, 3040, 1013, 8915, 2863, 2575, 1013, 1041, 20009, 19053, 3695, 2692, 2509, 1012, 9108, 1007, 1011, 1031, 1041, 20009, 19053, 3695, 5757, 1033, 1006, 16770, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 12005, 12298, 2050, 1013, 4921, 2475, 2243, 17134, 1013, 1038, 30524, 19053, 3695, 5718, 1033, 1006, 16770, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 12005, 12298, 2050, 1013, 4921, 2475, 2243, 17134, 1013, 1038, 4135, 2497, 1013, 3040, 1013, 8915, 2863, 2575, 1013, 1041, 20009, 19053, 3695, 2692, 2581, 1012, 9108, 1007, 1011, 1031, 1041, 20009, 19053, 3695, 5511, 1033, 1006, 16770, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 12005, 12298, 2050, 1013, 4921, 2475, 2243, 17134, 1013, 1038, 4135, 2497, 1013, 3040, 1013, 8915, 2863, 2575, 1013, 1041, 20009, 19053, 3695, 2692, 2620, 1012, 9108, 1007, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30523, 4135, 2497, 1013, 3040, 1013, 8915, 2863, 2575, 1013, 1041, 20009, 19053, 3695, 2692, 2575, 1012, 9108, 1007, 1011, 1031, 1041, 20009, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 4135, 2497, 1013, 3040, 1013, 8915, 2863, 2575, 1013, 1041, 20009, 19053, 3695, 2692, 2575, 1012, 9108, 1007, 1011, 1031, 1041, 20009, 30526 ]
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ namespace Aula1005 { public partial class WebForm2 { /// <summary> /// lblNome control. /// </summary> /// <remarks> /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// </remarks> protected global::System.Web.UI.WebControls.Label lblNome; /// <summary> /// Calendar1 control. /// </summary> /// <remarks> /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// </remarks> protected global::System.Web.UI.WebControls.Calendar Calendar1; /// <summary> /// lblDataAgora control. /// </summary> /// <remarks> /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// </remarks> protected global::System.Web.UI.WebControls.Label lblDataAgora; } }
caioroque/Asp.Net.Aulas
Aula1005/Aula1005/WebForm2.aspx.designer.cs
C#
mit
1,396
[ 30522, 1013, 1013, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1013, 1013, 1026, 8285, 1011, 7013, 1028, 1013, 1013, 2023, 3642, 2001, 7013, 2011, 1037, 6994, 1012, 1013, 1013, 1013, 1013, 3431, 2000, 2023, 5371, 2089, 3426, 16542, 5248, 1998, 2097, 2022, 2439, 2065, 1013, 1013, 1996, 3642, 2003, 19723, 24454, 4383, 1012, 1013, 1013, 1026, 1013, 8285, 1011, 7013, 1028, 1013, 1013, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 30524, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 3415, 15327, 8740, 2721, 18613, 2629, 1063, 2270, 7704, 2465, 4773, 14192, 2475, 1063, 1013, 1013, 1013, 1026, 12654, 1028, 1013, 1013, 1013, 6053, 19666, 8462, 2491, 1012, 1013, 1013, 1013, 1026, 1013, 12654, 1028, 1013, 1013, 1013, 1026, 12629, 1028, 1013, 1013, 1013, 8285, 1011, 7013, 2492, 1012, 1013, 1013, 1013, 2000, 19933, 2693, 2492, 8170, 2013, 5859, 5371, 2000, 3642, 1011, 2369, 5371, 1012, 1013, 1013, 1013, 1026, 1013, 12629, 1028, 5123, 3795, 1024, 1024, 2291, 1012, 4773, 1012, 21318, 1012, 4773, 8663, 13181, 4877, 1012, 3830, 6053, 19666, 8462, 1025, 1013, 1013, 1013, 1026, 12654, 1028, 1013, 1013, 1013, 8094, 2487, 2491, 1012, 1013, 1013, 1013, 1026, 1013, 12654, 1028, 1013, 1013, 1013, 1026, 12629, 1028, 1013, 1013, 1013, 8285, 1011, 7013, 2492, 1012, 1013, 1013, 1013, 2000, 19933, 2693, 2492, 8170, 2013, 5859, 5371, 2000, 3642, 1011, 2369, 5371, 1012, 1013, 1013, 1013, 1026, 1013, 12629, 1028, 5123, 3795, 1024, 1024, 2291, 1012, 4773, 1012, 21318, 1012, 4773, 8663, 13181, 4877, 1012, 8094, 8094, 2487, 1025, 1013, 1013, 1013, 1026, 12654, 1028, 1013, 1013, 1013, 6053, 15150, 2696, 23692, 2527, 2491, 1012, 1013, 1013, 1013, 1026, 1013, 12654, 1028, 1013, 1013, 1013, 1026, 12629, 1028, 1013, 1013, 1013, 8285, 1011, 7013, 2492, 1012, 1013, 1013, 1013, 2000, 19933, 2693, 2492, 8170, 2013, 5859, 5371, 2000, 3642, 1011, 2369, 5371, 1012, 1013, 1013, 1013, 1026, 1013, 12629, 1028, 5123, 3795, 1024, 1024, 2291, 1012, 4773, 1012, 21318, 1012, 4773, 8663, 13181, 4877, 1012, 3830, 6053, 15150, 2696, 23692, 2527, 1025, 1065, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30523, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 30526 ]
/* * Copyright 2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by * applicable law or agreed to in writing, software distributed under the * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS * OF ANY KIND, either express or implied. See the License for the specific * language governing permissions and limitations under the License. */ package com.github.drinkjava2.jdialects.annotation.jpa; import static java.lang.annotation.RetentionPolicy.RUNTIME; import java.lang.annotation.Retention; import java.lang.annotation.Target; /** * Used in schema generation to specify creation of an index. * <p> * Note that it is not necessary to specify an index for a primary key, * as the primary key index will be created automatically. * * <p> * The syntax of the <code>columnList</code> element is a * <code>column_list</code>, as follows: * * <pre> * column::= index_column [,index_column]* * index_column::= column_name [ASC | DESC] * </pre> * * <p> If <code>ASC</code> or <code>DESC</code> is not specified, * <code>ASC</code> (ascending order) is assumed. * * @see Table * @see SecondaryTable * @see CollectionTable * @see JoinTable * @see TableIdGeneratorTest * * @since Java Persistence 2.1 * */ @Target({}) @Retention(RUNTIME) public @interface Index { /** * (Optional) The name of the index; defaults to a provider-generated name. */ String name() default ""; /** * (Required) The names of the columns to be included in the index, * in order. */ String columnList(); /** * (Optional) Whether the index is unique. */ boolean unique() default false; }
drinkjava2/jSQLBox
core/src/main/java/com/github/drinkjava2/jdialects/annotation/jpa/Index.java
Java
apache-2.0
1,916
[ 30522, 1013, 1008, 1008, 9385, 2355, 1996, 2434, 3166, 2030, 6048, 1012, 1008, 1008, 7000, 2104, 1996, 15895, 6105, 1010, 2544, 1016, 1012, 1014, 1006, 1996, 1000, 6105, 1000, 1007, 1025, 2017, 2089, 2025, 1008, 2224, 2023, 5371, 3272, 1999, 12646, 2007, 1996, 6105, 1012, 2017, 2089, 6855, 1037, 6100, 1997, 1008, 1996, 6105, 2012, 8299, 1024, 1013, 1013, 7479, 1012, 15895, 1012, 8917, 1013, 15943, 1013, 6105, 1011, 1016, 1012, 1014, 4983, 3223, 2011, 1008, 12711, 2375, 2030, 3530, 2000, 1999, 3015, 1010, 4007, 5500, 2104, 1996, 1008, 6105, 2003, 5500, 2006, 2019, 1000, 2004, 2003, 1000, 3978, 1010, 2302, 10943, 3111, 2030, 3785, 1008, 1997, 2151, 2785, 1010, 2593, 4671, 2030, 13339, 1012, 2156, 1996, 6105, 2005, 30524, 3900, 3567, 2475, 1012, 26219, 4818, 22471, 2015, 1012, 5754, 17287, 3508, 1012, 16545, 2050, 1025, 12324, 10763, 9262, 1012, 11374, 1012, 5754, 17287, 3508, 1012, 20125, 18155, 2594, 2100, 1012, 2448, 7292, 1025, 12324, 9262, 1012, 11374, 1012, 5754, 17287, 3508, 1012, 20125, 1025, 12324, 9262, 1012, 11374, 1012, 5754, 17287, 3508, 1012, 4539, 1025, 1013, 1008, 1008, 1008, 2109, 1999, 8040, 28433, 4245, 2000, 20648, 4325, 1997, 2019, 5950, 1012, 1008, 1026, 1052, 1028, 1008, 3602, 2008, 2009, 2003, 2025, 4072, 2000, 20648, 2019, 5950, 2005, 1037, 3078, 3145, 1010, 1008, 2004, 1996, 3078, 3145, 5950, 2097, 2022, 2580, 8073, 1012, 1008, 1008, 1026, 1052, 1028, 1008, 1996, 20231, 1997, 1996, 1026, 3642, 1028, 5930, 9863, 1026, 1013, 3642, 1028, 5783, 2003, 1037, 1008, 1026, 3642, 1028, 5930, 1035, 2862, 1026, 1013, 3642, 1028, 1010, 2004, 4076, 1024, 1008, 1008, 1026, 3653, 1028, 1008, 5930, 1024, 1024, 1027, 5950, 1035, 5930, 1031, 1010, 5950, 1035, 5930, 1033, 1008, 1008, 5950, 1035, 5930, 1024, 1024, 1027, 5930, 1035, 2171, 1031, 2004, 2278, 1064, 4078, 2278, 1033, 1008, 1026, 1013, 3653, 1028, 1008, 1008, 1026, 1052, 1028, 2065, 1026, 3642, 1028, 2004, 2278, 1026, 1013, 3642, 1028, 2030, 1026, 3642, 1028, 4078, 2278, 1026, 1013, 3642, 1028, 2003, 2025, 9675, 1010, 1008, 1026, 3642, 1028, 2004, 2278, 1026, 1013, 3642, 1028, 1006, 22316, 2344, 1007, 2003, 5071, 1012, 1008, 1008, 1030, 2156, 2795, 1008, 1030, 2156, 3905, 10880, 1008, 1030, 2156, 3074, 10880, 1008, 1030, 2156, 4101, 3085, 1008, 1030, 2156, 2795, 13623, 3678, 8844, 22199, 1008, 1008, 1030, 2144, 9262, 28297, 1016, 1012, 1015, 1008, 1008, 1013, 1030, 4539, 1006, 1063, 1065, 1007, 1030, 20125, 1006, 2448, 7292, 1007, 2270, 1030, 8278, 5950, 1063, 1013, 1008, 1008, 1008, 1006, 11887, 1007, 1996, 2171, 1997, 1996, 5950, 1025, 12398, 2015, 2000, 1037, 10802, 1011, 7013, 2171, 1012, 1008, 1013, 5164, 2171, 1006, 1007, 12398, 1000, 1000, 1025, 1013, 1008, 1008, 1008, 1006, 3223, 1007, 1996, 3415, 1997, 1996, 7753, 2000, 2022, 2443, 1999, 1996, 5950, 1010, 1008, 1999, 2344, 1012, 1008, 1013, 5164, 5930, 9863, 1006, 1007, 1025, 1013, 1008, 1008, 1008, 1006, 11887, 1007, 3251, 1996, 30523, 1996, 3563, 1008, 2653, 8677, 6656, 2015, 1998, 12546, 2104, 1996, 6105, 1012, 1008, 1013, 7427, 4012, 1012, 21025, 2705, 12083, 1012, 4392, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1996, 3563, 1008, 2653, 8677, 6656, 2015, 1998, 12546, 2104, 1996, 6105, 1012, 1008, 1013, 7427, 4012, 1012, 21025, 2705, 12083, 1012, 4392, 30526 ]
--TEST-- FLOAT implementation test --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> --FILE-- <?php require_once(dirname(__FILE__) . '/config.inc'); $db = new PDO($dsn, $username, $password); $db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); try { $db->exec ("DROP KEYSPACE {$keyspace}"); } catch (PDOException $e) {} $db->exec ("CREATE KEYSPACE {$keyspace} WITH REPLICATION = {'class' : 'SimpleStrategy', 'replication_factor': 1}"); $db->exec ("USE {$keyspace}"); $db->exec ("CREATE COLUMNFAMILY cf (my_key int PRIMARY KEY, my_float float, my_double double)"); function insert_in_base($db, $key, $value, $type = 0) { $stmt = ''; if ($type == 0) { $stmt = $db->prepare ("UPDATE cf SET my_float=:my_float WHERE my_key=:my_key;"); $stmt->bindValue (':my_float', $value, PDO::PARAM_INT); } else { $stmt = $db->prepare ("UPDATE cf SET my_double=:my_double WHERE my_key=:my_key;"); $stmt->bindValue (':my_double', $value, PDO::PARAM_INT); } $stmt->bindValue (':my_key', $key, PDO::PARAM_INT); $stmt->execute(); } function dump_value($db, $key, $type = 0) { $stmt = $db->prepare("SELECT * FROM cf WHERE my_key=:my_key"); $stmt->bindValue (':my_key', $key, PDO::PARAM_INT); $stmt->execute(); $res = $stmt->fetchAll(); if ($type == 0) var_dump($res[0]['my_float']); else var_dump($res[0]['my_double']); } // Float insertions insert_in_base($db, 21, 42.42); insert_in_base($db, 22, -42.42); insert_in_base($db, 23, -4242); insert_in_base($db, 24, +4242); insert_in_base($db, 25, -4.39518E+7); insert_in_base($db, 26, 4.39518E+7); dump_value($db, 21); dump_value($db, 22); dump_value($db, 23); dump_value($db, 24); dump_value($db, 25); dump_value($db, 26); // Double insertions insert_in_base($db, 26, 4.395181234567E+73, 1); insert_in_base($db, 27, -4.395181234567E+73, 1); dump_value($db, 26, 1); dump_value($db, 27, 1); --EXPECT-- float(42.419998168945) float(-42.419998168945) float(-4242) float(4242) float(-43951800) float(43951800) float(4.395181234567E+73) float(-4.395181234567E+73)
Orange-OpenSource/YACassandraPDO
tests/033-float.phpt
PHP
apache-2.0
2,105
[ 30522, 1011, 1011, 3231, 1011, 1011, 14257, 7375, 3231, 1011, 1011, 13558, 10128, 1011, 1011, 1026, 1029, 25718, 5478, 1035, 2320, 1006, 16101, 18442, 1006, 1035, 1035, 5371, 1035, 1035, 1007, 1012, 1005, 1013, 13558, 10128, 1012, 4297, 1005, 1007, 1025, 1029, 1028, 1011, 1011, 5371, 1011, 1011, 1026, 1029, 25718, 5478, 1035, 2320, 1006, 16101, 18442, 1006, 1035, 1035, 5371, 1035, 1035, 1007, 1012, 1005, 1013, 9530, 8873, 2290, 1012, 4297, 1005, 1007, 1025, 30524, 1002, 5310, 18442, 1010, 1002, 20786, 1007, 1025, 1002, 16962, 1011, 1028, 2275, 19321, 3089, 8569, 2618, 1006, 22851, 2080, 1024, 1024, 2012, 16344, 1035, 9413, 10867, 10244, 1010, 22851, 2080, 1024, 1024, 9413, 10867, 10244, 1035, 6453, 1007, 1025, 3046, 1063, 1002, 16962, 1011, 1028, 4654, 8586, 1006, 1000, 4530, 6309, 15327, 1063, 1002, 6309, 15327, 1065, 1000, 1007, 1025, 1065, 4608, 1006, 22851, 8913, 2595, 24422, 1002, 1041, 1007, 1063, 1065, 1002, 16962, 1011, 1028, 4654, 8586, 1006, 1000, 3443, 6309, 15327, 1063, 1002, 6309, 15327, 1065, 2007, 21647, 1027, 1063, 1005, 2465, 1005, 1024, 1005, 21304, 11657, 6292, 1005, 1010, 1005, 21647, 1035, 5387, 1005, 1024, 1015, 1065, 1000, 1007, 1025, 1002, 16962, 1011, 1028, 4654, 8586, 1006, 1000, 2224, 1063, 1002, 6309, 15327, 1065, 1000, 1007, 1025, 1002, 16962, 1011, 1028, 4654, 8586, 1006, 1000, 3443, 5930, 7011, 4328, 2135, 12935, 1006, 2026, 1035, 3145, 20014, 3078, 3145, 1010, 2026, 1035, 14257, 14257, 1010, 2026, 1035, 3313, 3313, 1007, 1000, 1007, 1025, 3853, 19274, 1035, 1999, 1035, 2918, 1006, 1002, 16962, 1010, 1002, 3145, 1010, 1002, 3643, 1010, 1002, 2828, 1027, 1014, 1007, 1063, 1002, 2358, 20492, 1027, 1005, 1005, 1025, 2065, 1006, 1002, 2828, 1027, 1027, 1014, 1007, 1063, 1002, 2358, 20492, 1027, 1002, 16962, 1011, 1028, 7374, 1006, 1000, 10651, 12935, 2275, 2026, 1035, 14257, 1027, 1024, 2026, 1035, 14257, 2073, 2026, 1035, 3145, 1027, 1024, 2026, 1035, 3145, 1025, 1000, 1007, 1025, 1002, 2358, 20492, 1011, 1028, 14187, 10175, 5657, 1006, 1005, 1024, 2026, 1035, 14257, 1005, 1010, 1002, 3643, 1010, 22851, 2080, 1024, 1024, 11498, 2213, 1035, 20014, 1007, 1025, 1065, 2842, 1063, 1002, 2358, 20492, 1027, 1002, 16962, 1011, 1028, 7374, 1006, 1000, 10651, 12935, 2275, 2026, 1035, 3313, 1027, 1024, 2026, 1035, 3313, 2073, 2026, 1035, 3145, 1027, 1024, 2026, 1035, 3145, 1025, 1000, 1007, 1025, 1002, 2358, 20492, 1011, 1028, 14187, 10175, 5657, 1006, 1005, 1024, 2026, 1035, 3313, 1005, 1010, 1002, 3643, 1010, 22851, 2080, 1024, 1024, 11498, 2213, 1035, 20014, 1007, 1025, 1065, 1002, 2358, 20492, 1011, 1028, 14187, 10175, 5657, 1006, 1005, 1024, 2026, 1035, 3145, 1005, 1010, 1002, 3145, 1010, 22851, 2080, 1024, 1024, 11498, 2213, 1035, 20014, 1007, 1025, 1002, 2358, 20492, 1011, 1028, 15389, 1006, 1007, 1025, 1065, 3853, 15653, 1035, 3643, 1006, 1002, 16962, 1010, 1002, 3145, 1010, 1002, 2828, 1027, 1014, 1007, 1063, 1002, 2358, 20492, 1027, 1002, 16962, 1011, 1028, 7374, 1006, 1000, 7276, 1008, 2013, 12935, 2073, 2026, 1035, 3145, 1027, 1024, 30523, 1002, 16962, 1027, 2047, 22851, 2080, 1006, 1002, 16233, 2078, 1010, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1002, 16962, 1027, 2047, 22851, 2080, 1006, 1002, 16233, 2078, 1010, 30526 ]
// -*- C++ -*- //========================================================================== /** * @file Null_Condition.h * * $Id: Null_Condition.h 80826 2008-03-04 14:51:23Z wotte $ * * Moved from Synch.h. * * @author Douglas C. Schmidt <[email protected]> */ //========================================================================== #ifndef ACE_NULL_CONDITION_H #define ACE_NULL_CONDITION_H #include /**/ "ace/pre.h" // All methods in this class are inline, so there is no // need to import or export on Windows. -- CAE 12/18/2003 #include "ace/Null_Mutex.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ #include "ace/os_include/os_errno.h" ACE_BEGIN_VERSIONED_NAMESPACE_DECL class ACE_Time_Value; /** * @class ACE_Null_Condition * * @brief Implement a do nothing ACE_Condition variable wrapper, * i.e., all methods are no ops. This class is necessary since * some C++ compilers are *very* lame... */ class ACE_Null_Condition { public: ACE_Null_Condition (const ACE_Null_Mutex &m, const ACE_TCHAR * = 0, void * = 0) : mutex_ ((ACE_Null_Mutex &) m) {} ~ACE_Null_Condition (void) {} /// Returns 0. int remove (void) {return 0;} /// Returns -1 with @c errno == @c ETIME. int wait (const ACE_Time_Value * = 0) {errno = ETIME; return -1;} /// Returns -1 with @c errno == @c ETIME. int wait (ACE_Null_Mutex &, const ACE_Time_Value * = 0) {errno = ETIME; return -1;} /// Returns 0. int signal (void) {return 0;} /// Returns 0. int broadcast (void) {return 0;} ACE_Null_Mutex &mutex (void) {return this->mutex_;}; /// Dump the state of an object. void dump (void) const {} // ACE_ALLOC_HOOK_DECLARE; // Declare the dynamic allocation hooks. protected: ACE_Null_Mutex &mutex_; // Reference to mutex lock. private: // = Prevent assignment and initialization. void operator= (const ACE_Null_Condition &); ACE_Null_Condition (const ACE_Null_Condition &); }; ACE_END_VERSIONED_NAMESPACE_DECL #include /**/ "ace/post.h" #endif /* ACE_NULL_CONDITION_H */
Anubisss/ace_chat_example
libs/ACE_wrappers/ace/Null_Condition.h
C
gpl-3.0
2,133
[ 30522, 1013, 1013, 1011, 1008, 1011, 1039, 1009, 1009, 1011, 1008, 1011, 1013, 1013, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1013, 1008, 1008, 1008, 1030, 5371, 19701, 1035, 4650, 1012, 1044, 1008, 1008, 1002, 8909, 1024, 19701, 1035, 4650, 1012, 1044, 3770, 2620, 23833, 2263, 1011, 6021, 1011, 5840, 2403, 1024, 4868, 1024, 2603, 2480, 24185, 4674, 1002, 1008, 1008, 2333, 2013, 26351, 2232, 1012, 1044, 1012, 1008, 1008, 1030, 3166, 5203, 1039, 1012, 12940, 1026, 12940, 1030, 20116, 1012, 8814, 3367, 2140, 1012, 3968, 2226, 1028, 1008, 1013, 1013, 1013, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 30524, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 1001, 2065, 13629, 2546, 9078, 1035, 19701, 1035, 4650, 1035, 1044, 1001, 9375, 9078, 1035, 19701, 1035, 4650, 1035, 1044, 1001, 2421, 1013, 1008, 1008, 1013, 1000, 9078, 1013, 3653, 1012, 1044, 1000, 1013, 1013, 2035, 4725, 1999, 2023, 2465, 2024, 23881, 1010, 2061, 2045, 2003, 2053, 1013, 1013, 2342, 2000, 12324, 2030, 9167, 2006, 3645, 1012, 1011, 1011, 6187, 2063, 2260, 1013, 2324, 1013, 2494, 1001, 2421, 1000, 9078, 1013, 19701, 1035, 20101, 2595, 1012, 1044, 1000, 1001, 2065, 999, 4225, 1006, 9078, 1035, 14087, 1035, 10975, 8490, 2863, 1035, 2320, 1007, 1001, 10975, 8490, 2863, 2320, 1001, 2203, 10128, 1013, 1008, 9078, 1035, 14087, 1035, 10975, 8490, 2863, 1035, 2320, 1008, 1013, 1001, 2421, 1000, 9078, 1013, 9808, 1035, 2421, 1013, 9808, 1035, 9413, 19139, 1012, 1044, 1000, 9078, 1035, 4088, 1035, 2544, 2098, 1035, 3415, 15327, 1035, 11703, 2140, 2465, 9078, 1035, 2051, 1035, 3643, 1025, 1013, 1008, 1008, 1008, 1030, 2465, 9078, 1035, 19701, 1035, 4650, 1008, 1008, 1030, 4766, 10408, 1037, 2079, 2498, 9078, 1035, 4650, 8023, 10236, 4842, 1010, 1008, 1045, 1012, 1041, 1012, 1010, 2035, 4725, 2024, 2053, 23092, 1012, 2023, 2465, 2003, 4072, 2144, 1008, 2070, 1039, 1009, 1009, 21624, 2015, 2024, 1008, 2200, 1008, 20342, 1012, 1012, 1012, 1008, 1013, 2465, 9078, 1035, 19701, 1035, 4650, 1063, 2270, 1024, 9078, 1035, 19701, 1035, 4650, 1006, 9530, 3367, 9078, 1035, 19701, 1035, 20101, 2595, 1004, 1049, 1010, 9530, 3367, 9078, 1035, 22975, 8167, 1008, 1027, 1014, 1010, 11675, 1008, 1027, 1014, 1007, 1024, 20101, 2595, 1035, 1006, 1006, 9078, 1035, 19701, 1035, 20101, 2595, 1004, 1007, 1049, 1007, 30523, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1027, 1027, 1027, 1027, 1027, 1027, 1027, 30526 ]
/* linux/arch/arm/mach-s3c2440/mach-osiris.c * * Copyright (c) 2005 Simtec Electronics * http://armlinux.simtec.co.uk/ * Ben Dooks <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/kernel.h> #include <linux/types.h> #include <linux/interrupt.h> #include <linux/list.h> #include <linux/timer.h> #include <linux/init.h> #include <linux/device.h> #include <linux/serial_core.h> #include <asm/mach/arch.h> #include <asm/mach/map.h> #include <asm/mach/irq.h> #include <asm/arch/osiris-map.h> #include <asm/arch/osiris-cpld.h> #include <asm/hardware.h> #include <asm/io.h> #include <asm/irq.h> #include <asm/mach-types.h> #include <asm/arch/regs-serial.h> #include <asm/arch/regs-gpio.h> #include <asm/arch/regs-mem.h> #include <asm/arch/regs-lcd.h> #include <asm/arch/nand.h> #include <linux/mtd/mtd.h> #include <linux/mtd/nand.h> #include <linux/mtd/nand_ecc.h> #include <linux/mtd/partitions.h> #include <asm/plat-s3c24xx/clock.h> #include <asm/plat-s3c24xx/devs.h> #include <asm/plat-s3c24xx/cpu.h> /* onboard perihpheral map */ static struct map_desc osiris_iodesc[] __initdata = { /* ISA IO areas (may be over-written later) */ { .virtual = (u32)S3C24XX_VA_ISA_BYTE, .pfn = __phys_to_pfn(S3C2410_CS5), .length = SZ_16M, .type = MT_DEVICE, }, { .virtual = (u32)S3C24XX_VA_ISA_WORD, .pfn = __phys_to_pfn(S3C2410_CS5), .length = SZ_16M, .type = MT_DEVICE, }, /* CPLD control registers */ { .virtual = (u32)OSIRIS_VA_CTRL1, .pfn = __phys_to_pfn(OSIRIS_PA_CTRL1), .length = SZ_16K, .type = MT_DEVICE, }, { .virtual = (u32)OSIRIS_VA_CTRL2, .pfn = __phys_to_pfn(OSIRIS_PA_CTRL2), .length = SZ_16K, .type = MT_DEVICE, }, }; #define UCON S3C2410_UCON_DEFAULT | S3C2410_UCON_UCLK #define ULCON S3C2410_LCON_CS8 | S3C2410_LCON_PNONE | S3C2410_LCON_STOPB #define UFCON S3C2410_UFCON_RXTRIG8 | S3C2410_UFCON_FIFOMODE static struct s3c24xx_uart_clksrc osiris_serial_clocks[] = { [0] = { .name = "uclk", .divisor = 1, .min_baud = 0, .max_baud = 0, }, [1] = { .name = "pclk", .divisor = 1, .min_baud = 0, .max_baud = 0, } }; static struct s3c2410_uartcfg osiris_uartcfgs[] __initdata = { [0] = { .hwport = 0, .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, .clocks = osiris_serial_clocks, .clocks_size = ARRAY_SIZE(osiris_serial_clocks), }, [1] = { .hwport = 1, .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, .clocks = osiris_serial_clocks, .clocks_size = ARRAY_SIZE(osiris_serial_clocks), }, [2] = { .hwport = 2, .flags = 0, .ucon = UCON, .ulcon = ULCON, .ufcon = UFCON, .clocks = osiris_serial_clocks, .clocks_size = ARRAY_SIZE(osiris_serial_clocks), } }; /* NAND Flash on Osiris board */ static int external_map[] = { 2 }; static int chip0_map[] = { 0 }; static int chip1_map[] = { 1 }; static struct mtd_partition osiris_default_nand_part[] = { [0] = { .name = "Boot Agent", .size = SZ_16K, .offset = 0, }, [1] = { .name = "/boot", .size = SZ_4M - SZ_16K, .offset = SZ_16K, }, [2] = { .name = "user1", .offset = SZ_4M, .size = SZ_32M - SZ_4M, }, [3] = { .name = "user2", .offset = SZ_32M, .size = MTDPART_SIZ_FULL, } }; /* the Osiris has 3 selectable slots for nand-flash, the two * on-board chip areas, as well as the external slot. * * Note, there is no current hot-plug support for the External * socket. */ static struct s3c2410_nand_set osiris_nand_sets[] = { [1] = { .name = "External", .nr_chips = 1, .nr_map = external_map, .nr_partitions = ARRAY_SIZE(osiris_default_nand_part), .partitions = osiris_default_nand_part, }, [0] = { .name = "chip0", .nr_chips = 1, .nr_map = chip0_map, .nr_partitions = ARRAY_SIZE(osiris_default_nand_part), .partitions = osiris_default_nand_part, }, [2] = { .name = "chip1", .nr_chips = 1, .nr_map = chip1_map, .nr_partitions = ARRAY_SIZE(osiris_default_nand_part), .partitions = osiris_default_nand_part, }, }; static void osiris_nand_select(struct s3c2410_nand_set *set, int slot) { unsigned int tmp; slot = set->nr_map[slot] & 3; pr_debug("osiris_nand: selecting slot %d (set %p,%p)\n", slot, set, set->nr_map); tmp = __raw_readb(OSIRIS_VA_CTRL1); tmp &= ~OSIRIS_CTRL1_NANDSEL; tmp |= slot; pr_debug("osiris_nand: ctrl1 now %02x\n", tmp); __raw_writeb(tmp, OSIRIS_VA_CTRL1); } static struct s3c2410_platform_nand osiris_nand_info = { .tacls = 25, .twrph0 = 60, .twrph1 = 60, .nr_sets = ARRAY_SIZE(osiris_nand_sets), .sets = osiris_nand_sets, .select_chip = osiris_nand_select, }; /* PCMCIA control and configuration */ static struct resource osiris_pcmcia_resource[] = { [0] = { .start = 0x0f000000, .end = 0x0f100000, .flags = IORESOURCE_MEM, }, [1] = { .start = 0x0c000000, .end = 0x0c100000, .flags = IORESOURCE_MEM, } }; static struct platform_device osiris_pcmcia = { .name = "osiris-pcmcia", .id = -1, .num_resources = ARRAY_SIZE(osiris_pcmcia_resource), .resource = osiris_pcmcia_resource, }; /* Standard Osiris devices */ static struct platform_device *osiris_devices[] __initdata = { &s3c_device_i2c, &s3c_device_nand, &osiris_pcmcia, }; static struct clk *osiris_clocks[] = { &s3c24xx_dclk0, &s3c24xx_dclk1, &s3c24xx_clkout0, &s3c24xx_clkout1, &s3c24xx_uclk, }; static struct s3c24xx_board osiris_board __initdata = { .devices = osiris_devices, .devices_count = ARRAY_SIZE(osiris_devices), .clocks = osiris_clocks, .clocks_count = ARRAY_SIZE(osiris_clocks), }; static void __init osiris_map_io(void) { unsigned long flags; /* initialise the clocks */ s3c24xx_dclk0.parent = NULL; s3c24xx_dclk0.rate = 12*1000*1000; s3c24xx_dclk1.parent = NULL; s3c24xx_dclk1.rate = 24*1000*1000; s3c24xx_clkout0.parent = &s3c24xx_dclk0; s3c24xx_clkout1.parent = &s3c24xx_dclk1; s3c24xx_uclk.parent = &s3c24xx_clkout1; s3c_device_nand.dev.platform_data = &osiris_nand_info; s3c24xx_init_io(osiris_iodesc, ARRAY_SIZE(osiris_iodesc)); s3c24xx_init_clocks(0); s3c24xx_init_uarts(osiris_uartcfgs, ARRAY_SIZE(osiris_uartcfgs)); s3c24xx_set_board(&osiris_board); /* fix bus configuration (nBE settings wrong on ABLE pre v2.20) */ local_irq_save(flags); __raw_writel(__raw_readl(S3C2410_BWSCON) | S3C2410_BWSCON_ST1 | S3C2410_BWSCON_ST2 | S3C2410_BWSCON_ST3 | S3C2410_BWSCON_ST4 | S3C2410_BWSCON_ST5, S3C2410_BWSCON); local_irq_restore(flags); /* write-protect line to the NAND */ s3c2410_gpio_setpin(S3C2410_GPA0, 1); } MACHINE_START(OSIRIS, "Simtec-OSIRIS") /* Maintainer: Ben Dooks <[email protected]> */ .phys_io = S3C2410_PA_UART, .io_pg_offst = (((u32)S3C24XX_VA_UART) >> 18) & 0xfffc, .boot_params = S3C2410_SDRAM_PA + 0x100, .map_io = osiris_map_io, .init_irq = s3c24xx_init_irq, .timer = &s3c24xx_timer, MACHINE_END
impedimentToProgress/UCI-BlueChip
snapgear_linux/linux-2.6.21.1/arch/arm/mach-s3c2440/mach-osiris.c
C
mit
7,115
[ 30522, 1013, 1008, 11603, 1013, 7905, 1013, 2849, 1013, 24532, 1011, 1055, 2509, 2278, 18827, 12740, 1013, 24532, 1011, 9808, 15735, 2015, 1012, 1039, 1008, 1008, 9385, 1006, 1039, 1007, 2384, 21934, 26557, 8139, 1008, 8299, 1024, 1013, 1013, 2849, 4115, 5602, 1012, 21934, 26557, 1012, 2522, 1012, 2866, 1013, 1008, 3841, 20160, 5705, 1026, 3841, 1030, 21934, 26557, 1012, 2522, 1012, 2866, 1028, 1008, 1008, 2023, 2565, 2003, 2489, 4007, 1025, 2017, 2064, 2417, 2923, 3089, 8569, 2618, 2009, 1998, 1013, 2030, 19933, 1008, 2009, 2104, 1996, 3408, 1997, 1996, 27004, 2236, 2270, 6105, 2544, 1016, 2004, 1008, 2405, 2011, 1996, 2489, 4007, 3192, 1012, 1008, 1013, 1001, 2421, 1026, 11603, 1013, 16293, 1012, 1044, 1028, 1001, 30524, 1026, 11603, 1013, 5080, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 7642, 1035, 4563, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 24532, 1013, 7905, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 24532, 1013, 4949, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 24532, 1013, 20868, 4160, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 7905, 1013, 9808, 15735, 2015, 1011, 4949, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 7905, 1013, 9808, 15735, 2015, 1011, 18133, 6392, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 8051, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 22834, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 20868, 4160, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 24532, 1011, 4127, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 7905, 1013, 19723, 2015, 1011, 7642, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 7905, 1013, 19723, 2015, 1011, 14246, 3695, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 7905, 1013, 19723, 2015, 1011, 2033, 2213, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 7905, 1013, 19723, 2015, 1011, 27662, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 7905, 1013, 16660, 2094, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 11047, 2094, 1013, 11047, 2094, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 11047, 2094, 1013, 16660, 2094, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 11047, 2094, 1013, 16660, 2094, 1035, 14925, 2278, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 11047, 2094, 1013, 13571, 2015, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 20228, 4017, 1011, 1055, 2509, 2278, 18827, 20348, 1013, 5119, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 20228, 4017, 1011, 1055, 2509, 2278, 18827, 20348, 1013, 16475, 2015, 1012, 1044, 1028, 1001, 2421, 1026, 2004, 2213, 1013, 20228, 4017, 1011, 1055, 2509, 2278, 18827, 20348, 1013, 17368, 1012, 1044, 1028, 1013, 1008, 27120, 2566, 19190, 27921, 2389, 4949, 1008, 1013, 10763, 2358, 6820, 6593, 4949, 30523, 2421, 1026, 11603, 1013, 4127, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 17938, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 2862, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 25309, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 1999, 4183, 1012, 1044, 1028, 1001, 2421, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2421, 1026, 11603, 1013, 4127, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 17938, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 2862, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 25309, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 1999, 4183, 1012, 1044, 1028, 1001, 2421, 30526 ]
# frozen_string_literal: true module ApiTester # Holds data necessary for tests class BoundaryCase attr_accessor :payload, :headers, :description def initialize(description:, payload:, headers:) self.description = description self.payload = payload self.headers = headers end end end
araneforseti/api-tester
lib/api-tester/definition/boundary_case.rb
Ruby
mit
322
[ 30522, 1001, 7708, 1035, 5164, 1035, 18204, 1024, 2995, 11336, 17928, 22199, 2121, 1001, 4324, 2951, 4072, 2005, 5852, 2465, 6192, 18382, 2012, 16344, 1035, 3229, 2953, 1024, 18093, 1010, 1024, 20346, 2015, 1010, 1024, 6412, 13366, 3988, 4697, 1006, 6412, 1024, 1010, 18093, 1024, 1010, 20346, 2015, 1024, 1007, 2969, 1012, 6412, 1027, 6412, 2969, 1012, 18093, 1027, 18093, 2969, 1012, 20346, 2015, 1027, 20346, 2015, 2203, 2203, 2203, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
/* * java-gnome, a UI library for writing GTK and GNOME programs from Java! * * Copyright © 2007-2010 Operational Dynamics Consulting, Pty Ltd * * The code in this file, and the program it is a part of, is made available * to you by its authors as open source software: you can redistribute it * and/or modify it under the terms of the GNU General Public License version * 2 ("GPL") as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GPL for more details. * * You should have received a copy of the GPL along with this program. If not, * see http://www.gnu.org/licenses/. The authors of this program may be * contacted through http://java-gnome.sourceforge.net/. * * Linking this library statically or dynamically with other modules is making * a combined work based on this library. Thus, the terms and conditions of * the GPL cover the whole combination. As a special exception (the * "Claspath Exception"), the copyright holders of this library give you * permission to link this library with independent modules to produce an * executable, regardless of the license terms of these independent modules, * and to copy and distribute the resulting executable under terms of your * choice, provided that you also meet, for each linked independent module, * the terms and conditions of the license of that module. An independent * module is a module which is not derived from or based on this library. If * you modify this library, you may extend the Classpath Exception to your * version of the library, but you are not obligated to do so. If you do not * wish to do so, delete this exception statement from your version. */ package org.gnome.gdk; import org.freedesktop.bindings.Constant; /* * FIXME this is a placeholder stub for what will become the public API for * this type. Replace this comment with appropriate javadoc including author * and since tags. Note that the class may need to be made abstract, implement * interfaces, or even have its parent changed. No API stability guarantees * are made about this class until it has been reviewed by a hacker and this * comment has been replaced. */ public final class InputSource extends Constant { private InputSource(int ordinal, String nickname) { super(ordinal, nickname); } }
cyberpython/java-gnome
src/bindings/org/gnome/gdk/InputSource.java
Java
gpl-2.0
2,485
[ 30522, 1013, 1008, 1008, 9262, 1011, 25781, 1010, 1037, 21318, 3075, 2005, 3015, 14181, 2243, 1998, 25781, 3454, 2013, 9262, 999, 1008, 1008, 9385, 1075, 2289, 1011, 2230, 6515, 10949, 10552, 1010, 13866, 2100, 5183, 1008, 1008, 1996, 3642, 1999, 2023, 5371, 1010, 1998, 1996, 2565, 2009, 2003, 1037, 2112, 1997, 1010, 2003, 2081, 2800, 1008, 2000, 2017, 2011, 2049, 6048, 2004, 2330, 3120, 4007, 1024, 2017, 2064, 2417, 2923, 3089, 8569, 2618, 2009, 1008, 1998, 1013, 2030, 19933, 2009, 2104, 1996, 3408, 1997, 1996, 27004, 2236, 2270, 6105, 2544, 1008, 1016, 1006, 1000, 14246, 2140, 1000, 1007, 2004, 2405, 2011, 1996, 2489, 4007, 3192, 1012, 1008, 1008, 2023, 2565, 2003, 5500, 1999, 1996, 3246, 2008, 2009, 2097, 2022, 6179, 1010, 2021, 2302, 1008, 2151, 10943, 2100, 1025, 2302, 2130, 1996, 13339, 10943, 2100, 1997, 6432, 8010, 2030, 1008, 10516, 2005, 1037, 3327, 3800, 1012, 2156, 1996, 14246, 2140, 2005, 2062, 4751, 1012, 1008, 1008, 2017, 2323, 2031, 2363, 1037, 6100, 1997, 1996, 14246, 2140, 2247, 2007, 2023, 2565, 1012, 2065, 2025, 1010, 1008, 2156, 8299, 1024, 1013, 1013, 7479, 1012, 27004, 1012, 8917, 1013, 15943, 1013, 1012, 1996, 6048, 1997, 2023, 2565, 2089, 2022, 1008, 11925, 2083, 8299, 1024, 1013, 1013, 9262, 1011, 25781, 1012, 3120, 29278, 3351, 1012, 5658, 1013, 1012, 1008, 1008, 11383, 2023, 3075, 10763, 3973, 2030, 8790, 3973, 2007, 2060, 14184, 2003, 2437, 1008, 1037, 4117, 2147, 2241, 2006, 2023, 3075, 1012, 2947, 1010, 1996, 3408, 1998, 3785, 1997, 1008, 1996, 14246, 2140, 3104, 1996, 2878, 5257, 1012, 2004, 1037, 2569, 6453, 1006, 1996, 1008, 1000, 23465, 8988, 6453, 1000, 1007, 1010, 1996, 9385, 13304, 1997, 2023, 3075, 2507, 2017, 1008, 6656, 2000, 4957, 2023, 3075, 2007, 2981, 14184, 2000, 3965, 2019, 1008, 4654, 8586, 23056, 1010, 7539, 1997, 1996, 6105, 3408, 1997, 2122, 2981, 14184, 1010, 1008, 1998, 2000, 6100, 1998, 16062, 1996, 4525, 4654, 8586, 23056, 2104, 3408, 1997, 2115, 1008, 3601, 1010, 3024, 2008, 2017, 2036, 3113, 1010, 2005, 2169, 5799, 2981, 11336, 1010, 1008, 1996, 3408, 1998, 3785, 1997, 1996, 6105, 1997, 2008, 11336, 1012, 2019, 2981, 1008, 11336, 2003, 1037, 11336, 2029, 2003, 2025, 5173, 2013, 2030, 2241, 2006, 2023, 3075, 1012, 2065, 1008, 2017, 19933, 2023, 3075, 1010, 2017, 2089, 7949, 1996, 2465, 15069, 6453, 2000, 2115, 1008, 2544, 1997, 1996, 3075, 1010, 2021, 2017, 2024, 2025, 27885, 14715, 3064, 2000, 2079, 2061, 1012, 2065, 2017, 2079, 2025, 1008, 4299, 2000, 2079, 2061, 1010, 3972, 12870, 2023, 6453, 4861, 2013, 2115, 2544, 1012, 1008, 1013, 7427, 8917, 1012, 25781, 1012, 1043, 2094, 2243, 1025, 12324, 8917, 30524, 2023, 7615, 2007, 6413, 9262, 3527, 2278, 2164, 3166, 1008, 1998, 2144, 22073, 1012, 3602, 2008, 1996, 2465, 2089, 2342, 2000, 2022, 2081, 10061, 1010, 10408, 1008, 19706, 1010, 2030, 2130, 2031, 2049, 6687, 2904, 1012, 30523, 1012, 10650, 2229, 25509, 7361, 1012, 8031, 2015, 1012, 5377, 1025, 1013, 1008, 1008, 8081, 4168, 2023, 2003, 1037, 2173, 14528, 24646, 2497, 2005, 2054, 2097, 2468, 1996, 2270, 17928, 2005, 1008, 2023, 2828, 1012, 5672, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1012, 10650, 2229, 25509, 7361, 1012, 8031, 2015, 1012, 5377, 1025, 1013, 1008, 1008, 8081, 4168, 2023, 2003, 1037, 2173, 14528, 24646, 2497, 2005, 2054, 2097, 2468, 1996, 2270, 17928, 2005, 1008, 2023, 2828, 1012, 5672, 30526 ]
require.register("scripts/product", function(exports, require, module) { var req = require('scripts/req'); AddStyleTagToItemVM = function(user, styletag_repo) { // this is very similar to AddItemToCollectionVM - yet different. var self = this; self.styletags = styletag_repo.create_filter(); self.styletags.load_until_entry(100); self.target_item = ko.observable(null); self.selected_styletag = ko.observable(); self.show_select_styletag = ko.computed(function() { return self.target_item(); }); self.show_must_login = ko.observable(false); var request_add_styletag_to_item = function(item, styletag, success, error) { req.post("/api/styletag-item/create/", JSON.stringify({'item': item.id, 'styletag': styletag.name}), success, error); }; self.confirmed_must_login = function() { self.show_must_login(false); }; self.confirmed_add_styletag = function() { if (!self.selected_styletag()) { // user selected "Choose..." in the drop-down return; } if (!_.contains(self.target_item().styletags(), self.selected_styletag())) { var success = function() { self.target_item().styletags.push(self.selected_styletag().name); self.target_item(null); }; var error = function() { self.target_item(null); /* TODO: display something to user. */ }; request_add_styletag_to_item(self.target_item(), self.selected_styletag(), success, error); }; }; self.add_to_item = function(item) { if (!user()) { self.show_must_login(true); return; } console.log("lets go add styletag"); self.target_item(item); }; }; ProductVM = function(template_name, item_repo, add_to_collection_vm, favorites_vm, add_styletag_to_item_vm) { var self = this; self.template_name = template_name; self.product = ko.observable(null); self.add_to_collection_vm = add_to_collection_vm; self.favorites_vm = favorites_vm; self.add_styletag_to_item_vm = add_styletag_to_item_vm self.load = function(params) { item_repo.fetch(params.product_id, self.product); } }; exports.ProductVM = ProductVM; exports.AddStyleTagToItemVM = AddStyleTagToItemVM; });
julienaubert/clothstream
frontend/app/scripts/apps/product.js
JavaScript
mit
2,625
[ 30522, 5478, 1012, 4236, 1006, 1000, 14546, 1013, 4031, 1000, 1010, 3853, 1006, 14338, 1010, 5478, 1010, 11336, 1007, 1063, 13075, 2128, 4160, 1027, 5478, 1006, 1005, 14546, 1013, 2128, 4160, 1005, 1007, 1025, 9909, 27983, 15900, 3406, 4221, 2213, 2615, 2213, 1027, 3853, 1006, 5310, 1010, 2806, 15900, 1035, 16360, 2080, 1007, 1063, 1013, 1013, 2023, 2003, 2200, 2714, 2000, 5587, 4221, 20492, 24163, 6216, 7542, 2615, 2213, 1011, 2664, 2367, 1012, 13075, 2969, 1027, 2023, 1025, 2969, 1012, 2806, 15900, 2015, 1027, 2806, 15900, 1035, 16360, 2080, 1012, 30524, 2531, 1007, 1025, 2969, 1012, 4539, 1035, 8875, 1027, 12849, 1012, 27885, 8043, 12423, 1006, 19701, 1007, 1025, 2969, 1012, 3479, 1035, 2806, 15900, 1027, 12849, 1012, 27885, 8043, 12423, 1006, 1007, 1025, 2969, 1012, 2265, 1035, 7276, 1035, 2806, 15900, 1027, 12849, 1012, 24806, 1006, 3853, 1006, 1007, 1063, 2709, 2969, 1012, 4539, 1035, 8875, 1006, 1007, 1025, 1065, 1007, 1025, 2969, 1012, 2265, 1035, 2442, 1035, 8833, 2378, 1027, 12849, 1012, 27885, 8043, 12423, 1006, 6270, 1007, 1025, 13075, 5227, 1035, 5587, 1035, 2806, 15900, 1035, 2000, 1035, 8875, 1027, 3853, 1006, 8875, 1010, 2806, 15900, 1010, 3112, 1010, 7561, 1007, 1063, 2128, 4160, 1012, 2695, 1006, 1000, 1013, 17928, 1013, 2806, 15900, 1011, 8875, 1013, 3443, 1013, 1000, 1010, 1046, 3385, 1012, 5164, 8757, 1006, 1063, 1005, 8875, 1005, 1024, 8875, 1012, 8909, 1010, 1005, 2806, 15900, 1005, 1024, 2806, 15900, 1012, 2171, 1065, 1007, 1010, 3112, 1010, 7561, 1007, 1025, 1065, 1025, 2969, 1012, 4484, 1035, 2442, 1035, 8833, 2378, 1027, 3853, 1006, 1007, 1063, 2969, 1012, 2265, 1035, 2442, 1035, 8833, 2378, 1006, 6270, 1007, 1025, 1065, 1025, 2969, 1012, 4484, 1035, 5587, 1035, 2806, 15900, 1027, 3853, 1006, 1007, 1063, 2065, 1006, 999, 2969, 1012, 3479, 1035, 2806, 15900, 1006, 1007, 1007, 1063, 1013, 1013, 5310, 3479, 1000, 5454, 1012, 1012, 1012, 1000, 1999, 1996, 4530, 1011, 2091, 2709, 1025, 1065, 2065, 1006, 999, 1035, 1012, 3397, 1006, 2969, 1012, 4539, 1035, 8875, 1006, 1007, 1012, 2806, 15900, 2015, 1006, 1007, 1010, 2969, 1012, 3479, 1035, 2806, 15900, 1006, 1007, 1007, 1007, 1063, 13075, 3112, 1027, 3853, 1006, 1007, 1063, 2969, 1012, 4539, 1035, 8875, 1006, 1007, 1012, 2806, 15900, 2015, 1012, 5245, 1006, 2969, 1012, 3479, 1035, 2806, 15900, 1006, 1007, 1012, 2171, 1007, 1025, 2969, 1012, 4539, 1035, 8875, 1006, 19701, 1007, 1025, 1065, 1025, 13075, 7561, 1027, 3853, 1006, 1007, 1063, 2969, 1012, 4539, 1035, 8875, 1006, 19701, 1007, 1025, 1013, 1008, 28681, 2080, 1024, 4653, 2242, 2000, 5310, 1012, 1008, 1013, 1065, 1025, 5227, 1035, 5587, 1035, 2806, 15900, 1035, 2000, 1035, 8875, 1006, 2969, 1012, 4539, 1035, 8875, 1006, 1007, 1010, 2969, 1012, 3479, 1035, 2806, 15900, 1006, 1007, 1010, 3112, 1010, 7561, 1007, 1025, 1065, 1025, 1065, 1025, 2969, 1012, 5587, 1035, 2000, 1035, 8875, 1027, 3853, 1006, 8875, 1007, 1063, 2065, 1006, 999, 5310, 1006, 1007, 1007, 1063, 30523, 3443, 1035, 11307, 1006, 1007, 1025, 2969, 1012, 2806, 15900, 2015, 1012, 7170, 1035, 2127, 1035, 4443, 1006, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 3443, 1035, 11307, 1006, 1007, 1025, 2969, 1012, 2806, 15900, 2015, 1012, 7170, 1035, 2127, 1035, 4443, 1006, 30526 ]
#ifndef SCSI_TRANSPORT_SRP_H #define SCSI_TRANSPORT_SRP_H #include <linux/transport_class.h> #include <linux/types.h> #include <linux/mutex.h> #define SRP_RPORT_ROLE_INITIATOR 0 #define SRP_RPORT_ROLE_TARGET 1 struct srp_rport_identifiers { u8 port_id[16]; u8 roles; }; struct srp_rport { struct device dev; u8 port_id[16]; u8 roles; }; struct srp_function_template { /* for target drivers */ int (* tsk_mgmt_response)(struct Scsi_Host *, u64, u64, int); int (* it_nexus_response)(struct Scsi_Host *, u64, int); }; extern struct scsi_transport_template * srp_attach_transport(struct srp_function_template *); extern void srp_release_transport(struct scsi_transport_template *); extern struct srp_rport *srp_rport_add(struct Scsi_Host *, struct srp_rport_identifiers *); extern void srp_rport_del(struct srp_rport *); extern void srp_remove_host(struct Scsi_Host *); #endif
luckasfb/OT_903D-kernel-2.6.35.7
kernel/include/scsi/scsi_transport_srp.h
C
gpl-2.0
903
[ 30522, 1001, 2065, 13629, 2546, 8040, 5332, 1035, 3665, 1035, 5034, 2361, 1035, 1044, 1001, 9375, 8040, 5332, 1035, 3665, 1035, 5034, 2361, 1035, 1044, 1001, 2421, 1026, 11603, 1013, 3665, 1035, 2465, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 4127, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 20101, 2595, 1012, 1044, 1028, 1001, 9375, 5034, 2361, 1035, 1054, 6442, 1035, 2535, 1035, 1999, 29050, 4263, 1014, 1001, 9375, 5034, 2361, 1035, 1054, 6442, 1035, 2535, 1035, 4539, 1015, 2358, 6820, 6593, 5034, 2361, 1035, 1054, 6442, 1035, 8909, 4765, 28295, 1063, 1057, 2620, 3417, 1035, 8909, 1031, 2385, 1033, 1025, 1057, 2620, 4395, 1025, 1065, 1025, 2358, 6820, 6593, 5034, 2361, 1035, 1054, 6442, 1063, 2358, 6820, 6593, 5080, 16475, 1025, 1057, 2620, 3417, 1035, 8909, 1031, 2385, 1033, 1025, 1057, 2620, 4395, 1025, 1065, 1025, 2358, 6820, 6593, 5034, 2361, 1035, 3853, 1035, 23561, 1063, 1013, 1008, 2005, 4539, 6853, 1008, 1013, 20014, 1006, 1008, 24529, 2243, 1035, 15418, 2102, 1035, 3433, 1007, 1006, 2358, 6820, 6593, 8040, 5332, 1035, 3677, 1008, 1010, 1057, 21084, 1010, 1057, 21084, 1010, 20014, 1007, 1025, 20014, 1006, 1008, 2009, 1035, 26041, 1035, 3433, 1007, 1006, 2358, 6820, 6593, 8040, 5332, 1035, 3677, 1008, 1010, 1057, 21084, 1010, 20014, 1007, 1025, 1065, 1025, 4654, 16451, 2358, 6820, 6593, 8040, 5332, 1035, 3665, 1035, 23561, 1008, 5034, 2361, 1035, 22476, 1035, 3665, 1006, 2358, 6820, 6593, 5034, 2361, 1035, 3853, 1035, 23561, 1008, 1007, 1025, 4654, 16451, 11675, 5034, 2361, 1035, 2713, 1035, 3665, 1006, 2358, 6820, 6593, 8040, 5332, 1035, 3665, 1035, 23561, 1008, 1007, 1025, 4654, 16451, 2358, 6820, 6593, 5034, 2361, 1035, 1054, 6442, 1008, 5034, 2361, 1035, 1054, 6442, 1035, 5587, 1006, 2358, 6820, 6593, 8040, 5332, 1035, 3677, 1008, 1010, 2358, 6820, 6593, 5034, 2361, 1035, 1054, 6442, 1035, 8909, 4765, 28295, 1008, 1007, 1025, 4654, 16451, 11675, 5034, 2361, 1035, 1054, 6442, 1035, 3972, 1006, 2358,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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
/* * This file is part of the CaracalDB distributed storage system. * * Copyright (C) 2009 Swedish Institute of Computer Science (SICS) * Copyright (C) 2009 Royal Institute of Technology (KTH) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ package se.sics.caracaldb.paxos; import se.sics.caracaldb.Address; import se.sics.caracaldb.View; import se.sics.kompics.Init; /** * * @author Lars Kroll <[email protected]> */ public class PaxosInit extends Init<Paxos> { public final View view; public final int quorum; public final long networkBound; public final Address self; public PaxosInit(View v, int quorum, long networkBound, Address self) { this.view = v; this.quorum = quorum; this.networkBound = networkBound; this.self = self; } }
CaracalDB/CaracalDB
core/src/main/java/se/sics/caracaldb/paxos/PaxosInit.java
Java
gpl-2.0
1,489
[ 30522, 1013, 1008, 1008, 2023, 5371, 2003, 2112, 1997, 1996, 14418, 9289, 18939, 5500, 5527, 2291, 1012, 1008, 30524, 2268, 4467, 2820, 1997, 3274, 2671, 1006, 14387, 2015, 1007, 1008, 9385, 1006, 1039, 1007, 2268, 2548, 2820, 1997, 2974, 1006, 1047, 2705, 1007, 1008, 1008, 2023, 2565, 2003, 2489, 4007, 1025, 2017, 2064, 2417, 2923, 3089, 8569, 2618, 2009, 1998, 1013, 2030, 1008, 19933, 2009, 2104, 1996, 3408, 1997, 1996, 27004, 2236, 2270, 6105, 1008, 2004, 2405, 2011, 1996, 2489, 4007, 3192, 1025, 2593, 2544, 1016, 1008, 1997, 1996, 6105, 1010, 2030, 1006, 2012, 2115, 5724, 1007, 2151, 2101, 2544, 1012, 1008, 1008, 2023, 2565, 2003, 5500, 1999, 1996, 3246, 2008, 2009, 2097, 2022, 6179, 1010, 1008, 2021, 2302, 2151, 10943, 2100, 1025, 2302, 2130, 1996, 13339, 10943, 2100, 1997, 1008, 6432, 8010, 2030, 10516, 2005, 1037, 3327, 3800, 1012, 2156, 1996, 1008, 27004, 2236, 2270, 6105, 2005, 2062, 4751, 1012, 1008, 1008, 2017, 2323, 2031, 2363, 1037, 6100, 1997, 1996, 27004, 2236, 2270, 6105, 1008, 2247, 2007, 2023, 2565, 1025, 2065, 2025, 1010, 4339, 2000, 1996, 2489, 4007, 1008, 3192, 1010, 4297, 1012, 1010, 5354, 3379, 2173, 1011, 7621, 14210, 1010, 3731, 1010, 5003, 6185, 14526, 2487, 1011, 7558, 2581, 1010, 3915, 1012, 1008, 1013, 7427, 7367, 1012, 14387, 2015, 1012, 14418, 9289, 18939, 1012, 6643, 2595, 2891, 1025, 12324, 7367, 1012, 14387, 2015, 1012, 14418, 9289, 18939, 1012, 4769, 1025, 12324, 7367, 1012, 14387, 2015, 1012, 14418, 9289, 18939, 1012, 3193, 1025, 12324, 7367, 1012, 14387, 2015, 1012, 12849, 8737, 6558, 1012, 1999, 4183, 1025, 1013, 1008, 1008, 1008, 1008, 1030, 3166, 16357, 1047, 28402, 1026, 1048, 21638, 14511, 1030, 14387, 2015, 1012, 7367, 1028, 1008, 1013, 2270, 2465, 6643, 2595, 20049, 3490, 2102, 8908, 1999, 4183, 1026, 6643, 2595, 2891, 1028, 1063, 2270, 2345, 3193, 3193, 1025, 2270, 2345, 20014, 22035, 6824, 1025, 2270, 2345, 2146, 2897, 15494, 1025, 2270, 2345, 4769, 2969, 1025, 2270, 6643, 2595, 20049, 3490, 2102, 1006, 3193, 1058, 1010, 20014, 22035, 6824, 1010, 2146, 2897, 15494, 1010, 4769, 2969, 1007, 1063, 2023, 1012, 3193, 1027, 1058, 1025, 2023, 1012, 22035, 6824, 1027, 22035, 6824, 1025, 2023, 1012, 2897, 15494, 1027, 2897, 15494, 1025, 2023, 1012, 2969, 1027, 2969, 1025, 1065, 1065, 102,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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1008, 9385, 1006, 1039, 1007, 30526 ]
require 'test_helper' class MaterisControllerTest < ActionController::TestCase setup do @materi = materis(:one) end test "should get index" do get :index assert_response :success assert_not_nil assigns(:materis) end test "should get new" do get :new assert_response :success end test "should create materi" do assert_difference('Materi.count') do post :create, materi: { alias_mat: @materi.alias_mat, cod_mat: @materi.cod_mat, contenido_mat: @materi.contenido_mat, hs_mat: @materi.hs_mat, nombre_mat: @materi.nombre_mat } end assert_redirected_to materi_path(assigns(:materi)) end test "should show materi" do get :show, id: @materi assert_response :success end test "should get edit" do get :edit, id: @materi assert_response :success end test "should update materi" do put :update, id: @materi, materi: { alias_mat: @materi.alias_mat, cod_mat: @materi.cod_mat, contenido_mat: @materi.contenido_mat, hs_mat: @materi.hs_mat, nombre_mat: @materi.nombre_mat } assert_redirected_to materi_path(assigns(:materi)) end test "should destroy materi" do assert_difference('Materi.count', -1) do delete :destroy, id: @materi end assert_redirected_to materis_path end end
rorogarcete/FacuSisWeb
test/functional/materis_controller_test.rb
Ruby
mit
1,287
[ 30522, 5478, 1005, 3231, 1035, 2393, 2121, 1005, 2465, 16289, 2483, 8663, 13181, 10820, 22199, 1026, 2895, 8663, 13181, 10820, 1024, 1024, 3231, 18382, 16437, 2079, 1030, 16289, 2072, 1027, 16289, 2483, 1006, 1024, 2028, 1007, 2203, 3231, 1000, 2323, 2131, 5950, 1000, 2079, 2131, 1024, 5950, 20865, 1035, 3433, 1024, 3112, 20865, 1035, 2025, 1035, 9152, 2140, 24022, 1006, 1024, 16289, 2483, 1007, 2203, 3231, 1000, 2323, 2131, 2047, 1000, 2079, 2131, 1024, 2047, 20865, 1035, 3433, 1024, 3112, 2203, 3231, 1000, 2323, 3443, 16289, 2072, 1000, 2079, 20865, 1035, 4489, 1006, 1005, 16289, 2072, 1012, 4175, 1005, 1007, 2079, 2695, 1024, 3443, 1010, 16289, 2072, 1024, 1063, 14593, 1035, 13523, 1024, 1030, 16289, 2072, 1012, 14593, 1035, 13523, 1010, 19429, 1035, 13523, 1024, 1030, 16289, 2072, 1012, 19429, 1035, 13523, 1010, 9530, 6528, 13820, 1035, 13523, 1024, 1030, 16289, 2072, 1012, 9530, 6528, 13820, 1035, 13523, 1010, 26236, 1035, 13523, 1024, 1030, 16289, 2072, 1012, 26236, 1035, 13523, 1010, 2053, 19908, 1035, 13523, 1024, 1030, 16289, 2072, 1012, 2053, 19908, 1035, 13523, 1065, 2203, 20865, 1035, 2417, 7442, 10985, 1035, 2000, 16289, 2072, 1035, 4130, 1006, 24022, 1006, 1024, 16289, 2072, 1007, 1007, 2203, 3231, 1000, 2323, 2265, 16289, 2072, 1000, 2079, 2131, 1024, 2265, 1010, 8909, 1024, 1030, 16289, 2072, 20865, 1035, 3433, 1024, 3112, 2203, 3231, 1000, 2323, 2131, 10086, 1000, 2079, 2131, 1024, 10086, 1010, 8909, 1024, 1030, 16289, 2072, 20865, 1035, 3433, 1024, 3112, 2203, 3231, 1000, 2323, 10651, 16289, 2072, 1000, 2079, 2404, 1024, 10651, 1010, 8909, 1024, 1030, 16289, 2072, 1010, 16289, 2072, 1024, 1063, 14593, 1035, 13523, 1024, 1030, 16289, 2072, 1012, 14593, 1035, 13523, 1010, 19429, 1035, 13523, 1024, 1030, 16289, 2072, 1012, 19429, 1035, 13523, 1010, 9530, 6528, 13820, 1035, 13523, 1024, 1030, 16289, 2072, 1012, 9530, 6528, 13820, 1035, 13523, 1010, 26236, 1035, 13523, 1024, 1030, 16289, 2072, 1012, 26236, 1035, 13523, 1010, 2053, 19908, 1035, 13523, 1024, 1030, 16289, 2072, 1012, 2053, 19908, 30524, 2000, 16289, 2072, 1035, 4130, 1006, 24022, 1006, 1024, 16289, 2072, 1007, 1007, 2203, 3231, 1000, 2323, 6033, 16289, 2072, 1000, 2079, 20865, 1035, 4489, 1006, 1005, 16289, 2072, 1012, 4175, 1005, 1010, 1011, 1015, 1007, 2079, 3972, 12870, 1024, 6033, 1010, 8909, 1024, 1030, 16289, 2072, 2203, 20865, 1035, 2417, 7442, 10985, 1035, 2000, 16289, 2483, 1035, 4130, 2203, 2203, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1035, 13523, 1065, 20865, 1035, 2417, 7442, 10985, 1035, 30526 ]
///////////////////////////////////////////////////////////////////////////// // // filecache - code for background file reading/caching // ///////////////////////////////////////////////////////////////////////////// #ifndef FILECACHE_H #define FILECACHE_H ///////////////////////////////////////////////////////////////////////////// // // BLOCKS MUST BE 255 OR LESS // // hint: if you set realfd to a negative number, that means it'll use the // gdrom routines to read a pak file starting at that (positive) lba // void filecache_init(int realfd, int pakcdsectors, int blocksize, unsigned char blocks, int vfds); // // Clear All Allocations // void filecache_term(void); // // attempt to read a block // returns the number of bytes read or 0 on error // int filecache_readpakblock(unsigned char *dest, int pakblock, int startofs, int bytes, int blocking); // // set up where the vfd pointers are // void filecache_setvfd(int vfd, int start, int block, int readahead); // // call this every now and then // void filecache_process(void); void filecache_wait_for_prebuffer(int vfd, int nblocks); ///////////////////////////////////////////////////////////////////////////// #endif
rofl0r/openbor
source/gamelib/filecache.h
C
bsd-3-clause
1,190
[ 30522, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 5371, 3540, 5403, 1011, 3642, 2005, 4281, 5371, 3752, 1013, 6187, 8450, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1001, 2065, 13629, 2546, 5371, 3540, 5403, 1035, 1044, 1001, 9375, 5371, 3540, 5403, 1035, 1044, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 30524, 1013, 1013, 1013, 1013, 9374, 1024, 2065, 2017, 2275, 2613, 2546, 2094, 2000, 1037, 4997, 2193, 1010, 2008, 2965, 2009, 1005, 2222, 2224, 1996, 1013, 1013, 1043, 22196, 2213, 23964, 2000, 3191, 1037, 22190, 5371, 3225, 2012, 2008, 1006, 3893, 1007, 6053, 2050, 1013, 1013, 11675, 5371, 3540, 5403, 1035, 1999, 4183, 1006, 20014, 2613, 2546, 2094, 1010, 20014, 22190, 19797, 3366, 24817, 1010, 20014, 5991, 4697, 1010, 27121, 25869, 5991, 1010, 20014, 1058, 2546, 5104, 1007, 1025, 1013, 1013, 1013, 1013, 3154, 2035, 16169, 2015, 1013, 1013, 11675, 5371, 3540, 5403, 1035, 2744, 1006, 11675, 1007, 1025, 1013, 1013, 1013, 1013, 3535, 2000, 3191, 1037, 3796, 1013, 1013, 5651, 1996, 2193, 1997, 27507, 3191, 2030, 1014, 2006, 7561, 1013, 1013, 20014, 5371, 3540, 5403, 1035, 3191, 4502, 2243, 23467, 1006, 27121, 25869, 1008, 4078, 2102, 1010, 20014, 22190, 23467, 1010, 20014, 2707, 11253, 2015, 1010, 20014, 27507, 1010, 20014, 10851, 1007, 1025, 1013, 1013, 1013, 1013, 2275, 2039, 2073, 1996, 1058, 2546, 2094, 20884, 2015, 2024, 1013, 1013, 11675, 5371, 3540, 5403, 1035, 2275, 2615, 2546, 2094, 1006, 20014, 1058, 2546, 2094, 1010, 20014, 2707, 1010, 20014, 3796, 1010, 20014, 3191, 4430, 13775, 1007, 1025, 1013, 1013, 1013, 1013, 2655, 2023, 2296, 2085, 1998, 2059, 1013, 1013, 11675, 5371, 3540, 5403, 1035, 2832, 1006, 11675, 1007, 1025, 11675, 5371, 3540, 5403, 1035, 30523, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 5991, 2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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 1013, 5991, 2442, 2022, 20637, 2030, 2625, 30526 ]
{ scalar_type F_mT[3]; { scalar_type PmQ[3]; PmQ[0] = P[0] - nuc_pos_dens_sh[j].x; PmQ[1] = P[1] - nuc_pos_dens_sh[j].y; PmQ[2] = P[2] - nuc_pos_dens_sh[j].z; scalar_type T = (PmQ[0] * PmQ[0] + PmQ[1] * PmQ[1] + PmQ[2] * PmQ[2]) * rho; lio_gamma<scalar_type, 2>(F_mT, T); } { // START INDEX i1=0, CENTER 1 { scalar_type p1ss_0 = PmA[0] * F_mT[0] + WmP[0] * F_mT[1]; scalar_type p1ss_1 = PmA[0] * F_mT[1] + WmP[0] * F_mT[2]; scalar_type preterm = fit_dens_sh[j + 0] * prefactor_dens * dens[0]; // START INDEX igrad=0 { scalar_type C_force_term = inv_two_zeta_eta * F_mT[1]; C_force_term += WmQ[0] * p1ss_1; scalar_type A_force_term = inv_two_zeta * (F_mT[0] - rho_zeta * F_mT[1]); A_force_term += WmP[0] * p1ss_1; scalar_type B_force_term = PmB[0] * p1ss_0 + A_force_term; A_force_term += PmA[0] * p1ss_0; A_force_term *= 2.0 * ai; B_force_term *= 2.0 * aj; C_force_term *= 2.0 * ac_val_dens_sh[j].x; A_force_term -= F_mT[0]; A_force[0] += preterm * A_force_term; B_force[0] += preterm * B_force_term; C_force[0][tid] += preterm * C_force_term; } // START INDEX igrad=1 { scalar_type C_force_term = WmQ[1] * p1ss_1; scalar_type A_force_term = WmP[1] * p1ss_1; scalar_type B_force_term = PmB[1] * p1ss_0 + A_force_term; A_force_term += PmA[1] * p1ss_0; A_force_term *= 2.0 * ai; B_force_term *= 2.0 * aj; C_force_term *= 2.0 * ac_val_dens_sh[j].x; A_force[1] += preterm * A_force_term; B_force[1] += preterm * B_force_term; C_force[1][tid] += preterm * C_force_term; } // START INDEX igrad=2 { scalar_type C_force_term = WmQ[2] * p1ss_1; scalar_type A_force_term = WmP[2] * p1ss_1; scalar_type B_force_term = PmB[2] * p1ss_0 + A_force_term; A_force_term += PmA[2] * p1ss_0; A_force_term *= 2.0 * ai; B_force_term *= 2.0 * aj; C_force_term *= 2.0 * ac_val_dens_sh[j].x; A_force[2] += preterm * A_force_term; B_force[2] += preterm * B_force_term; C_force[2][tid] += preterm * C_force_term; } } // START INDEX i1=1, CENTER 1 { scalar_type p1ss_0 = PmA[1] * F_mT[0] + WmP[1] * F_mT[1]; scalar_type p1ss_1 = PmA[1] * F_mT[1] + WmP[1] * F_mT[2]; scalar_type preterm = fit_dens_sh[j + 0] * prefactor_dens * dens[1]; // START INDEX igrad=0 { scalar_type C_force_term = WmQ[0] * p1ss_1; scalar_type A_force_term = WmP[0] * p1ss_1; scalar_type B_force_term = PmB[0] * p1ss_0 + A_force_term; A_force_term += PmA[0] * p1ss_0; A_force_term *= 2.0 * ai; B_force_term *= 2.0 * aj; C_force_term *= 2.0 * ac_val_dens_sh[j].x; A_force[0] += preterm * A_force_term; B_force[0] += preterm * B_force_term; C_force[0][tid] += preterm * C_force_term; } // START INDEX igrad=1 { scalar_type C_force_term = inv_two_zeta_eta * F_mT[1]; C_force_term += WmQ[1] * p1ss_1; scalar_type A_force_term = inv_two_zeta * (F_mT[0] - rho_zeta * F_mT[1]); A_force_term += WmP[1] * p1ss_1; scalar_type B_force_term = PmB[1] * p1ss_0 + A_force_term; A_force_term += PmA[1] * p1ss_0; A_force_term *= 2.0 * ai; B_force_term *= 2.0 * aj; C_force_term *= 2.0 * ac_val_dens_sh[j].x; A_force_term -= F_mT[0]; A_force[1] += preterm * A_force_term; B_force[1] += preterm * B_force_term; C_force[1][tid] += preterm * C_force_term; } // START INDEX igrad=2 { scalar_type C_force_term = WmQ[2] * p1ss_1; scalar_type A_force_term = WmP[2] * p1ss_1; scalar_type B_force_term = PmB[2] * p1ss_0 + A_force_term; A_force_term += PmA[2] * p1ss_0; A_force_term *= 2.0 * ai; B_force_term *= 2.0 * aj; C_force_term *= 2.0 * ac_val_dens_sh[j].x; A_force[2] += preterm * A_force_term; B_force[2] += preterm * B_force_term; C_force[2][tid] += preterm * C_force_term; } } // START INDEX i1=2, CENTER 1 { scalar_type p1ss_0 = PmA[2] * F_mT[0] + WmP[2] * F_mT[1]; scalar_type p1ss_1 = PmA[2] * F_mT[1] + WmP[2] * F_mT[2]; scalar_type preterm = fit_dens_sh[j + 0] * prefactor_dens * dens[2]; // START INDEX igrad=0 { scalar_type C_force_term = WmQ[0] * p1ss_1; scalar_type A_force_term = WmP[0] * p1ss_1; scalar_type B_force_term = PmB[0] * p1ss_0 + A_force_term; A_force_term += PmA[0] * p1ss_0; A_force_term *= 2.0 * ai; B_force_term *= 2.0 * aj; C_force_term *= 2.0 * ac_val_dens_sh[j].x; A_force[0] += preterm * A_force_term; B_force[0] += preterm * B_force_term; C_force[0][tid] += preterm * C_force_term; } // START INDEX igrad=1 { scalar_type C_force_term = WmQ[1] * p1ss_1; scalar_type A_force_term = WmP[1] * p1ss_1; scalar_type B_force_term = PmB[1] * p1ss_0 + A_force_term; A_force_term += PmA[1] * p1ss_0; A_force_term *= 2.0 * ai; B_force_term *= 2.0 * aj; C_force_term *= 2.0 * ac_val_dens_sh[j].x; A_force[1] += preterm * A_force_term; B_force[1] += preterm * B_force_term; C_force[1][tid] += preterm * C_force_term; } // START INDEX igrad=2 { scalar_type C_force_term = inv_two_zeta_eta * F_mT[1]; C_force_term += WmQ[2] * p1ss_1; scalar_type A_force_term = inv_two_zeta * (F_mT[0] - rho_zeta * F_mT[1]); A_force_term += WmP[2] * p1ss_1; scalar_type B_force_term = PmB[2] * p1ss_0 + A_force_term; A_force_term += PmA[2] * p1ss_0; A_force_term *= 2.0 * ai; B_force_term *= 2.0 * aj; C_force_term *= 2.0 * ac_val_dens_sh[j].x; A_force_term -= F_mT[0]; A_force[2] += preterm * A_force_term; B_force[2] += preterm * B_force_term; C_force[2][tid] += preterm * C_force_term; } } } }
ramirezfranciscof/lio
g2g/analytic_integral/cuda/kernels/coulomb_terms/forces/ps_s.h
C
gpl-2.0
6,236
[ 30522, 1063, 26743, 2099, 1035, 2828, 1042, 1035, 11047, 1031, 1017, 1033, 1025, 1063, 26743, 2099, 1035, 2828, 7610, 4160, 1031, 1017, 1033, 1025, 7610, 4160, 1031, 1014, 1033, 1027, 1052, 1031, 1014, 1033, 1011, 16371, 2278, 1035, 13433, 2015, 1035, 7939, 2015, 1035, 14021, 1031, 1046, 1033, 1012, 1060, 1025, 7610, 4160, 1031, 1015, 1033, 1027, 1052, 1031, 1015, 1033, 1011, 16371, 2278, 1035, 13433, 2015, 1035, 7939, 2015, 1035, 14021, 1031, 1046, 1033, 1012, 1061, 1025, 7610, 4160, 1031, 1016, 1033, 1027, 1052, 1031, 1016, 1033, 1011, 16371, 2278, 1035, 13433, 2015, 1035, 7939, 2015, 1035, 14021, 1031, 1046, 1033, 1012, 1062, 1025, 26743, 2099, 1035, 2828, 1056, 1027, 1006, 7610, 4160, 1031, 1014, 1033, 1008, 7610, 4160, 1031, 1014, 1033, 1009, 7610, 4160, 1031, 1015, 1033, 1008, 7610, 4160, 1031, 1015, 1033, 1009, 7610, 4160, 1031, 1016, 1033, 1008, 7610, 4160, 1031, 1016, 1033, 1007, 1008, 1054, 6806, 1025, 5622, 2080, 1035, 13091, 1026, 26743, 2099, 1035, 2828, 1010, 1016, 1028, 1006, 1042, 1035, 11047, 1010, 1056, 1007, 1025, 1065, 1063, 1013, 1013, 2707, 5950, 1045, 2487, 1027, 1014, 1010, 2415, 1015, 1063, 26743, 2099, 1035, 2828, 1052, 2487, 4757, 1035, 1014, 1027, 7610, 2050, 1031, 1014, 1033, 1008, 1042, 1035, 11047, 1031, 1014, 1033, 1009, 1059, 8737, 1031, 1014, 1033, 1008, 1042, 1035, 11047, 1031, 1015, 1033, 1025, 26743, 2099, 1035, 2828, 1052, 2487, 4757, 1035, 1015, 1027, 7610, 2050, 1031, 1014, 1033, 1008, 1042, 1035, 11047, 1031, 1015, 1033, 1009, 1059, 8737, 1031, 1014, 1033, 1008, 1042, 1035, 11047, 1031, 1016, 1033, 1025, 26743, 2099, 1035, 2828, 3653, 3334, 2213, 1027, 4906, 1035, 7939, 2015, 1035, 14021, 1031, 1046, 1009, 1014, 1033, 1008, 3653, 7011, 16761, 1035, 7939, 2015, 1008, 7939, 2015, 1031, 1014, 1033, 1025, 1013, 1013, 2707, 5950, 1045, 16307, 1027, 1014, 1063, 26743, 2099, 1035, 2828, 1039, 1035, 2486, 1035, 2744, 1027, 1999, 2615, 1035, 2048, 1035, 23870, 1035, 27859, 1008, 1042, 1035, 11047, 1031, 1015, 1033, 1025, 1039, 1035, 2486, 1035, 2744, 1009, 1027, 1059, 2213, 4160, 1031, 1014, 1033, 1008, 1052, 2487, 4757, 1035, 1015, 1025, 26743, 30524, 2744, 1009, 1027, 1059, 8737, 1031, 1014, 1033, 1008, 1052, 2487, 4757, 1035, 1015, 1025, 26743, 2099, 1035, 2828, 1038, 1035, 2486, 1035, 2744, 1027, 7610, 2497, 1031, 1014, 1033, 1008, 1052, 2487, 4757, 1035, 1014, 1009, 1037, 1035, 2486, 1035, 2744, 1025, 1037, 1035, 2486, 1035, 2744, 1009, 1027, 7610, 2050, 1031, 1014, 1033, 1008, 1052, 2487, 4757, 1035, 1014, 1025, 1037, 1035, 2486, 1035, 2744, 1008, 1027, 1016, 1012, 1014, 1008, 9932, 1025, 1038, 1035, 2486, 1035, 2744, 1008, 1027, 1016, 1012, 1014, 1008, 19128, 1025, 1039, 1035, 2486, 1035, 2744, 1008, 1027, 1016, 1012, 1014, 1008, 9353, 1035, 11748, 1035, 7939, 2015, 1035, 14021, 1031, 1046, 1033, 1012, 30523, 2099, 1035, 2828, 1037, 1035, 2486, 1035, 2744, 1027, 1999, 2615, 1035, 2048, 1035, 23870, 1008, 1006, 1042, 1035, 11047, 1031, 1014, 1033, 1011, 1054, 6806, 1035, 23870, 1008, 1042, 1035, 11047, 1031, 1015, 1033, 1007, 1025, 1037, 1035, 2486, 1035, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2099, 1035, 2828, 1037, 1035, 2486, 1035, 2744, 1027, 1999, 2615, 1035, 2048, 1035, 23870, 1008, 1006, 1042, 1035, 11047, 1031, 1014, 1033, 1011, 1054, 6806, 1035, 23870, 1008, 1042, 1035, 11047, 1031, 1015, 1033, 1007, 1025, 1037, 1035, 2486, 1035, 30526 ]
package com.storage.mywarehouse.Dao; import com.storage.mywarehouse.View.WarehouseProduct; import org.hibernate.Session; import org.hibernate.Transaction; import org.hibernate.criterion.Restrictions; import java.util.List; public class WarehouseProductDAO { @SuppressWarnings("unchecked") public static List<WarehouseProduct> findById(int id) { Session session = NewHibernateUtil.getSessionFactory().openSession(); Transaction tx = session.beginTransaction(); List products = session.createCriteria(WarehouseProduct.class) .add(Restrictions.eq("productId", id)) .list(); tx.commit(); session.close(); return products; } @SuppressWarnings("unchecked") public static List<WarehouseProduct> findByQuantity(int quantity) { Session session = NewHibernateUtil.getSessionFactory().openSession(); Transaction tx = session.beginTransaction(); List emptyWarehouseProduct = session.createCriteria(WarehouseProduct.class) .add(Restrictions.eq("quantity", quantity)) .list(); tx.commit(); session.close(); return emptyWarehouseProduct; } @SuppressWarnings("unchecked") public static List<WarehouseProduct> findByParam(String param, String value) { Session session = NewHibernateUtil.getSessionFactory().openSession(); Transaction tx = session.beginTransaction(); List products = session.createCriteria(WarehouseProduct.class) .add(Restrictions.eq(param.toLowerCase(), value)) .list(); tx.commit(); session.close(); return products; } @SuppressWarnings("unchecked") public static List<WarehouseProduct> findByParamContainingValue(String param, String value) { Session session = NewHibernateUtil.getSessionFactory().openSession(); Transaction tx = session.beginTransaction(); List products = session.createCriteria(WarehouseProduct.class) .add(Restrictions.like(param.toLowerCase(), "%" + value + "%")) .list(); tx.commit(); session.close(); return products; } }
patroklossam/WareHouse
src/main/java/com/storage/mywarehouse/Dao/WarehouseProductDAO.java
Java
mpl-2.0
2,222
[ 30522, 7427, 4012, 1012, 5527, 1012, 2026, 8059, 4580, 1012, 4830, 2080, 1025, 12324, 4012, 1012, 5527, 1012, 2026, 8059, 4580, 1012, 3193, 1012, 9746, 21572, 8566, 6593, 1025, 12324, 8917, 1012, 7632, 5677, 12556, 1012, 5219, 1025, 12324, 8917, 1012, 7632, 5677, 12556, 1012, 12598, 1025, 12324, 8917, 1012, 7632, 5677, 12556, 1012, 19229, 1012, 9259, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 2862, 1025, 2270, 2465, 9746, 21572, 8566, 6593, 2850, 2080, 1063, 1030, 16081, 9028, 5582, 2015, 1006, 1000, 4895, 5403, 18141, 1000, 1007, 2270, 10763, 2862, 1026, 9746, 21572, 8566, 6593, 1028, 2424, 3762, 3593, 1006, 20014, 8909, 1007, 1063, 5219, 5219, 1027, 2047, 4048, 5677, 12556, 21823, 2140, 1012, 4152, 7971, 3258, 21450, 1006, 1007, 1012, 7480, 7971, 3258, 1006, 1007, 1025, 12598, 19067, 1027, 5219, 1012, 4088, 6494, 3619, 18908, 3258, 1006, 1007, 1025, 2862, 3688, 1027, 5219, 1012, 3443, 26775, 21646, 2401, 1006, 9746, 21572, 8566, 6593, 1012, 2465, 1007, 1012, 5587, 1006, 9259, 1012, 1041, 4160, 1006, 1000, 4031, 3593, 1000, 1010, 8909, 1007, 1007, 1012, 2862, 1006, 1007, 1025, 19067, 1012, 10797, 1006, 1007, 1025, 5219, 1012, 2485, 1006, 1007, 1025, 2709, 3688, 1025, 1065, 1030, 16081, 9028, 5582, 2015, 1006, 1000, 4895, 5403, 18141, 1000, 1007, 2270, 10763, 2862, 1026, 9746, 21572, 8566, 6593, 1028, 2424, 3762, 16211, 16778, 3723, 1006, 20014, 11712, 1007, 1063, 5219, 5219, 1027, 2047, 4048, 5677, 12556, 21823, 2140, 1012, 4152, 7971, 3258, 21450, 1006, 1007, 1012, 7480, 7971, 3258, 1006, 1007, 1025, 12598, 19067, 1027, 5219, 1012, 4088, 6494, 3619, 18908, 3258, 1006, 1007, 1025, 2862, 4064, 8059, 4580, 21572, 8566, 6593, 1027, 5219, 1012, 3443, 26775, 21646, 2401, 1006, 9746, 21572, 8566, 6593, 1012, 2465, 1007, 1012, 5587, 1006, 9259, 1012, 1041, 4160, 1006, 1000, 11712, 1000, 1010, 30524, 2862, 1006, 1007, 1025, 19067, 1012, 10797, 1006, 1007, 1025, 5219, 1012, 2485, 1006, 1007, 1025, 2709, 4064, 8059, 4580, 21572, 8566, 6593, 1025, 1065, 1030, 16081, 9028, 5582, 2015, 1006, 1000, 4895, 5403, 18141, 1000, 1007, 2270, 10763, 2862, 1026, 9746, 21572, 8566, 6593, 1028, 2424, 3762, 28689, 2213, 1006, 5164, 11498, 2213, 1010, 5164, 3643, 1007, 1063, 5219, 5219, 1027, 2047, 4048, 5677, 12556, 21823, 2140, 1012, 4152, 7971, 3258, 21450, 1006, 1007, 1012, 7480, 7971, 3258, 1006, 1007, 1025, 12598, 19067, 1027, 5219, 1012, 4088, 6494, 3619, 18908, 3258, 1006, 1007, 1025, 2862, 3688, 1027, 5219, 1012, 3443, 26775, 21646, 2401, 1006, 9746, 21572, 8566, 6593, 1012, 2465, 1007, 1012, 5587, 1006, 9259, 1012, 1041, 4160, 1006, 11498, 2213, 1012, 2000, 27663, 18992, 3366, 1006, 1007, 1010, 3643, 1007, 1007, 1012, 2862, 1006, 1007, 1025, 19067, 1012, 10797, 1006, 1007, 1025, 5219, 1012, 2485, 1006, 1007, 1025, 2709, 3688, 1025, 1065, 1030, 16081, 9028, 5582, 2015, 1006, 1000, 4895, 5403, 18141, 1000, 1007, 2270, 10763, 2862, 1026, 9746, 21572, 8566, 6593, 1028, 2424, 3762, 28689, 12458, 12162, 8113, 2075, 10175, 5657, 1006, 5164, 11498, 2213, 1010, 5164, 3643, 1007, 1063, 5219, 5219, 1027, 2047, 4048, 5677, 12556, 30523, 11712, 1007, 1007, 1012, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 11712, 1007, 1007, 1012, 30526 ]
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { TestBed, inject } from '@angular/core/testing'; import { Service585Service } from './service-585.service'; describe('Service585Service', () => { beforeEach(() => { TestBed.configureTestingModule({ providers: [Service585Service] }); }); it('should ...', inject([Service585Service], (service: Service585Service) => { expect(service).toBeTruthy(); })); });
angular/angular-cli-stress-test
src/app/services/service-585.service.spec.ts
TypeScript
mit
596
[ 30522, 1013, 1008, 1008, 1008, 1030, 6105, 1008, 9385, 8224, 4297, 1012, 2035, 2916, 9235, 1012, 1008, 1008, 2224, 1997, 2023, 3120, 3642, 2003, 9950, 2011, 2019, 10210, 1011, 2806, 6105, 2008, 2064, 2022, 1008, 2179, 1999, 1996, 6105, 5371, 2012, 16770, 1024, 1013, 1013, 16108, 1012, 22834, 1013, 6105, 1008, 1013, 12324, 1063, 3231, 8270, 1010, 1999, 20614, 1065, 2013, 1005, 1030, 30524, 1010, 1006, 1007, 1027, 1028, 1063, 2077, 5243, 2818, 1006, 1006, 1007, 1027, 1028, 1063, 3231, 8270, 1012, 9530, 8873, 27390, 12870, 16643, 3070, 5302, 8566, 2571, 1006, 1063, 11670, 1024, 1031, 2326, 27814, 2629, 8043, 7903, 2063, 1033, 1065, 1007, 1025, 1065, 1007, 1025, 2009, 1006, 1005, 2323, 1012, 1012, 1012, 1005, 1010, 1999, 20614, 1006, 1031, 2326, 27814, 2629, 8043, 7903, 2063, 1033, 1010, 1006, 2326, 1024, 2326, 27814, 2629, 8043, 7903, 2063, 1007, 1027, 1028, 1063, 5987, 1006, 2326, 1007, 1012, 2000, 20915, 22134, 10536, 1006, 1007, 1025, 1065, 1007, 1007, 1025, 1065, 1007, 1025, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 16108, 1013, 4563, 1013, 5604, 1005, 1025, 12324, 1063, 2326, 27814, 2629, 8043, 7903, 2063, 1065, 2013, 1005, 1012, 1013, 2326, 1011, 5388, 2629, 1012, 2326, 1005, 1025, 6235, 1006, 1005, 2326, 27814, 2629, 8043, 7903, 2063, 1005, 30526 ]
using System.Windows.Controls; namespace mze9412.ScriptCompiler.Views { /// <summary> /// Interaction logic for SettingsView.xaml /// </summary> public partial class SettingsView : UserControl { public SettingsView() { InitializeComponent(); } } }
mze9412/SpaceEngineers-Scripts
ScriptCompiler/Views/SettingsView.xaml.cs
C#
mit
312
[ 30522, 2478, 2291, 1012, 3645, 1012, 7711, 1025, 3415, 15327, 1049, 4371, 2683, 23632, 2475, 1012, 5896, 9006, 22090, 2099, 1012, 5328, 1063, 1013, 1013, 1013, 1026, 12654, 1028, 1013, 1013, 1013, 8290, 7961, 2005, 10906, 8584, 1012, 1060, 3286, 2140, 1013, 1013, 1013, 1026, 1013, 12654, 1028, 2270, 7704, 2465, 10906, 8584, 1024, 5310, 8663, 13181, 2140, 1063, 2270, 10906, 8584, 1006, 1007, 1063, 3988, 4697, 9006, 29513, 3372, 1006, 1007, 1025, 1065, 1065, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
/* * File: drivers/pci/pcie/aspm.c * Enabling PCIe link L0s/L1 state and Clock Power Management * * Copyright (C) 2007 Intel * Copyright (C) Zhang Yanmin ([email protected]) * Copyright (C) Shaohua Li ([email protected]) */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/pci.h> #include <linux/pci_regs.h> #include <linux/errno.h> #include <linux/pm.h> #include <linux/init.h> #include <linux/slab.h> #include <linux/jiffies.h> #include <linux/delay.h> #include <linux/pci-aspm.h> #include "../pci.h" #ifdef MODULE_PARAM_PREFIX #undef MODULE_PARAM_PREFIX #endif #define MODULE_PARAM_PREFIX "pcie_aspm." /* Note: those are not register definitions */ #define ASPM_STATE_L0S_UP (1) /* Upstream direction L0s state */ #define ASPM_STATE_L0S_DW (2) /* Downstream direction L0s state */ #define ASPM_STATE_L1 (4) /* L1 state */ #define ASPM_STATE_L0S (ASPM_STATE_L0S_UP | ASPM_STATE_L0S_DW) #define ASPM_STATE_ALL (ASPM_STATE_L0S | ASPM_STATE_L1) struct aspm_latency { u32 l0s; /* L0s latency (nsec) */ u32 l1; /* L1 latency (nsec) */ }; struct pcie_link_state { struct pci_dev *pdev; /* Upstream component of the Link */ struct pcie_link_state *root; /* pointer to the root port link */ struct pcie_link_state *parent; /* pointer to the parent Link state */ struct list_head sibling; /* node in link_list */ struct list_head children; /* list of child link states */ struct list_head link; /* node in parent's children list */ /* ASPM state */ u32 aspm_support:3; /* Supported ASPM state */ u32 aspm_enabled:3; /* Enabled ASPM state */ u32 aspm_capable:3; /* Capable ASPM state with latency */ u32 aspm_default:3; /* Default ASPM state by BIOS */ u32 aspm_disable:3; /* Disabled ASPM state */ /* Clock PM state */ u32 clkpm_capable:1; /* Clock PM capable? */ u32 clkpm_enabled:1; /* Current Clock PM state */ u32 clkpm_default:1; /* Default Clock PM state by BIOS */ /* Exit latencies */ struct aspm_latency latency_up; /* Upstream direction exit latency */ struct aspm_latency latency_dw; /* Downstream direction exit latency */ /* * Endpoint acceptable latencies. A pcie downstream port only * has one slot under it, so at most there are 8 functions. */ struct aspm_latency acceptable[8]; }; static int aspm_disabled, aspm_force; static bool aspm_support_enabled = true; static DEFINE_MUTEX(aspm_lock); static LIST_HEAD(link_list); #define POLICY_DEFAULT 0 /* BIOS default setting */ #define POLICY_PERFORMANCE 1 /* high performance */ #define POLICY_POWERSAVE 2 /* high power saving */ #ifdef CONFIG_PCIEASPM_PERFORMANCE static int aspm_policy = POLICY_PERFORMANCE; #elif defined CONFIG_PCIEASPM_POWERSAVE static int aspm_policy = POLICY_POWERSAVE; #else static int aspm_policy; #endif static const char *policy_str[] = { [POLICY_DEFAULT] = "default", [POLICY_PERFORMANCE] = "performance", [POLICY_POWERSAVE] = "powersave" }; #define LINK_RETRAIN_TIMEOUT HZ static int policy_to_aspm_state(struct pcie_link_state *link) { switch (aspm_policy) { case POLICY_PERFORMANCE: /* Disable ASPM and Clock PM */ return 0; case POLICY_POWERSAVE: /* Enable ASPM L0s/L1 */ return ASPM_STATE_ALL; case POLICY_DEFAULT: return link->aspm_default; } return 0; } static int policy_to_clkpm_state(struct pcie_link_state *link) { switch (aspm_policy) { case POLICY_PERFORMANCE: /* Disable ASPM and Clock PM */ return 0; case POLICY_POWERSAVE: /* Disable Clock PM */ return 1; case POLICY_DEFAULT: return link->clkpm_default; } return 0; } static void pcie_set_clkpm_nocheck(struct pcie_link_state *link, int enable) { struct pci_dev *child; struct pci_bus *linkbus = link->pdev->subordinate; list_for_each_entry(child, &linkbus->devices, bus_list) { if (enable) pcie_capability_set_word(child, PCI_EXP_LNKCTL, PCI_EXP_LNKCTL_CLKREQ_EN); else pcie_capability_clear_word(child, PCI_EXP_LNKCTL, PCI_EXP_LNKCTL_CLKREQ_EN); } link->clkpm_enabled = !!enable; } static void pcie_set_clkpm(struct pcie_link_state *link, int enable) { /* Don't enable Clock PM if the link is not Clock PM capable */ if (!link->clkpm_capable && enable) enable = 0; /* Need nothing if the specified equals to current state */ if (link->clkpm_enabled == enable) return; pcie_set_clkpm_nocheck(link, enable); } static void pcie_clkpm_cap_init(struct pcie_link_state *link, int blacklist) { int capable = 1, enabled = 1; u32 reg32; u16 reg16; struct pci_dev *child; struct pci_bus *linkbus = link->pdev->subordinate; /* All functions should have the same cap and state, take the worst */ list_for_each_entry(child, &linkbus->devices, bus_list) { pcie_capability_read_dword(child, PCI_EXP_LNKCAP, &reg32); if (!(reg32 & PCI_EXP_LNKCAP_CLKPM)) { capable = 0; enabled = 0; break; } pcie_capability_read_word(child, PCI_EXP_LNKCTL, &reg16); if (!(reg16 & PCI_EXP_LNKCTL_CLKREQ_EN)) enabled = 0; } link->clkpm_enabled = enabled; link->clkpm_default = enabled; link->clkpm_capable = (blacklist) ? 0 : capable; } /* * pcie_aspm_configure_common_clock: check if the 2 ends of a link * could use common clock. If they are, configure them to use the * common clock. That will reduce the ASPM state exit latency. */ static void pcie_aspm_configure_common_clock(struct pcie_link_state *link) { int same_clock = 1; u16 reg16, parent_reg, child_reg[8]; unsigned long start_jiffies; struct pci_dev *child, *parent = link->pdev; struct pci_bus *linkbus = parent->subordinate; /* * All functions of a slot should have the same Slot Clock * Configuration, so just check one function */ child = list_entry(linkbus->devices.next, struct pci_dev, bus_list); BUG_ON(!pci_is_pcie(child)); /* Check downstream component if bit Slot Clock Configuration is 1 */ pcie_capability_read_word(child, PCI_EXP_LNKSTA, &reg16); if (!(reg16 & PCI_EXP_LNKSTA_SLC)) same_clock = 0; /* Check upstream component if bit Slot Clock Configuration is 1 */ pcie_capability_read_word(parent, PCI_EXP_LNKSTA, &reg16); if (!(reg16 & PCI_EXP_LNKSTA_SLC)) same_clock = 0; /* Configure downstream component, all functions */ list_for_each_entry(child, &linkbus->devices, bus_list) { pcie_capability_read_word(child, PCI_EXP_LNKCTL, &reg16); child_reg[PCI_FUNC(child->devfn)] = reg16; if (same_clock) reg16 |= PCI_EXP_LNKCTL_CCC; else reg16 &= ~PCI_EXP_LNKCTL_CCC; pcie_capability_write_word(child, PCI_EXP_LNKCTL, reg16); } /* Configure upstream component */ pcie_capability_read_word(parent, PCI_EXP_LNKCTL, &reg16); parent_reg = reg16; if (same_clock) reg16 |= PCI_EXP_LNKCTL_CCC; else reg16 &= ~PCI_EXP_LNKCTL_CCC; pcie_capability_write_word(parent, PCI_EXP_LNKCTL, reg16); /* Retrain link */ reg16 |= PCI_EXP_LNKCTL_RL; pcie_capability_write_word(parent, PCI_EXP_LNKCTL, reg16); /* Wait for link training end. Break out after waiting for timeout */ start_jiffies = jiffies; for (;;) { pcie_capability_read_word(parent, PCI_EXP_LNKSTA, &reg16); if (!(reg16 & PCI_EXP_LNKSTA_LT)) break; if (time_after(jiffies, start_jiffies + LINK_RETRAIN_TIMEOUT)) break; msleep(1); } if (!(reg16 & PCI_EXP_LNKSTA_LT)) return; /* Training failed. Restore common clock configurations */ dev_printk(KERN_ERR, &parent->dev, "ASPM: Could not configure common clock\n"); list_for_each_entry(child, &linkbus->devices, bus_list) pcie_capability_write_word(child, PCI_EXP_LNKCTL, child_reg[PCI_FUNC(child->devfn)]); pcie_capability_write_word(parent, PCI_EXP_LNKCTL, parent_reg); } /* Convert L0s latency encoding to ns */ static u32 calc_l0s_latency(u32 encoding) { if (encoding == 0x7) return (5 * 1000); /* > 4us */ return (64 << encoding); } /* Convert L0s acceptable latency encoding to ns */ static u32 calc_l0s_acceptable(u32 encoding) { if (encoding == 0x7) return -1U; return (64 << encoding); } /* Convert L1 latency encoding to ns */ static u32 calc_l1_latency(u32 encoding) { if (encoding == 0x7) return (65 * 1000); /* > 64us */ return (1000 << encoding); } /* Convert L1 acceptable latency encoding to ns */ static u32 calc_l1_acceptable(u32 encoding) { if (encoding == 0x7) return -1U; return (1000 << encoding); } struct aspm_register_info { u32 support:2; u32 enabled:2; u32 latency_encoding_l0s; u32 latency_encoding_l1; }; static void pcie_get_aspm_reg(struct pci_dev *pdev, struct aspm_register_info *info) { u16 reg16; u32 reg32; pcie_capability_read_dword(pdev, PCI_EXP_LNKCAP, &reg32); info->support = (reg32 & PCI_EXP_LNKCAP_ASPMS) >> 10; info->latency_encoding_l0s = (reg32 & PCI_EXP_LNKCAP_L0SEL) >> 12; info->latency_encoding_l1 = (reg32 & PCI_EXP_LNKCAP_L1EL) >> 15; pcie_capability_read_word(pdev, PCI_EXP_LNKCTL, &reg16); info->enabled = reg16 & PCI_EXP_LNKCTL_ASPMC; } static void pcie_aspm_check_latency(struct pci_dev *endpoint) { u32 latency, l1_switch_latency = 0; struct aspm_latency *acceptable; struct pcie_link_state *link; /* Device not in D0 doesn't need latency check */ if ((endpoint->current_state != PCI_D0) && (endpoint->current_state != PCI_UNKNOWN)) return; link = endpoint->bus->self->link_state; acceptable = &link->acceptable[PCI_FUNC(endpoint->devfn)]; while (link) { /* Check upstream direction L0s latency */ if ((link->aspm_capable & ASPM_STATE_L0S_UP) && (link->latency_up.l0s > acceptable->l0s)) link->aspm_capable &= ~ASPM_STATE_L0S_UP; /* Check downstream direction L0s latency */ if ((link->aspm_capable & ASPM_STATE_L0S_DW) && (link->latency_dw.l0s > acceptable->l0s)) link->aspm_capable &= ~ASPM_STATE_L0S_DW; /* * Check L1 latency. * Every switch on the path to root complex need 1 * more microsecond for L1. Spec doesn't mention L0s. */ latency = max_t(u32, link->latency_up.l1, link->latency_dw.l1); if ((link->aspm_capable & ASPM_STATE_L1) && (latency + l1_switch_latency > acceptable->l1)) link->aspm_capable &= ~ASPM_STATE_L1; l1_switch_latency += 1000; link = link->parent; } } static void pcie_aspm_cap_init(struct pcie_link_state *link, int blacklist) { struct pci_dev *child, *parent = link->pdev; struct pci_bus *linkbus = parent->subordinate; struct aspm_register_info upreg, dwreg; if (blacklist) { /* Set enabled/disable so that we will disable ASPM later */ link->aspm_enabled = ASPM_STATE_ALL; link->aspm_disable = ASPM_STATE_ALL; return; } /* Configure common clock before checking latencies */ pcie_aspm_configure_common_clock(link); /* Get upstream/downstream components' register state */ pcie_get_aspm_reg(parent, &upreg); child = list_entry(linkbus->devices.next, struct pci_dev, bus_list); pcie_get_aspm_reg(child, &dwreg); /* * Setup L0s state * * Note that we must not enable L0s in either direction on a * given link unless components on both sides of the link each * support L0s. */ if (dwreg.support & upreg.support & PCIE_LINK_STATE_L0S) link->aspm_support |= ASPM_STATE_L0S; if (dwreg.enabled & PCIE_LINK_STATE_L0S) link->aspm_enabled |= ASPM_STATE_L0S_UP; if (upreg.enabled & PCIE_LINK_STATE_L0S) link->aspm_enabled |= ASPM_STATE_L0S_DW; link->latency_up.l0s = calc_l0s_latency(upreg.latency_encoding_l0s); link->latency_dw.l0s = calc_l0s_latency(dwreg.latency_encoding_l0s); /* Setup L1 state */ if (upreg.support & dwreg.support & PCIE_LINK_STATE_L1) link->aspm_support |= ASPM_STATE_L1; if (upreg.enabled & dwreg.enabled & PCIE_LINK_STATE_L1) link->aspm_enabled |= ASPM_STATE_L1; link->latency_up.l1 = calc_l1_latency(upreg.latency_encoding_l1); link->latency_dw.l1 = calc_l1_latency(dwreg.latency_encoding_l1); /* Save default state */ link->aspm_default = link->aspm_enabled; /* Setup initial capable state. Will be updated later */ link->aspm_capable = link->aspm_support; /* * If the downstream component has pci bridge function, don't * do ASPM for now. */ list_for_each_entry(child, &linkbus->devices, bus_list) { if (pci_pcie_type(child) == PCI_EXP_TYPE_PCI_BRIDGE) { link->aspm_disable = ASPM_STATE_ALL; break; } } /* Get and check endpoint acceptable latencies */ list_for_each_entry(child, &linkbus->devices, bus_list) { u32 reg32, encoding; struct aspm_latency *acceptable = &link->acceptable[PCI_FUNC(child->devfn)]; if (pci_pcie_type(child) != PCI_EXP_TYPE_ENDPOINT && pci_pcie_type(child) != PCI_EXP_TYPE_LEG_END) continue; pcie_capability_read_dword(child, PCI_EXP_DEVCAP, &reg32); /* Calculate endpoint L0s acceptable latency */ encoding = (reg32 & PCI_EXP_DEVCAP_L0S) >> 6; acceptable->l0s = calc_l0s_acceptable(encoding); /* Calculate endpoint L1 acceptable latency */ encoding = (reg32 & PCI_EXP_DEVCAP_L1) >> 9; acceptable->l1 = calc_l1_acceptable(encoding); pcie_aspm_check_latency(child); } } static void pcie_config_aspm_dev(struct pci_dev *pdev, u32 val) { pcie_capability_clear_and_set_word(pdev, PCI_EXP_LNKCTL, 0x3, val); } static void pcie_config_aspm_link(struct pcie_link_state *link, u32 state) { u32 upstream = 0, dwstream = 0; struct pci_dev *child, *parent = link->pdev; struct pci_bus *linkbus = parent->subordinate; /* Nothing to do if the link is already in the requested state */ state &= (link->aspm_capable & ~link->aspm_disable); if (link->aspm_enabled == state) return; /* Convert ASPM state to upstream/downstream ASPM register state */ if (state & ASPM_STATE_L0S_UP) dwstream |= PCIE_LINK_STATE_L0S; if (state & ASPM_STATE_L0S_DW) upstream |= PCIE_LINK_STATE_L0S; if (state & ASPM_STATE_L1) { upstream |= PCIE_LINK_STATE_L1; dwstream |= PCIE_LINK_STATE_L1; } /* * Spec 2.0 suggests all functions should be configured the * same setting for ASPM. Enabling ASPM L1 should be done in * upstream component first and then downstream, and vice * versa for disabling ASPM L1. Spec doesn't mention L0S. */ if (state & ASPM_STATE_L1) pcie_config_aspm_dev(parent, upstream); list_for_each_entry(child, &linkbus->devices, bus_list) pcie_config_aspm_dev(child, dwstream); if (!(state & ASPM_STATE_L1)) pcie_config_aspm_dev(parent, upstream); link->aspm_enabled = state; } static void pcie_config_aspm_path(struct pcie_link_state *link) { while (link) { pcie_config_aspm_link(link, policy_to_aspm_state(link)); link = link->parent; } } static void free_link_state(struct pcie_link_state *link) { link->pdev->link_state = NULL; kfree(link); } static int pcie_aspm_sanity_check(struct pci_dev *pdev) { struct pci_dev *child; u32 reg32; /* * Some functions in a slot might not all be PCIe functions, * very strange. Disable ASPM for the whole slot */ list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { if (!pci_is_pcie(child)) return -EINVAL; /* * If ASPM is disabled then we're not going to change * the BIOS state. It's safe to continue even if it's a * pre-1.1 device */ if (aspm_disabled) continue; /* * Disable ASPM for pre-1.1 PCIe device, we follow MS to use * RBER bit to determine if a function is 1.1 version device */ pcie_capability_read_dword(child, PCI_EXP_DEVCAP, &reg32); if (!(reg32 & PCI_EXP_DEVCAP_RBER) && !aspm_force) { dev_printk(KERN_INFO, &child->dev, "disabling ASPM" " on pre-1.1 PCIe device. You can enable it" " with 'pcie_aspm=force'\n"); return -EINVAL; } } return 0; } static struct pcie_link_state *alloc_pcie_link_state(struct pci_dev *pdev) { struct pcie_link_state *link; link = kzalloc(sizeof(*link), GFP_KERNEL); if (!link) return NULL; INIT_LIST_HEAD(&link->sibling); INIT_LIST_HEAD(&link->children); INIT_LIST_HEAD(&link->link); link->pdev = pdev; if (pci_pcie_type(pdev) == PCI_EXP_TYPE_DOWNSTREAM) { struct pcie_link_state *parent; parent = pdev->bus->parent->self->link_state; if (!parent) { kfree(link); return NULL; } link->parent = parent; list_add(&link->link, &parent->children); } /* Setup a pointer to the root port link */ if (!link->parent) link->root = link; else link->root = link->parent->root; list_add(&link->sibling, &link_list); pdev->link_state = link; return link; } /* * pcie_aspm_init_link_state: Initiate PCI express link state. * It is called after the pcie and its children devices are scaned. * @pdev: the root port or switch downstream port */ void pcie_aspm_init_link_state(struct pci_dev *pdev) { struct pcie_link_state *link; int blacklist = !!pcie_aspm_sanity_check(pdev); if (!pci_is_pcie(pdev) || pdev->link_state) return; if (pci_pcie_type(pdev) != PCI_EXP_TYPE_ROOT_PORT && pci_pcie_type(pdev) != PCI_EXP_TYPE_DOWNSTREAM) return; /* VIA has a strange chipset, root port is under a bridge */ if (pci_pcie_type(pdev) == PCI_EXP_TYPE_ROOT_PORT && pdev->bus->self) return; down_read(&pci_bus_sem); if (list_empty(&pdev->subordinate->devices)) goto out; mutex_lock(&aspm_lock); link = alloc_pcie_link_state(pdev); if (!link) goto unlock; /* * Setup initial ASPM state. Note that we need to configure * upstream links also because capable state of them can be * update through pcie_aspm_cap_init(). */ pcie_aspm_cap_init(link, blacklist); /* Setup initial Clock PM state */ pcie_clkpm_cap_init(link, blacklist); /* * At this stage drivers haven't had an opportunity to change the * link policy setting. Enabling ASPM on broken hardware can cripple * it even before the driver has had a chance to disable ASPM, so * default to a safe level right now. If we're enabling ASPM beyond * the BIOS's expectation, we'll do so once pci_enable_device() is * called. */ if (aspm_policy != POLICY_POWERSAVE) { pcie_config_aspm_path(link); pcie_set_clkpm(link, policy_to_clkpm_state(link)); } unlock: mutex_unlock(&aspm_lock); out: up_read(&pci_bus_sem); } /* Recheck latencies and update aspm_capable for links under the root */ static void pcie_update_aspm_capable(struct pcie_link_state *root) { struct pcie_link_state *link; BUG_ON(root->parent); list_for_each_entry(link, &link_list, sibling) { if (link->root != root) continue; link->aspm_capable = link->aspm_support; } list_for_each_entry(link, &link_list, sibling) { struct pci_dev *child; struct pci_bus *linkbus = link->pdev->subordinate; if (link->root != root) continue; list_for_each_entry(child, &linkbus->devices, bus_list) { if ((pci_pcie_type(child) != PCI_EXP_TYPE_ENDPOINT) && (pci_pcie_type(child) != PCI_EXP_TYPE_LEG_END)) continue; pcie_aspm_check_latency(child); } } } /* @pdev: the endpoint device */ void pcie_aspm_exit_link_state(struct pci_dev *pdev) { struct pci_dev *parent = pdev->bus->self; struct pcie_link_state *link, *root, *parent_link; if (!pci_is_pcie(pdev) || !parent || !parent->link_state) return; if ((pci_pcie_type(parent) != PCI_EXP_TYPE_ROOT_PORT) && (pci_pcie_type(parent) != PCI_EXP_TYPE_DOWNSTREAM)) return; down_read(&pci_bus_sem); mutex_lock(&aspm_lock); /* * All PCIe functions are in one slot, remove one function will remove * the whole slot, so just wait until we are the last function left. */ if (!list_is_last(&pdev->bus_list, &parent->subordinate->devices)) goto out; link = parent->link_state; root = link->root; parent_link = link->parent; /* All functions are removed, so just disable ASPM for the link */ pcie_config_aspm_link(link, 0); list_del(&link->sibling); list_del(&link->link); /* Clock PM is for endpoint device */ free_link_state(link); /* Recheck latencies and configure upstream links */ if (parent_link) { pcie_update_aspm_capable(root); pcie_config_aspm_path(parent_link); } out: mutex_unlock(&aspm_lock); up_read(&pci_bus_sem); } /* @pdev: the root port or switch downstream port */ void pcie_aspm_pm_state_change(struct pci_dev *pdev) { struct pcie_link_state *link = pdev->link_state; if (aspm_disabled || !pci_is_pcie(pdev) || !link) return; if ((pci_pcie_type(pdev) != PCI_EXP_TYPE_ROOT_PORT) && (pci_pcie_type(pdev) != PCI_EXP_TYPE_DOWNSTREAM)) return; /* * Devices changed PM state, we should recheck if latency * meets all functions' requirement */ down_read(&pci_bus_sem); mutex_lock(&aspm_lock); pcie_update_aspm_capable(link->root); pcie_config_aspm_path(link); mutex_unlock(&aspm_lock); up_read(&pci_bus_sem); } void pcie_aspm_powersave_config_link(struct pci_dev *pdev) { struct pcie_link_state *link = pdev->link_state; if (aspm_disabled || !pci_is_pcie(pdev) || !link) return; if (aspm_policy != POLICY_POWERSAVE) return; if ((pci_pcie_type(pdev) != PCI_EXP_TYPE_ROOT_PORT) && (pci_pcie_type(pdev) != PCI_EXP_TYPE_DOWNSTREAM)) return; down_read(&pci_bus_sem); mutex_lock(&aspm_lock); pcie_config_aspm_path(link); pcie_set_clkpm(link, policy_to_clkpm_state(link)); mutex_unlock(&aspm_lock); up_read(&pci_bus_sem); } /* * pci_disable_link_state - disable pci device's link state, so the link will * never enter specific states */ static void __pci_disable_link_state(struct pci_dev *pdev, int state, bool sem, bool force) { struct pci_dev *parent = pdev->bus->self; struct pcie_link_state *link; if (aspm_disabled && !force) return; if (!pci_is_pcie(pdev)) return; if (pci_pcie_type(pdev) == PCI_EXP_TYPE_ROOT_PORT || pci_pcie_type(pdev) == PCI_EXP_TYPE_DOWNSTREAM) parent = pdev; if (!parent || !parent->link_state) return; if (sem) down_read(&pci_bus_sem); mutex_lock(&aspm_lock); link = parent->link_state; if (state & PCIE_LINK_STATE_L0S) link->aspm_disable |= ASPM_STATE_L0S; if (state & PCIE_LINK_STATE_L1) link->aspm_disable |= ASPM_STATE_L1; pcie_config_aspm_link(link, policy_to_aspm_state(link)); if (state & PCIE_LINK_STATE_CLKPM) { link->clkpm_capable = 0; pcie_set_clkpm(link, 0); } mutex_unlock(&aspm_lock); if (sem) up_read(&pci_bus_sem); } void pci_disable_link_state_locked(struct pci_dev *pdev, int state) { __pci_disable_link_state(pdev, state, false, false); } EXPORT_SYMBOL(pci_disable_link_state_locked); void pci_disable_link_state(struct pci_dev *pdev, int state) { __pci_disable_link_state(pdev, state, true, false); } EXPORT_SYMBOL(pci_disable_link_state); void pcie_clear_aspm(struct pci_bus *bus) { struct pci_dev *child; /* * Clear any ASPM setup that the firmware has carried out on this bus */ list_for_each_entry(child, &bus->devices, bus_list) { __pci_disable_link_state(child, PCIE_LINK_STATE_L0S | PCIE_LINK_STATE_L1 | PCIE_LINK_STATE_CLKPM, false, true); } } static int pcie_aspm_set_policy(const char *val, struct kernel_param *kp) { int i; struct pcie_link_state *link; if (aspm_disabled) return -EPERM; for (i = 0; i < ARRAY_SIZE(policy_str); i++) if (!strncmp(val, policy_str[i], strlen(policy_str[i]))) break; if (i >= ARRAY_SIZE(policy_str)) return -EINVAL; if (i == aspm_policy) return 0; down_read(&pci_bus_sem); mutex_lock(&aspm_lock); aspm_policy = i; list_for_each_entry(link, &link_list, sibling) { pcie_config_aspm_link(link, policy_to_aspm_state(link)); pcie_set_clkpm(link, policy_to_clkpm_state(link)); } mutex_unlock(&aspm_lock); up_read(&pci_bus_sem); return 0; } static int pcie_aspm_get_policy(char *buffer, struct kernel_param *kp) { int i, cnt = 0; for (i = 0; i < ARRAY_SIZE(policy_str); i++) if (i == aspm_policy) cnt += sprintf(buffer + cnt, "[%s] ", policy_str[i]); else cnt += sprintf(buffer + cnt, "%s ", policy_str[i]); return cnt; } module_param_call(policy, pcie_aspm_set_policy, pcie_aspm_get_policy, NULL, 0644); #ifdef CONFIG_PCIEASPM_DEBUG static ssize_t link_state_show(struct device *dev, struct device_attribute *attr, char *buf) { struct pci_dev *pci_device = to_pci_dev(dev); struct pcie_link_state *link_state = pci_device->link_state; return sprintf(buf, "%d\n", link_state->aspm_enabled); } static ssize_t link_state_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t n) { struct pci_dev *pdev = to_pci_dev(dev); struct pcie_link_state *link, *root = pdev->link_state->root; u32 val = buf[0] - '0', state = 0; if (aspm_disabled) return -EPERM; if (n < 1 || val > 3) return -EINVAL; /* Convert requested state to ASPM state */ if (val & PCIE_LINK_STATE_L0S) state |= ASPM_STATE_L0S; if (val & PCIE_LINK_STATE_L1) state |= ASPM_STATE_L1; down_read(&pci_bus_sem); mutex_lock(&aspm_lock); list_for_each_entry(link, &link_list, sibling) { if (link->root != root) continue; pcie_config_aspm_link(link, state); } mutex_unlock(&aspm_lock); up_read(&pci_bus_sem); return n; } static ssize_t clk_ctl_show(struct device *dev, struct device_attribute *attr, char *buf) { struct pci_dev *pci_device = to_pci_dev(dev); struct pcie_link_state *link_state = pci_device->link_state; return sprintf(buf, "%d\n", link_state->clkpm_enabled); } static ssize_t clk_ctl_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t n) { struct pci_dev *pdev = to_pci_dev(dev); int state; if (n < 1) return -EINVAL; state = buf[0]-'0'; down_read(&pci_bus_sem); mutex_lock(&aspm_lock); pcie_set_clkpm_nocheck(pdev->link_state, !!state); mutex_unlock(&aspm_lock); up_read(&pci_bus_sem); return n; } static DEVICE_ATTR(link_state, 0644, link_state_show, link_state_store); static DEVICE_ATTR(clk_ctl, 0644, clk_ctl_show, clk_ctl_store); static char power_group[] = "power"; void pcie_aspm_create_sysfs_dev_files(struct pci_dev *pdev) { struct pcie_link_state *link_state = pdev->link_state; if (!pci_is_pcie(pdev) || (pci_pcie_type(pdev) != PCI_EXP_TYPE_ROOT_PORT && pci_pcie_type(pdev) != PCI_EXP_TYPE_DOWNSTREAM) || !link_state) return; if (link_state->aspm_support) sysfs_add_file_to_group(&pdev->dev.kobj, &dev_attr_link_state.attr, power_group); if (link_state->clkpm_capable) sysfs_add_file_to_group(&pdev->dev.kobj, &dev_attr_clk_ctl.attr, power_group); } void pcie_aspm_remove_sysfs_dev_files(struct pci_dev *pdev) { struct pcie_link_state *link_state = pdev->link_state; if (!pci_is_pcie(pdev) || (pci_pcie_type(pdev) != PCI_EXP_TYPE_ROOT_PORT && pci_pcie_type(pdev) != PCI_EXP_TYPE_DOWNSTREAM) || !link_state) return; if (link_state->aspm_support) sysfs_remove_file_from_group(&pdev->dev.kobj, &dev_attr_link_state.attr, power_group); if (link_state->clkpm_capable) sysfs_remove_file_from_group(&pdev->dev.kobj, &dev_attr_clk_ctl.attr, power_group); } #endif static int __init pcie_aspm_disable(char *str) { if (!strcmp(str, "off")) { aspm_policy = POLICY_DEFAULT; aspm_disabled = 1; aspm_support_enabled = false; printk(KERN_INFO "PCIe ASPM is disabled\n"); } else if (!strcmp(str, "force")) { aspm_force = 1; printk(KERN_INFO "PCIe ASPM is forcibly enabled\n"); } return 1; } __setup("pcie_aspm=", pcie_aspm_disable); void pcie_no_aspm(void) { /* * Disabling ASPM is intended to prevent the kernel from modifying * existing hardware state, not to clear existing state. To that end: * (a) set policy to POLICY_DEFAULT in order to avoid changing state * (b) prevent userspace from changing policy */ if (!aspm_force) { aspm_policy = POLICY_DEFAULT; aspm_disabled = 1; } } /** * pcie_aspm_enabled - is PCIe ASPM enabled? * * Returns true if ASPM has not been disabled by the command-line option * pcie_aspm=off. **/ int pcie_aspm_enabled(void) { return !aspm_disabled; } EXPORT_SYMBOL(pcie_aspm_enabled); bool pcie_aspm_support_enabled(void) { return aspm_support_enabled; } EXPORT_SYMBOL(pcie_aspm_support_enabled);
ystk/linux-poky-debian
drivers/pci/pcie/aspm.c
C
gpl-2.0
27,672
[ 30522, 1013, 1008, 1008, 5371, 1024, 6853, 1013, 7473, 2072, 1013, 7473, 2666, 1013, 2004, 9737, 1012, 1039, 1008, 12067, 7473, 2666, 4957, 1048, 16223, 1013, 1048, 2487, 2110, 1998, 5119, 2373, 2968, 1008, 1008, 9385, 1006, 1039, 1007, 2289, 13420, 1008, 9385, 1006, 1039, 1007, 9327, 13619, 10020, 1006, 13619, 10020, 1012, 9327, 1030, 13420, 1012, 4012, 1007, 1008, 9385, 1006, 1039, 1007, 21146, 11631, 6692, 5622, 1006, 21146, 11631, 6692, 1012, 5622, 1030, 13420, 1012, 4012, 1007, 1008, 1013, 1001, 2421, 1026, 11603, 1013, 16293, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 11336, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 11336, 28689, 2213, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 7473, 2072, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 7473, 2072, 1035, 19723, 2015, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 9413, 19139, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 7610, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 1999, 4183, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 17584, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 10147, 29055, 2015, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 8536, 1012, 1044, 1028, 1001, 2421, 1026, 11603, 1013, 7473, 2072, 1011, 2004, 9737, 1012, 1044, 1028, 1001, 2421, 1000, 1012, 1012, 1013, 7473, 2072, 1012, 1044, 1000, 1001, 2065, 3207, 2546, 11336, 1035, 11498, 2213, 1035, 17576, 1001, 6151, 12879, 11336, 1035, 11498, 2213, 1035, 17576, 1001, 2203, 10128, 1001, 9375, 11336, 1035, 11498, 2213, 1035, 17576, 1000, 7473, 2666, 1035, 2004, 9737, 1012, 1000, 1013, 1008, 3602, 1024, 2216, 2024, 2025, 4236, 15182, 1008, 1013, 1001, 9375, 2004, 9737, 1035, 2110, 1035, 1048, 16223, 1035, 2039, 1006, 1015, 1007, 1013, 1008, 13909, 3257, 1048, 16223, 2110, 1008, 1013, 1001, 9375, 2004, 9737, 1035, 2110, 1035, 1048, 16223, 1035, 1040, 2860, 1006, 1016, 1007, 1013, 1008, 13248, 3257, 1048, 16223, 2110, 1008, 1013, 1001, 9375, 2004, 9737, 1035, 2110, 1035, 1048, 2487, 1006, 1018, 1007, 1013, 1008, 1048, 2487, 2110, 1008, 1013, 1001, 9375, 2004, 9737, 1035, 2110, 1035, 1048, 16223, 1006, 2004, 9737, 1035, 2110, 1035, 1048, 16223, 1035, 2039, 1064, 2004, 9737, 1035, 2110, 1035, 1048, 16223, 1035, 1040, 2860, 1007, 1001, 9375, 2004, 9737, 1035, 2110, 1035, 2035, 1006, 2004, 9737, 1035, 2110, 1035, 1048, 16223, 1064, 2004, 9737, 1035, 2110, 1035, 1048, 2487, 1007, 2358, 6820, 6593, 2004, 9737, 1035, 2397, 9407, 1063, 1057, 16703, 1048, 16223, 1025, 1013, 1008, 1048, 16223, 2397, 9407, 1006, 24978, 8586, 1007, 1008, 1013, 30524, 1008, 1013, 2358, 6820, 6593, 7473, 2666, 1035, 4957, 1035, 2110, 1008, 7117, 1025, 1013, 1008, 20884, 2000, 1996, 7117, 3417, 4957, 1008, 1013, 2358, 6820, 6593, 7473, 2666, 1035, 4957, 1035, 2110, 1008, 6687, 1025, 1013, 1008, 20884, 2000, 30523, 1057, 16703, 1048, 2487, 1025, 1013, 1008, 1048, 2487, 2397, 9407, 1006, 24978, 8586, 1007, 1008, 1013, 1065, 1025, 2358, 6820, 6593, 7473, 2666, 1035, 4957, 1035, 2110, 1063, 2358, 6820, 6593, 7473, 2072, 1035, 16475, 1008, 22851, 6777, 1025, 1013, 1008, 13909, 6922, 1997, 1996, 4957, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1057, 16703, 1048, 2487, 1025, 1013, 1008, 1048, 2487, 2397, 9407, 1006, 24978, 8586, 1007, 1008, 1013, 1065, 1025, 2358, 6820, 6593, 7473, 2666, 1035, 4957, 1035, 2110, 1063, 2358, 6820, 6593, 7473, 2072, 1035, 16475, 1008, 22851, 6777, 1025, 1013, 1008, 13909, 6922, 1997, 1996, 4957, 30526 ]
#ifndef __STACK_TESTS_H_INCLUDED__ #define __STACK_TESTS_H_INCLUDED__ //------------------------------------- #include "../CppTest/cpptest.h" #include "../Raple/Headers/Stack.h" //------------------------------------- //------------------------------------- #ifdef _MSC_VER #pragma warning (disable: 4290) #endif //------------------------------------- using Raple::Stack; using Raple::StackOverflowException; using Raple::StackUnderflowException; //------------------------------------- namespace RapleTests { class StackTests : public Test::Suite { public: StackTests() { addTest(StackTests::SizeTest); addTest(StackTests::PushAndPopTest); addTest(StackTests::OverflowExceptionTest); addTest(StackTests::UnderflowExceptionTest); } private: void SizeTest() { Stack<int> s; assertEquals(0, s.Size()); s.Push(1); s.Push(2); assertEquals(2, s.Size()); s.Pop(); assertEquals(1, s.Size()); s.Pop(); assertEquals(0, s.Size()); } void PushAndPopTest() { Stack<int> s; s.Push(1); s.Push(2); s.Push(3); assertEquals(3, s.Pop()); assertEquals(2, s.Pop()); assertEquals(1, s.Pop()); } void OverflowExceptionTest() { Stack<int> s(2); s.Push(1); s.Push(2); try { s.Push(3); } catch (StackOverflowException ex) { assert(true); return; } assert(false); } void UnderflowExceptionTest() { Stack<int> s; try { s.Pop(); } catch (StackUnderflowException ex) { assert(true); return; } assert(false); } }; } #endif //__STACK_TESTS_H_INCLUDED__
rodionovstepan/raple
src/Tests/StackTests.h
C
gpl-2.0
1,631
[ 30522, 1001, 2065, 13629, 2546, 1035, 1035, 9991, 1035, 5852, 1035, 1044, 1035, 2443, 1035, 1035, 1001, 9375, 1035, 1035, 9991, 1035, 5852, 1035, 1044, 1035, 2443, 1035, 1035, 1013, 1013, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1001, 2421, 1000, 1012, 1012, 1013, 18133, 13876, 4355, 1013, 18133, 13876, 4355, 1012, 1044, 1000, 1001, 2421, 1000, 1012, 1012, 1013, 9680, 2571, 1013, 20346, 2015, 1013, 9991, 1012, 1044, 1000, 1013, 1013, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1013, 1013, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1001, 2065, 3207, 2546, 1035, 23794, 1035, 2310, 2099, 1001, 10975, 8490, 2863, 5432, 1006, 4487, 19150, 1024, 4413, 21057, 1007, 1001, 2203, 10128, 1013, 1013, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 30524, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 2478, 9680, 2571, 1024, 1024, 9991, 1025, 2478, 9680, 2571, 1024, 1024, 9991, 7840, 12314, 10288, 24422, 1025, 2478, 9680, 2571, 1024, 1024, 9991, 20824, 12314, 10288, 24422, 1025, 1013, 1013, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 3415, 15327, 9680, 25890, 12837, 1063, 2465, 9991, 22199, 2015, 1024, 2270, 3231, 1024, 1024, 7621, 1063, 2270, 1024, 9991, 22199, 2015, 1006, 1007, 1063, 5587, 22199, 1006, 9991, 22199, 2015, 1024, 1024, 2946, 22199, 1007, 1025, 5587, 22199, 1006, 9991, 22199, 2015, 1024, 1024, 5245, 5685, 16340, 22199, 1007, 1025, 5587, 22199, 1006, 9991, 22199, 2015, 1024, 1024, 2058, 12314, 10288, 24422, 22199, 1007, 1025, 5587, 22199, 1006, 9991, 22199, 2015, 1024, 1024, 2104, 12314, 10288, 24422, 22199, 1007, 1025, 1065, 2797, 1024, 11675, 2946, 22199, 1006, 1007, 1063, 9991, 1026, 20014, 1028, 1055, 1025, 20865, 2063, 26426, 2015, 1006, 1014, 1010, 1055, 1012, 2946, 1006, 1007, 1007, 1025, 1055, 1012, 5245, 1006, 1015, 1007, 1025, 1055, 1012, 5245, 1006, 1016, 1007, 1025, 20865, 2063, 26426, 2015, 1006, 1016, 1010, 1055, 1012, 2946, 1006, 1007, 1007, 1025, 1055, 1012, 3769, 1006, 1007, 1025, 20865, 2063, 26426, 2015, 1006, 1015, 1010, 1055, 1012, 2946, 1006, 1007, 1007, 1025, 1055, 1012, 3769, 1006, 1007, 1025, 20865, 2063, 26426, 2015, 1006, 1014, 1010, 1055, 1012, 2946, 1006, 1007, 1007, 1025, 1065, 11675, 5245, 5685, 16340, 22199, 1006, 1007, 1063, 9991, 1026, 20014, 30523, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 30526 ]
// Deque iterator invalidation tests // Copyright (C) 2003-2015 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 3, or (at your option) // any later version. // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // You should have received a copy of the GNU General Public License along // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. #include <debug/deque> #include <testsuite_hooks.h> using __gnu_debug::deque; bool test = true; // Resize void test02() { deque<int> v(10, 17); deque<int>::iterator before = v.begin() + 6; deque<int>::iterator at = before + 1; deque<int>::iterator after = at + 1; // Shrink v.resize(7); VERIFY(before._M_dereferenceable()); VERIFY(at._M_singular()); VERIFY(after._M_singular()); // Grow before = v.begin() + 6; v.resize(17); VERIFY(before._M_singular()); } int main() { test02(); return 0; }
evaautomation/gcc-linaro
libstdc++-v3/testsuite/23_containers/deque/debug/invalidation/2.cc
C++
gpl-2.0
1,331
[ 30522, 1013, 1013, 2139, 4226, 2009, 6906, 4263, 19528, 3370, 5852, 1013, 1013, 9385, 1006, 1039, 1007, 2494, 1011, 2325, 2489, 4007, 3192, 1010, 4297, 1012, 1013, 1013, 1013, 1013, 2023, 5371, 2003, 2112, 1997, 1996, 27004, 11163, 1039, 1009, 1009, 3075, 1012, 2023, 3075, 2003, 2489, 1013, 1013, 4007, 1025, 2017, 2064, 2417, 2923, 3089, 8569, 2618, 2009, 1998, 1013, 2030, 19933, 2009, 2104, 1996, 1013, 1013, 3408, 1997, 1996, 27004, 2236, 2270, 6105, 2004, 2405, 2011, 1996, 1013, 1013, 2489, 4007, 3192, 1025, 2593, 2544, 1017, 1010, 2030, 1006, 2012, 2115, 5724, 1007, 1013, 1013, 2151, 2101, 2544, 1012, 1013, 1013, 2023, 3075, 2003, 5500, 1999, 1996, 3246, 2008, 2009, 2097, 2022, 6179, 1010, 1013, 1013, 2021, 2302, 2151, 10943, 2100, 1025, 2302, 2130, 1996, 13339, 10943, 2100, 1997, 1013, 1013, 6432, 8010, 2030, 10516, 2005, 1037, 3327, 3800, 1012, 2156, 1996, 1013, 1013, 27004, 2236, 2270, 6105, 2005, 2062, 4751, 1012, 1013, 1013, 2017, 2323, 2031, 2363, 1037, 6100, 1997, 1996, 27004, 2236, 2270, 6105, 2247, 1013, 1013, 2007, 2023, 3075, 1025, 2156, 1996, 5371, 24731, 2509, 1012, 2065, 2025, 2156, 1013, 1013, 1026, 8299, 1024, 1013, 1013, 7479, 1012, 27004, 1012, 8917, 1013, 15943, 1013, 1028, 1012, 1001, 2421, 1026, 2139, 8569, 2290, 1013, 2139, 4226, 1028, 1001, 2421, 1026, 5852, 14663, 2063, 1035, 18008, 1012, 1044, 1028, 2478, 1035, 1035, 27004, 1035, 2139, 8569, 2290, 1024, 1024, 2139, 4226, 1025, 22017, 2140, 3231, 1027, 2995, 1025, 1013, 1013, 24501, 4697, 11675, 3231, 2692, 2475, 1006, 1007, 1063, 2139, 4226, 1026, 20014, 1028, 1058, 1006, 2184, 1010, 2459, 1007, 1025, 2139, 4226, 1026, 20014, 1028, 1024, 1024, 2009, 6906, 4263, 2077, 1027, 1058, 1012, 4088, 1006, 1007, 1009, 1020, 1025, 2139, 4226, 1026, 20014, 1028, 1024, 1024, 2009, 6906, 4263, 2012, 1027, 2077, 1009, 1015, 1025, 2139, 4226, 1026, 20014, 1028, 1024, 1024, 2009, 6906, 4263, 2044, 1027, 2012, 1009, 1015, 1025, 1013, 1013, 22802, 1058, 1012, 24501, 4697, 1006, 1021, 1007, 1025, 20410, 30524, 20410, 1006, 2012, 1012, 1035, 1049, 1035, 13048, 1006, 1007, 1007, 1025, 20410, 1006, 2044, 1012, 1035, 1049, 1035, 13048, 1006, 1007, 1007, 1025, 1013, 1013, 4982, 2077, 1027, 1058, 1012, 4088, 1006, 1007, 1009, 1020, 1025, 1058, 1012, 24501, 4697, 1006, 2459, 1007, 1025, 20410, 1006, 2077, 1012, 1035, 1049, 1035, 13048, 1006, 1007, 1007, 1025, 1065, 20014, 2364, 1006, 1007, 1063, 3231, 2692, 2475, 1006, 1007, 1025, 2709, 1014, 1025, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1006, 2077, 1012, 1035, 1049, 1035, 4315, 27235, 24413, 3085, 1006, 1007, 1007, 1025, 30526 ]
using Habanero.Faces.Test.Base.Mappers; using Habanero.Faces.Base; using Habanero.Faces.VWG; using NUnit.Framework; namespace Habanero.Faces.Test.VWG.Mappers { [TestFixture] public class TestRelationshipComboBoxMapperVWG : TestRelationshipComboBoxMapper { protected override void CreateControlFactory() { _controlFactory = new ControlFactoryVWG(); GlobalUIRegistry.ControlFactory = _controlFactory; } } }
Chillisoft/habanero.faces
source/Habanero.Faces.Test.VWG/Mappers/TestRelationshipComboBoxMapperVWG.cs
C#
lgpl-3.0
485
[ 30522, 2478, 5292, 27543, 3217, 1012, 5344, 1012, 3231, 1012, 2918, 1012, 4949, 7347, 1025, 2478, 5292, 27543, 3217, 1012, 5344, 1012, 2918, 1025, 2478, 5292, 27543, 3217, 1012, 5344, 1012, 1058, 27767, 1025, 2478, 16634, 4183, 1012, 7705, 1025, 3415, 15327, 5292, 27543, 3217, 1012, 5344, 1012, 3231, 1012, 1058, 27767, 1012, 4949, 7347, 1063, 1031, 3231, 8873, 18413, 5397, 1033, 2270, 2465, 3231, 16570, 10708, 5605, 18274, 16429, 11636, 2863, 18620, 2615, 27767, 1024, 3231, 16570, 10708, 5605, 18274, 16429, 11636, 2863, 18620, 1063, 5123, 2058, 15637, 11675, 3443, 8663, 13181, 10270, 18908, 10253, 1006, 1007, 1063, 1035, 2491, 21450, 1027, 2047, 2491, 21450, 2615, 27767, 1006, 1007, 1025, 3795, 10179, 2890, 24063, 2854, 1012, 2491, 21450, 1027, 1035, 2491, 21450, 1025, 1065, 1065, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>node-pm Module: lib/processEvents</title> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css"> <link type="text/css" rel="stylesheet" href="styles/site.cerulean.css"> </head> <body> <div class="container-fluid"> <div class="navbar navbar-fixed-top navbar-inverse"> <div class="navbar-inner"> <a class="brand" href="index.html">node-pm</a> <ul class="nav"> <li class="dropdown"> <a href="modules.list.html" class="dropdown-toggle" data-toggle="dropdown">Modules<b class="caret"></b></a> <ul class="dropdown-menu "> <li> <a href="clusterEvents.html">lib/clusterEvents</a> </li> <li> <a href="Logger.html">lib/Logger</a> </li> <li> <a href="main.html">lib/main</a> </li> <li> <a href="master.html">lib/master</a> </li> <li> <a href="processEvents.html">lib/processEvents</a> </li> </ul> </li> <li class="dropdown"> <a href="events.list.html" class="dropdown-toggle" data-toggle="dropdown">Events<b class="caret"></b></a> <ul class="dropdown-menu "> <li> <a href="global.html#event:shutdown">shutdown</a> </li> </ul> </li> </ul> </div> </div> <div class="row-fluid"> <div class="span8"> <div id="main"> <h1 class="page-title">Module: lib/processEvents</h1> <section> <header> <h2> lib/processEvents </h2> </header> <article> <div class="container-overview"> <div class="description"><p>Register Process Events</p></div> <dl class="details"> <dt class="tag-author">Author:</dt> <dd class="tag-author"> <ul> <li><a href="mailto:[email protected]">Kevin Smithson</a></li> <li><a href="mailto:[email protected]">Craig Thayer</a></li> </ul> </dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="processEvents.js.html">processEvents.js</a>, <a href="processEvents.js.html#sunlight-1-line-8">line 8</a> </li></ul></dd> </dl> </div> </article> </section> </div> <div class="clearfix"></div> <footer> <span class="copyright"> Sazze, Inc Copyright © 2012-2013 </span> <br /> <span class="jsdoc-message"> Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.1</a> on Mon Nov 04 2013 13:17:36 GMT-0800 (PST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>. </span> </footer> </div> <div class="span3"> <div id="toc"></div> </div> <br clear="both"> </div> </div> <script src="scripts/sunlight.js"></script> <script src="scripts/sunlight.javascript.js"></script> <script src="scripts/sunlight-plugin.doclinks.js"></script> <script src="scripts/sunlight-plugin.linenumbers.js"></script> <script src="scripts/sunlight-plugin.menu.js"></script> <script src="scripts/jquery.min.js"></script> <script src="scripts/jquery.scrollTo.js"></script> <script src="scripts/jquery.localScroll.js"></script> <script src="scripts/bootstrap-dropdown.js"></script> <script src="scripts/toc.js"></script> <script> Sunlight.highlightAll({lineNumbers:true, showMenu: true, enableDoclinks :true}); </script> <script> $( function () { $( "#toc" ).toc( { selectors : "h1,h2,h3,h4", showAndHide : false, scrollTo : 60 } ); $( "#toc>ul" ).addClass( "nav nav-pills nav-stacked" ); $( "#main span[id^='toc']" ).addClass( "toc-shim" ); } ); </script> </body> </html>
sazze/node-pm
docs/processEvents.html
HTML
mit
4,079
[ 30522, 1026, 999, 9986, 13874, 16129, 1028, 1026, 16129, 11374, 1027, 1000, 4372, 1000, 1028, 1026, 2132, 1028, 1026, 18804, 25869, 13462, 1027, 1000, 21183, 2546, 1011, 1022, 1000, 1028, 1026, 2516, 1028, 13045, 1011, 7610, 11336, 1024, 5622, 2497, 1013, 2832, 18697, 7666, 1026, 1013, 2516, 1028, 1026, 999, 1011, 1011, 1031, 2065, 8318, 29464, 1023, 1033, 1028, 1026, 5896, 5034, 2278, 1027, 1000, 1013, 1013, 16129, 2629, 6182, 2615, 1012, 8224, 16044, 1012, 4012, 1013, 17917, 2078, 1013, 8260, 1013, 16129, 2629, 1012, 1046, 2015, 1000, 1028, 1026, 1013, 5896, 1028, 1026, 999, 1031, 2203, 10128, 1033, 1011, 1011, 1028, 1026, 4957, 2828, 1027, 1000, 3793, 1013, 20116, 2015, 1000, 2128, 2140, 1027, 1000, 6782, 21030, 2102, 1000, 17850, 12879, 1027, 1000, 30524, 1027, 1000, 3793, 1013, 20116, 2015, 1000, 2128, 2140, 1027, 1000, 6782, 21030, 2102, 1000, 17850, 12879, 1027, 1000, 6782, 1013, 2609, 1012, 8292, 6820, 20898, 1012, 20116, 2015, 1000, 1028, 1026, 1013, 2132, 1028, 1026, 2303, 1028, 1026, 4487, 2615, 2465, 1027, 1000, 11661, 1011, 8331, 1000, 1028, 1026, 4487, 2615, 2465, 1027, 1000, 6583, 26493, 2906, 6583, 26493, 2906, 1011, 4964, 1011, 2327, 6583, 26493, 2906, 1011, 19262, 1000, 1028, 1026, 4487, 2615, 2465, 1027, 1000, 6583, 26493, 2906, 1011, 5110, 1000, 1028, 1026, 1037, 2465, 1027, 1000, 4435, 1000, 17850, 12879, 1027, 1000, 5950, 1012, 16129, 1000, 1028, 13045, 1011, 7610, 1026, 1013, 1037, 1028, 1026, 17359, 2465, 1027, 1000, 6583, 2615, 1000, 1028, 1026, 5622, 2465, 1027, 1000, 4530, 7698, 1000, 1028, 1026, 1037, 17850, 12879, 1027, 1000, 14184, 1012, 2862, 1012, 16129, 1000, 2465, 1027, 1000, 4530, 7698, 1011, 2000, 24679, 1000, 2951, 1011, 2000, 24679, 1027, 1000, 4530, 7698, 1000, 1028, 14184, 1026, 1038, 2465, 1027, 1000, 2729, 2102, 1000, 1028, 1026, 1013, 1038, 1028, 1026, 1013, 1037, 1028, 1026, 17359, 2465, 1027, 1000, 4530, 7698, 1011, 12183, 1000, 1028, 1026, 5622, 1028, 1026, 1037, 17850, 12879, 1027, 1000, 9324, 18697, 7666, 1012, 16129, 1000, 1028, 5622, 2497, 1013, 9324, 18697, 7666, 1026, 1013, 1037, 1028, 1026, 1013, 5622, 1028, 1026, 5622, 1028, 1026, 1037, 17850, 12879, 1027, 1000, 8833, 4590, 1012, 16129, 1000, 1028, 5622, 2497, 1013, 8833, 4590, 1026, 1013, 1037, 1028, 1026, 1013, 5622, 1028, 1026, 5622, 1028, 1026, 1037, 17850, 12879, 1027, 1000, 2364, 1012, 16129, 1000, 1028, 5622, 2497, 1013, 2364, 1026, 1013, 1037, 1028, 1026, 1013, 5622, 1028, 1026, 5622, 1028, 1026, 1037, 17850, 12879, 1027, 1000, 3040, 1012, 16129, 1000, 1028, 5622, 2497, 1013, 3040, 1026, 1013, 1037, 1028, 1026, 1013, 5622, 1028, 1026, 5622, 1028, 1026, 1037, 17850, 12879, 1027, 1000, 2832, 18697, 7666, 1012, 16129, 1000, 1028, 5622, 2497, 1013, 2832, 18697, 7666, 1026, 1013, 1037, 1028, 1026, 1013, 5622, 1028, 1026, 1013, 17359, 1028, 1026, 1013, 5622, 1028, 1026, 5622, 2465, 1027, 1000, 4530, 7698, 1000, 1028, 1026, 1037, 17850, 12879, 1027, 1000, 2824, 1012, 2862, 1012, 16129, 1000, 2465, 1027, 1000, 4530, 7698, 1011, 2000, 30523, 6782, 1013, 9325, 1012, 12398, 1012, 20116, 2015, 1000, 1028, 1026, 4957, 2828, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 6782, 1013, 9325, 1012, 12398, 1012, 20116, 2015, 1000, 1028, 1026, 4957, 2828, 30526 ]
require 'concrete_holidays/thanksgiving' class ConcreteHolidays::BlackFriday def self.date(year) # the day after Thanksgiving ConcreteHolidays::Thanksgiving.date(year) + 1 end end
tablexi/concrete_holidays
lib/concrete_holidays/black_friday.rb
Ruby
mit
189
[ 30522, 5478, 1005, 5509, 1035, 11938, 1013, 15060, 1005, 2465, 5509, 14854, 8524, 7274, 1024, 1024, 2304, 27439, 4710, 13366, 2969, 1012, 3058, 1006, 2095, 1007, 1001, 1996, 2154, 2044, 15060, 5509, 14854, 8524, 7274, 1024, 1024, 15060, 1012, 3058, 1006, 2095, 1007, 1009, 1015, 2203, 2203, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
# path Create a 2d path using SVG syntax. * `d` is the path descriptor {% craftml %} <!-- rectangle --> <path d="M10 10 h 10 v 10 h -10 z"/> <!-- triangle --> <path d="M30 10 l 10 10 l 10 -10 z"/> {% endcraftml %} Typically, you would use another drawing program to draw a path and export it as an SVG tag to use in CraftML, because it is quite difficult to write out a path descriptor manually. {% craftml %} <path d="M425.714,298.795c-3.315-25.56-31.224-50.174-59.725-52.675c-1.32-0.116-2.678-0.175-4.035-0.175 c-7.841,0-15.145,1.899-22.876,3.909c-8.474,2.204-17.236,4.482-27.593,4.482c-24.627,0-51.939-13.673-85.951-43.03 c-15.99-13.803-37.649-30.563-60.579-48.309c-35.625-27.57-72.464-56.078-92.513-76.923c-0.966-1.005-2.134-2.422-3.485-4.063 c-5.524-6.71-13.871-16.849-23.975-16.849c-7.007,0-13.556,4.88-19.463,14.506c-17.969,29.272-40.64,92.412-11.632,143.381 c22.454,39.516,27.952,104.224,29.102,123.114c0.583,9.583,7.556,12.261,11.214,12.338h33.836c6.576,0,10.445-4.408,10.615-12.095 c0.141-6.393,0.801-30.128,3.351-67.172c2.102-30.806,8.488-34.369,13.109-34.369c10.056,0,27.157,16.668,50.825,39.738 c15.363,14.975,34.483,33.61,56.618,52.296c19.095,16.12,42.025,23.956,70.1,23.956c36.682,0,74.746-13.709,105.331-24.725 l2.09-0.752C418.524,328.739,427.869,315.404,425.714,298.795z"/> {% endcraftml %}
craftml/docs
language/primitives/2d/path.md
Markdown
mit
1,313
[ 30522, 1001, 4130, 3443, 1037, 14134, 4130, 2478, 17917, 2290, 20231, 1012, 1008, 1036, 1040, 1036, 2003, 1996, 4130, 4078, 23235, 2953, 1063, 1003, 7477, 19968, 1003, 1065, 1026, 999, 1011, 1011, 28667, 23395, 1011, 1011, 1028, 1026, 4130, 1040, 1027, 1000, 23290, 2692, 2184, 1044, 2184, 1058, 2184, 1044, 1011, 2184, 1062, 1000, 1013, 1028, 1026, 999, 1011, 1011, 9546, 1011, 1011, 1028, 1026, 4130, 1040, 1027, 1000, 29061, 2692, 2184, 1048, 2184, 2184, 1048, 2184, 1011, 2184, 1062, 1000, 1013, 1028, 1063, 1003, 2203, 10419, 19968, 1003, 1065, 4050, 1010, 2017, 2052, 2224, 2178, 5059, 2565, 2000, 4009, 1037, 4130, 1998, 9167, 2009, 2004, 2019, 17917, 2290, 6415, 2000, 2224, 1999, 7477, 19968, 1010, 2138, 2009, 2003, 3243, 3697, 2000, 4339, 2041, 1037, 4130, 4078, 23235, 2953, 21118, 1012, 1063, 1003, 7477, 19968, 1003, 1065, 1026, 4130, 1040, 1027, 1000, 1049, 20958, 2629, 1012, 6390, 2549, 1010, 27240, 1012, 6535, 2629, 2278, 1011, 1017, 1012, 22904, 1011, 2423, 1012, 5179, 1011, 2861, 1012, 19711, 1011, 2753, 1012, 19492, 1011, 5354, 1012, 5824, 2629, 1011, 4720, 1012, 6163, 2629, 2278, 1011, 1015, 1012, 3590, 1011, 1014, 1012, 12904, 1011, 1016, 1012, 6163, 2620, 1011, 1014, 1012, 12862, 1011, 1018, 1012, 6021, 2629, 1011, 1014, 1012, 12862, 1039, 1011, 1021, 1012, 6391, 2487, 1010, 1014, 1011, 2321, 1012, 13741, 1010, 1015, 1012, 6486, 2683, 1011, 2570, 1012, 6584, 2575, 1010, 1017, 1012, 3938, 2683, 2278, 1011, 1022, 1012, 4700, 2549, 1010, 1016, 1012, 19627, 1011, 2459, 1012, 23593, 1010, 1018, 1012, 4466, 2475, 1011, 2676, 1012, 5354, 2509, 1010, 1018, 1012, 4466, 2475, 2278, 1011, 2484, 1012, 5786, 2581, 1010, 1014, 1011, 4868, 1012, 6109, 2683, 1011, 2410, 1012, 6163, 2509, 1011, 5594, 1012, 5345, 2487, 1011, 4724, 1012, 6021, 1039, 1011, 2321, 1012, 5585, 1011, 2410, 1012, 3770, 2509, 1011, 4261, 1012, 4185, 2683, 1011, 2382, 1012, 5179, 2509, 1011, 3438, 1012, 5401, 2683, 1011, 4466, 1012, 25048, 2278, 1011, 3486, 1012, 22810, 1011, 2676, 1012, 5401, 1011, 5824, 30524, 1011, 1017, 1012, 4466, 2629, 1011, 1018, 1012, 5757, 2509, 1039, 1011, 1019, 1012, 4720, 2549, 1011, 1020, 1012, 6390, 1011, 2410, 1012, 6584, 2487, 1011, 2385, 1012, 6391, 2683, 1011, 2603, 1012, 5989, 2629, 1011, 2385, 1012, 6391, 2683, 2278, 1011, 1021, 1012, 4002, 2581, 1010, 1014, 1011, 2410, 1012, 4583, 2575, 1010, 1018, 1012, 6070, 1011, 2539, 1012, 4805, 2509, 1010, 2403, 1012, 2753, 2575, 2278, 1011, 2459, 1012, 5986, 2683, 1010, 2756, 1012, 24231, 1011, 2871, 1012, 4185, 1010, 6227, 1012, 25873, 1011, 2340, 1012, 6191, 2475, 1010, 16065, 1012, 29335, 29248, 2475, 1012, 3429, 2549, 1010, 4464, 1012, 4868, 2575, 1010, 2676, 1012, 5345, 2475, 1010, 9645, 1012, 19711, 1010, 2756, 1012, 9402, 1010, 13138, 1012, 12457, 2278, 2692, 1012, 5388, 2509, 1010, 1023, 1012, 5388, 2509, 1010, 30523, 1012, 4805, 2549, 1011, 5179, 1012, 5718, 2620, 1011, 6227, 1012, 4868, 2509, 1011, 6146, 1012, 6227, 2509, 2278, 1011, 1014, 1012, 5986, 2575, 1011, 1015, 1012, 4002, 2629, 1011, 1016, 1012, 15170, 1011, 1016, 1012, 29269, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1012, 4805, 2549, 1011, 5179, 1012, 5718, 2620, 1011, 6227, 1012, 4868, 2509, 1011, 6146, 1012, 6227, 2509, 2278, 1011, 1014, 1012, 5986, 2575, 1011, 1015, 1012, 4002, 2629, 1011, 1016, 1012, 15170, 1011, 1016, 1012, 29269, 30526 ]
/* * Copyright(c) 2016-2017 IBM, Red Hat, and others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package io.microprofile.showcase.web; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ToStringBuilder; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import java.io.Serializable; import java.net.URI; import java.util.HashMap; import java.util.Map; import java.util.Set; /** * Simple wrapper for named application endpoints */ @XmlRootElement @XmlAccessorType(XmlAccessType.FIELD) public class Endpoints implements Serializable { private static final long serialVersionUID = -7130557896231134141L; private Set<Endpoint> endpoints; private String application; //TODO @XmlElement(name = "_links") Who cam up with this name? It just causes a whole world of serialization and config issues private Map<String, URI> links = new HashMap<>(); public Set<Endpoint> getEndpoints() { return this.endpoints; } public void setEndpoints(final Set<Endpoint> endpoints) { this.endpoints = endpoints; } public void setApplication(final String application) { this.application = application; } public String getApplication() { return this.application; } public Map<String, URI> getLinks() { return this.links; } public void setLinks(final Map<String, URI> links) { this.links = links; } @Override public boolean equals(final Object o) { if (this == o) return true; if (o == null || this.getClass() != o.getClass()) return false; final Endpoints endpoints = (Endpoints) o; return new EqualsBuilder() .append(this.application, endpoints.application) .isEquals(); } @Override public int hashCode() { return new HashCodeBuilder(17, 37) .append(this.application) .toHashCode(); } @Override public String toString() { return new ToStringBuilder(this) .append("application", this.application) .toString(); } }
microprofile/microprofile-conference
web-application/src/main/local/java/io/microprofile/showcase/web/Endpoints.java
Java
apache-2.0
2,816
[ 30522, 1013, 1008, 1008, 9385, 30524, 2104, 1996, 15895, 6105, 1010, 2544, 1016, 1012, 1014, 1006, 1996, 1000, 6105, 1000, 1007, 1025, 1008, 2017, 2089, 2025, 2224, 2023, 5371, 3272, 1999, 12646, 2007, 1996, 6105, 1012, 1008, 2017, 2089, 6855, 1037, 6100, 1997, 1996, 6105, 2012, 1008, 8299, 1024, 1013, 1013, 7479, 1012, 15895, 1012, 8917, 1013, 15943, 1013, 6105, 1011, 1016, 1012, 1014, 1008, 4983, 3223, 2011, 12711, 2375, 2030, 3530, 2000, 1999, 3015, 1010, 4007, 1008, 5500, 2104, 1996, 6105, 2003, 5500, 2006, 2019, 1000, 2004, 2003, 1000, 3978, 1010, 1008, 2302, 10943, 3111, 2030, 3785, 1997, 2151, 2785, 1010, 2593, 4671, 2030, 13339, 1012, 1008, 2156, 1996, 6105, 2005, 1996, 3563, 2653, 8677, 6656, 2015, 1998, 1008, 12546, 2104, 1996, 6105, 1012, 1008, 1013, 7427, 22834, 1012, 12702, 21572, 8873, 2571, 1012, 13398, 1012, 4773, 1025, 12324, 8917, 1012, 15895, 1012, 7674, 1012, 11374, 2509, 1012, 12508, 1012, 19635, 8569, 23891, 2099, 1025, 12324, 8917, 1012, 15895, 1012, 7674, 1012, 11374, 2509, 1012, 12508, 1012, 23325, 16044, 8569, 23891, 2099, 1025, 12324, 8917, 1012, 15895, 1012, 7674, 1012, 11374, 2509, 1012, 12508, 1012, 2000, 3367, 4892, 8569, 23891, 2099, 1025, 12324, 9262, 2595, 1012, 20950, 1012, 14187, 1012, 5754, 17287, 3508, 1012, 20950, 6305, 9623, 21756, 5051, 1025, 12324, 9262, 2595, 1012, 20950, 1012, 14187, 1012, 5754, 17287, 3508, 1012, 20950, 6305, 9623, 21748, 13874, 1025, 12324, 9262, 2595, 1012, 20950, 1012, 14187, 1012, 5754, 17287, 3508, 1012, 20950, 3217, 12184, 16930, 4765, 1025, 12324, 9262, 1012, 22834, 1012, 7642, 21335, 3468, 1025, 12324, 9262, 1012, 5658, 1012, 24471, 2072, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 23325, 2863, 2361, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 4949, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 2275, 1025, 1013, 1008, 1008, 1008, 3722, 10236, 4842, 2005, 2315, 4646, 2203, 26521, 1008, 1013, 1030, 20950, 3217, 12184, 16930, 4765, 1030, 20950, 6305, 9623, 21748, 13874, 1006, 20950, 6305, 9623, 21756, 5051, 1012, 2492, 1007, 2270, 2465, 2203, 26521, 22164, 7642, 21335, 3468, 1063, 2797, 10763, 2345, 2146, 7642, 27774, 21272, 1027, 1011, 6390, 14142, 24087, 2581, 2620, 2683, 2575, 21926, 14526, 22022, 16932, 2487, 2140, 1025, 2797, 2275, 1026, 2203, 8400, 1028, 2203, 26521, 1025, 2797, 5164, 4646, 1025, 1013, 1013, 28681, 2080, 1030, 20950, 12260, 3672, 1006, 2171, 1027, 1000, 1035, 6971, 1000, 1007, 2040, 11503, 2039, 2007, 2023, 2171, 1029, 2009, 2074, 5320, 1037, 2878, 2088, 1997, 7642, 3989, 1998, 9530, 8873, 2290, 3314, 2797, 4949, 1026, 5164, 1010, 24471, 2072, 1028, 6971, 1027, 2047, 23325, 2863, 2361, 1026, 1028, 1006, 1007, 1025, 2270, 2275, 1026, 2203, 8400, 1028, 2131, 10497, 26521, 1006, 1007, 1063, 2709, 2023, 1012, 2203, 26521, 1025, 1065, 2270, 11675, 2275, 10497, 26521, 1006, 2345, 2275, 1026, 2203, 8400, 1028, 2203, 26521, 1007, 1063, 2023, 1012, 2203, 26521, 1027, 2203, 26521, 1025, 1065, 2270, 11675, 2275, 29098, 19341, 3508, 1006, 2345, 5164, 4646, 1007, 1063, 2023, 30523, 1006, 1039, 1007, 2355, 1011, 2418, 9980, 1010, 2417, 6045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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1006, 1039, 1007, 2355, 1011, 2418, 9980, 1010, 2417, 6045, 1010, 1998, 2500, 1012, 1008, 1008, 7000, 30526 ]
.pane-sliders > .panel { border: none !important; font-family:arial; } .pane-sliders >.panel > h3 { background:url(../images/header-bg.gif) repeat-x!important; height:37px; line-height:37px; padding:0; } .pane-sliders >.panel h3 span{ text-transform:uppercase; color:#c16306; } .pane-toggler-down { border-bottom:none!important; } .pane-toggler-down span { background: url("../images/arrow-down.gif") no-repeat scroll 8px 50% transparent!important; padding-left: 26px!important; } .pane-toggler span { background: url("../images/arrow-up.gif") no-repeat scroll 10px 50% transparent!important; padding-left: 26px!important; } .pane-sliders > .panel{ border:1px solid #cacaca!important; border-top:1px solid #da710a!important; border-radius:5px 5px 5px 5px; padding:0 1px; } fieldset.panelform{ padding:10px!important; } fieldset.panelform li > label, fieldset.panelform div.paramrow label, fieldset.panelform span.faux-label { max-width: 30% !important; min-width: 30% !important; } #module-sliders .spacer h3{ padding-top:3px; margin:0px; background:#fff!important; } #module-sliders .adminform{ padding:0; } #module-sliders fieldset > ul > li > label { color: #505050; font-size: 11px; line-height:18px; font-weight: bold; max-width: 30% !important; min-width: 30% !important; text-align: left; } #module-sliders fieldset > ul.adminformlist > li { border-bottom: 1px dotted #c4c4c4; min-height:35px; padding:0px; margin:5px; } #btss-dialog li{ list-style:none; } /* Fix chosen*/ #module-sliders .chzn-container ul.chzn-results{ min-width:95%; } #module-sliders .chzn-container-single .chzn-single div{ height:100%!important; } fieldset.adminform fieldset.radio, fieldset.panelform fieldset.radio, fieldset.adminform-legacy fieldset.radio { border: 0 none; float: left; margin: 0 0 5px; max-width: 68% !important; min-width: 68% !important; padding: 0; } #module-sliders input[type=text],#module-sliders textarea { background:-moz-linear-gradient(center bottom , white 85%, #EEEEEE 99%) repeat scroll 0 0 transparent; border: 1px solid #AAAAAA; font-family: sans-serif; font-size:11px; margin: 1px 0; outline: 0 none; padding: 6px 20px 6px 5px; border-radius: 4px 4px 4px 4px; } .bt-desc{ line-height:200%; } .bt-desc img{ margin-right:10px; } .bt-license{ border-top: 1px dotted #c4c4c4; padding:10px 0px; } .bt-desc p a{ display: inline-block; height: 28px; margin-right: 7px; text-indent: -999px; width: 28px; text-decoration:none; margin-top:10px; } .social-f { background: url("../images/icon_f.png") no-repeat scroll left top transparent; } .social-f:hover { background: url("../images/icon_f_hover.png") no-repeat scroll left top transparent; } .social-t { background: url("../images/icon_t.png") no-repeat scroll left top transparent; } .social-t:hover { background: url("../images/icon_t_hover.png") no-repeat scroll left top transparent; } .social-rss { background: url("../images/icon_rss.png") no-repeat scroll left top transparent; } .social-rss:hover { background: url("../images/icon_rss_hover.png") no-repeat scroll left top transparent; } .social-g { background: url("../images/icon_group.png") no-repeat scroll left top transparent; } .social-g:hover { background: url("../images/icon_group_hover.png") no-repeat scroll left top transparent; } .switcher-yes,.switcher-no { background: url("../images/switcher-yesno.png") no-repeat scroll 0 0 transparent; cursor: pointer; float: left; height: 20px; margin-top: 4px; width: 64px; } .switcher-no { background-position: 0 -20px; } .switcher-on,.switcher-off { background: url("../images/switcher-onoff.png") no-repeat scroll 0 0 transparent; cursor: pointer; float: left; height: 20px; margin-top: 4px; width: 64px; } .switcher-off { background-position: 0 -20px; } #btnGetImages, #btnDeleteAll{ background: url(../images/button.png) no-repeat; width: 110px; height: 35px; text-align: center; line-height: 33px; border: none; color: #ffffff; margin-top: 0px !important; } #layout-demo{ width: 88px; height: 18px; background: url(../images/demo.png) no-repeat; float: left; margin: 5px 10px; text-align: center; } #layout-demo a{ color: #ffffff; font-family: arial; font-size: 11px; line-height: 17px; } #jform_params_layout_chzn{ float:left; } div.colorpicker{ z-index:999; } div.colorpicker input[type="text"] { height: auto!important; width: auto!important; padding:0; margin:0; background:none; border:none; } #btss-dialog label{ width:120px; display:inline-block; }
asukademy/akblog
modules/mod_btslideshow_pro/admin/css/bt.css
CSS
gpl-2.0
4,756
[ 30522, 1012, 6090, 2063, 1011, 7358, 2869, 1028, 1012, 5997, 1063, 3675, 1024, 3904, 999, 2590, 1025, 15489, 1011, 2155, 1024, 9342, 2140, 1025, 1065, 1012, 6090, 2063, 1011, 7358, 2869, 1028, 1012, 5997, 1028, 1044, 2509, 1063, 4281, 1024, 24471, 2140, 1006, 1012, 1012, 1013, 4871, 1013, 20346, 1011, 1038, 2290, 1012, 21025, 2546, 1007, 9377, 1011, 1060, 999, 2590, 1025, 4578, 1024, 4261, 2361, 2595, 1025, 2240, 1011, 4578, 1024, 4261, 2361, 2595, 1025, 11687, 4667, 1024, 1014, 1025, 1065, 1012, 6090, 2063, 1011, 7358, 2869, 1028, 1012, 5997, 1044, 2509, 8487, 1063, 3793, 1011, 10938, 1024, 3356, 18382, 1025, 3609, 1024, 1001, 27723, 2575, 14142, 2575, 1025, 1065, 1012, 6090, 2063, 1011, 2000, 24679, 2099, 1011, 2091, 1063, 3675, 1011, 3953, 1024, 3904, 999, 2590, 1025, 1065, 1012, 6090, 2063, 1011, 2000, 24679, 2099, 1011, 2091, 8487, 1063, 4281, 1024, 24471, 2140, 1006, 1000, 1012, 1012, 1013, 4871, 1013, 8612, 1011, 2091, 1012, 21025, 2546, 1000, 1007, 2053, 1011, 9377, 17186, 1022, 2361, 2595, 2753, 1003, 13338, 999, 2590, 1025, 11687, 4667, 1011, 2187, 1024, 2656, 2361, 2595, 999, 2590, 1025, 1065, 1012, 6090, 2063, 1011, 2000, 24679, 2099, 8487, 1063, 4281, 1024, 24471, 2140, 1006, 1000, 1012, 1012, 1013, 4871, 1013, 8612, 1011, 2039, 1012, 21025, 2546, 1000, 1007, 2053, 1011, 9377, 17186, 2184, 2361, 2595, 2753, 1003, 13338, 999, 2590, 1025, 11687, 4667, 1011, 2187, 1024, 2656, 2361, 2595, 999, 2590, 1025, 1065, 1012, 6090, 2063, 1011, 7358, 2869, 1028, 1012, 5997, 1063, 3675, 1024, 30524, 2361, 2595, 1019, 2361, 2595, 1025, 11687, 4667, 1024, 1014, 1015, 2361, 2595, 1025, 1065, 4249, 3388, 1012, 5997, 14192, 1063, 11687, 4667, 1024, 2184, 2361, 2595, 999, 2590, 1025, 1065, 4249, 3388, 1012, 5997, 14192, 5622, 1028, 3830, 1010, 4249, 3388, 1012, 5997, 14192, 4487, 2615, 1012, 11498, 2213, 10524, 3830, 1010, 4249, 3388, 1012, 5997, 14192, 8487, 1012, 29276, 1011, 3830, 1063, 4098, 1011, 9381, 1024, 2382, 1003, 999, 2590, 1025, 8117, 1011, 9381, 1024, 2382, 1003, 999, 2590, 1025, 1065, 1001, 11336, 1011, 7358, 2869, 1012, 2686, 2099, 1044, 2509, 1063, 11687, 4667, 1011, 2327, 1024, 1017, 2361, 2595, 1025, 7785, 1024, 1014, 2361, 2595, 1025, 4281, 1024, 1001, 21461, 2546, 999, 2590, 1025, 1065, 1001, 11336, 1011, 7358, 2869, 1012, 4748, 10020, 14192, 1063, 11687, 4667, 1024, 1014, 1025, 1065, 1001, 11336, 1011, 7358, 2869, 4249, 3388, 1028, 17359, 1028, 5622, 1028, 3830, 1063, 3609, 1024, 1001, 28952, 2692, 12376, 1025, 15489, 1011, 2946, 1024, 2340, 2361, 2595, 1025, 2240, 1011, 4578, 1024, 2324, 2361, 2595, 1025, 15489, 1011, 3635, 1024, 7782, 1025, 4098, 1011, 9381, 1024, 2382, 1003, 999, 2590, 1025, 8117, 1011, 9381, 1024, 2382, 1003, 999, 2590, 1025, 3793, 1011, 25705, 1024, 2187, 1025, 1065, 1001, 11336, 1011, 7358, 2869, 4249, 3388, 1028, 17359, 30523, 1015, 2361, 2595, 5024, 1001, 6187, 3540, 3540, 999, 2590, 1025, 3675, 1011, 2327, 1024, 1015, 2361, 2595, 5024, 1001, 4830, 2581, 10790, 2050, 999, 2590, 1025, 3675, 1011, 12177, 1024, 1019, 2361, 2595, 1019, 2361, 2595, 1019, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1015, 2361, 2595, 5024, 1001, 6187, 3540, 3540, 999, 2590, 1025, 3675, 1011, 2327, 1024, 1015, 2361, 2595, 5024, 1001, 4830, 2581, 10790, 2050, 999, 2590, 1025, 3675, 1011, 12177, 1024, 1019, 2361, 2595, 1019, 2361, 2595, 1019, 30526 ]
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "testing/gtest/include/gtest/gtest.h" #include "tools/gn/scheduler.h" #include "tools/gn/test_with_scope.h" TEST(FunctionForwardVariablesFrom, List) { Scheduler scheduler; Err err; std::string program = "template(\"a\") {\n" " forward_variables_from(invoker, [\"x\", \"y\", \"z\"])\n" " assert(!defined(z))\n" // "z" should still be undefined. " print(\"$target_name, $x, $y\")\n" "}\n" "a(\"target\") {\n" " x = 1\n" " y = 2\n" "}\n"; { TestWithScope setup; // Defines a template and copy the two x and y, and z values out. TestParseInput input(program); ASSERT_FALSE(input.has_error()); input.parsed()->Execute(setup.scope(), &err); ASSERT_FALSE(err.has_error()) << err.message(); EXPECT_EQ("target, 1, 2\n", setup.print_output()); setup.print_output().clear(); } { TestWithScope setup; // Test that the same input but forwarding a variable with the name of // something in the given scope throws an error rather than clobbering it. // This uses the same known-good program as before, but adds another // variable in the scope before it. TestParseInput clobber("x = 1\n" + program); ASSERT_FALSE(clobber.has_error()); clobber.parsed()->Execute(setup.scope(), &err); ASSERT_TRUE(err.has_error()); // Should thow a clobber error. EXPECT_EQ("Clobbering existing value.", err.message()); } } TEST(FunctionForwardVariablesFrom, LiteralList) { Scheduler scheduler; TestWithScope setup; // Forwards all variables from a literal scope into another scope definition. TestParseInput input( "a = {\n" " forward_variables_from({x = 1 y = 2}, \"*\")\n" " z = 3\n" "}\n" "print(\"${a.x} ${a.y} ${a.z}\")\n"); ASSERT_FALSE(input.has_error()); Err err; input.parsed()->Execute(setup.scope(), &err); ASSERT_FALSE(err.has_error()) << err.message(); EXPECT_EQ("1 2 3\n", setup.print_output()); setup.print_output().clear(); } TEST(FunctionForwardVariablesFrom, ListWithExclusion) { Scheduler scheduler; TestWithScope setup; // Defines a template and copy the two x and y, and z values out. TestParseInput input( "template(\"a\") {\n" " forward_variables_from(invoker, [\"x\", \"y\", \"z\"], [\"z\"])\n" " assert(!defined(z))\n" // "z" should still be undefined. " print(\"$target_name, $x, $y\")\n" "}\n" "a(\"target\") {\n" " x = 1\n" " y = 2\n" " z = 3\n" " print(\"$z\")\n" "}\n"); ASSERT_FALSE(input.has_error()); Err err; input.parsed()->Execute(setup.scope(), &err); ASSERT_FALSE(err.has_error()) << err.message(); EXPECT_EQ("3\ntarget, 1, 2\n", setup.print_output()); setup.print_output().clear(); } TEST(FunctionForwardVariablesFrom, ErrorCases) { Scheduler scheduler; TestWithScope setup; // Type check the source scope. TestParseInput invalid_source( "template(\"a\") {\n" " forward_variables_from(42, [\"x\"])\n" " print(\"$target_name\")\n" // Prevent unused var error. "}\n" "a(\"target\") {\n" "}\n"); ASSERT_FALSE(invalid_source.has_error()); Err err; invalid_source.parsed()->Execute(setup.scope(), &err); EXPECT_TRUE(err.has_error()); EXPECT_EQ("This is not a scope.", err.message()); // Type check the list. We need to use a new template name each time since // all of these invocations are executing in sequence in the same scope. TestParseInput invalid_list( "template(\"b\") {\n" " forward_variables_from(invoker, 42)\n" " print(\"$target_name\")\n" "}\n" "b(\"target\") {\n" "}\n"); ASSERT_FALSE(invalid_list.has_error()); err = Err(); invalid_list.parsed()->Execute(setup.scope(), &err); EXPECT_TRUE(err.has_error()); EXPECT_EQ("Not a valid list of variables to copy.", err.message()); // Type check the exclusion list. TestParseInput invalid_exclusion_list( "template(\"c\") {\n" " forward_variables_from(invoker, \"*\", 42)\n" " print(\"$target_name\")\n" "}\n" "c(\"target\") {\n" "}\n"); ASSERT_FALSE(invalid_exclusion_list.has_error()); err = Err(); invalid_exclusion_list.parsed()->Execute(setup.scope(), &err); EXPECT_TRUE(err.has_error()); EXPECT_EQ("Not a valid list of variables to exclude.", err.message()); // Programmatic values should error. TestParseInput prog( "template(\"d\") {\n" " forward_variables_from(invoker, [\"root_out_dir\"])\n" " print(\"$target_name\")\n" "}\n" "d(\"target\") {\n" "}\n"); ASSERT_FALSE(prog.has_error()); err = Err(); prog.parsed()->Execute(setup.scope(), &err); EXPECT_TRUE(err.has_error()); EXPECT_EQ("This value can't be forwarded.", err.message()); // Not enough arguments. TestParseInput not_enough_arguments( "template(\"e\") {\n" " forward_variables_from(invoker)\n" " print(\"$target_name\")\n" "}\n" "e(\"target\") {\n" "}\n"); ASSERT_FALSE(not_enough_arguments.has_error()); err = Err(); not_enough_arguments.parsed()->Execute(setup.scope(), &err); EXPECT_TRUE(err.has_error()); EXPECT_EQ("Wrong number of arguments.", err.message()); // Too many arguments. TestParseInput too_many_arguments( "template(\"f\") {\n" " forward_variables_from(invoker, \"*\", [], [])\n" " print(\"$target_name\")\n" "}\n" "f(\"target\") {\n" "}\n"); ASSERT_FALSE(too_many_arguments.has_error()); err = Err(); too_many_arguments.parsed()->Execute(setup.scope(), &err); EXPECT_TRUE(err.has_error()); EXPECT_EQ("Wrong number of arguments.", err.message()); } TEST(FunctionForwardVariablesFrom, Star) { Scheduler scheduler; TestWithScope setup; // Defines a template and copy the two x and y values out. The "*" behavior // should clobber existing variables with the same name. TestParseInput input( "template(\"a\") {\n" " x = 1000000\n" // Should be clobbered. " forward_variables_from(invoker, \"*\")\n" " print(\"$target_name, $x, $y\")\n" "}\n" "a(\"target\") {\n" " x = 1\n" " y = 2\n" "}\n"); ASSERT_FALSE(input.has_error()); Err err; input.parsed()->Execute(setup.scope(), &err); ASSERT_FALSE(err.has_error()) << err.message(); EXPECT_EQ("target, 1, 2\n", setup.print_output()); setup.print_output().clear(); } TEST(FunctionForwardVariablesFrom, StarWithExclusion) { Scheduler scheduler; TestWithScope setup; // Defines a template and copy all values except z value. The "*" behavior // should clobber existing variables with the same name. TestParseInput input( "template(\"a\") {\n" " x = 1000000\n" // Should be clobbered. " forward_variables_from(invoker, \"*\", [\"z\"])\n" " print(\"$target_name, $x, $y\")\n" "}\n" "a(\"target\") {\n" " x = 1\n" " y = 2\n" " z = 3\n" " print(\"$z\")\n" "}\n"); ASSERT_FALSE(input.has_error()); Err err; input.parsed()->Execute(setup.scope(), &err); ASSERT_FALSE(err.has_error()) << err.message(); EXPECT_EQ("3\ntarget, 1, 2\n", setup.print_output()); setup.print_output().clear(); }
danakj/chromium
tools/gn/function_forward_variables_from_unittest.cc
C++
bsd-3-clause
7,327
[ 30522, 1013, 1013, 9385, 2325, 1996, 10381, 21716, 5007, 6048, 1012, 2035, 2916, 9235, 1012, 1013, 1013, 2224, 1997, 2023, 3120, 3642, 2003, 9950, 2011, 1037, 18667, 2094, 1011, 2806, 6105, 2008, 2064, 2022, 1013, 1013, 2179, 1999, 1996, 6105, 5371, 1012, 1001, 2421, 1000, 5604, 1013, 14181, 4355, 1013, 2421, 1013, 14181, 4355, 1013, 14181, 4355, 1012, 1044, 1000, 1001, 2421, 1000, 5906, 1013, 1043, 2078, 1013, 6134, 2099, 1012, 1044, 1000, 1001, 2421, 1000, 5906, 1013, 1043, 2078, 1013, 3231, 1035, 2007, 1035, 9531, 1012, 1044, 1000, 3231, 1006, 3853, 29278, 7652, 10755, 19210, 22747, 21716, 1010, 2862, 1007, 1063, 6134, 2099, 6134, 2099, 1025, 9413, 2099, 9413, 2099, 1025, 2358, 2094, 1024, 1024, 5164, 2565, 1027, 1000, 23561, 1006, 1032, 1000, 1037, 1032, 1000, 1007, 1063, 1032, 1050, 1000, 1000, 2830, 1035, 10857, 1035, 2013, 1006, 1999, 6767, 5484, 1010, 1031, 1032, 1000, 1060, 1032, 1000, 1010, 1032, 1000, 1061, 1032, 1000, 1010, 1032, 1000, 1062, 1032, 1000, 1033, 1007, 1032, 1050, 1000, 1000, 20865, 1006, 999, 4225, 1006, 1062, 1007, 1007, 1032, 1050, 1000, 1013, 1013, 1000, 1062, 1000, 2323, 2145, 2022, 6151, 28344, 1012, 1000, 6140, 1006, 1032, 1000, 1002, 4539, 1035, 2171, 1010, 1002, 1060, 1010, 1002, 1061, 1032, 1000, 1007, 1032, 1050, 1000, 1000, 1065, 1032, 1050, 1000, 1000, 1037, 1006, 1032, 1000, 4539, 1032, 1000, 1007, 1063, 1032, 1050, 1000, 1000, 1060, 1027, 1015, 1032, 1050, 1000, 1000, 1061, 1027, 1016, 1032, 1050, 1000, 1000, 1065, 1032, 1050, 1000, 1025, 1063, 3231, 24415, 26127, 16437, 1025, 1013, 1013, 11859, 1037, 23561, 1998, 6100, 1996, 2048, 1060, 1998, 1061, 1010, 1998, 1062, 5300, 2041, 1012, 3231, 19362, 20240, 16275, 4904, 7953, 1006, 2565, 1007, 1025, 20865, 1035, 6270, 1006, 7953, 1012, 2038, 1035, 7561, 1006, 1007, 1007, 1025, 7953, 1012, 11968, 6924, 1006, 1007, 1011, 1028, 15389, 1006, 16437, 1012, 9531, 1006, 1007, 1010, 1004, 9413, 2099, 1007, 1025, 20865, 1035, 6270, 1006, 9413, 2099, 1012, 2038, 1035, 7561, 1006, 1007, 1007, 1026, 1026, 9413, 2099, 1012, 4471, 1006, 1007, 1025, 5987, 1035, 1041, 4160, 1006, 1000, 4539, 1010, 1015, 1010, 1016, 1032, 1050, 1000, 1010, 16437, 1012, 6140, 1035, 6434, 1006, 1007, 1007, 1025, 16437, 1012, 6140, 1035, 6434, 1006, 1007, 1012, 3154, 1006, 1007, 1025, 1065, 1063, 3231, 30524, 3231, 2008, 1996, 2168, 7953, 2021, 2830, 2075, 1037, 8023, 2007, 1996, 2171, 1997, 1013, 1013, 2242, 1999, 1996, 2445, 9531, 11618, 2019, 7561, 2738, 2084, 18856, 16429, 5677, 2075, 2009, 1012, 1013, 1013, 2023, 3594, 1996, 2168, 2124, 1011, 2204, 2565, 2004, 2077, 1010, 2021, 9909, 2178, 1013, 1013, 8023, 1999, 1996, 9531, 2077, 2009, 1012, 3231, 19362, 20240, 16275, 4904, 18856, 16429, 5677, 1006, 1000, 1060, 1027, 1015, 1032, 1050, 1000, 1009, 2565, 1007, 1025, 20865, 1035, 6270, 1006, 18856, 16429, 5677, 1012, 2038, 1035, 7561, 1006, 1007, 1007, 1025, 18856, 16429, 5677, 1012, 11968, 6924, 1006, 1007, 1011, 1028, 15389, 1006, 16437, 1012, 9531, 1006, 1007, 1010, 1004, 9413, 2099, 1007, 1025, 20865, 30523, 24415, 26127, 16437, 1025, 1013, 1013, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 24415, 26127, 16437, 1025, 1013, 1013, 30526 ]
<p/>In its current form, Miller handles ASCII data by design. This means it also handles UTF-8, albeit mostly by accident. (I have no plans to support UTF-16 or ISO-8859-1 is.) Tabular output formats (pprint and xtab) are handled correctly. I&rsquo;m not aware of any UTF8-related bugs, but please file an issue at <a href="https://github.com/johnkerl/miller">https://github.com/johnkerl/miller</a> if you encounter one.
svacha/miller
doc/content-for-internationalization.html
HTML
bsd-2-clause
421
[ 30522, 1026, 1052, 1013, 1028, 1999, 2049, 2783, 2433, 1010, 4679, 16024, 2004, 6895, 2072, 2951, 2011, 2640, 1012, 2023, 2965, 2009, 2036, 16024, 21183, 2546, 1011, 1022, 1010, 12167, 3262, 2011, 4926, 1012, 1006, 1045, 2031, 2053, 3488, 2000, 2490, 21183, 2546, 1011, 2385, 2030, 11163, 1011, 6070, 28154, 1011, 1015, 2003, 1012, 1007, 21628, 7934, 6434, 11630, 1006, 4903, 6657, 2102, 1998, 1060, 2696, 2497, 1007, 2024, 8971, 11178, 1012, 1045, 1004, 12667, 28940, 2080, 1025, 1049, 2025, 5204, 1997, 2151, 21183, 2546, 2620, 1011, 3141, 12883, 1010, 2021, 3531, 5371, 2019, 3277, 2012, 1026, 1037, 17850, 12879, 1027, 1000, 16770, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 2198, 5484, 2140, 1013, 4679, 1000, 1028, 16770, 1024, 1013, 1013, 21025, 2705, 12083, 1012, 4012, 1013, 2198, 5484, 2140, 1013, 4679, 1026, 1013, 1037, 1028, 2065, 2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1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en"> <head> <title>Source code</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> </head> <body> <div class="sourceContainer"> <pre><span class="sourceLineNo">001</span>// RobotBuilder Version: 1.0<a name="line.1"></a> <span class="sourceLineNo">002</span>//<a name="line.2"></a> <span class="sourceLineNo">003</span>// This file was generated by RobotBuilder. It contains sections of<a name="line.3"></a> <span class="sourceLineNo">004</span>// code that are automatically generated and assigned by robotbuilder.<a name="line.4"></a> <span class="sourceLineNo">005</span>// These sections will be updated in the future when you export to<a name="line.5"></a> <span class="sourceLineNo">006</span>// Java from RobotBuilder. Do not put any code or make any change in<a name="line.6"></a> <span class="sourceLineNo">007</span>// the blocks indicating autogenerated code or it will be lost on an<a name="line.7"></a> <span class="sourceLineNo">008</span>// update. Deleting the comments indicating the section will prevent<a name="line.8"></a> <span class="sourceLineNo">009</span>// it from being updated in the future.<a name="line.9"></a> <span class="sourceLineNo">010</span>package org.usfirst.frc330.Beachbot2014Java.commands;<a name="line.10"></a> <span class="sourceLineNo">011</span>import edu.wpi.first.wpilibj.command.Command;<a name="line.11"></a> <span class="sourceLineNo">012</span>import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;<a name="line.12"></a> <span class="sourceLineNo">013</span>import org.usfirst.frc330.Beachbot2014Java.Robot;<a name="line.13"></a> <span class="sourceLineNo">014</span>/**<a name="line.14"></a> <span class="sourceLineNo">015</span> *<a name="line.15"></a> <span class="sourceLineNo">016</span> */<a name="line.16"></a> <span class="sourceLineNo">017</span>public class SendDefaultSmartDashboardData extends Command {<a name="line.17"></a> <span class="sourceLineNo">018</span> public SendDefaultSmartDashboardData() {<a name="line.18"></a> <span class="sourceLineNo">019</span> // Use requires() here to declare subsystem dependencies<a name="line.19"></a> <span class="sourceLineNo">020</span> // eg. requires(chassis);<a name="line.20"></a> <span class="sourceLineNo">021</span> <a name="line.21"></a> <span class="sourceLineNo">022</span> // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES<a name="line.22"></a> <span class="sourceLineNo">023</span> requires(Robot.smartDashboardSender);<a name="line.23"></a> <span class="sourceLineNo">024</span> // END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=REQUIRES<a name="line.24"></a> <span class="sourceLineNo">025</span> setRunWhenDisabled(true);<a name="line.25"></a> <span class="sourceLineNo">026</span> }<a name="line.26"></a> <span class="sourceLineNo">027</span> <a name="line.27"></a> <span class="sourceLineNo">028</span> int count = 0;<a name="line.28"></a> <span class="sourceLineNo">029</span> // Called just before this Command runs the first time<a name="line.29"></a> <span class="sourceLineNo">030</span> protected void initialize() {<a name="line.30"></a> <span class="sourceLineNo">031</span> SmartDashboard.putNumber("ChassisX", chassisX);<a name="line.31"></a> <span class="sourceLineNo">032</span> SmartDashboard.putNumber("ChassisY", chassisY);<a name="line.32"></a> <span class="sourceLineNo">033</span> SmartDashboard.putNumber("EncoderLeft", encoderLeft);<a name="line.33"></a> <span class="sourceLineNo">034</span> SmartDashboard.putNumber("EncoderRight", encoderRight);<a name="line.34"></a> <span class="sourceLineNo">035</span> <a name="line.35"></a> <span class="sourceLineNo">036</span> count = 0;<a name="line.36"></a> <span class="sourceLineNo">037</span> }<a name="line.37"></a> <span class="sourceLineNo">038</span> double pickupCurrent = 0;<a name="line.38"></a> <span class="sourceLineNo">039</span> double armPosition = 0;<a name="line.39"></a> <span class="sourceLineNo">040</span> double chassisX = 0;<a name="line.40"></a> <span class="sourceLineNo">041</span> double chassisY = 0;<a name="line.41"></a> <span class="sourceLineNo">042</span> double gyroAngle = 0;<a name="line.42"></a> <span class="sourceLineNo">043</span> double encoderLeft = 0;<a name="line.43"></a> <span class="sourceLineNo">044</span> double encoderRight = 0;<a name="line.44"></a> <span class="sourceLineNo">045</span> double shooterDistance = 0;<a name="line.45"></a> <span class="sourceLineNo">046</span> boolean ballInPickup = false;<a name="line.46"></a> <span class="sourceLineNo">047</span> // Called repeatedly when this Command is scheduled to run<a name="line.47"></a> <span class="sourceLineNo">048</span> protected void execute() {<a name="line.48"></a> <span class="sourceLineNo">049</span> if (count % 10 == 0)<a name="line.49"></a> <span class="sourceLineNo">050</span> {<a name="line.50"></a> <span class="sourceLineNo">051</span> if (pickupCurrent != Robot.pickup.getCurrent()) {<a name="line.51"></a> <span class="sourceLineNo">052</span> pickupCurrent = Robot.pickup.getCurrent();<a name="line.52"></a> <span class="sourceLineNo">053</span> SmartDashboard.putNumber("PickupCurrent", pickupCurrent);<a name="line.53"></a> <span class="sourceLineNo">054</span> }<a name="line.54"></a> <span class="sourceLineNo">055</span> if (armPosition != Robot.arm.getArmPosition()) {<a name="line.55"></a> <span class="sourceLineNo">056</span> armPosition = Robot.arm.getArmPosition();<a name="line.56"></a> <span class="sourceLineNo">057</span> SmartDashboard.putNumber("ArmPosition", armPosition);<a name="line.57"></a> <span class="sourceLineNo">058</span> }<a name="line.58"></a> <span class="sourceLineNo">059</span> if (chassisX != Robot.chassis.getX()) {<a name="line.59"></a> <span class="sourceLineNo">060</span> chassisX = Robot.chassis.getX();<a name="line.60"></a> <span class="sourceLineNo">061</span> SmartDashboard.putNumber("ChassisX", chassisX);<a name="line.61"></a> <span class="sourceLineNo">062</span> }<a name="line.62"></a> <span class="sourceLineNo">063</span> if (chassisY != Robot.chassis.getY()) {<a name="line.63"></a> <span class="sourceLineNo">064</span> chassisY = Robot.chassis.getY();<a name="line.64"></a> <span class="sourceLineNo">065</span> SmartDashboard.putNumber("ChassisY", chassisY);<a name="line.65"></a> <span class="sourceLineNo">066</span> }<a name="line.66"></a> <span class="sourceLineNo">067</span> if (gyroAngle != Robot.chassis.getAngle()) {<a name="line.67"></a> <span class="sourceLineNo">068</span> gyroAngle = Robot.chassis.getAngle();<a name="line.68"></a> <span class="sourceLineNo">069</span> SmartDashboard.putNumber("GyroAngle", gyroAngle);<a name="line.69"></a> <span class="sourceLineNo">070</span> }<a name="line.70"></a> <span class="sourceLineNo">071</span> if (encoderLeft != Robot.chassis.getLeftDistance()) {<a name="line.71"></a> <span class="sourceLineNo">072</span> encoderLeft = Robot.chassis.getLeftDistance();<a name="line.72"></a> <span class="sourceLineNo">073</span> SmartDashboard.putNumber("EncoderLeft", encoderLeft);<a name="line.73"></a> <span class="sourceLineNo">074</span> }<a name="line.74"></a> <span class="sourceLineNo">075</span> if (encoderRight != Robot.chassis.getRightDistance()) {<a name="line.75"></a> <span class="sourceLineNo">076</span> encoderRight = Robot.chassis.getRightDistance();<a name="line.76"></a> <span class="sourceLineNo">077</span> SmartDashboard.putNumber("EncoderRight", encoderRight);<a name="line.77"></a> <span class="sourceLineNo">078</span> }<a name="line.78"></a> <span class="sourceLineNo">079</span> if (shooterDistance != Robot.shooter.getBallDistance()) {<a name="line.79"></a> <span class="sourceLineNo">080</span> shooterDistance = Robot.shooter.getBallDistance();<a name="line.80"></a> <span class="sourceLineNo">081</span> SmartDashboard.putNumber("BallDistance", shooterDistance);<a name="line.81"></a> <span class="sourceLineNo">082</span> }<a name="line.82"></a> <span class="sourceLineNo">083</span> if (ballInPickup != Robot.pickup.isBallInPickup()) {<a name="line.83"></a> <span class="sourceLineNo">084</span> ballInPickup = Robot.pickup.isBallInPickup();<a name="line.84"></a> <span class="sourceLineNo">085</span> SmartDashboard.putBoolean("BallInPickup", ballInPickup);<a name="line.85"></a> <span class="sourceLineNo">086</span> }<a name="line.86"></a> <span class="sourceLineNo">087</span> }<a name="line.87"></a> <span class="sourceLineNo">088</span> count++;<a name="line.88"></a> <span class="sourceLineNo">089</span> }<a name="line.89"></a> <span class="sourceLineNo">090</span> // Make this return true when this Command no longer needs to run execute()<a name="line.90"></a> <span class="sourceLineNo">091</span> protected boolean isFinished() {<a name="line.91"></a> <span class="sourceLineNo">092</span> return false;<a name="line.92"></a> <span class="sourceLineNo">093</span> }<a name="line.93"></a> <span class="sourceLineNo">094</span> // Called once after isFinished returns true<a name="line.94"></a> <span class="sourceLineNo">095</span> protected void end() {<a name="line.95"></a> <span class="sourceLineNo">096</span> }<a name="line.96"></a> <span class="sourceLineNo">097</span> // Called when another command which requires one or more of the same<a name="line.97"></a> <span class="sourceLineNo">098</span> // subsystems is scheduled to run<a name="line.98"></a> <span class="sourceLineNo">099</span> protected void interrupted() {<a name="line.99"></a> <span class="sourceLineNo">100</span> }<a name="line.100"></a> <span class="sourceLineNo">101</span>}<a name="line.101"></a> </pre> </div> </body> </html>
Beachbot330/Beachbot2014Java
doc/src-html/org/usfirst/frc330/Beachbot2014Java/commands/SendDefaultSmartDashboardData.html
HTML
bsd-3-clause
10,507
[ 30522, 1026, 999, 9986, 13874, 16129, 2270, 1000, 1011, 1013, 1013, 1059, 2509, 2278, 1013, 1013, 26718, 2094, 16129, 1018, 1012, 5890, 17459, 1013, 1013, 4372, 1000, 1000, 8299, 1024, 1013, 1013, 7479, 1012, 1059, 2509, 1012, 8917, 1013, 19817, 1013, 16129, 2549, 1013, 6065, 1012, 26718, 2094, 1000, 1028, 1026, 16129, 11374, 1027, 1000, 4372, 1000, 1028, 1026, 2132, 1028, 1026, 2516, 1028, 3120, 3642, 1026, 1013, 2516, 1028, 1026, 4957, 2128, 2140, 1027, 1000, 6782, 21030, 2102, 1000, 2828, 1027, 1000, 3793, 1013, 20116, 2015, 1000, 17850, 12879, 1027, 1000, 1012, 1012, 1013, 1012, 1012, 1013, 1012, 1012, 1013, 1012, 1012, 1013, 1012, 1012, 1013, 1012, 1012, 1013, 6782, 21030, 2102, 1012, 20116, 2015, 1000, 2516, 1027, 1000, 2806, 1000, 1028, 1026, 1013, 2132, 1028, 1026, 2303, 1028, 1026, 4487, 2615, 2465, 1027, 1000, 3120, 8663, 18249, 2121, 1000, 1028, 1026, 3653, 1028, 1026, 8487, 2465, 1027, 1000, 3120, 4179, 3630, 1000, 1028, 25604, 1026, 1013, 8487, 1028, 1013, 1013, 8957, 8569, 23891, 2099, 2544, 1024, 1015, 1012, 1014, 1026, 1037, 2171, 1027, 1000, 2240, 1012, 1015, 1000, 1028, 1026, 1013, 1037, 1028, 1026, 30524, 1028, 1026, 8487, 2465, 1027, 1000, 3120, 4179, 3630, 1000, 1028, 4002, 2509, 1026, 1013, 8487, 1028, 1013, 1013, 2023, 5371, 2001, 7013, 2011, 8957, 8569, 23891, 2099, 1012, 2009, 3397, 5433, 1997, 1026, 1037, 2171, 1027, 1000, 2240, 1012, 1017, 1000, 1028, 1026, 1013, 1037, 1028, 1026, 8487, 2465, 1027, 1000, 3120, 4179, 3630, 1000, 1028, 4002, 2549, 1026, 1013, 8487, 1028, 1013, 1013, 3642, 2008, 2024, 8073, 7013, 1998, 4137, 2011, 8957, 8569, 23891, 2099, 1012, 1026, 1037, 2171, 1027, 1000, 2240, 1012, 1018, 1000, 1028, 1026, 1013, 1037, 1028, 1026, 8487, 2465, 1027, 1000, 3120, 4179, 3630, 1000, 1028, 4002, 2629, 1026, 1013, 8487, 1028, 1013, 1013, 2122, 5433, 2097, 2022, 7172, 1999, 1996, 2925, 2043, 2017, 9167, 2000, 1026, 1037, 2171, 1027, 1000, 2240, 1012, 1019, 1000, 1028, 1026, 1013, 1037, 1028, 1026, 8487, 2465, 1027, 1000, 3120, 4179, 3630, 1000, 1028, 4002, 2575, 1026, 1013, 8487, 1028, 1013, 1013, 9262, 2013, 8957, 8569, 23891, 2099, 1012, 2079, 2025, 2404, 2151, 3642, 2030, 2191, 2151, 2689, 1999, 1026, 1037, 2171, 1027, 1000, 2240, 1012, 1020, 1000, 1028, 1026, 1013, 1037, 1028, 1026, 8487, 2465, 1027, 1000, 3120, 4179, 3630, 1000, 1028, 4002, 2581, 1026, 1013, 8487, 1028, 1013, 1013, 1996, 5991, 8131, 8285, 6914, 16848, 3642, 2030, 2009, 2097, 2022, 2439, 2006, 2019, 1026, 1037, 2171, 1027, 1000, 2240, 1012, 1021, 1000, 1028, 1026, 1013, 1037, 1028, 1026, 8487, 2465, 1027, 1000, 3120, 4179, 3630, 1000, 1028, 4002, 2620, 1026, 1013, 8487, 1028, 1013, 1013, 10651, 1012, 3972, 20624, 3070, 1996, 7928, 8131, 1996, 2930, 2097, 4652, 1026, 1037, 2171, 1027, 1000, 2240, 1012, 1022, 1000, 1028, 1026, 1013, 1037, 1028, 1026, 8487, 2465, 1027, 1000, 3120, 4179, 3630, 30523, 8487, 2465, 1027, 1000, 3120, 4179, 3630, 1000, 1028, 4002, 2475, 1026, 1013, 8487, 1028, 1013, 1013, 1026, 1037, 2171, 1027, 1000, 2240, 1012, 1016, 1000, 1028, 1026, 1013, 1037, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 8487, 2465, 1027, 1000, 3120, 4179, 3630, 1000, 1028, 4002, 2475, 1026, 1013, 8487, 1028, 1013, 1013, 1026, 1037, 2171, 1027, 1000, 2240, 1012, 1016, 1000, 1028, 1026, 1013, 1037, 30526 ]
package models.factories; import models.squares.PropertySquare; import java.util.Set; /** * @author Ani Kristo */ interface PropertyFactory { Set<? extends PropertySquare> makeSquares(); }
CS319-G12/uMonopoly
src/models/factories/PropertyFactory.java
Java
mit
198
[ 30522, 7427, 4275, 1012, 11123, 1025, 12324, 4275, 1012, 14320, 1012, 3200, 2015, 16211, 2890, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 2275, 1025, 1013, 1008, 1008, 1008, 1030, 3166, 2019, 2072, 19031, 3406, 1008, 1013, 8278, 3200, 21450, 1063, 2275, 1026, 1029, 8908, 3200, 2015, 16211, 2890, 1028, 3084, 16211, 6072, 1006, 1007, 1025, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
# SDE-R-Package Assignment 1 for Software Deployment and Evolution R package Contains just a simple fibonacci function fib(len) fib() accepts 1 integer parameter to specify the length of the fibonacci sequence.
FeliciousX/SDE-R-Package
README.md
Markdown
mit
213
[ 30522, 1001, 17371, 2063, 1011, 1054, 1011, 7427, 8775, 1015, 2005, 4007, 10813, 1998, 6622, 1054, 7427, 3397, 2074, 1037, 3722, 10882, 11735, 6305, 6895, 3853, 30524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 10882, 2497, 1006, 18798, 1007, 10882, 2497, 1006, 1007, 13385, 1015, 16109, 16381, 2000, 20648, 1996, 3091, 1997, 1996, 10882, 11735, 6305, 6895, 5537, 1012, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
#ifndef _CUFTPD_H #define _CUFTPD_H #define CUFTPD_DEBUG(fmt, ...) cuftpd_debug(__FILE__, __LINE__, fmt, __VA_ARGS__) #define CUFTPD_ARR_LEN(arr) (sizeof(arr)/sizeof(arr[0])) #define CUFTPD_VER "1.0" #define CUFTPD_DEF_SRV_PORT 21 #define CUFTPD_LISTEN_QU_LEN 8 #define CUFTPD_LINE_END "\r\n" #define CUFTPD_OK 0 #define CUFTPD_ERR (-1) #define CUFTPD_CHECK_LOGIN() \ do { \ if (!cuftpd_cur_user) { \ cuftpd_send_resp(ctrlfd, 530, "first please"); \ return CUFTPD_ERR; \ } \ } while(0) struct cuftpd_cmd_struct { char *cmd_name; int (*cmd_handler)(int ctrlfd, char *cmd_line); }; struct cuftpd_user_struct { char user[128]; char pass[128]; }; #endif
easion/os_sdk
system/ftpd.h
C
apache-2.0
901
[ 30522, 1001, 2065, 13629, 2546, 1035, 12731, 6199, 17299, 1035, 1044, 1001, 9375, 1035, 12731, 6199, 17299, 1035, 1044, 1001, 9375, 12731, 6199, 17299, 1035, 2139, 8569, 2290, 1006, 4718, 2102, 1010, 1012, 1012, 1012, 1007, 12731, 6199, 17299, 1035, 2139, 8569, 2290, 1006, 1035, 1035, 5371, 1035, 1035, 1010, 1035, 1035, 2240, 1035, 1035, 1010, 4718, 2102, 1010, 1035, 1035, 12436, 1035, 12098, 5620, 1035, 1035, 1007, 1001, 9375, 12731, 6199, 17299, 1035, 12098, 2099, 1035, 18798, 1006, 12098, 2099, 1007, 1006, 2946, 11253, 1006, 12098, 2099, 1007, 1013, 2946, 11253, 1006, 12098, 2099, 1031, 1014, 1033, 1007, 1007, 1001, 9375, 12731, 6199, 17299, 1035, 2310, 2099, 1000, 1015, 1012, 1014, 1000, 1001, 9375, 12731, 6199, 17299, 1035, 13366, 1035, 5034, 2615, 1035, 3417, 2538, 1001, 9375, 12731, 6199, 17299, 1035, 4952, 1035, 24209, 1035, 18798, 1022, 1001, 9375, 12731, 6199, 17299, 1035, 2240, 1035, 2203, 1000, 1032, 1054, 1032, 1050, 1000, 1001, 9375, 12731, 6199, 17299, 1035, 7929, 1014, 1001, 9375, 12731, 6199, 17299, 1035, 9413, 2099, 1006, 1011, 1015, 1007, 1001, 9375, 12731, 6199, 17299, 1035, 4638, 1035, 8833, 2378, 1006, 1007, 1032, 2079, 1063, 1032, 2065, 1006, 999, 12731, 6199, 17299, 1035, 12731, 2099, 1035, 5310, 1007, 1063, 1032, 12731, 6199, 17299, 1035, 4604, 1035, 24501, 2361, 1006, 14931, 12190, 2546, 2094, 1010, 23523, 1010, 1000, 2034, 3531, 1000, 1007, 1025, 1032, 2709, 12731, 6199, 17299, 1035, 9413, 2099, 1025, 1032, 1065, 1032, 1065, 2096, 1006, 1014, 1007, 2358, 6820, 6593, 12731, 6199, 17299, 1035, 4642, 2094, 1035, 2358, 6820, 6593, 1063, 25869, 1008, 4642, 2094, 1035, 2171, 1025, 20014, 1006, 1008, 4642, 2094, 1035, 28213, 1007, 1006, 20014, 14931, 12190, 2546, 2094, 1010, 25869, 1008, 4642, 2094, 1035, 2240, 1007, 1025, 1065, 1025, 2358, 6820, 6593, 12731, 6199, 17299, 1035, 5310, 1035, 2358, 6820, 6593, 1063, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1025, 25869, 3413, 1031, 11899, 1033, 1025, 1065, 1025, 1001, 2203, 10128, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
/** * This file is part of the Tracy (https://tracy.nette.org) */ /* common styles */ #tracy-debug { display: none; direction: ltr; line-height: 1.5; } body#tracy-debug { /* in popup window */ margin: 0; display: block; } body #tracy-debug { position: absolute; bottom: 0; right: 0; } #tracy-debug * { font: inherit; line-height: inherit; color: inherit; background: transparent; margin: 0; padding: 0; border: none; text-align: inherit; list-style: inherit; opacity: 1; border-radius: 0; box-shadow: none; text-shadow: none; box-sizing: border-box; text-decoration: none; text-transform: inherit; white-space: inherit; float: none; clear: none; } #tracy-debug *:before, #tracy-debug *:after { all: unset; } #tracy-debug b, #tracy-debug strong { font-weight: bold; } #tracy-debug i, #tracy-debug em { font-style: italic; } #tracy-debug a { color: #125EAE; text-decoration: none; } #tracy-debug a:hover, #tracy-debug a:focus { background-color: #125EAE; color: white; } #tracy-debug h2, #tracy-debug h3, #tracy-debug p { margin: .4em 0; } #tracy-debug table { border-collapse: collapse; background: #FDF5CE; } #tracy-debug tr:nth-child(2n) td { background: #F7F0CB; } #tracy-debug td, #tracy-debug th { border: 1px solid #E6DFBF; padding: 2px 5px; vertical-align: top; text-align: left; } #tracy-debug th { background: #F4F3F1; color: #655E5E; font-size: 90%; font-weight: bold; } #tracy-debug pre, #tracy-debug code { font: 9pt/1.5 Consolas, monospace; } #tracy-debug pre { white-space: pre; } #tracy-debug table .tracy-right { text-align: right; } #tracy-debug svg { display: inline; } /* bar */ #tracy-debug-bar { font: normal normal 13px/1.55 Tahoma, sans-serif; color: #333; border: 1px solid #c9c9c9; background: #EDEAE0 url('data:image/png;base64,R0lGODlhAQAUALMAAOzq4e/t5e7s4/Dt5vDu5e3r4vDu5uvp4O/t5AAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAAAAAALAAAAAABABQAAAQM0EgySEAYi1LA+UcEADs=') top; background-size: 1em; position: fixed; right: 0; bottom: 0; min-width: 50px; white-space: nowrap; z-index: 30000; opacity: .9; transition: opacity 0.2s; will-change: opacity, right, bottom; border-radius: 3px; box-shadow: 1px 1px 10px rgba(0, 0, 0, .15); } #tracy-debug-bar:hover { opacity: 1; transition: opacity 0.1s; } #tracy-debug-bar ul { list-style: none none; display: flex; flex-wrap: wrap; } #tracy-debug-bar ul:not(:first-child) li { opacity: .6; background: #F5F3EE; } #tracy-debug-bar ul:not(:first-child) li:first-child { width: 4.1em; text-align: center; } #tracy-debug-bar img { vertical-align: bottom; position: relative; top: -2px; } #tracy-debug-bar svg { vertical-align: bottom; width: 1.23em; height: 1.55em; } #tracy-debug-bar .tracy-label { margin-left: .2em; } #tracy-debug-bar li > a, #tracy-debug-bar li > span { color: #000; display: block; padding: 0 .4em; } #tracy-debug-bar li > a:hover { color: black; background: #c3c1b8; } #tracy-debug-bar li:first-child { cursor: move; } #tracy-debug-logo svg { width: 3.4em; margin: 0 .2em 0 .5em; } /* panels */ #tracy-debug .tracy-panel { display: none; font: normal normal 12px/1.5 sans-serif; background: white; color: #333; text-align: left; z-index: 20001; } body#tracy-debug .tracy-panel { /* in popup window */ display: block; } #tracy-debug h1 { font: normal normal 23px/1.4 Tahoma, sans-serif; color: #575753; margin: -5px -5px 5px; padding: 0 25px 0 5px; max-width: 700px; word-wrap: break-word; } #tracy-debug .tracy-mode-peek .tracy-inner, #tracy-debug .tracy-mode-float .tracy-inner { max-width: 700px; max-height: 500px; overflow: auto; } @media (max-height: 555px) { #tracy-debug .tracy-mode-peek .tracy-inner, #tracy-debug .tracy-mode-float .tracy-inner { max-height: calc(100vh - 55px); } } #tracy-debug .tracy-panel .tracy-icons { display: none; } #tracy-debug .tracy-mode-peek, #tracy-debug .tracy-mode-float { position: fixed; right: 0; bottom: 0; padding: 10px; min-width: 150px; min-height: 50px; border-radius: 5px; box-shadow: 1px 1px 20px rgba(102, 102, 102, 0.36); border: 1px solid rgba(0, 0, 0, 0.1); } #tracy-debug .tracy-mode-peek h1 { cursor: move; } #tracy-debug .tracy-mode-float { display: block; opacity: .95; transition: opacity 0.2s; will-change: opacity, right, bottom; } #tracy-debug .tracy-focused { display: block; opacity: 1; transition: opacity 0.1s; } #tracy-debug .tracy-mode-float h1 { cursor: move; } #tracy-debug .tracy-mode-float .tracy-icons { display: block; position: absolute; top: 0; right: 5px; font-size: 18px; } #tracy-debug .tracy-mode-window { padding: 10px; } #tracy-debug .tracy-icons a { color: #575753; } #tracy-debug .tracy-icons a:hover { color: white; } /* dump */ #tracy-debug pre.tracy-dump div { padding-left: 3ex; } #tracy-debug pre.tracy-dump div div { border-left: 1px solid rgba(0, 0, 0, .1); margin-left: .5ex; } #tracy-debug pre.tracy-dump { background: #FDF5CE; padding: .4em .7em; border: 1px dotted silver; overflow: auto; } #tracy-debug table pre.tracy-dump { padding: 0; margin: 0; border: none; } #tracy-debug .tracy-dump-array, #tracy-debug .tracy-dump-object { color: #C22; } #tracy-debug .tracy-dump-string { color: #35D; } #tracy-debug .tracy-dump-number { color: #090; } #tracy-debug .tracy-dump-null, #tracy-debug .tracy-dump-bool { color: #850; } #tracy-debug .tracy-dump-visibility, #tracy-debug .tracy-dump-hash { font-size: 85%; color: #999; } #tracy-debug .tracy-dump-indent { display: none; } /* toggle */ #tracy-debug .tracy-toggle:after { content: "\A0\25BC"; opacity: .4; } #tracy-debug .tracy-toggle.tracy-collapsed:after { content: "\A0\25BA"; } @media print { #tracy-debug * { display: none; } }
janfejtek/mapping
vendor/tracy/tracy/src/Tracy/assets/Bar/bar.css
CSS
apache-2.0
5,782
[ 30522, 1013, 1008, 1008, 1008, 2023, 5371, 2003, 2112, 1997, 1996, 10555, 1006, 16770, 1024, 1013, 1013, 10555, 1012, 5658, 2618, 1012, 8917, 1007, 1008, 1013, 1013, 1008, 2691, 6782, 1008, 1013, 1001, 10555, 1011, 2139, 8569, 2290, 1063, 4653, 1024, 3904, 1025, 3257, 1024, 8318, 2099, 1025, 2240, 1011, 4578, 1024, 1015, 1012, 1019, 1025, 1065, 2303, 1001, 10555, 1011, 2139, 8569, 2290, 1063, 1013, 1008, 1999, 3769, 6279, 3332, 1008, 1013, 7785, 1024, 1014, 1025, 4653, 1024, 3796, 1025, 1065, 2303, 1001, 10555, 1011, 2139, 8569, 2290, 1063, 2597, 1024, 7619, 1025, 3953, 1024, 1014, 1025, 2157, 1024, 1014, 1025, 1065, 1001, 10555, 1011, 2139, 8569, 2290, 1008, 1063, 15489, 1024, 22490, 1025, 2240, 1011, 4578, 1024, 22490, 1025, 3609, 1024, 22490, 1025, 4281, 1024, 13338, 1025, 7785, 1024, 1014, 1025, 11687, 4667, 1024, 1014, 1025, 3675, 1024, 3904, 1025, 3793, 1011, 25705, 1024, 22490, 1025, 2862, 1011, 2806, 1024, 22490, 1025, 6728, 6305, 3012, 1024, 1015, 1025, 3675, 1011, 12177, 1024, 1014, 1025, 3482, 1011, 5192, 1024, 3904, 1025, 3793, 1011, 5192, 1024, 3904, 1025, 3482, 30524, 1024, 3904, 1025, 1065, 1001, 10555, 1011, 2139, 8569, 2290, 1008, 1024, 2077, 1010, 1001, 10555, 1011, 2139, 8569, 2290, 1008, 1024, 2044, 1063, 2035, 1024, 4895, 13462, 1025, 1065, 1001, 10555, 1011, 2139, 8569, 2290, 1038, 1010, 1001, 10555, 1011, 2139, 8569, 2290, 2844, 1063, 15489, 1011, 3635, 1024, 7782, 1025, 1065, 1001, 10555, 1011, 2139, 8569, 2290, 1045, 1010, 1001, 10555, 1011, 2139, 8569, 2290, 7861, 1063, 15489, 1011, 2806, 1024, 2009, 27072, 1025, 1065, 1001, 10555, 1011, 2139, 8569, 2290, 1037, 1063, 3609, 1024, 1001, 8732, 5243, 2063, 1025, 3793, 1011, 11446, 1024, 3904, 1025, 1065, 1001, 10555, 1011, 2139, 8569, 2290, 1037, 1024, 25215, 2099, 1010, 1001, 10555, 1011, 2139, 8569, 2290, 1037, 1024, 3579, 1063, 4281, 1011, 3609, 1024, 1001, 8732, 5243, 2063, 1025, 3609, 1024, 2317, 1025, 1065, 1001, 10555, 1011, 2139, 8569, 2290, 1044, 2475, 1010, 1001, 10555, 1011, 2139, 8569, 2290, 1044, 2509, 1010, 1001, 10555, 1011, 2139, 8569, 2290, 1052, 1063, 7785, 1024, 1012, 1018, 6633, 1014, 1025, 1065, 1001, 10555, 1011, 2139, 8569, 2290, 2795, 1063, 3675, 1011, 7859, 1024, 7859, 1025, 4281, 1024, 1001, 1042, 20952, 2629, 3401, 1025, 1065, 1001, 10555, 1011, 2139, 8569, 2290, 19817, 1024, 23961, 2232, 1011, 2775, 1006, 1016, 2078, 1007, 14595, 1063, 4281, 1024, 1001, 1042, 2581, 2546, 2692, 27421, 1025, 1065, 1001, 10555, 1011, 2139, 8569, 2290, 14595, 1010, 1001, 10555, 1011, 2139, 8569, 2290, 16215, 1063, 3675, 1024, 1015, 2361, 2595, 5024, 1001, 1041, 2575, 20952, 29292, 1025, 11687, 4667, 1024, 1016, 2361, 2595, 1019, 2361, 2595, 1025, 7471, 1011, 25705, 1024, 2327, 1025, 3793, 1011, 25705, 1024, 2187, 1025, 1065, 1001, 10555, 1011, 2139, 8569, 2290, 16215, 1063, 4281, 1024, 1001, 1042, 2549, 2546, 2509, 2546, 2487, 1025, 3609, 30523, 1011, 9033, 6774, 1024, 3675, 1011, 3482, 1025, 3793, 1011, 11446, 1024, 3904, 1025, 3793, 1011, 10938, 1024, 22490, 1025, 2317, 1011, 2686, 1024, 22490, 1025, 14257, 1024, 3904, 1025, 3154, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1011, 9033, 6774, 1024, 3675, 1011, 3482, 1025, 3793, 1011, 11446, 1024, 3904, 1025, 3793, 1011, 10938, 1024, 22490, 1025, 2317, 1011, 2686, 1024, 22490, 1025, 14257, 1024, 3904, 1025, 3154, 30526 ]
'use strict' module.exports = function (config) { if (!process.env.COOKING_PATH) { return } const rootPath = process.env.COOKING_PATH.split(',') config.resolve = config.resolve || {} config.resolveLoader = config.resolveLoader || {} config.resolve.modules = (config.resolve.root || []).concat(rootPath) config.resolveLoader.modules = (config.resolveLoader.root || []).concat(rootPath) }
ElemeFE/cooking
packages/cooking/util/load-resolve-path.js
JavaScript
mit
408
[ 30522, 1005, 2224, 9384, 1005, 11336, 1012, 14338, 1027, 3853, 1006, 9530, 8873, 2290, 1007, 1063, 2065, 1006, 999, 2832, 1012, 4372, 2615, 1012, 8434, 1035, 4130, 1007, 1063, 2709, 1065, 9530, 3367, 7117, 15069, 1027, 2832, 1012, 4372, 2615, 1012, 8434, 1035, 4130, 1012, 3975, 1006, 1005, 1010, 1005, 1007, 9530, 8873, 2290, 1012, 10663, 1027, 9530, 8873, 2290, 1012, 10663, 1064, 1064, 1063, 1065, 9530, 8873, 2290, 1012, 10663, 11066, 2121, 1027, 9530, 8873, 2290, 1012, 10663, 11066, 2121, 1064, 1064, 1063, 1065, 9530, 8873, 2290, 1012, 10663, 1012, 14184, 1027, 1006, 9530, 8873, 2290, 1012, 10663, 1012, 7117, 1064, 1064, 1031, 1033, 1007, 1012, 9530, 11266, 1006, 7117, 15069, 1007, 9530, 8873, 2290, 1012, 10663, 11066, 2121, 1012, 14184, 1027, 1006, 9530, 8873, 2290, 1012, 10663, 11066, 2121, 1012, 7117, 1064, 1064, 1031, 1033, 1007, 1012, 9530, 11266, 1006, 7117, 15069, 1007, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
### MacDeploy ### For Snow Leopard (which uses [Python 2.6](http://www.python.org/download/releases/2.6/)), you will need the param_parser package: sudo easy_install argparse This script should not be run manually, instead, after building as usual: make deploy During the process, the disk image window will pop up briefly where the fancy settings are applied. This is normal, please do not interfere. When finished, it will produce `Pfennig-Qt.dmg`.
gamecredits-project/gmc-dev
contrib/macdeploy/README.md
Markdown
mit
461
[ 30522, 1001, 1001, 1001, 6097, 3207, 24759, 6977, 1001, 1001, 1001, 2005, 4586, 16240, 1006, 2029, 3594, 1031, 18750, 1016, 1012, 1020, 1033, 1006, 8299, 1024, 1013, 1013, 7479, 1012, 18750, 1012, 8917, 1013, 8816, 1013, 7085, 1013, 1016, 1012, 1020, 1013, 1007, 1007, 1010, 2017, 2097, 2342, 1996, 11498, 2213, 1035, 11968, 8043, 7427, 1024, 19219, 2080, 3733, 1035, 16500, 12098, 21600, 11650, 2063, 2023, 5896, 30524, 2076, 1996, 2832, 1010, 1996, 9785, 3746, 3332, 2097, 3769, 2039, 4780, 2073, 1996, 11281, 10906, 2024, 4162, 1012, 2023, 2003, 3671, 1010, 3531, 2079, 2025, 15115, 1012, 2043, 2736, 1010, 2009, 2097, 3965, 1036,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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2323, 2025, 2022, 2448, 21118, 1010, 2612, 1010, 2044, 2311, 2004, 5156, 1024, 2191, 21296, 30526 ]
""" [2015-12-28] Challenge #247 [Easy] Secret Santa https://www.reddit.com/r/dailyprogrammer/comments/3yiy2d/20151228_challenge_247_easy_secret_santa/ # Description Every December my friends do a "Secret Santa" - the traditional gift exchange where everybody is randomly assigned to give a gift to a friend. To make things exciting, the matching is all random (you cannot pick your gift recipient) and nobody knows who got assigned to who until the day when the gifts are exchanged - hence, the "secret" in the name. Since we're a big group with many couples and families, often a husband gets his wife as secret santa (or vice-versa), or a father is assigned to one of his children. This creates a series of issues: * If you have a younger kid and he/she is assigned to you, you might end up paying for your own gift and ruining the surprise. * When your significant other asks "who did you get for Secret Santa", you have to lie, hide gifts, etc. * The inevitable "this game is rigged!" commentary on the day of revelation. To fix this, you must design a program that randomly assigns the Secret Santa gift exchange, but *prevents people from the same family to be assigned to each other*. # Input A list of all Secret Santa participants. People who belong to the same family are listed in the same line separated by spaces. Thus, "Jeff Jerry" represents two people, Jeff and Jerry, who are family and should not be assigned to eachother. Joe Jeff Jerry Johnson # Output The list of Secret Santa assignments. As Secret Santa is a random assignment, output may vary. Joe -> Jeff Johnson -> Jerry Jerry -> Joe Jeff -> Johnson But **not** `Jeff -> Jerry` or `Jerry -> Jeff`! # Challenge Input Sean Winnie Brian Amy Samir Joe Bethany Bruno Anna Matthew Lucas Gabriel Martha Philip Andre Danielle Leo Cinthia Paula Mary Jane Anderson Priscilla Regis Julianna Arthur Mark Marina Alex Andrea # Bonus The assignment list must avoid "closed loops" where smaller subgroups get assigned to each other, breaking the overall loop. Joe -> Jeff Jeff -> Joe # Closed loop of 2 Jerry -> Johnson Johnson -> Jerry # Closed loop of 2 # Challenge Credit Thanks to /u/oprimo for his idea in /r/dailyprogrammer_ideas """ def main(): pass if __name__ == "__main__": main()
DayGitH/Python-Challenges
DailyProgrammer/DP20151228A.py
Python
mit
2,377
[ 30522, 1000, 1000, 1000, 1031, 2325, 1011, 2260, 1011, 2654, 1033, 4119, 1001, 23380, 1031, 3733, 1033, 3595, 4203, 16770, 1024, 1013, 1013, 7479, 1012, 2417, 23194, 1012, 4012, 1013, 1054, 1013, 3679, 21572, 13113, 5017, 1013, 7928, 1013, 1017, 10139, 2100, 2475, 2094, 1013, 2325, 12521, 22407, 1035, 4119, 1035, 23380, 1035, 3733, 1035, 3595, 1035, 4203, 1013, 1001, 6412, 2296, 2285, 2026, 2814, 2079, 1037, 1000, 3595, 4203, 1000, 1011, 1996, 3151, 5592, 3863, 2073, 7955, 2003, 30524, 2040, 2127, 1996, 2154, 2043, 1996, 9604, 2024, 10573, 1011, 6516, 1010, 1996, 1000, 3595, 1000, 1999, 1996, 2171, 1012, 2144, 2057, 1005, 2128, 1037, 2502, 2177, 2007, 2116, 6062, 1998, 2945, 1010, 2411, 1037, 3129, 4152, 2010, 2564, 2004, 3595, 4203, 1006, 2030, 3580, 1011, 18601, 1007, 1010, 2030, 1037, 2269, 2003, 4137, 2000, 2028, 1997, 2010, 2336, 1012, 2023, 9005, 1037, 2186, 1997, 3314, 1024, 1008, 2065, 2017, 2031, 1037, 3920, 4845, 1998, 2002, 1013, 2016, 2003, 4137, 2000, 2017, 1010, 2017, 2453, 2203, 2039, 7079, 2005, 2115, 2219, 5592, 1998, 27853, 1996, 4474, 1012, 1008, 2043, 2115, 3278, 2060, 5176, 1000, 2040, 2106, 2017, 2131, 2005, 3595, 4203, 1000, 1010, 2017, 2031, 2000, 4682, 1010, 5342, 9604, 1010, 4385, 1012, 1008, 1996, 13418, 1000, 2023, 2208, 2003, 25216, 999, 1000, 8570, 2006, 1996, 2154, 1997, 11449, 1012, 2000, 8081, 2023, 1010, 2017, 2442, 2640, 1037, 2565, 2008, 18154, 24022, 1996, 3595, 4203, 5592, 3863, 1010, 2021, 1008, 16263, 2111, 2013, 1996, 2168, 2155, 2000, 2022, 4137, 2000, 2169, 2060, 1008, 1012, 1001, 7953, 1037, 2862, 1997, 2035, 3595, 4203, 6818, 1012, 2111, 2040, 7141, 2000, 1996, 2168, 2155, 2024, 3205, 1999, 1996, 2168, 2240, 5459, 2011, 7258, 1012, 2947, 1010, 1000, 5076, 6128, 1000, 5836, 2048, 2111, 1010, 5076, 1998, 6128, 1010, 2040, 2024, 2155, 1998, 2323, 2025, 2022, 4137, 2000, 2169, 14573, 2121, 1012, 3533, 5076, 6128, 3779, 1001, 6434, 1996, 2862, 1997, 3595, 4203, 14799, 1012, 2004, 3595, 4203, 2003, 1037, 6721, 8775, 1010, 6434, 2089, 8137, 1012, 3533, 1011, 1028, 5076, 3779, 1011, 1028, 6128, 6128, 1011, 1028, 3533, 5076, 1011, 1028, 3779, 2021, 1008, 1008, 2025, 1008, 1008, 1036, 5076, 1011, 1028, 6128, 1036, 2030, 1036, 6128, 1011, 1028, 5076, 1036, 999, 1001, 4119, 7953, 5977, 27125, 4422, 6864, 17015, 2099, 3533, 16559, 10391, 4698, 5487, 6326, 6127, 9246, 5170, 7213, 18490, 6688, 25022, 3372, 12995, 13723, 2984, 4869, 5143, 25193, 20588, 6426, 2532, 4300, 2928, 9985, 4074, 8657, 1001, 6781, 1996, 8775, 2862, 2442, 4468, 1000, 2701, 15932, 1000, 2073, 3760, 20576, 2015, 2131, 4137, 2000, 2169, 2060, 1010, 4911, 1996, 3452, 7077, 1012, 3533, 1011, 1028, 5076, 5076, 1011, 1028, 3533, 1001, 2701, 7077, 1997, 1016, 6128, 1011, 1028, 3779, 3779, 1011, 1028, 6128, 1001, 2701, 7077, 1997, 1016, 1001, 4119, 4923, 4283, 2000, 1013, 1057, 30523, 18154, 4137, 2000, 2507, 1037, 5592, 2000, 1037, 2767, 1012, 2000, 2191, 2477, 10990, 1010, 1996, 9844, 2003, 2035, 6721, 1006, 2017, 3685, 4060, 2115, 5592, 7799, 1007, 1998, 6343, 4282, 2040, 2288, 4137, 2000, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 18154, 4137, 2000, 2507, 1037, 5592, 2000, 1037, 2767, 1012, 2000, 2191, 2477, 10990, 1010, 1996, 9844, 2003, 2035, 6721, 1006, 2017, 3685, 4060, 2115, 5592, 7799, 1007, 1998, 6343, 4282, 2040, 2288, 4137, 2000, 30526 ]
""" Django settings for school project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) import os BASE_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__))) TEMPLATE_DIRS = ( os.path.join(BASE_DIR, '../templates'), ) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'koeorn$p_9&6!%1!84=erv*)#40-f$&z+_hq1^a1+2#93_ev%y' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True TEMPLATE_DEBUG = True ALLOWED_HOSTS = [] # Application definition INSTALLED_APPS = ( # 'django.contrib.admin', # 'django.contrib.auth', # 'django.contrib.contenttypes', # 'django.contrib.sessions', # 'django.contrib.messages', # 'django.contrib.staticfiles', ) MIDDLEWARE_CLASSES = ( 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', ) ROOT_URLCONF = 'school.urls' WSGI_APPLICATION = 'school.wsgi.application' # Database # https://docs.djangoproject.com/en/1.7/ref/settings/#databases # DATABASES = { # 'default': { # 'ENGINE': 'django.db.backends.sqlite3', # 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), # } # } # Internationalization # https://docs.djangoproject.com/en/1.7/topics/i18n/ LANGUAGE_CODE = 'en-us' TIME_ZONE = 'asia/chongqing' USE_I18N = True USE_L10N = True USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.7/howto/static-files/ STATIC_URL = '/static/'
raymondyan/django_school
school/settings.py
Python
mit
2,155
[ 30522, 1000, 1000, 1000, 6520, 23422, 10906, 2005, 2082, 2622, 1012, 2005, 2062, 2592, 2006, 2023, 5371, 1010, 2156, 16770, 1024, 1013, 1013, 9986, 2015, 1012, 6520, 23422, 21572, 20614, 1012, 4012, 1013, 4372, 1013, 1015, 1012, 1021, 1013, 7832, 1013, 10906, 1013, 2005, 1996, 2440, 2862, 1997, 10906, 1998, 2037, 5300, 1010, 2156, 16770, 1024, 1013, 1013, 9986, 2015, 1012, 6520, 23422, 21572, 20614, 1012, 4012, 1013, 4372, 1013, 1015, 30524, 1007, 12324, 9808, 2918, 1035, 16101, 1027, 9808, 1012, 4130, 1012, 3693, 1006, 9808, 1012, 4130, 1012, 14689, 15069, 1006, 9808, 1012, 4130, 1012, 16101, 18442, 1006, 1035, 1035, 5371, 1035, 1035, 1007, 1007, 1007, 23561, 1035, 16101, 2015, 1027, 1006, 9808, 1012, 4130, 1012, 3693, 1006, 2918, 1035, 16101, 1010, 1005, 1012, 1012, 1013, 23561, 2015, 1005, 1007, 1010, 1007, 1001, 4248, 1011, 2707, 2458, 10906, 1011, 25622, 2005, 2537, 1001, 2156, 16770, 1024, 1013, 1013, 9986, 2015, 1012, 6520, 23422, 21572, 20614, 1012, 4012, 1013, 4372, 1013, 1015, 1012, 1021, 1013, 2129, 3406, 1013, 10813, 1013, 4638, 9863, 1013, 1001, 3036, 5432, 1024, 2562, 1996, 3595, 3145, 2109, 1999, 2537, 3595, 999, 3595, 1035, 3145, 1027, 1005, 12849, 8780, 6826, 1002, 1052, 1035, 1023, 1004, 1020, 999, 1003, 1015, 999, 6391, 1027, 9413, 2615, 1008, 1007, 1001, 2871, 1011, 1042, 1002, 1004, 1062, 1009, 1035, 16260, 2487, 1034, 17350, 1009, 1016, 1001, 6109, 1035, 23408, 1003, 1061, 1005, 1001, 3036, 5432, 1024, 2123, 1005, 1056, 2448, 2007, 2139, 8569, 2290, 2357, 2006, 1999, 2537, 999, 2139, 8569, 2290, 1027, 2995, 23561, 1035, 2139, 8569, 2290, 1027, 2995, 3039, 1035, 6184, 1027, 1031, 1033, 1001, 4646, 6210, 5361, 1035, 18726, 1027, 1006, 1001, 1005, 6520, 23422, 1012, 9530, 18886, 2497, 1012, 4748, 10020, 1005, 1010, 1001, 1005, 6520, 23422, 1012, 9530, 18886, 2497, 1012, 8740, 2705, 1005, 1010, 1001, 1005, 6520, 23422, 1012, 9530, 18886, 2497, 1012, 4180, 13874, 2015, 1005, 1010, 1001, 1005, 6520, 23422, 1012, 9530, 18886, 2497, 1012, 6521, 1005, 1010, 1001, 1005, 6520, 23422, 1012, 9530, 18886, 2497, 1012, 7696, 1005, 1010, 1001, 1005, 6520, 23422, 1012, 9530, 18886, 2497, 1012, 10763, 8873, 4244, 1005, 1010, 1007, 2690, 8059, 1035, 4280, 1027, 1006, 1005, 6520, 23422, 1012, 9530, 18886, 2497, 1012, 6521, 1012, 2690, 8059, 1012, 5219, 4328, 20338, 8059, 1005, 1010, 1005, 6520, 23422, 1012, 2690, 8059, 1012, 2691, 1012, 2691, 4328, 20338, 8059, 1005, 1010, 1005, 6520, 23422, 1012, 2690, 8059, 1012, 20116, 12881, 1012, 20116, 12881, 8584, 4328, 20338, 8059, 1005, 1010, 1005, 6520, 23422, 1012, 9530, 18886, 2497, 1012, 8740, 2705, 1012, 2690, 8059, 1012, 27280, 4328, 20338, 8059, 1005, 1010, 1005, 6520, 23422, 1012, 9530, 18886, 2497, 1012, 8740, 2705, 1012, 2690, 8059, 1012, 5219, 4887, 10760, 16778, 10719, 4328, 20338, 8059, 1005, 1010, 1005, 6520, 23422, 1012, 9530, 18886, 2497, 1012, 7696, 1012, 2690, 8059, 30523, 1012, 1021, 1013, 25416, 1013, 10906, 1013, 1000, 1000, 1000, 1001, 3857, 10425, 2503, 1996, 2622, 2066, 2023, 1024, 9808, 1012, 4130, 1012, 3693, 1006, 2918, 1035, 16101, 1010, 1012, 1012, 1012, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1012, 1021, 1013, 25416, 1013, 10906, 1013, 1000, 1000, 1000, 1001, 3857, 10425, 2503, 1996, 2622, 2066, 2023, 1024, 9808, 1012, 4130, 1012, 3693, 1006, 2918, 1035, 16101, 1010, 1012, 1012, 1012, 30526 ]
cmd_sound/soc/s6000/built-in.o := rm -f sound/soc/s6000/built-in.o; ../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-ar rcs sound/soc/s6000/built-in.o
venkatkamesh/2.6.35-kernel-for-lg-optimus-me-
sound/soc/s6000/.built-in.o.cmd
Batchfile
gpl-2.0
163
[ 30522, 4642, 2094, 1035, 2614, 1013, 27084, 1013, 1055, 16086, 8889, 1013, 2328, 1011, 1999, 1012, 1051, 1024, 1027, 28549, 1011, 1042, 2614, 1013, 27084, 1013, 1055, 16086, 8889, 1013, 2328, 1011, 1999, 1012, 1051, 1025, 1012, 1012, 1013, 3653, 8569, 4014, 2102, 1013, 11603, 1011, 1060, 20842, 1013, 6994, 24925, 2078, 1013, 2849, 1011, 19413, 5638, 1011, 1018, 1012, 1018, 1012, 1014, 1013, 8026, 1013, 2849, 1011, 19413, 5638, 1011, 12098, 22110, 2015, 2614, 1013, 27084, 1013, 1055, 16086, 8889, 1013, 2328, 1011, 1999, 1012, 1051, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30524, 0, 0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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 30526 ]
function normalizePort(val) { var port = parseInt(val, 10); if (isNaN(port)) { // named pipe return val; } if (port >= 0) { // port number return port; } return false; } var port = normalizePort(process.env.PORT || '3000'); module.exports = { port: port, db: 'mongodb://'+process.env.IP+'/nexus' };
Mohamed-Abo-El-Soud/NexusJS
config/env/development.js
JavaScript
mit
341
[ 30522, 3853, 3671, 4697, 6442, 1006, 11748, 1007, 1063, 13075, 3417, 1027, 11968, 20240, 3372, 1006, 11748, 1010, 2184, 1007, 1025, 2065, 1006, 3475, 2319, 1006, 3417, 1007, 1007, 1063, 1013, 1013, 2315, 8667, 2709, 11748, 1025, 1065, 2065, 1006, 3417, 1028, 1027, 1014, 1007, 1063, 1013, 1013, 3417, 2193, 2709, 3417, 1025, 1065, 2709, 6270, 1025, 1065, 13075, 3417, 1027, 3671, 4697, 6442, 1006, 2832, 1012, 4372, 2615, 1012, 3417, 1064, 1064, 1005, 11910, 1005, 1007, 1025, 11336, 1012, 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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
import { template, traverse, types as t } from "@babel/core"; import { environmentVisitor } from "@babel/helper-replace-supers"; const findBareSupers = traverse.visitors.merge([ { Super(path) { const { node, parentPath } = path; if (parentPath.isCallExpression({ callee: node })) { this.push(parentPath); } }, }, environmentVisitor, ]); const referenceVisitor = { "TSTypeAnnotation|TypeAnnotation"(path) { path.skip(); }, ReferencedIdentifier(path) { if (this.scope.hasOwnBinding(path.node.name)) { this.scope.rename(path.node.name); path.skip(); } }, }; function handleClassTDZ(path, state) { if ( state.classBinding && state.classBinding === path.scope.getBinding(path.node.name) ) { const classNameTDZError = state.file.addHelper("classNameTDZError"); const throwNode = t.callExpression(classNameTDZError, [ t.stringLiteral(path.node.name), ]); path.replaceWith(t.sequenceExpression([throwNode, path.node])); path.skip(); } } const classFieldDefinitionEvaluationTDZVisitor = { ReferencedIdentifier: handleClassTDZ, }; export function injectInitialization(path, constructor, nodes, renamer) { if (!nodes.length) return; const isDerived = !!path.node.superClass; if (!constructor) { const newConstructor = t.classMethod( "constructor", t.identifier("constructor"), [], t.blockStatement([]), ); if (isDerived) { newConstructor.params = [t.restElement(t.identifier("args"))]; newConstructor.body.body.push(template.statement.ast`super(...args)`); } [constructor] = path.get("body").unshiftContainer("body", newConstructor); } if (renamer) { renamer(referenceVisitor, { scope: constructor.scope }); } if (isDerived) { const bareSupers = []; constructor.traverse(findBareSupers, bareSupers); let isFirst = true; for (const bareSuper of bareSupers) { if (isFirst) { bareSuper.insertAfter(nodes); isFirst = false; } else { bareSuper.insertAfter(nodes.map(n => t.cloneNode(n))); } } } else { constructor.get("body").unshiftContainer("body", nodes); } } export function extractComputedKeys(ref, path, computedPaths, file) { const declarations = []; const state = { classBinding: path.node.id && path.scope.getBinding(path.node.id.name), file, }; for (const computedPath of computedPaths) { const computedKey = computedPath.get("key"); if (computedKey.isReferencedIdentifier()) { handleClassTDZ(computedKey, state); } else { computedKey.traverse(classFieldDefinitionEvaluationTDZVisitor, state); } const computedNode = computedPath.node; // Make sure computed property names are only evaluated once (upon class definition) // and in the right order in combination with static properties if (!computedKey.isConstantExpression()) { const ident = path.scope.generateUidIdentifierBasedOnNode( computedNode.key, ); // Declaring in the same block scope // Ref: https://github.com/babel/babel/pull/10029/files#diff-fbbdd83e7a9c998721c1484529c2ce92 path.scope.push({ id: ident, kind: "let", }); declarations.push( t.expressionStatement( t.assignmentExpression("=", t.cloneNode(ident), computedNode.key), ), ); computedNode.key = t.cloneNode(ident); } } return declarations; }
jridgewell/babel
packages/babel-helper-create-class-features-plugin/src/misc.js
JavaScript
mit
3,505
[ 30522, 12324, 1063, 23561, 1010, 20811, 1010, 4127, 2004, 1056, 1065, 2013, 1000, 1030, 11561, 2140, 1013, 4563, 1000, 1025, 12324, 1063, 4044, 11365, 15660, 1065, 2013, 1000, 1030, 11561, 2140, 1013, 2393, 2121, 1011, 5672, 1011, 3565, 2015, 1000, 1025, 9530, 3367, 2424, 8237, 2229, 6279, 2545, 1027, 20811, 1012, 5731, 1012, 13590, 1006, 1031, 1063, 3565, 1006, 4130, 1007, 1063, 9530, 3367, 1063, 13045, 1010, 6687, 15069, 1065, 1027, 4130, 1025, 2065, 1006, 6687, 15069, 1012, 2003, 9289, 2571, 2595, 20110, 3258, 1006, 1063, 2655, 4402, 1024, 13045, 1065, 1007, 1007, 1063, 2023, 1012, 5245, 1006, 6687, 15069, 1007, 1025, 1065, 1065, 1010, 1065, 1010, 4044, 11365, 15660, 1010, 1033, 1007, 1025, 9530, 3367, 4431, 11365, 15660, 1027, 1063, 1000, 24529, 13874, 11639, 17287, 3508, 1064, 2828, 11639, 17287, 3508, 1000, 1006, 4130, 1007, 1063, 4130, 1012, 13558, 1006, 1007, 1025, 1065, 1010, 14964, 5178, 16778, 8873, 2121, 1006, 4130, 1007, 1063, 2065, 1006, 2023, 1012, 9531, 1012, 2038, 12384, 8428, 4667, 1006, 4130, 1012, 13045, 1012, 2171, 1007, 1007, 1063, 2023, 1012, 9531, 1012, 14916, 14074, 1006, 4130, 1012, 13045, 1012, 2171, 1007, 1025, 4130, 1012, 13558, 1006, 1007, 1025, 1065, 1065, 1010, 1065, 1025, 3853, 5047, 30524, 9530, 3367, 2465, 18442, 2102, 2094, 6290, 29165, 1027, 2110, 1012, 5371, 1012, 5587, 16001, 4842, 1006, 1000, 2465, 18442, 2102, 2094, 6290, 29165, 1000, 1007, 1025, 9530, 3367, 6908, 10244, 1027, 1056, 1012, 2655, 10288, 20110, 3258, 1006, 2465, 18442, 2102, 2094, 6290, 29165, 1010, 1031, 1056, 1012, 5164, 22779, 7941, 1006, 4130, 1012, 13045, 1012, 2171, 1007, 1010, 1033, 1007, 1025, 4130, 1012, 5672, 24415, 1006, 1056, 1012, 5537, 10288, 20110, 3258, 1006, 1031, 6908, 10244, 1010, 4130, 1012, 13045, 1033, 1007, 1007, 1025, 4130, 1012, 13558, 1006, 1007, 1025, 1065, 1065, 9530, 3367, 2465, 3790, 3207, 16294, 22753, 13331, 7630, 3370, 2102, 2094, 2480, 11365, 15660, 1027, 1063, 14964, 5178, 16778, 8873, 2121, 1024, 5047, 26266, 2102, 2094, 2480, 1010, 1065, 1025, 9167, 3853, 1999, 20614, 5498, 20925, 3989, 1006, 4130, 1010, 9570, 2953, 1010, 14164, 1010, 14916, 14074, 2099, 1007, 1063, 2065, 1006, 999, 14164, 1012, 3091, 1007, 2709, 1025, 9530, 3367, 2003, 4063, 3512, 2094, 1027, 999, 999, 4130, 1012, 13045, 1012, 3565, 26266, 1025, 2065, 1006, 999, 9570, 2953, 1007, 1063, 9530, 3367, 2047, 8663, 3367, 6820, 16761, 1027, 1056, 1012, 2465, 11368, 6806, 2094, 1006, 1000, 9570, 2953, 1000, 1010, 1056, 1012, 8909, 4765, 18095, 1006, 1000, 9570, 2953, 1000, 1007, 1010, 1031, 1033, 1010, 1056, 1012, 5991, 12259, 3672, 1006, 1031, 1033, 1007, 1010, 1007, 1025, 2065, 1006, 2003, 4063, 3512, 2094, 1007, 1063, 2047, 8663, 3367, 6820, 16761, 1012, 11498, 5244, 1027, 1031, 1056, 1012, 2717, 12260, 3672, 1006, 1056, 1012, 8909, 4765, 18095, 1006, 1000, 12098, 30523, 26266, 2102, 2094, 2480, 1006, 4130, 1010, 2110, 1007, 1063, 2065, 1006, 2110, 1012, 2465, 8428, 4667, 1004, 1004, 2110, 1012, 2465, 8428, 4667, 1027, 1027, 1027, 4130, 1012, 9531, 1012, 2131, 8428, 4667, 1006, 4130, 1012, 13045, 1012, 2171, 1007, 1007, 1063, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 26266, 2102, 2094, 2480, 1006, 4130, 1010, 2110, 1007, 1063, 2065, 1006, 2110, 1012, 2465, 8428, 4667, 1004, 1004, 2110, 1012, 2465, 8428, 4667, 1027, 1027, 1027, 4130, 1012, 9531, 1012, 2131, 8428, 4667, 1006, 4130, 1012, 13045, 1012, 2171, 1007, 1007, 1063, 30526 ]
CKEDITOR.plugins.setLang("colordialog","az",{clear:"Təmizlə",highlight:"Ayırmaq",options:"Rəng seçimləri",selected:"Seçilmiş rəng",title:"Rəngi seç"});
AK-47-D/cms
src/main/resources/static/manage/bower_components/ckeditor/plugins/colordialog/lang/az.js
JavaScript
apache-2.0
168
[ 30522, 23616, 2098, 15660, 1012, 13354, 7076, 1012, 2275, 25023, 1006, 1000, 3609, 27184, 8649, 1000, 1010, 1000, 17207, 1000, 1010, 1063, 3154, 1024, 1000, 1056, 29681, 4328, 2480, 2140, 29681, 1000, 1010, 12944, 1024, 1000, 1037, 2100, 11722, 17830, 4160, 1000, 1010, 7047, 1024, 1000, 1054, 29681, 3070, 10819, 5714, 2140, 29681, 3089, 1000, 1010, 3479, 1024, 1000, 10819, 4014, 15630, 1054, 29681, 3070, 1000, 1010, 2516, 1024, 1000, 1054, 29681, 3070, 2072, 10819, 1000, 1065, 1007, 1025, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
#include <iostream> using namespace std; struct Node { int inf; Node *next; }*start,*newptr,*save,*ptr,*rear; Node* Create_New_Node(int n) { newptr=new Node; newptr->inf=n; newptr->next=NULL; return newptr; } void Insert_End(Node *np) { if(start==NULL) start=rear=np; else { rear->next=np; rear=np; } } void display(Node *np) { while(np!=NULL) { cout<<np->inf<<"->"; np=np->next; } cout<<"!!!"; } void pop() { if(start==NULL) { cout<<"Underflow!!"; return; } ptr=start; start=start->next; delete ptr; } int main() { start=NULL; int n; char ch='y'; while(ch=='y'||ch=='Y') { cout<<"Enter information for new node: "; cin>>n; ptr=Create_New_Node(n); Insert_End(ptr); display(start); cout<<"\nWant to enter more (y/n) : "; cin>>ch; } ch='y'; while(ch=='y'||ch=='Y') { cout<<"The list now is: "; display(start); cout<<"Want to delete element (y/n): "; cin>>ch; if(ch=='y'||ch=='Y') pop(); } return 0; }
Kingpin007/School-Cpp-Programs
Arrays/Deletion in a Linked List/main.cpp
C++
gpl-2.0
1,188
[ 30522, 1001, 2421, 1026, 16380, 25379, 1028, 2478, 3415, 15327, 2358, 2094, 1025, 2358, 6820, 6593, 13045, 1063, 20014, 1999, 2546, 1025, 13045, 1008, 2279, 1025, 1065, 1008, 2707, 1010, 1008, 2047, 30524, 1050, 1007, 1063, 2047, 13876, 2099, 1027, 2047, 13045, 1025, 2047, 13876, 2099, 1011, 1028, 1999, 2546, 1027, 1050, 1025, 2047, 13876, 2099, 1011, 1028, 2279, 1027, 19701, 1025, 2709, 2047, 13876, 2099, 1025, 1065, 11675, 19274, 1035, 2203, 1006, 13045, 1008, 27937, 1007, 1063, 2065, 1006, 2707, 1027, 1027, 19701, 1007, 2707, 1027, 4373, 1027, 27937, 1025, 2842, 1063, 4373, 1011, 1028, 2279, 1027, 27937, 1025, 4373, 1027, 27937, 1025, 1065, 1065, 11675, 4653, 1006, 13045, 1008, 27937, 1007, 1063, 2096, 1006, 27937, 999, 1027, 19701, 1007, 1063, 2522, 4904, 1026, 1026, 27937, 1011, 1028, 1999, 2546, 1026, 1026, 1000, 1011, 1028, 1000, 1025, 27937, 1027, 27937, 1011, 1028, 2279, 1025, 1065, 2522, 4904, 1026, 1026, 1000, 999, 999, 999, 1000, 1025, 1065, 11675, 3769, 1006, 1007, 1063, 2065, 1006, 2707, 1027, 1027, 19701, 1007, 1063, 2522, 4904, 1026, 1026, 1000, 2104, 12314, 999, 999, 1000, 1025, 2709, 1025, 1065, 13866, 2099, 1027, 2707, 1025, 2707, 1027, 2707, 1011, 1028, 2279, 1025, 3972, 12870, 13866, 2099, 1025, 1065, 20014, 2364, 1006, 1007, 1063, 2707, 1027, 19701, 1025, 20014, 1050, 1025, 25869, 10381, 1027, 1005, 1061, 1005, 1025, 2096, 1006, 10381, 1027, 1027, 1005, 1061, 1005, 1064, 1064, 10381, 1027, 1027, 1005, 1061, 1005, 1007, 1063, 2522, 4904, 1026, 1026, 1000, 4607, 2592, 2005, 2047, 13045, 1024, 1000, 1025, 25022, 2078, 1028, 1028, 1050, 1025, 13866, 2099, 1027, 3443, 1035, 2047, 1035, 13045, 1006, 1050, 1007, 1025, 19274, 1035, 2203, 1006, 13866, 2099, 1007, 1025, 4653, 1006, 2707, 1007, 1025, 2522, 4904, 1026, 1026, 1000, 1032, 15737, 3372, 2000, 4607, 2062, 1006, 1061, 1013, 1050, 1007, 1024, 1000, 1025, 25022, 2078, 1028, 1028, 10381, 1025, 1065, 10381, 1027, 1005, 1061, 1005, 1025, 2096, 1006, 10381, 1027, 1027, 1005, 1061, 1005, 1064, 1064, 10381, 1027, 1027, 1005, 1061, 1005, 1007, 1063, 2522, 4904, 1026, 1026, 1000, 1996, 2862, 2085, 2003, 1024, 1000, 1025, 4653, 1006, 2707, 1007, 1025, 2522, 4904, 1026, 1026, 1000, 2215, 2000, 3972, 12870, 5783, 1006, 1061, 1013, 1050, 1007, 1024, 1000, 1025, 25022, 2078, 1028, 1028, 10381, 1025, 2065, 1006, 10381, 1027, 1027, 1005, 1061, 1005, 1064, 1064, 10381, 1027, 1027, 1005, 1061, 1005, 1007, 3769, 1006, 1007, 1025, 1065, 2709, 1014, 1025, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30523, 13876, 2099, 1010, 1008, 3828, 1010, 1008, 13866, 2099, 1010, 1008, 4373, 1025, 13045, 1008, 3443, 1035, 2047, 1035, 13045, 1006, 20014, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 13876, 2099, 1010, 1008, 3828, 1010, 1008, 13866, 2099, 1010, 1008, 4373, 1025, 13045, 1008, 3443, 1035, 2047, 1035, 13045, 1006, 20014, 30526 ]
.ui.video{position:relative;max-width:100%}.ui.video .placeholder{background-color:#333;display:block;width:100%;height:100%}.ui.video .embed,.ui.video.active .placeholder,.ui.video.active .play{display:none}.ui.video .play{cursor:pointer;position:absolute;top:0;left:0;z-index:10;width:100%;height:100%;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";filter:alpha(opacity=60);opacity:.6;-webkit-transition:opacity .3s;-moz-transition:opacity .3s;transition:opacity .3s}.ui.video .play.icon:before{position:absolute;top:50%;left:50%;z-index:11;font-size:6rem;margin:-3rem 0 0 -3rem;color:#FFF;text-shadow:0 3px 3px rgba(0,0,0,.4)}.ui.video .play:hover{opacity:1}.ui.video.active .embed{display:block}
pkaminski/Semantic-UI
build/minified/modules/video.min.css
CSS
mit
717
[ 30522, 1012, 21318, 1012, 2678, 1063, 2597, 1024, 5816, 1025, 4098, 1011, 9381, 1024, 2531, 1003, 1065, 1012, 21318, 1012, 2678, 1012, 2173, 14528, 1063, 4281, 1011, 3609, 1024, 1001, 21211, 1025, 4653, 1024, 3796, 1025, 9381, 1024, 2531, 1003, 1025, 4578, 1024, 2531, 1003, 1065, 1012, 21318, 1012, 2678, 1012, 7861, 8270, 1010, 1012, 21318, 1012, 2678, 1012, 3161, 1012, 2173, 14528, 1010, 1012, 21318, 1012, 2678, 1012, 3161, 1012, 2377, 1063, 4653, 1024, 3904, 1065, 1012, 21318, 1012, 2678, 1012, 2377, 1063, 12731, 25301, 2099, 1024, 20884, 1025, 2597, 1024, 7619, 1025, 2327, 1024, 1014, 1025, 2187, 1024, 1014, 1025, 1062, 1011, 5950, 1024, 2184, 1025, 9381, 1024, 2531, 1003, 1025, 4578, 1024, 2531, 1003, 1025, 1011, 5796, 1011, 11307, 1024, 1000, 4013, 5856, 2094, 1024, 1040, 9048, 26860, 6494, 3619, 14192, 1012, 7513, 1012, 6541, 1006, 6728, 6305, 3012, 1027, 3438, 1007, 1000, 1025, 11307, 1024, 6541, 1006, 6728, 6305, 3012, 1027, 3438, 1007, 1025, 6728, 6305, 3012, 1024, 1012, 1020, 1025, 1011, 4773, 23615, 1011, 6653, 1024, 6728, 6305, 3012, 1012, 1017, 2015, 1025, 1011, 9587, 2480, 1011, 6653, 1024, 6728, 6305, 3012, 1012, 1017, 2015, 1025, 6653, 1024, 6728, 6305, 3012, 1012, 1017, 2015, 1065, 1012, 21318, 1012, 30524, 1024, 7619, 1025, 2327, 1024, 2753, 1003, 1025, 2187, 1024, 2753, 1003, 1025, 1062, 1011, 5950, 1024, 2340, 1025, 15489, 1011, 2946, 1024, 1020, 28578, 1025, 7785, 1024, 1011, 1017, 28578, 1014, 1014, 1011, 1017, 28578, 1025, 3609, 1024, 1001, 21461, 2546, 1025, 3793, 1011, 5192, 1024, 1014, 1017, 2361, 2595, 1017, 2361, 2595, 1054, 18259, 2050, 1006, 1014, 1010, 1014, 1010, 1014, 1010, 1012, 1018, 1007, 1065, 1012, 21318, 1012, 2678, 1012, 2377, 1024, 25215, 2099, 1063, 6728, 6305, 3012, 1024, 1015, 1065, 1012, 21318, 1012, 2678, 1012, 3161, 1012, 7861, 8270, 1063, 4653, 1024, 3796, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2678, 1012, 2377, 1012, 12696, 1024, 2077, 1063, 2597, 30526 ]
// Copyright 2016 Keybase Inc. All rights reserved. // Use of this source code is governed by a BSD // license that can be found in the LICENSE file. package libdokan import ( "strings" "time" "github.com/keybase/client/go/kbfs/data" "github.com/keybase/client/go/kbfs/dokan" "github.com/keybase/client/go/kbfs/idutil" "github.com/keybase/client/go/kbfs/kbfsmd" "golang.org/x/net/context" ) const ( // PublicName is the name of the parent of all public top-level folders. PublicName = "public" // PrivateName is the name of the parent of all private top-level folders. PrivateName = "private" // TeamName is the name of the parent of all team top-level folders. TeamName = "team" // CtxOpID is the display name for the unique operation Dokan ID tag. CtxOpID = "DID" // WrongUserErrorFileName is the name of error directory for other users. WrongUserErrorFileName = `kbfs.access.denied.for.other.windows.users.txt` // WrongUserErrorContents is the contents of the file. WrongUserErrorContents = `Access to KBFS is limited to the windows user (sid) running KBFS.` ) // CtxTagKey is the type used for unique context tags type CtxTagKey int const ( // CtxIDKey is the type of the tag for unique operation IDs. CtxIDKey CtxTagKey = iota ) // eiToStat converts from a libkbfs.EntryInfo and error to a *dokan.Stat and error. // Note that handling symlinks to directories requires extra processing not done here. func eiToStat(ei data.EntryInfo, err error) (*dokan.Stat, error) { if err != nil { return nil, errToDokan(err) } st := &dokan.Stat{} fillStat(st, &ei) return st, nil } // fillStat fill a dokan.Stat from a libkbfs.DirEntry. // Note that handling symlinks to directories requires extra processing not done here. func fillStat(a *dokan.Stat, de *data.EntryInfo) { a.FileSize = int64(de.Size) a.LastWrite = time.Unix(0, de.Mtime) a.LastAccess = a.LastWrite a.Creation = time.Unix(0, de.Ctime) switch de.Type { case data.File, data.Exec: a.FileAttributes = dokan.FileAttributeNormal case data.Dir: a.FileAttributes = dokan.FileAttributeDirectory case data.Sym: a.FileAttributes = dokan.FileAttributeReparsePoint a.ReparsePointTag = dokan.IOReparseTagSymlink } } // addFileAttribute adds a file attribute to the stat struct. func addFileAttribute(a *dokan.Stat, fa dokan.FileAttribute) { // FileAttributeNormal is valid only if no other attribute is set. // Thus clear the normal flag (if set) from the attributes and or // the new flag. a.FileAttributes = (a.FileAttributes &^ dokan.FileAttributeNormal) | fa } // errToDokan makes some libkbfs errors easier to digest in dokan. Not needed in most places. func errToDokan(err error) error { switch err.(type) { case idutil.NoSuchNameError: return dokan.ErrObjectNameNotFound case idutil.NoSuchUserError: return dokan.ErrObjectNameNotFound case kbfsmd.ServerErrorUnauthorized: return dokan.ErrAccessDenied case nil: return nil } return err } // defaultDirectoryInformation returns default directory information. func defaultDirectoryInformation() (*dokan.Stat, error) { var st dokan.Stat st.FileAttributes = dokan.FileAttributeDirectory return &st, nil } // defaultFileInformation returns default file information. func defaultFileInformation() (*dokan.Stat, error) { var st dokan.Stat st.FileAttributes = dokan.FileAttributeNormal return &st, nil } // defaultSymlinkFileInformation returns default symlink to file information. func defaultSymlinkFileInformation() (*dokan.Stat, error) { var st dokan.Stat st.FileAttributes = dokan.FileAttributeReparsePoint st.ReparsePointTag = dokan.IOReparseTagSymlink return &st, nil } // defaultSymlinkDirInformation returns default symlink to directory information. func defaultSymlinkDirInformation() (*dokan.Stat, error) { var st dokan.Stat st.FileAttributes = dokan.FileAttributeReparsePoint | dokan.FileAttributeDirectory st.ReparsePointTag = dokan.IOReparseTagSymlink return &st, nil } // lowerTranslateCandidate returns whether a path components // has a (different) lowercase translation. func lowerTranslateCandidate(oc *openContext, s string) string { if !oc.isUppercasePath { return "" } c := strings.ToLower(s) if c == s { return "" } return c } func stringReadFile(contents string) dokan.File { return &stringFile{data: contents} } type stringFile struct { emptyFile data string } // GetFileInformation does stats for dokan. func (s *stringFile) GetFileInformation(ctx context.Context, fi *dokan.FileInfo) (*dokan.Stat, error) { a, err := defaultFileInformation() if err != nil { return nil, err } a.FileAttributes |= dokan.FileAttributeReadonly a.FileSize = int64(len(s.data)) t := time.Now() a.LastWrite = t a.LastAccess = t a.Creation = t return a, nil } // ReadFile does reads for dokan. func (s *stringFile) ReadFile(ctx context.Context, fi *dokan.FileInfo, bs []byte, offset int64) (int, error) { data := s.data if offset >= int64(len(data)) { return 0, nil } data = data[int(offset):] return copy(bs, data), nil }
keybase/client
go/kbfs/libdokan/common.go
GO
bsd-3-clause
5,056
[ 30522, 1013, 1013, 9385, 2355, 3145, 15058, 4297, 1012, 2035, 2916, 9235, 1012, 1013, 1013, 2224, 1997, 2023, 3120, 3642, 2003, 9950, 2011, 1037, 18667, 2094, 1013, 1013, 6105, 2008, 2064, 2022, 2179, 1999, 1996, 6105, 5371, 1012, 7427, 5622, 2497, 3527, 9126, 12324, 1006, 1000, 7817, 1000, 1000, 2051, 1000, 1000, 21025, 2705, 12083, 1012, 4012, 1013, 3145, 15058, 1013, 7396, 1013, 2175, 1013, 21677, 10343, 1013, 2951, 1000, 1000, 21025, 2705, 12083, 1012, 4012, 1013, 3145, 15058, 1013, 7396, 1013, 2175, 1013, 21677, 10343, 1013, 2079, 9126, 1000, 1000, 21025, 2705, 12083, 1012, 4012, 1013, 3145, 15058, 1013, 7396, 1013, 2175, 1013, 21677, 10343, 1013, 8909, 21823, 2140, 1000, 1000, 21025, 2705, 12083, 1012, 4012, 1013, 3145, 15058, 1013, 7396, 1013, 2175, 1013, 21677, 10343, 1013, 21677, 10343, 26876, 1000, 1000, 2175, 25023, 1012, 8917, 1013, 1060, 1013, 5658, 1013, 6123, 1000, 1007, 9530, 3367, 1006, 1013, 1013, 2270, 18442, 2003, 1996, 2171, 1997, 1996, 6687, 1997, 2035, 2270, 2327, 1011, 2504, 19622, 2015, 1012, 2270, 18442, 1027, 1000, 2270, 1000, 1013, 1013, 2797, 18442, 2003, 1996, 2171, 1997, 1996, 6687, 1997, 2035, 2797, 2327, 1011, 2504, 19622, 2015, 1012, 2797, 18442, 30524, 1997, 1996, 6687, 1997, 2035, 2136, 2327, 1011, 2504, 19622, 2015, 1012, 2136, 18442, 1027, 1000, 2136, 1000, 1013, 1013, 14931, 2595, 7361, 3593, 2003, 1996, 4653, 2171, 2005, 1996, 4310, 3169, 2079, 9126, 8909, 6415, 1012, 14931, 2595, 7361, 3593, 1027, 1000, 2106, 1000, 1013, 1013, 3308, 20330, 2121, 29165, 8873, 20844, 4168, 2003, 1996, 2171, 1997, 7561, 14176, 2005, 2060, 5198, 1012, 3308, 20330, 2121, 29165, 8873, 20844, 4168, 1027, 1036, 21677, 10343, 1012, 3229, 1012, 6380, 1012, 2005, 1012, 2060, 1012, 3645, 1012, 5198, 1012, 19067, 2102, 1036, 1013, 1013, 3308, 20330, 2121, 29165, 8663, 6528, 3215, 2003, 1996, 8417, 1997, 1996, 5371, 1012, 3308, 20330, 2121, 29165, 8663, 6528, 3215, 1027, 1036, 3229, 2000, 21677, 10343, 2003, 3132, 2000, 1996, 3645, 5310, 1006, 15765, 1007, 2770, 21677, 10343, 1012, 1036, 1007, 1013, 1013, 14931, 18413, 8490, 14839, 2003, 1996, 2828, 2109, 2005, 4310, 6123, 22073, 2828, 14931, 18413, 8490, 14839, 20014, 9530, 3367, 1006, 1013, 1013, 14931, 9048, 2094, 14839, 2003, 1996, 2828, 1997, 1996, 6415, 2005, 4310, 3169, 8909, 2015, 1012, 14931, 9048, 2094, 14839, 14931, 18413, 8490, 14839, 1027, 22834, 2696, 1007, 1013, 1013, 1041, 9956, 9153, 2102, 19884, 2013, 1037, 5622, 2497, 2243, 29292, 2015, 1012, 4443, 2378, 14876, 1998, 7561, 2000, 1037, 1008, 2079, 9126, 1012, 28093, 1998, 7561, 1012, 1013, 1013, 3602, 2008, 8304, 25353, 19968, 19839, 2015, 2000, 2472, 3111, 5942, 4469, 6364, 2025, 2589, 2182, 1012, 4569, 2278, 1041, 9956, 9153, 2102, 1006, 1041, 2072, 2951, 1012, 4443, 2378, 14876, 1010, 9413, 2099, 7561, 1007, 1006, 1008, 2079, 9126, 1012, 28093, 1010, 7561, 1007, 1063, 2065, 9413, 2099, 999, 1027, 9152, 2140, 1063, 2709, 9152, 2140, 1010, 9413, 5339, 7716, 12352, 2078, 1006, 9413, 2099, 1007, 1065, 2358, 1024, 1027, 1004, 2079, 9126, 30523, 1027, 1000, 2797, 1000, 1013, 1013, 2136, 18442, 2003, 1996, 2171, 30526 ]
[ 0, 0, 0, 0, 0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100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1027, 1000, 2797, 1000, 1013, 1013, 2136, 18442, 2003, 1996, 2171, 30526 ]
#include "TelaPrincipal.h" TelaPrincipal::TelaPrincipal() { }
VitorDiToro/EC206-EngenhariaDeSoftware2
SIF_CONSOLE/View/TelaPrincipal.cpp
C++
mit
65
[ 30522, 1001, 2421, 1000, 10093, 9331, 6657, 6895, 12952, 1012, 1044, 1000, 10093, 9331, 6657, 6895, 12952, 1024, 1024, 10093, 9331, 6657, 6895, 12952, 1006, 1007, 1063, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
// Copyright 2010-2014, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above // copyright notice, this list of conditions and the following disclaimer // in the documentation and/or other materials provided with the // distribution. // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef MOZC_GUI_DICTIONARY_TOOL_FIND_DIALOG_H_ #define MOZC_GUI_DICTIONARY_TOOL_FIND_DIALOG_H_ #include <QtGui/QDialog> #include "gui/dictionary_tool/ui_find_dialog.h" class QTableWidget; class QTableWidgetItem; namespace mozc { namespace gui { class FindDialog : public QDialog, private Ui::FindDialog { Q_OBJECT public: FindDialog(QWidget *parent, QTableWidget *table); virtual ~FindDialog(); protected: void closeEvent(QCloseEvent *event); void showEvent(QShowEvent *event); private slots: void FindForward(); void FindBackward(); void UpdateUIStatus(); void LineEditChanged(const QString &str); private: enum Direction { FORWARD, BACKWARD }; bool Match(const QString &query, int row, int column); void Find(Direction direction); QTableWidget *table_; QTableWidgetItem *last_item_; }; } // namespace gui } // namespace mozc #endif // MOZC_GUI_DICTIONARY_TOOL_FIND_DIALOG_H_
kishikawakatsumi/Mozc-for-iOS
src/gui/dictionary_tool/find_dialog.h
C
apache-2.0
2,515
[ 30522, 1013, 1013, 9385, 2230, 1011, 2297, 1010, 8224, 4297, 1012, 1013, 1013, 2035, 2916, 9235, 1012, 1013, 1013, 1013, 1013, 25707, 1998, 2224, 1999, 3120, 1998, 12441, 3596, 1010, 2007, 2030, 2302, 1013, 1013, 14080, 1010, 2024, 7936, 3024, 2008, 1996, 2206, 3785, 2024, 1013, 1013, 2777, 1024, 1013, 1013, 1013, 1013, 1008, 25707, 2015, 1997, 3120, 3642, 2442, 9279, 1996, 2682, 9385, 1013, 1013, 5060, 1010, 2023, 2862, 1997, 3785, 1998, 1996, 2206, 5860, 19771, 5017, 1012, 1013, 1013, 1008, 25707, 2015, 1999, 12441, 2433, 2442, 21376, 1996, 2682, 1013, 1013, 9385, 5060, 1010, 2023, 2862, 1997, 3785, 1998, 1996, 2206, 5860, 19771, 5017, 1013, 1013, 1999, 1996, 12653, 1998, 1013, 2030, 2060, 4475, 3024, 2007, 1996, 1013, 1013, 4353, 1012, 1013, 1013, 1008, 4445, 1996, 2171, 1997, 8224, 4297, 1012, 4496, 1996, 3415, 1997, 2049, 1013, 1013, 16884, 2089, 2022, 2109, 2000, 2203, 5668, 2063, 2030, 5326, 3688, 5173, 2013, 1013, 1013, 2023, 4007, 2302, 3563, 3188, 2517, 6656, 1012, 1013, 1013, 1013, 1013, 2023, 4007, 2003, 3024, 2011, 1996, 9385, 13304, 1998, 16884, 1013, 1013, 1000, 2004, 2003, 1000, 1998, 2151, 4671, 2030, 13339, 10943, 3111, 1010, 2164, 1010, 2021, 2025, 1013, 1013, 3132, 2000, 1010, 1996, 13339, 10943, 3111, 1997, 6432, 8010, 1998, 10516, 2005, 1013, 1013, 1037, 3327, 3800, 2024, 5860, 19771, 7583, 1012, 1999, 2053, 2724, 4618, 1996, 9385, 1013, 1013, 3954, 2030, 16884, 2022, 20090, 2005, 2151, 3622, 1010, 14958, 1010, 5043, 2389, 1010, 1013, 1013, 2569, 1010, 27792, 1010, 2030, 9530, 3366, 15417, 4818, 12394, 1006, 2164, 1010, 2021, 2025, 1013, 1013, 30524, 3303, 1998, 2006, 2151, 1013, 1013, 3399, 1997, 14000, 1010, 3251, 1999, 3206, 1010, 9384, 14000, 1010, 2030, 17153, 2102, 1013, 1013, 1006, 2164, 27988, 2030, 4728, 1007, 17707, 1999, 2151, 2126, 2041, 1997, 1996, 2224, 1013, 1013, 1997, 2023, 4007, 1010, 2130, 2065, 9449, 1997, 1996, 6061, 1997, 2107, 4053, 1012, 1001, 2065, 13629, 2546, 9587, 2480, 2278, 1035, 26458, 1035, 9206, 1035, 6994, 1035, 2424, 1035, 13764, 8649, 1035, 1044, 1035, 1001, 9375, 9587, 2480, 2278, 1035, 26458, 1035, 9206, 1035, 6994, 1035, 2424, 1035, 13764, 8649, 1035, 1044, 1035, 1001, 2421, 1026, 1053, 2102, 25698, 1013, 1053, 27184, 8649, 1028, 1001, 2421, 1000, 26458, 1013, 9206, 1035, 6994, 1013, 21318, 1035, 2424, 1035, 13764, 8649, 1012, 1044, 1000, 2465, 1053, 10880, 9148, 24291, 1025, 2465, 1053, 10880, 9148, 24291, 4221, 2213, 1025, 3415, 15327, 9587, 2480, 2278, 1063, 3415, 15327, 26458, 1063, 2465, 2424, 27184, 8649, 1024, 2270, 1053, 27184, 8649, 1010, 2797, 21318, 1024, 1024, 2424, 27184, 8649, 1063, 1053, 1035, 4874, 2270, 1024, 2424, 27184, 8649, 1006, 1053, 9148, 24291, 1008, 6687, 1010, 1053, 10880, 9148, 24291, 1008, 2795, 1007, 1025, 7484, 1066, 2424, 27184, 8649, 1006, 1007, 1025, 5123, 1024, 11675, 2485, 18697, 3372, 1006, 25196, 10483, 4402, 15338, 1008, 2724, 1007, 1025, 11675, 2265, 18697, 30523, 3132, 2000, 1010, 21423, 1997, 7681, 5350, 2030, 2578, 1025, 3279, 1997, 2224, 1010, 1013, 1013, 2951, 1010, 2030, 11372, 1025, 2030, 2449, 24191, 1007, 2174, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 3132, 2000, 1010, 21423, 1997, 7681, 5350, 2030, 2578, 1025, 3279, 1997, 2224, 1010, 1013, 1013, 2951, 1010, 2030, 11372, 1025, 2030, 2449, 24191, 1007, 2174, 30526 ]
#------------------------------------------------------------------------------ # Copyright (c) 2013 The University of Manchester, UK. # # BSD Licenced. See LICENCE.rdoc for details. # # Taverna Player was developed in the BioVeL project, funded by the European # Commission 7th Framework Programme (FP7), through grant agreement # number 283359. # # Author: Robert Haines #------------------------------------------------------------------------------ module TavernaPlayer module Concerns module Callback extend ActiveSupport::Concern def callback(cb, *params) if cb.is_a? Proc cb.call(*params) else method(cb).call(*params) end end end end end
myGrid/taverna-player
lib/taverna_player/concerns/callback.rb
Ruby
bsd-3-clause
724
[ 30522, 1001, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1001, 9385, 1006, 1039, 1007, 2286, 1996, 2118, 1997, 5087, 1010, 2866, 1012, 1001, 1001, 18667, 2094, 11172, 2094, 1012, 2156, 11172, 1012, 16428, 10085, 2005, 4751, 1012, 1001, 1001, 13090, 2050, 2447, 2001, 2764, 1999, 1996, 16012, 15985, 2622, 1010, 6787, 2011, 1996, 2647, 1001, 3222, 5504, 7705, 4746, 1006, 1042, 2361, 2581, 1007, 1010, 2083, 3946, 3820, 1001, 2193, 25504, 19481, 2683, 1012, 1001, 1001, 3166, 1024, 2728, 15030, 5267, 1001, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 1011, 11336, 13090, 9331, 24314, 11336, 5936, 11336, 2655, 5963, 7949, 3161, 6342, 9397, 11589, 1024, 1024, 5142, 13366, 2655, 5963, 1006, 17324, 1010, 1008, 11498, 5244, 1007, 2065, 17324, 1012, 2003, 1035, 1037, 1029, 4013, 2278, 17324, 1012, 2655, 1006, 1008, 11498, 5244, 1007, 2842, 4118, 1006, 17324, 1007, 1012, 2655, 1006, 1008, 11498, 5244, 1007, 2203, 2203, 2203, 2203, 2203, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
@charset "utf-8"; #smenu_srch .iText, #smenu_srch button { background-color: #002a00; } #login_btn svg.active, #login_window .idpwWrap .login, #sider_nav h3 a, #sider_nav ul.smenu_3rdlevel { background-color: #005500; } #sider_nav ul.smenu_3rdlevel li a { border-bottom: 3px solid #005500; } #sider_nav, #login_window .idpw input[type=text], #login_window .idpw input[type=password] { background-color: #007f00; } #sider_nav ul.smenu_2ndlevel li a { border-bottom: 4px solid #007f00; } a:link, a:visited { color: #00aa00; } #topheader, .dialog_tline { background-color: #00aa00; } #header_nav ul li a { border-bottom: 5px solid #00aa00; } a:active, a:hover { /* 흰 바탕에 보이지 않는 #55ff55 색을 다른 색으로 대체 */ color: #55d455; } #header_nav ul li.active a { border-bottom: 5px solid #55ff55; } #sider_nav ul.smenu_2ndlevel li.active a { border-bottom: 4px solid #55ff55; } #sider_nav ul.smenu_3rdlevel li.active a { border-bottom: 3px solid #55ff55; } #topheader a:active, #topheader a:hover, #sider_nav a:active, #sider_nav a:hover, #login_window .idpwWrap .login:active, #login_window .idpwWrap .login:hover { color: #aaffaa; } #smenu_srch button:active svg .stro, #smenu_srch button:hover svg .stro, #login_close:active svg .stro, #login_close:hover svg .stro, #login_btn svg.active .stro { stroke: #aaffaa; } #login_btn svg.active .poly { fill: #aaffaa; }
JuwanPark/xe
layouts/sininen/css/green.css
CSS
gpl-2.0
1,497
[ 30522, 1030, 25869, 13462, 1000, 21183, 2546, 1011, 1022, 1000, 1025, 1001, 15488, 2368, 2226, 1035, 5034, 2818, 1012, 2009, 10288, 2102, 1010, 1001, 15488, 2368, 2226, 1035, 5034, 2818, 6462, 1063, 4281, 1011, 3609, 1024, 1001, 4002, 2475, 2050, 8889, 1025, 1065, 1001, 8833, 2378, 1035, 18411, 2078, 17917, 2290, 1012, 3161, 1010, 1001, 8833, 2378, 1035, 3332, 1012, 8909, 28400, 13088, 9331, 1012, 8833, 2378, 1010, 1001, 2217, 2099, 1035, 6583, 2615, 1044, 2509, 1037, 1010, 1001, 2217, 2099, 1035, 6583, 2615, 17359, 1012, 15488, 2368, 2226, 1035, 3822, 20414, 2884, 1063, 4281, 1011, 3609, 1024, 1001, 4002, 24087, 8889, 1025, 1065, 1001, 2217, 2099, 1035, 6583, 2615, 17359, 1012, 15488, 2368, 2226, 1035, 3822, 20414, 2884, 5622, 1037, 1063, 3675, 1011, 3953, 1024, 1017, 2361, 2595, 5024, 1001, 4002, 24087, 8889, 1025, 1065, 1001, 2217, 2099, 1035, 6583, 2615, 1010, 1001, 8833, 2378, 1035, 3332, 1012, 8909, 28400, 7953, 1031, 2828, 1027, 3793, 1033, 1010, 1001, 8833, 2378, 1035, 3332, 1012, 8909, 28400, 7953, 1031, 2828, 1027, 20786, 1033, 1063, 4281, 1011, 3609, 1024, 1001, 4002, 2581, 2546, 8889, 1025, 1065, 1001, 2217, 2099, 1035, 6583, 2615, 17359, 1012, 15488, 2368, 2226, 1035, 3416, 20414, 2884, 5622, 1037, 1063, 3675, 1011, 3953, 1024, 1018, 2361, 2595, 5024, 1001, 4002, 2581, 2546, 8889, 1025, 1065, 1037, 1024, 4957, 1010, 1037, 1024, 4716, 1063, 3609, 1024, 1001, 4002, 11057, 8889, 1025, 1065, 1001, 2327, 4974, 2121, 1010, 1012, 13764, 8649, 1035, 1056, 4179, 1063, 4281, 1011, 3609, 1024, 1001, 4002, 11057, 8889, 1025, 1065, 1001, 20346, 1035, 6583, 2615, 17359, 5622, 1037, 1063, 3675, 1011, 3953, 1024, 1019, 2361, 2595, 5024, 1001, 4002, 11057, 8889, 1025, 1065, 1037, 1024, 3161, 1010, 1037, 1024, 25215, 2099, 1063, 1013, 1008, 1469, 30018, 30021, 1460, 30006, 30003, 30006, 30025, 29999, 30009, 1460, 30011, 29999, 30019, 30000, 30019, 100, 1001, 4583, 4246, 24087, 1461, 30007, 30020, 29999, 30017, 30022, 1457, 30006, 29994, 30017, 30021, 1461, 30007, 30020, 29999, 30017, 29994, 30011, 1457, 30007, 30001, 30009, 1008, 1013, 3609, 1024, 1001, 4583, 2094, 19961, 2629, 1025, 1065, 1001, 20346, 1035, 6583, 2615, 17359, 5622, 1012, 3161, 1037, 1063, 3675, 1011, 3953, 1024, 1019, 2361, 2595, 5024, 1001, 4583, 4246, 24087, 1025, 1065, 1001, 2217, 2099, 1035, 6583, 2615, 17359, 1012, 15488, 2368, 2226, 1035, 3416, 20414, 2884, 5622, 1012, 3161, 1037, 1063, 3675, 1011, 3953, 1024, 1018, 2361, 2595, 5024, 1001, 4583, 4246, 24087, 1025, 1065, 1001, 2217, 2099, 1035, 6583, 2615, 17359, 1012, 15488, 2368, 2226, 1035, 3822, 20414, 2884, 5622, 1012, 3161, 1037, 1063, 3675, 1011, 3953, 1024, 1017, 2361, 30524, 1001, 2217, 2099, 1035, 6583, 2615, 1037, 1024, 3161, 1010, 1001, 2217, 2099, 1035, 6583, 2615, 1037, 1024, 25215, 2099, 1010, 1001, 8833, 2378, 1035, 3332, 1012, 8909, 28400, 13088, 9331, 1012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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2595, 5024, 1001, 4583, 4246, 24087, 1025, 1065, 1001, 2327, 4974, 2121, 1037, 1024, 3161, 1010, 1001, 2327, 4974, 2121, 1037, 1024, 25215, 2099, 1010, 30526 ]
/* * mpc8610-pcm.h - ALSA PCM interface for the Freescale MPC8610 SoC * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef _MPC8610_PCM_H #define _MPC8610_PCM_H struct ccsr_dma { u8 res0[0x100]; struct ccsr_dma_channel { __be32 mr; /* Mode register */ __be32 sr; /* Status register */ __be32 eclndar; /* Current link descriptor extended addr reg */ __be32 clndar; /* Current link descriptor address register */ __be32 satr; /* Source attributes register */ __be32 sar; /* Source address register */ __be32 datr; /* Destination attributes register */ __be32 dar; /* Destination address register */ __be32 bcr; /* Byte count register */ __be32 enlndar; /* Next link descriptor extended address reg */ __be32 nlndar; /* Next link descriptor address register */ u8 res1[4]; __be32 eclsdar; /* Current list descriptor extended addr reg */ __be32 clsdar; /* Current list descriptor address register */ __be32 enlsdar; /* Next list descriptor extended address reg */ __be32 nlsdar; /* Next list descriptor address register */ __be32 ssr; /* Source stride register */ __be32 dsr; /* Destination stride register */ u8 res2[0x38]; } channel[4]; __be32 dgsr; }; #define CCSR_DMA_MR_BWC_DISABLED 0x0F000000 #define CCSR_DMA_MR_BWC_SHIFT 24 #define CCSR_DMA_MR_BWC_MASK 0x0F000000 #define CCSR_DMA_MR_BWC(x) \ ((ilog2(x) << CCSR_DMA_MR_BWC_SHIFT) & CCSR_DMA_MR_BWC_MASK) #define CCSR_DMA_MR_EMP_EN 0x00200000 #define CCSR_DMA_MR_EMS_EN 0x00040000 #define CCSR_DMA_MR_DAHTS_MASK 0x00030000 #define CCSR_DMA_MR_DAHTS_1 0x00000000 #define CCSR_DMA_MR_DAHTS_2 0x00010000 #define CCSR_DMA_MR_DAHTS_4 0x00020000 #define CCSR_DMA_MR_DAHTS_8 0x00030000 #define CCSR_DMA_MR_SAHTS_MASK 0x0000C000 #define CCSR_DMA_MR_SAHTS_1 0x00000000 #define CCSR_DMA_MR_SAHTS_2 0x00004000 #define CCSR_DMA_MR_SAHTS_4 0x00008000 #define CCSR_DMA_MR_SAHTS_8 0x0000C000 #define CCSR_DMA_MR_DAHE 0x00002000 #define CCSR_DMA_MR_SAHE 0x00001000 #define CCSR_DMA_MR_SRW 0x00000400 #define CCSR_DMA_MR_EOSIE 0x00000200 #define CCSR_DMA_MR_EOLNIE 0x00000100 #define CCSR_DMA_MR_EOLSIE 0x00000080 #define CCSR_DMA_MR_EIE 0x00000040 #define CCSR_DMA_MR_XFE 0x00000020 #define CCSR_DMA_MR_CDSM_SWSM 0x00000010 #define CCSR_DMA_MR_CA 0x00000008 #define CCSR_DMA_MR_CTM 0x00000004 #define CCSR_DMA_MR_CC 0x00000002 #define CCSR_DMA_MR_CS 0x00000001 #define CCSR_DMA_SR_TE 0x00000080 #define CCSR_DMA_SR_CH 0x00000020 #define CCSR_DMA_SR_PE 0x00000010 #define CCSR_DMA_SR_EOLNI 0x00000008 #define CCSR_DMA_SR_CB 0x00000004 #define CCSR_DMA_SR_EOSI 0x00000002 #define CCSR_DMA_SR_EOLSI 0x00000001 /* ECLNDAR takes bits 32-36 of the CLNDAR register */ static inline u32 CCSR_DMA_ECLNDAR_ADDR(u64 x) { return (x >> 32) & 0xf; } #define CCSR_DMA_CLNDAR_ADDR(x) ((x) & 0xFFFFFFFE) #define CCSR_DMA_CLNDAR_EOSIE 0x00000008 /* SATR and DATR, combined */ #define CCSR_DMA_ATR_PBATMU 0x20000000 #define CCSR_DMA_ATR_TFLOWLVL_0 0x00000000 #define CCSR_DMA_ATR_TFLOWLVL_1 0x06000000 #define CCSR_DMA_ATR_TFLOWLVL_2 0x08000000 #define CCSR_DMA_ATR_TFLOWLVL_3 0x0C000000 #define CCSR_DMA_ATR_PCIORDER 0x02000000 #define CCSR_DMA_ATR_SME 0x01000000 #define CCSR_DMA_ATR_NOSNOOP 0x00040000 #define CCSR_DMA_ATR_SNOOP 0x00050000 #define CCSR_DMA_ATR_ESAD_MASK 0x0000000F /** * List Descriptor for extended chaining mode DMA operations. * * The CLSDAR register points to the first (in a linked-list) List * Descriptor. Each object must be aligned on a 32-byte boundary. Each * list descriptor points to a linked-list of link Descriptors. */ struct fsl_dma_list_descriptor { __be64 next; /* Address of next list descriptor */ __be64 first_link; /* Address of first link descriptor */ __be32 source; /* Source stride */ __be32 dest; /* Destination stride */ u8 res[8]; /* Reserved */ } __attribute__ ((aligned(32), packed)); /** * Link Descriptor for basic and extended chaining mode DMA operations. * * A Link Descriptor points to a single DMA buffer. Each link descriptor * must be aligned on a 32-byte boundary. */ struct fsl_dma_link_descriptor { __be32 source_attr; /* Programmed into SATR register */ __be32 source_addr; /* Programmed into SAR register */ __be32 dest_attr; /* Programmed into DATR register */ __be32 dest_addr; /* Programmed into DAR register */ __be64 next; /* Address of next link descriptor */ __be32 count; /* Byte count */ u8 res[4]; /* Reserved */ } __attribute__ ((aligned(32), packed)); <<<<<<< HEAD ======= /* DMA information needed to create a snd_soc_dai object * * ssi_stx_phys: bus address of SSI STX register to use * ssi_srx_phys: bus address of SSI SRX register to use * dma[0]: points to the DMA channel to use for playback * dma[1]: points to the DMA channel to use for capture * dma_irq[0]: IRQ of the DMA channel to use for playback * dma_irq[1]: IRQ of the DMA channel to use for capture */ struct fsl_dma_info { dma_addr_t ssi_stx_phys; dma_addr_t ssi_srx_phys; struct ccsr_dma_channel __iomem *dma_channel[2]; unsigned int dma_irq[2]; }; extern struct snd_soc_platform fsl_soc_platform; int fsl_dma_configure(struct fsl_dma_info *dma_info); >>>>>>> 296c66da8a02d52243f45b80521febece5ed498a #endif
Core2idiot/Kernel-Samsung-3.0...-
sound/soc/fsl/fsl_dma.h
C
gpl-2.0
5,573
[ 30522, 1013, 1008, 1008, 6131, 2278, 20842, 10790, 1011, 7473, 2213, 1012, 1044, 1011, 25520, 2050, 7473, 2213, 8278, 2005, 1996, 2489, 15782, 2571, 6131, 2278, 20842, 10790, 27084, 1008, 1008, 2023, 2565, 2003, 2489, 4007, 1025, 2017, 2064, 2417, 2923, 3089, 8569, 2618, 2009, 1998, 1013, 2030, 19933, 1008, 2009, 2104, 1996, 3408, 1997, 1996, 27004, 2236, 2270, 6105, 2544, 1016, 2004, 1008, 2405, 2011, 1996, 2489, 4007, 3192, 1012, 1008, 1013, 1001, 2065, 13629, 2546, 1035, 6131, 2278, 20842, 10790, 1035, 7473, 2213, 1035, 1044, 1001, 9375, 1035, 6131, 2278, 20842, 10790, 1035, 7473, 2213, 1035, 1044, 2358, 6820, 6593, 10507, 21338, 1035, 1040, 2863, 1063, 1057, 2620, 24501, 2692, 1031, 1014, 2595, 18613, 1033, 1025, 2358, 6820, 6593, 10507, 21338, 1035, 1040, 2863, 1035, 3149, 1063, 1035, 1035, 2022, 16703, 2720, 1025, 1013, 1008, 5549, 4236, 1008, 1013, 1035, 1035, 2022, 16703, 5034, 1025, 1013, 1008, 3570, 4236, 1008, 1013, 1035, 1035, 2022, 16703, 14925, 19666, 7662, 1025, 1013, 1008, 2783, 4957, 4078, 23235, 2953, 3668, 5587, 2099, 19723, 1008, 1013, 1035, 1035, 2022, 16703, 18856, 8943, 2099, 1025, 1013, 1008, 2783, 4957, 4078, 23235, 2953, 4769, 4236, 1008, 1013, 1035, 1035, 2022, 16703, 2938, 2099, 1025, 1013, 1008, 3120, 12332, 4236, 1008, 1013, 1035, 1035, 2022, 16703, 18906, 1025, 1013, 1008, 3120, 4769, 4236, 1008, 1013, 1035, 1035, 2022, 16703, 23755, 2099, 1025, 1013, 1008, 7688, 12332, 4236, 1008, 1013, 1035, 1035, 2022, 16703, 18243, 1025, 1013, 1008, 7688, 4769, 4236, 1008, 1013, 1035, 1035, 2022, 16703, 4647, 2099, 1025, 1013, 1008, 24880, 4175, 4236, 1008, 1013, 1035, 1035, 2022, 16703, 4372, 19666, 7662, 1025, 1013, 1008, 2279, 4957, 4078, 23235, 2953, 3668, 4769, 19723, 1008, 1013, 1035, 1035, 2022, 16703, 17953, 8943, 2099, 1025, 1013, 1008, 2279, 4957, 4078, 23235, 2953, 4769, 4236, 1008, 1013, 1057, 2620, 24501, 2487, 1031, 1018, 1033, 1025, 1035, 1035, 2022, 16703, 14925, 4877, 7662, 1025, 1013, 1008, 2783, 2862, 4078, 23235, 2953, 3668, 5587, 2099, 19723, 1008, 1013, 1035, 1035, 2022, 16703, 18856, 16150, 2906, 1025, 1013, 1008, 2783, 2862, 4078, 23235, 2953, 4769, 4236, 1008, 1013, 1035, 1035, 2022, 16703, 4372, 4877, 7662, 1025, 1013, 1008, 2279, 2862, 4078, 23235, 2953, 3668, 4769, 19723, 1008, 1013, 1035, 1035, 2022, 16703, 17953, 16150, 2906, 1025, 1013, 1008, 2279, 2862, 4078, 23235, 2953, 4769, 4236, 1008, 1013, 1035, 1035, 2022, 30524, 4236, 1008, 1013, 1035, 1035, 2022, 16703, 16233, 2099, 1025, 1013, 1008, 7688, 18045, 4236, 1008, 1013, 1057, 2620, 24501, 2475, 1031, 1014, 2595, 22025, 1033, 1025, 1065, 3149, 1031, 1018, 1033, 1025, 1035, 1035, 2022, 16703, 1040, 5620, 2099, 1025, 1065, 1025, 1001, 9375, 10507, 21338, 1035, 1040, 2863, 1035, 2720, 1035, 1038, 16526, 1035, 9776, 1014, 2595, 2692, 2546, 8889, 8889, 8889, 1001, 9375, 10507, 21338, 1035, 1040, 2863, 1035, 2720, 1035, 1038, 16526, 1035, 5670, 2484, 1001, 9375, 10507, 21338, 1035, 1040, 2863, 1035, 2720, 1035, 1038, 16526, 1035, 7308, 1014, 2595, 2692, 2546, 8889, 8889, 8889, 1001, 9375, 30523, 16703, 20896, 1025, 1013, 1008, 3120, 18045, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 16703, 20896, 1025, 1013, 1008, 3120, 18045, 30526 ]
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * @category Zend * @package Zend_Validate * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License * @version $Id: $ */ /** * @see Zend_Validate_Abstract */ require_once 'Zend/Validate/Abstract.php'; /** * Validator which checks if the file already exists in the directory * * @category Zend * @package Zend_Validate * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class Zend_Validate_File_Exists extends Zend_Validate_Abstract { /** * @const string Error constants */ const DOES_NOT_EXIST = 'fileExistsDoesNotExist'; /** * @var array Error message templates */ protected $_messageTemplates = array( self::DOES_NOT_EXIST => "The file '%value%' does not exist" ); /** * Internal list of directories * @var string */ protected $_directory = ''; /** * @var array Error message template variables */ protected $_messageVariables = array( 'directory' => '_directory' ); /** * Sets validator options * * @param string|array $directory * @return void */ public function __construct($directory = array()) { if ($directory instanceof Zend_Config) { $directory = $directory->toArray(); } else if (is_string($directory)) { $directory = explode(',', $directory); } else if (!is_array($directory)) { require_once 'Zend/Validate/Exception.php'; throw new Zend_Validate_Exception ('Invalid options to validator provided'); } $this->setDirectory($directory); } /** * Returns the set file directories which are checked * * @param boolean $asArray Returns the values as array, when false an concated string is returned * @return string */ public function getDirectory($asArray = false) { $asArray = (bool) $asArray; $directory = (string) $this->_directory; if ($asArray) { $directory = explode(',', $directory); } return $directory; } /** * Sets the file directory which will be checked * * @param string|array $directory The directories to validate * @return Zend_Validate_File_Extension Provides a fluent interface */ public function setDirectory($directory) { $this->_directory = null; $this->addDirectory($directory); return $this; } /** * Adds the file directory which will be checked * * @param string|array $directory The directory to add for validation * @return Zend_Validate_File_Extension Provides a fluent interface */ public function addDirectory($directory) { $directories = $this->getDirectory(true); if (is_string($directory)) { $directory = explode(',', $directory); } else if (!is_array($directory)) { require_once 'Zend/Validate/Exception.php'; throw new Zend_Validate_Exception ('Invalid options to validator provided'); } foreach ($directory as $content) { if (empty($content) || !is_string($content)) { continue; } $directories[] = trim($content); } $directories = array_unique($directories); // Sanity check to ensure no empty values foreach ($directories as $key => $dir) { if (empty($dir)) { unset($directories[$key]); } } $this->_directory = implode(',', $directories); return $this; } /** * Defined by Zend_Validate_Interface * * Returns true if and only if the file already exists in the set directories * * @param string $value Real file to check for existance * @param array $file File data from Zend_File_Transfer * @return boolean */ public function isValid($value, $file = null) { $directories = $this->getDirectory(true); if (($file !== null) and (!empty($file['destination']))) { $directories[] = $file['destination']; } else if (!isset($file['name'])) { $file['name'] = $value; } $check = false; foreach ($directories as $directory) { if (empty($directory)) { continue; } $check = true; if (!file_exists($directory . DIRECTORY_SEPARATOR . $file['name'])) { return $this->_throw($file, self::DOES_NOT_EXIST); } } if (!$check) { return $this->_throw($file, self::DOES_NOT_EXIST); } return true; } /** * Throws an error of the given type * * @param string $file * @param string $errorType * @return false */ protected function _throw($file, $errorType) { if ($file !== null) { $this->_value = $file['name']; } $this->_error($errorType); return false; } }
ankuradhey/dealtrip
library/Zend/Validate/File/Exists.php
PHP
apache-2.0
5,927
[ 30522, 1026, 1029, 25718, 30524, 5371, 2003, 3395, 2000, 1996, 2047, 18667, 2094, 6105, 2008, 2003, 24378, 1008, 2007, 2023, 7427, 1999, 1996, 5371, 6105, 1012, 19067, 2102, 1012, 1008, 2009, 2003, 2036, 2800, 2083, 1996, 2088, 1011, 2898, 1011, 4773, 2012, 2023, 24471, 2140, 1024, 1008, 8299, 1024, 1013, 1013, 7705, 1012, 16729, 2094, 1012, 4012, 1013, 6105, 1013, 2047, 1011, 18667, 2094, 1008, 2065, 2017, 2106, 2025, 4374, 1037, 6100, 1997, 1996, 6105, 1998, 2024, 4039, 2000, 1008, 6855, 2009, 2083, 1996, 2088, 1011, 2898, 1011, 4773, 1010, 3531, 4604, 2019, 10373, 1008, 2000, 6105, 1030, 16729, 2094, 1012, 4012, 2061, 2057, 2064, 4604, 2017, 1037, 6100, 3202, 1012, 1008, 1008, 1030, 4696, 16729, 2094, 1008, 1030, 7427, 16729, 2094, 1035, 9398, 3686, 1008, 1030, 9385, 9385, 1006, 1039, 1007, 2384, 1011, 2263, 16729, 2094, 6786, 3915, 4297, 1012, 1006, 8299, 1024, 1013, 1013, 7479, 1012, 16729, 2094, 1012, 4012, 1007, 1008, 1030, 6105, 8299, 1024, 1013, 1013, 7705, 1012, 16729, 2094, 1012, 4012, 1013, 6105, 1013, 2047, 1011, 18667, 2094, 2047, 18667, 2094, 6105, 1008, 1030, 2544, 1002, 8909, 1024, 1002, 1008, 1013, 1013, 1008, 1008, 1008, 1030, 2156, 16729, 2094, 1035, 9398, 3686, 1035, 10061, 1008, 1013, 5478, 1035, 2320, 1005, 16729, 2094, 1013, 9398, 3686, 1013, 10061, 1012, 25718, 1005, 1025, 1013, 1008, 1008, 1008, 9398, 8844, 2029, 14148, 2065, 1996, 5371, 2525, 6526, 1999, 1996, 14176, 1008, 1008, 1030, 4696, 16729, 2094, 1008, 1030, 7427, 16729, 2094, 1035, 9398, 3686, 1008, 1030, 9385, 9385, 1006, 1039, 1007, 2384, 1011, 2263, 16729, 2094, 6786, 3915, 4297, 1012, 1006, 8299, 1024, 1013, 1013, 7479, 1012, 16729, 2094, 1012, 4012, 1007, 1008, 1030, 6105, 8299, 1024, 1013, 1013, 7705, 1012, 16729, 2094, 1012, 4012, 1013, 6105, 1013, 2047, 1011, 18667, 2094, 2047, 18667, 2094, 6105, 1008, 1013, 2465, 16729, 2094, 1035, 9398, 3686, 1035, 5371, 1035, 6526, 8908, 16729, 2094, 1035, 9398, 3686, 1035, 10061, 1063, 1013, 1008, 1008, 1008, 1030, 9530, 3367, 5164, 7561, 5377, 2015, 1008, 1013, 9530, 3367, 2515, 1035, 2025, 1035, 4839, 1027, 1005, 5371, 10288, 5130, 3527, 2229, 22074, 9048, 3367, 1005, 1025, 1013, 1008, 1008, 1008, 1030, 13075, 9140, 7561, 4471, 23561, 2015, 1008, 1013, 5123, 1002, 1035, 4471, 18532, 15725, 2015, 1027, 9140, 1006, 2969, 1024, 1024, 2515, 1035, 2025, 1035, 4839, 1027, 1028, 1000, 1996, 5371, 1005, 1003, 3643, 1003, 1005, 2515, 2025, 4839, 1000, 1007, 1025, 1013, 1008, 1008, 1008, 4722, 2862, 1997, 2472, 3111, 1008, 1030, 13075, 5164, 1008, 1013, 5123, 1002, 1035, 14176, 1027, 1005, 1005, 1025, 1013, 1008, 1008, 1008, 1030, 13075, 9140, 7561, 4471, 23561, 10857, 1008, 1013, 5123, 1002, 1035, 4471, 10755, 19210, 2015, 1027, 9140, 1006, 1005, 14176, 1005, 1027, 1028, 1005, 1035, 14176, 1005, 1007, 1025, 1013, 1008, 1008, 1008, 4520, 9398, 8844, 7047, 1008, 1008, 1030, 11498, 2213, 5164, 1064, 9140, 1002, 14176, 1008, 1030, 2709, 11675, 1008, 1013, 2270, 3853, 1035, 1035, 9570, 1006, 1002, 30523, 1013, 1008, 1008, 1008, 16729, 2094, 7705, 1008, 1008, 6105, 1008, 1008, 2023, 3120, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1013, 1008, 1008, 1008, 16729, 2094, 7705, 1008, 1008, 6105, 1008, 1008, 2023, 3120, 30526 ]
package be.nikiroo.utils.streams; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.util.Arrays; /** * This {@link InputStream} can be separated into sub-streams (you can process * it as a normal {@link InputStream} but, when it is spent, you can call * {@link NextableInputStream#next()} on it to unlock new data). * <p> * The separation in sub-streams is done via {@link NextableInputStreamStep}. * * @author niki */ public class NextableInputStream extends BufferedInputStream { private NextableInputStreamStep step; private boolean started; private boolean stopped; /** * Create a new {@link NextableInputStream} that wraps the given * {@link InputStream}. * * @param in * the {@link InputStream} to wrap * @param step * how to separate it into sub-streams (can be NULL, but in that * case it will behave as a normal {@link InputStream}) */ public NextableInputStream(InputStream in, NextableInputStreamStep step) { super(in); this.step = step; } /** * Create a new {@link NextableInputStream} that wraps the given bytes array * as a data source. * * @param in * the array to wrap, cannot be NULL * @param step * how to separate it into sub-streams (can be NULL, but in that * case it will behave as a normal {@link InputStream}) */ public NextableInputStream(byte[] in, NextableInputStreamStep step) { this(in, step, 0, in.length); } /** * Create a new {@link NextableInputStream} that wraps the given bytes array * as a data source. * * @param in * the array to wrap, cannot be NULL * @param step * how to separate it into sub-streams (can be NULL, but in that * case it will behave as a normal {@link InputStream}) * @param offset * the offset to start the reading at * @param length * the number of bytes to take into account in the array, * starting from the offset * * @throws NullPointerException * if the array is NULL * @throws IndexOutOfBoundsException * if the offset and length do not correspond to the given array */ public NextableInputStream(byte[] in, NextableInputStreamStep step, int offset, int length) { super(in, offset, length); this.step = step; checkBuffer(true); } /** * Unblock the processing of the next sub-stream. * <p> * It can only be called when the "current" stream is spent (i.e., you must * first process the stream until it is spent). * <p> * {@link IOException}s can happen when we have no data available in the * buffer; in that case, we fetch more data to know if we can have a next * sub-stream or not. * <p> * This is can be a blocking call when data need to be fetched. * * @return TRUE if we unblocked the next sub-stream, FALSE if not (i.e., * FALSE when there are no more sub-streams to fetch) * * @throws IOException * in case of I/O error or if the stream is closed */ public boolean next() throws IOException { return next(false); } /** * Unblock the next sub-stream as would have done * {@link NextableInputStream#next()}, but disable the sub-stream systems. * <p> * That is, the next stream, if any, will be the last one and will not be * subject to the {@link NextableInputStreamStep}. * <p> * This is can be a blocking call when data need to be fetched. * * @return TRUE if we unblocked the next sub-stream, FALSE if not * * @throws IOException * in case of I/O error or if the stream is closed */ public boolean nextAll() throws IOException { return next(true); } /** * Check if this stream is totally spent (no more data to read or to * process). * <p> * Note: when the stream is divided into sub-streams, each sub-stream will * report its own eof when spent. * * @return TRUE if it is * * @throws IOException * in case of I/O error */ @Override public boolean eof() throws IOException { return super.eof(); } /** * Check if we still have some data in the buffer and, if not, fetch some. * * @return TRUE if we fetched some data, FALSE if there are still some in * the buffer * * @throws IOException * in case of I/O error */ @Override protected boolean preRead() throws IOException { if (!stopped) { boolean bufferChanged = super.preRead(); checkBuffer(bufferChanged); return bufferChanged; } if (start >= stop) { eof = true; } return false; } @Override protected boolean hasMoreData() { return started && super.hasMoreData(); } /** * Check that the buffer didn't overshot to the next item, and fix * {@link NextableInputStream#stop} if needed. * <p> * If {@link NextableInputStream#stop} is fixed, * {@link NextableInputStream#eof} and {@link NextableInputStream#stopped} * are set to TRUE. * * @param newBuffer * we changed the buffer, we need to clear some information in * the {@link NextableInputStreamStep} */ private void checkBuffer(boolean newBuffer) { if (step != null && stop >= 0) { if (newBuffer) { step.clearBuffer(); } int stopAt = step.stop(buffer, start, stop, eof); if (stopAt >= 0) { stop = stopAt; eof = true; stopped = true; } } } /** * The implementation of {@link NextableInputStream#next()} and * {@link NextableInputStream#nextAll()}. * <p> * This is can be a blocking call when data need to be fetched. * * @param all * TRUE for {@link NextableInputStream#nextAll()}, FALSE for * {@link NextableInputStream#next()} * * @return TRUE if we unblocked the next sub-stream, FALSE if not (i.e., * FALSE when there are no more sub-streams to fetch) * * @throws IOException * in case of I/O error or if the stream is closed */ private boolean next(boolean all) throws IOException { checkClose(); if (!started) { // First call before being allowed to read started = true; if (all) { step = null; } return true; } // If started, must be stopped and no more data to continue // i.e., sub-stream must be spent if (!stopped || hasMoreData()) { return false; } if (step != null) { stop = step.getResumeLen(); start += step.getResumeSkip(); eof = step.getResumeEof(); stopped = false; if (all) { step = null; } checkBuffer(false); return true; } return false; // // consider that if EOF, there is no next // if (start >= stop) { // // Make sure, block if necessary // preRead(); // // return hasMoreData(); // } // // return true; } /** * Display a DEBUG {@link String} representation of this object. * <p> * Do <b>not</b> use for release code. */ @Override public String toString() { String data = ""; if (stop > 0) { try { data = new String(Arrays.copyOfRange(buffer, 0, stop), "UTF-8"); } catch (UnsupportedEncodingException e) { } if (data.length() > 200) { data = data.substring(0, 197) + "..."; } } String rep = String.format( "Nextable %s: %d -> %d [eof: %s] [more data: %s]: %s", (stopped ? "stopped" : "running"), start, stop, "" + eof, "" + hasMoreData(), data); return rep; } }
nikiroo/fanfix
src/be/nikiroo/utils/streams/NextableInputStream.java
Java
gpl-3.0
7,444
[ 30522, 7427, 2022, 1012, 23205, 9711, 2080, 1012, 21183, 12146, 1012, 9199, 30524, 4957, 20407, 25379, 1065, 2064, 2022, 5459, 2046, 4942, 1011, 9199, 1006, 2017, 2064, 2832, 1008, 2009, 2004, 1037, 3671, 1063, 1030, 4957, 20407, 25379, 1065, 2021, 1010, 2043, 2009, 2003, 2985, 1010, 2017, 2064, 2655, 1008, 1063, 1030, 4957, 2279, 3085, 2378, 18780, 21422, 1001, 2279, 1006, 1007, 1065, 2006, 2009, 2000, 19829, 2047, 2951, 1007, 1012, 1008, 1026, 1052, 1028, 1008, 1996, 8745, 1999, 4942, 1011, 9199, 2003, 2589, 3081, 1063, 1030, 4957, 2279, 3085, 2378, 18780, 21422, 13473, 2361, 1065, 1012, 1008, 1008, 1030, 3166, 23205, 2072, 1008, 1013, 2270, 2465, 2279, 3085, 2378, 18780, 21422, 8908, 17698, 2098, 2378, 18780, 21422, 1063, 2797, 2279, 3085, 2378, 18780, 21422, 13473, 2361, 3357, 1025, 2797, 22017, 20898, 2318, 1025, 2797, 22017, 20898, 3030, 1025, 1013, 1008, 1008, 1008, 3443, 1037, 2047, 1063, 1030, 4957, 2279, 3085, 2378, 18780, 21422, 1065, 2008, 19735, 1996, 2445, 1008, 1063, 1030, 4957, 20407, 25379, 1065, 1012, 1008, 1008, 1030, 11498, 2213, 1999, 1008, 1996, 1063, 1030, 4957, 20407, 25379, 1065, 2000, 10236, 1008, 1030, 11498, 2213, 3357, 1008, 2129, 2000, 3584, 2009, 2046, 4942, 1011, 9199, 1006, 2064, 2022, 19701, 1010, 2021, 1999, 2008, 1008, 2553, 2009, 2097, 16582, 2004, 1037, 3671, 1063, 1030, 4957, 20407, 25379, 1065, 1007, 1008, 1013, 2270, 2279, 3085, 2378, 18780, 21422, 1006, 20407, 25379, 1999, 1010, 2279, 3085, 2378, 18780, 21422, 13473, 2361, 3357, 1007, 1063, 3565, 1006, 1999, 1007, 1025, 2023, 1012, 3357, 1027, 3357, 1025, 1065, 1013, 1008, 1008, 1008, 3443, 1037, 2047, 1063, 1030, 4957, 2279, 3085, 2378, 18780, 21422, 1065, 2008, 19735, 1996, 2445, 27507, 9140, 1008, 2004, 1037, 2951, 3120, 1012, 1008, 1008, 1030, 11498, 2213, 1999, 1008, 1996, 9140, 2000, 10236, 1010, 3685, 2022, 19701, 1008, 1030, 11498, 2213, 3357, 1008, 2129, 2000, 3584, 2009, 2046, 4942, 1011, 9199, 1006, 2064, 2022, 19701, 1010, 2021, 1999, 2008, 1008, 2553, 2009, 2097, 16582, 2004, 1037, 3671, 1063, 1030, 4957, 20407, 25379, 1065, 1007, 1008, 1013, 2270, 2279, 3085, 2378, 18780, 21422, 1006, 24880, 1031, 1033, 1999, 1010, 2279, 3085, 2378, 18780, 21422, 13473, 2361, 3357, 1007, 1063, 2023, 1006, 1999, 1010, 3357, 1010, 1014, 1010, 1999, 1012, 3091, 1007, 1025, 1065, 1013, 1008, 1008, 1008, 3443, 1037, 2047, 1063, 1030, 4957, 2279, 3085, 2378, 18780, 21422, 1065, 2008, 19735, 1996, 2445, 27507, 9140, 1008, 2004, 1037, 2951, 3120, 1012, 1008, 1008, 1030, 11498, 2213, 1999, 1008, 1996, 9140, 2000, 10236, 1010, 3685, 2022, 19701, 1008, 1030, 11498, 2213, 3357, 1008, 2129, 2000, 3584, 2009, 2046, 4942, 1011, 9199, 1006, 2064, 2022, 19701, 1010, 2021, 1999, 2008, 1008, 2553, 2009, 2097, 16582, 2004, 1037, 3671, 1063, 1030, 4957, 20407, 25379, 1065, 30523, 1025, 12324, 9262, 1012, 22834, 1012, 22834, 10288, 24422, 1025, 12324, 9262, 1012, 22834, 1012, 20407, 25379, 1025, 12324, 9262, 1012, 22834, 1012, 4895, 6342, 9397, 15613, 2368, 3597, 4667, 10288, 24422, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 27448, 1025, 1013, 1008, 1008, 1008, 2023, 1063, 1030, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1025, 12324, 9262, 1012, 22834, 1012, 22834, 10288, 24422, 1025, 12324, 9262, 1012, 22834, 1012, 20407, 25379, 1025, 12324, 9262, 1012, 22834, 1012, 4895, 6342, 9397, 15613, 2368, 3597, 4667, 10288, 24422, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 27448, 1025, 1013, 1008, 1008, 1008, 2023, 1063, 1030, 30526 ]
/** * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, version 2.1, dated February 1999. * * This program is free software; you can redistribute it and/or modify * it under the terms of the latest version of the GNU Lesser General * Public License as published by the Free Software Foundation; * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program (LICENSE.txt); if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ package org.jamwiki.utils; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncoder; import java.text.MessageFormat; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.ResourceBundle; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.servlet.http.HttpServletRequest; import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.StringEscapeUtils; import org.apache.commons.lang3.StringUtils; /** * This class provides a variety of basic utility methods that are not * dependent on any other classes within the org.jamwiki package structure. */ public abstract class Utilities { private static final WikiLogger logger = WikiLogger.getLogger(Utilities.class.getName()); private static final String ipv4Pattern = "(?:(?:[01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.){3}(?:[01]?\\d\\d?|2[0-4]\\d|25[0-5])"; private static final String ipv6Pattern = "(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]){1,4}"; private static final Pattern VALID_IPV4_PATTERN = Pattern.compile(ipv4Pattern, Pattern.CASE_INSENSITIVE); private static final Pattern VALID_IPV6_PATTERN = Pattern.compile(ipv6Pattern, Pattern.CASE_INSENSITIVE); /** * Convert a string value from one encoding to another. * * @param text The string that is to be converted. * @param fromEncoding The encoding that the string is currently encoded in. * @param toEncoding The encoding that the string is to be encoded to. * @return The encoded string. */ public static String convertEncoding(String text, String fromEncoding, String toEncoding) { if (StringUtils.isBlank(text)) { return text; } if (StringUtils.isBlank(fromEncoding)) { logger.warn("No character encoding specified to convert from, using UTF-8"); fromEncoding = "UTF-8"; } if (StringUtils.isBlank(toEncoding)) { logger.warn("No character encoding specified to convert to, using UTF-8"); toEncoding = "UTF-8"; } try { text = new String(text.getBytes(fromEncoding), toEncoding); } catch (UnsupportedEncodingException e) { // bad encoding logger.warn("Unable to convert value " + text + " from " + fromEncoding + " to " + toEncoding, e); } return text; } /** * Decode a value that has been retrieved from a servlet request. This * method will replace any underscores with spaces. * * @param url The encoded value that is to be decoded. * @param decodeUnderlines Set to <code>true</code> if underlines should * be automatically converted to spaces. * @return A decoded value. */ public static String decodeTopicName(String url, boolean decodeUnderlines) { if (StringUtils.isBlank(url)) { return url; } return (decodeUnderlines) ? StringUtils.replace(url, "_", " ") : url; } /** * Decode a value that has been retrieved directly from a URL or file * name. This method will URL decode the value and then replace any * underscores with spaces. Note that this method SHOULD NOT be called * for values retrieved using request.getParameter(), but only values * taken directly from a URL. * * @param url The encoded value that is to be decoded. * @param decodeUnderlines Set to <code>true</code> if underlines should * be automatically converted to spaces. * @return A decoded value. */ public static String decodeAndEscapeTopicName(String url, boolean decodeUnderlines) { if (StringUtils.isBlank(url)) { return url; } String result = url; try { result = URLDecoder.decode(result, "UTF-8"); } catch (UnsupportedEncodingException e) { // this should never happen throw new IllegalStateException("Unsupporting encoding UTF-8"); } return Utilities.decodeTopicName(result, decodeUnderlines); } /** * Convert a delimited string to a list. * * @param delimitedString A string consisting of the delimited list items. * @param delimiter The string used as the delimiter. * @return A list consisting of the delimited string items, or <code>null</code> if the * string is <code>null</code> or empty. */ public static List<String> delimitedStringToList(String delimitedString, String delimiter) { if (delimiter == null) { throw new IllegalArgumentException("Attempt to call Utilities.delimitedStringToList with no delimiter specified"); } if (StringUtils.isBlank(delimitedString)) { return null; } return Arrays.asList(StringUtils.splitByWholeSeparator(delimitedString, delimiter)); } /** * Encode a value for use a topic name. This method will replace any * spaces with underscores. * * @param url The decoded value that is to be encoded. * @return An encoded value. */ public static String encodeTopicName(String url) { if (StringUtils.isBlank(url)) { return url; } return StringUtils.replace(url, " ", "_"); } /** * Encode a topic name for use in a URL. This method will replace spaces * with underscores and URL encode the value, but it will not URL encode * colons. * * @param url The topic name to be encoded for use in a URL. * @return The encoded topic name value. */ public static String encodeAndEscapeTopicName(String url) { if (StringUtils.isBlank(url)) { return url; } String result = Utilities.encodeTopicName(url); try { result = URLEncoder.encode(result, "UTF-8"); } catch (UnsupportedEncodingException e) { // this should never happen throw new IllegalStateException("Unsupporting encoding UTF-8"); } // un-encode colons result = StringUtils.replace(result, "%3A", ":"); // un-encode forward slashes result = StringUtils.replace(result, "%2F", "/"); return result; } /** * Search through content, starting at a specific position, and search for the * first position of a matching end tag for a specified start tag. For instance, * if called with a start tag of "<b>" and an end tag of "</b>", this method * will operate as follows: * * "01<b>567</b>23" returns 8. * "01<b>56<b>01</b>67</b>23" returns 18. * * @param content The string to be searched. * @param start The position within the string to start searching from (inclusive). * Only characters after this position in the string will be examined. * @param startToken The opening tag to match. * @param endToken The closing tag to match. * @return -1 if no matching end tag is found, or the index within the string of the first * character of the end tag. */ public static int findMatchingEndTag(CharSequence content, int start, String startToken, String endToken) { // do some initial searching to make sure the tokens are available if (content == null || start < 0 || start >= content.length()) { return -1; } String contentString = content.toString(); int lastEndToken = contentString.lastIndexOf(endToken); if (lastEndToken == -1 || lastEndToken < start) { return -1; } int firstStartToken = contentString.indexOf(startToken, start); if (firstStartToken == -1) { return -1; } int pos = firstStartToken; int count = 0; int nextStart = firstStartToken; int nextEnd = lastEndToken; // search for matches within the area that tokens have already been found while (pos >= firstStartToken && pos < (lastEndToken + endToken.length())) { if (nextStart != -1 && nextStart < nextEnd) { // cursor is currently at the match of a start token count++; pos += startToken.length(); } else { // cursor is currently at the match of an end token count--; if (count == 0) { // this tag closes a match, return the position of the // start of the tag return pos; } pos += endToken.length(); } // jump to the next start or end token nextEnd = contentString.indexOf(endToken, pos); if (nextEnd == -1) { // no more matching end patterns, no match break; } nextStart = contentString.indexOf(startToken, pos); pos = (nextStart == -1) ? nextEnd : Math.min(nextStart, nextEnd); } return -1; } /** * Search through content, starting at a specific position, and search backwards for the * first position of a matching start tag for a specified end tag. For instance, * if called with an end tag of "</b>" and a start tag of "<b>", this method * will operate as follows: * * "01<b>567</b>23" returns 2. * "01234567</b>23" returns -1. * * @param content The string to be searched. * @param start The position within the string to start searching from (inclusive). * Only characters before this position in the string will be examined. * @param startToken The opening tag to match. * @param endToken The closing tag to match. * @return -1 if no matching start tag is found, or the index within the string of the first * character of the start tag. */ public static int findMatchingStartTag(CharSequence content, int start, String startToken, String endToken) { // do some initial searching to make sure the tokens are available if (content == null || start < 0 || start >= content.length()) { return -1; } int firstStartToken = StringUtils.indexOf(content, startToken); if (firstStartToken == -1 || firstStartToken > start) { return -1; } int lastEndToken = StringUtils.lastIndexOf(content, endToken, start); if (lastEndToken == -1) { return -1; } int pos = start; if (pos >= (lastEndToken + endToken.length())) { pos = lastEndToken + endToken.length() - 1; } int count = 0; String contentString = content.toString(); String substring; // search for matches within the area that tokens have already been found while (pos >= firstStartToken && pos < (lastEndToken + endToken.length())) { substring = contentString.substring(0, pos + 1); // search for matches from end-to-beginning if (substring.endsWith(endToken)) { count++; pos -= endToken.length(); } else if (substring.endsWith(startToken)) { count--; if (count == 0) { // this tag opens a match, return the position of the // start of the tag return (pos - startToken.length()) + 1; } pos -= startToken.length(); } else { pos--; } } return -1; } /** * Given a message key and locale return a locale-specific message. * * @param key The message key that corresponds to the formatted message * being retrieved. * @param locale The locale for the message that is to be retrieved. * @return A formatted message string that is specific to the locale. */ public static String formatMessage(String key, Locale locale) { ResourceBundle messages = ResourceBundle.getBundle("ApplicationResources", locale); return messages.getString(key); } /** * Given a message key, locale, and formatting parameters, return a * locale-specific message. * * @param key The message key that corresponds to the formatted message * being retrieved. * @param locale The locale for the message that is to be retrieved. * @param params An array of formatting parameters to use in the message * being returned. * @return A formatted message string that is specific to the locale. */ public static String formatMessage(String key, Locale locale, Object[] params) { MessageFormat formatter = new MessageFormat(""); formatter.setLocale(locale); String message = Utilities.formatMessage(key, locale); formatter.applyPattern(message); return formatter.format(params); } /** * Utility method for retrieving a key from a map, case-insensitive. This method * first tries to return an exact match, and if that fails it returns the first * case-insensitive match. * * @param map The map being examined. * @param key The key for the value being retrieved. * @return A matching value for the key, or <code>null</code> if no match is found. */ public static <V> V getMapValueCaseInsensitive(Map<String, V> map, String key) { if (map == null) { return null; } if (map.containsKey(key)) { return map.get(key); } for (Map.Entry<String, V> entry : map.entrySet()) { if (StringUtils.equalsIgnoreCase(entry.getKey(), key)) { return entry.getValue(); } } return null; } /** * Utility method to help work around XSS attacks when executing request.getQueryString(). * If the query string contains ", <, or > then assume it is malicious and escape. * * @param request The current servlet request. * @return The request query string, or an escaped version if it appears to be an XSS * attack. */ public static String getQueryString(HttpServletRequest request) { if (request == null) { return null; } String queryString = request.getQueryString(); if (StringUtils.isBlank(queryString)) { return queryString; } if (StringUtils.containsAny(queryString, "\"><")) { queryString = queryString.replaceAll("\"", "%22"); queryString = queryString.replaceAll(">", "%3E"); queryString = queryString.replaceAll("<", "%3C"); } return queryString; } /** * Given a request, determine the server URL. * * @return A Server URL of the form http://www.example.com/ */ public static String getServerUrl(HttpServletRequest request) { return request.getScheme() + "://" + request.getServerName() + ((request.getServerPort() != 80) ? ":" + request.getServerPort() : ""); } /** * Initialize a hash map from a list of strings for use in lookups. The performance * of a lookup against a hash map is superior to that of a list, so this approach is * useful for critical-path lookups. */ public static Map<String, String> initializeLookupMap(String... args) { Map<String, String> lookupMap = new HashMap<String, String>(); for (int i = 0; i < args.length; i++) { lookupMap.put(args[i], args[i]); } return lookupMap; } /** * Utility method for determining common elements in two Map objects. */ public static <K, V> Map<K, V> intersect(Map<K, V> map1, Map<K, V> map2) { if (map1 == null || map2 == null) { throw new IllegalArgumentException("Utilities.intersection() requires non-null arguments"); } Map<K, V> result = new HashMap<K, V>(); for (Map.Entry<K, V> entry : map1.entrySet()) { if (ObjectUtils.equals(entry.getValue(), map2.get(entry.getKey()))) { result.put(entry.getKey(), entry.getValue()); } } return result; } /** * Given a string, determine if it is a valid HTML entity (such as &trade; or * &#160;). * * @param text The text that is being examined. * @return <code>true</code> if the text is a valid HTML entity. */ public static boolean isHtmlEntity(String text) { if (text == null) { return false; } // see if it was successfully converted, in which case it is an entity try { return (!text.equals(StringEscapeUtils.unescapeHtml4(text))); } catch (IllegalArgumentException e) { // "&#xffffff;" seems to be throwing errors return false; } } /** * Determine if the given string is a valid IPv4 or IPv6 address. This method * uses pattern matching to see if the given string could be a valid IP address. * * @param ipAddress A string that is to be examined to verify whether or not * it could be a valid IP address. * @return <code>true</code> if the string is a value that is a valid IP address, * <code>false</code> otherwise. */ public static boolean isIpAddress(String ipAddress) { if (StringUtils.isBlank(ipAddress)) { return false; } Matcher m1 = Utilities.VALID_IPV4_PATTERN.matcher(ipAddress); if (m1.matches()) { return true; } Matcher m2 = Utilities.VALID_IPV6_PATTERN.matcher(ipAddress); return m2.matches(); } /** * Convert a list to a delimited string. * * @param list The list to convert to a string. * @param delimiter The string to use as a delimiter. * @return A string consisting of the delimited list items, or <code>null</code> if the * list is <code>null</code> or empty. */ public static String listToDelimitedString(List<String> list, String delimiter) { if (delimiter == null) { throw new IllegalArgumentException("Attempt to call Utilities.delimitedStringToList with no delimiter specified"); } if (list == null || list.isEmpty()) { return null; } String result = ""; for (String item : list) { if (result.length() > 0) { result += delimiter; } result += item; } return result; } /** * Strip all HTML tags from a string. For example, "A <b>bold</b> word" will be * returned as "A bold word". This method treats an tags that are between brackets * as HTML, whether it is valid HTML or not. * * @param value The value that will have HTML stripped from it. * @return The value submitted to this method with all HTML tags removed from it. */ public static String stripMarkup(String value) { return StringUtils.trim(value.replaceAll("<[^>]+>", "")); } }
opendatakraken/openbiwiki
openbiwiki-core/src/main/java/org/jamwiki/utils/Utilities.java
Java
mit
17,621
[ 30522, 1013, 1008, 1008, 1008, 7000, 2104, 1996, 27004, 8276, 2236, 2270, 6105, 1010, 2544, 1016, 1012, 1015, 1010, 6052, 2337, 2639, 1012, 1008, 1008, 2023, 2565, 2003, 2489, 4007, 1025, 2017, 2064, 2417, 2923, 3089, 8569, 2618, 2009, 1998, 1013, 2030, 19933, 1008, 2009, 2104, 1996, 3408, 1997, 1996, 6745, 2544, 1997, 1996, 27004, 8276, 2236, 1008, 2270, 6105, 2004, 2405, 2011, 1996, 2489, 4007, 3192, 1025, 1008, 1008, 2023, 2565, 2003, 5500, 1999, 1996, 3246, 2008, 2009, 2097, 2022, 6179, 1010, 1008, 2021, 2302, 2151, 10943, 2100, 1025, 2302, 2130, 1996, 13339, 10943, 30524, 3327, 3800, 1012, 2156, 1996, 1008, 27004, 8276, 2236, 2270, 6105, 2005, 2062, 4751, 1012, 1008, 1008, 2017, 2323, 2031, 2363, 1037, 6100, 1997, 1996, 27004, 8276, 2236, 2270, 6105, 1008, 2247, 2007, 2023, 2565, 1006, 6105, 1012, 19067, 2102, 1007, 1025, 2065, 2025, 1010, 4339, 2000, 1996, 2489, 4007, 1008, 3192, 1010, 4297, 1012, 1010, 5354, 3379, 2173, 1011, 7621, 14210, 1010, 3731, 1010, 5003, 6185, 14526, 2487, 1011, 7558, 2581, 1010, 3915, 1012, 1008, 1013, 7427, 8917, 1012, 9389, 9148, 3211, 1012, 21183, 12146, 1025, 12324, 9262, 1012, 22834, 1012, 4895, 6342, 9397, 15613, 2368, 3597, 4667, 10288, 24422, 1025, 12324, 9262, 1012, 5658, 1012, 24471, 17920, 16044, 2099, 1025, 12324, 9262, 1012, 5658, 1012, 24471, 7770, 16044, 2099, 1025, 12324, 9262, 1012, 3793, 1012, 4471, 14192, 4017, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 27448, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 23325, 2863, 2361, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 2862, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 2334, 2063, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 4949, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 7692, 27265, 2571, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 19723, 10288, 1012, 2674, 2121, 1025, 12324, 9262, 1012, 21183, 4014, 1012, 19723, 10288, 1012, 5418, 1025, 12324, 9262, 2595, 1012, 14262, 2615, 7485, 1012, 8299, 1012, 16770, 2121, 2615, 7485, 2890, 15500, 1025, 12324, 8917, 1012, 15895, 1012, 7674, 1012, 11374, 2509, 1012, 4874, 21823, 4877, 1025, 12324, 8917, 1012, 15895, 1012, 7674, 1012, 11374, 2509, 1012, 5164, 2229, 19464, 21823, 4877, 1025, 12324, 8917, 1012, 15895, 1012, 7674, 1012, 11374, 2509, 1012, 5164, 21823, 4877, 1025, 1013, 1008, 1008, 1008, 2023, 2465, 3640, 1037, 3528, 1997, 3937, 9710, 4725, 2008, 2024, 2025, 1008, 7790, 2006, 2151, 2060, 4280, 2306, 1996, 8917, 1012, 9389, 9148, 3211, 7427, 3252, 1012, 1008, 1013, 2270, 10061, 2465, 16548, 1063, 2797, 10763, 2345, 15536, 3211, 21197, 4590, 8833, 4590, 1027, 15536, 3211, 21197, 4590, 1012, 2131, 21197, 4590, 1006, 16548, 1012, 2465, 1012, 2131, 18442, 1006, 1007, 1007, 1025, 2797, 10763, 2345, 5164, 12997, 2615, 2549, 4502, 12079, 2078, 1027, 1000, 1006, 1029, 1024, 1006, 1029, 1024, 1031, 5890, 1033, 1029, 1032, 1032, 1040, 1032, 1032, 1040, 1029, 1064, 1016, 1031, 1014, 1011, 1018, 1033, 1032, 1032, 1040, 1064, 2423, 1031, 1014, 1011, 1019, 1033, 1007, 1032, 1032, 1012, 1007, 1063, 1017, 1065, 1006, 1029, 1024, 1031, 5890, 30523, 2100, 1997, 1008, 6432, 8010, 2030, 10516, 2005, 1037, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2100, 1997, 1008, 6432, 8010, 2030, 10516, 2005, 1037, 30526 ]
/* Copyright 2019 Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ // This file originally generated by etw_list // version: 39cbad322984eb15ebf4c422610241bcaf098e09 // parameters: --show=all --output=c++ --event=MILEVENT_MEDIA_UCE_PROCESSPRESENTHISTORY_GetPresentHistory::Info --event=SCHEDULE_PRESENT::Start --event=SCHEDULE_SURFACEUPDATE::Info --provider=*dwm-core namespace Microsoft_Windows_Dwm_Core { struct __declspec(uuid("{9e9bba3c-2e38-40cb-99f4-9e8281425164}")) GUID_STRUCT; static const auto GUID = __uuidof(GUID_STRUCT); // Win7 GUID added manually: namespace Win7 { struct __declspec(uuid("{8c9dd1ad-e6e5-4b07-b455-684a9d879900}")) GUID_STRUCT; static const auto GUID = __uuidof(GUID_STRUCT); } enum class Keyword : uint64_t { DwmCore = 0x1, DetailedFrameInformation = 0x2, FrameDrawInconsistencyInformation = 0x4, DwmFrameRate = 0x8, AnimationScreenOff = 0x10, ProcessAttribution = 0x20, FrameVisualization = 0x10000, LowOverheadSmoothnessTracking = 0x20000, FrameVisualizationExtra = 0x40000, DwmHolographic = 0x80000, WorkPerFrame = 0x100000, DwmInput = 0x200000, DwmDiagTrack = 0x400000, win_ResponseTime = 0x1000000000000, Microsoft_Windows_Dwm_Core_Diagnostic = 0x8000000000000000, }; enum class Level : uint8_t { win_Error = 0x2, win_Informational = 0x4, win_Verbose = 0x5, }; enum class Channel : uint8_t { Microsoft_Windows_Dwm_Core_Diagnostic = 0x10, }; // Event descriptors: #define EVENT_DESCRIPTOR_DECL(name_, id_, version_, channel_, level_, opcode_, task_, keyword_) struct name_ { \ static uint16_t const Id = id_; \ static uint8_t const Version = version_; \ static uint8_t const Channel = channel_; \ static uint8_t const Level = level_; \ static uint8_t const Opcode = opcode_; \ static uint16_t const Task = task_; \ static Keyword const Keyword = (Keyword) keyword_; \ }; EVENT_DESCRIPTOR_DECL(MILEVENT_MEDIA_UCE_PROCESSPRESENTHISTORY_GetPresentHistory_Info, 0x0040, 0x00, 0x10, 0x05, 0x00, 0x003f, 0x8000000000000001) EVENT_DESCRIPTOR_DECL(SCHEDULE_PRESENT_Start , 0x000f, 0x00, 0x10, 0x04, 0x01, 0x000d, 0x8000000000000001) EVENT_DESCRIPTOR_DECL(SCHEDULE_SURFACEUPDATE_Info , 0x00c4, 0x00, 0x10, 0x04, 0x00, 0x007f, 0x8000000000000001) // These events added manually: struct FlipChain_Pending { static uint16_t const Id = 0x0045; }; struct FlipChain_Complete { static uint16_t const Id = 0x0046; }; struct FlipChain_Dirty { static uint16_t const Id = 0x0065; }; #undef EVENT_DESCRIPTOR_DECL #pragma warning(push) #pragma warning(disable: 4200) // nonstandard extension used: zero-sized array in struct #pragma pack(push) #pragma pack(1) struct MILEVENT_MEDIA_UCE_PROCESSPRESENTHISTORY_GetPresentHistory_Info_Struct { uint32_t hr; uint32_t cTokenCount; }; struct SCHEDULE_PRESENT_Start_Struct { uint64_t tCurrent; uint64_t tPresent; uint64_t cRefreshCurrent; uint64_t cRefreshPresent; uint32_t fForce; }; struct SCHEDULE_SURFACEUPDATE_Info_MemberStruct_1_Struct { uint32_t lowpart; uint32_t highpart; }; struct SCHEDULE_SURFACEUPDATE_Info_Struct { struct SCHEDULE_SURFACEUPDATE_Info_MemberStruct_1_Struct luidSurface[1]; uint64_t bindId; uint64_t PresentCount; uint64_t fenceValue; uint32_t bDirectFlip; uint32_t DXGI_ALPHA_MODE; uint64_t hmonAssociation; uint32_t bStereoPreferRight; uint32_t bTemporaryMono; uint32_t bSwapPool; uint32_t BufferContentType; uint32_t bIndependentFlip; uint32_t uPesentDuration; uint32_t BufferRealizationType; uint32_t uRealizationIndex; uint64_t hDxSurface; }; #pragma pack(pop) #pragma warning(pop) }
jenatali/PresentMon
PresentData/DwmEventStructs.hpp
C++
mit
5,291
[ 30522, 1013, 1008, 9385, 10476, 13420, 3840, 6656, 2003, 2182, 3762, 4379, 1010, 2489, 1997, 3715, 1010, 2000, 2151, 2711, 11381, 1037, 6100, 1997, 2023, 4007, 1998, 3378, 12653, 6764, 1006, 1996, 1000, 4007, 1000, 1007, 1010, 2000, 3066, 1999, 1996, 4007, 2302, 16840, 1010, 2164, 2302, 22718, 1996, 2916, 2000, 2224, 1010, 6100, 1010, 19933, 1010, 13590, 1010, 10172, 1010, 16062, 1010, 4942, 13231, 12325, 1010, 1998, 1013, 2030, 5271, 4809, 1997, 1996, 4007, 1010, 1998, 2000, 9146, 5381, 2000, 3183, 1996, 4007, 2003, 19851, 2000, 2079, 2061, 1010, 3395, 2000, 1996, 2206, 3785, 1024, 1996, 2682, 9385, 5060, 1998, 2023, 6656, 5060, 4618, 2022, 2443, 1999, 2035, 4809, 2030, 6937, 8810, 1997, 1996, 4007, 1012, 1996, 4007, 2003, 3024, 1000, 2004, 2003, 1000, 1010, 2302, 10943, 2100, 1997, 2151, 2785, 1010, 4671, 2030, 13339, 1010, 2164, 2021, 2025, 3132, 2000, 1996, 10943, 3111, 1997, 6432, 8010, 1010, 10516, 2005, 1037, 3327, 3800, 1998, 2512, 2378, 19699, 23496, 3672, 1012, 1999, 2053, 2724, 30524, 1996, 4007, 2030, 1996, 2224, 2030, 2060, 24069, 1999, 1996, 4007, 1012, 1008, 1013, 1013, 1013, 2023, 5371, 2761, 7013, 2011, 3802, 2860, 1035, 2862, 1013, 1013, 2544, 1024, 4464, 27421, 4215, 16703, 24594, 2620, 2549, 15878, 16068, 15878, 2546, 2549, 2278, 20958, 23833, 10790, 18827, 2487, 9818, 10354, 2692, 2683, 2620, 2063, 2692, 2683, 1013, 1013, 11709, 1024, 1011, 1011, 2265, 1027, 2035, 1011, 1011, 6434, 1027, 1039, 1009, 1009, 1011, 1011, 2724, 1027, 3542, 15338, 1035, 2865, 1035, 15384, 2063, 1035, 2832, 28994, 4765, 24158, 7062, 1035, 2131, 28994, 4765, 24158, 7062, 1024, 1024, 18558, 1011, 1011, 2724, 1027, 6134, 1035, 2556, 1024, 1024, 2707, 1011, 1011, 2724, 1027, 6134, 1035, 3302, 6279, 13701, 1024, 1024, 18558, 1011, 1011, 10802, 1027, 1008, 1040, 2860, 2213, 1011, 4563, 3415, 15327, 7513, 1035, 3645, 1035, 1040, 2860, 2213, 1035, 4563, 1063, 2358, 6820, 6593, 1035, 1035, 11703, 4877, 5051, 2278, 1006, 1057, 21272, 1006, 1000, 1063, 1023, 2063, 2683, 22414, 2509, 2278, 1011, 1016, 2063, 22025, 1011, 2871, 27421, 1011, 5585, 2546, 2549, 1011, 1023, 2063, 2620, 22407, 16932, 17788, 16048, 2549, 1065, 1000, 1007, 1007, 26458, 2094, 1035, 2358, 6820, 6593, 1025, 10763, 9530, 3367, 8285, 26458, 2094, 1027, 1035, 1035, 1057, 21272, 11253, 1006, 26458, 2094, 1035, 2358, 6820, 6593, 1007, 1025, 1013, 1013, 2663, 2581, 26458, 2094, 2794, 21118, 1024, 3415, 15327, 2663, 2581, 1063, 2358, 6820, 6593, 1035, 1035, 11703, 4877, 5051, 2278, 1006, 1057, 21272, 1006, 1000, 1063, 1022, 2278, 2683, 14141, 2487, 4215, 1011, 1041, 2575, 2063, 2629, 1011, 1018, 2497, 2692, 2581, 1011, 1038, 19961, 2629, 1011, 6273, 2549, 2050, 2683, 2094, 2620, 2581, 2683, 21057, 2692, 1065, 1000, 1007, 1007, 26458, 2094, 1035, 2358, 6820, 6593, 1025, 10763, 9530, 3367, 8285, 26458, 2094, 1027, 1035, 1035, 1057, 21272, 11253, 30523, 4618, 1996, 6048, 2030, 9385, 13304, 2022, 20090, 2005, 2151, 4366, 1010, 12394, 2030, 2060, 14000, 1010, 3251, 1999, 2019, 2895, 1997, 3206, 1010, 17153, 2102, 2030, 4728, 1010, 17707, 2013, 1010, 2041, 1997, 2030, 1999, 4434, 2007, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 4618, 1996, 6048, 2030, 9385, 13304, 2022, 20090, 2005, 2151, 4366, 1010, 12394, 2030, 2060, 14000, 1010, 3251, 1999, 2019, 2895, 1997, 3206, 1010, 17153, 2102, 2030, 4728, 1010, 17707, 2013, 1010, 2041, 1997, 2030, 1999, 4434, 2007, 30526 ]
# Author: Nic Wolfe <[email protected]> # URL: http://code.google.com/p/lazylibrarian/ # # This file is part of Sick Beard. # # Sick Beard is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Sick Beard is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Sick Beard. If not, see <http://www.gnu.org/licenses/>. import lazylibrarian from lazylibrarian import logger, common, formatter # parse_qsl moved to urlparse module in v2.6 try: from urlparse import parse_qsl #@UnusedImport except: from cgi import parse_qsl #@Reimport import lib.oauth2 as oauth import lib.pythontwitter as twitter class TwitterNotifier: consumer_key = "208JPTMMnZjtKWA4obcH8g" consumer_secret = "BKaHzaQRd5PK6EH8EqPZ1w8mz6NSk9KErArarinHutk" REQUEST_TOKEN_URL = 'https://api.twitter.com/oauth/request_token' ACCESS_TOKEN_URL = 'https://api.twitter.com/oauth/access_token' AUTHORIZATION_URL = 'https://api.twitter.com/oauth/authorize' SIGNIN_URL = 'https://api.twitter.com/oauth/authenticate' def notify_snatch(self, title): if lazylibrarian.TWITTER_NOTIFY_ONSNATCH: self._notifyTwitter(common.notifyStrings[common.NOTIFY_SNATCH]+': '+title) def notify_download(self, title): if lazylibrarian.TWITTER_NOTIFY_ONDOWNLOAD: self._notifyTwitter(common.notifyStrings[common.NOTIFY_DOWNLOAD]+': '+title) def test_notify(self): return self._notifyTwitter("This is a test notification from LazyLibrarian / " + formatter.now(), force=True) def _get_authorization(self): signature_method_hmac_sha1 = oauth.SignatureMethod_HMAC_SHA1() #@UnusedVariable oauth_consumer = oauth.Consumer(key=self.consumer_key, secret=self.consumer_secret) oauth_client = oauth.Client(oauth_consumer) logger.info('Requesting temp token from Twitter') resp, content = oauth_client.request(self.REQUEST_TOKEN_URL, 'GET') if resp['status'] != '200': logger.info('Invalid respond from Twitter requesting temp token: %s' % resp['status']) else: request_token = dict(parse_qsl(content)) lazylibrarian.TWITTER_USERNAME = request_token['oauth_token'] lazylibrarian.TWITTER_PASSWORD = request_token['oauth_token_secret'] return self.AUTHORIZATION_URL+"?oauth_token="+ request_token['oauth_token'] def _get_credentials(self, key): request_token = {} request_token['oauth_token'] = lazylibrarian.TWITTER_USERNAME request_token['oauth_token_secret'] = lazylibrarian.TWITTER_PASSWORD request_token['oauth_callback_confirmed'] = 'true' token = oauth.Token(request_token['oauth_token'], request_token['oauth_token_secret']) token.set_verifier(key) logger.info('Generating and signing request for an access token using key '+key) signature_method_hmac_sha1 = oauth.SignatureMethod_HMAC_SHA1() #@UnusedVariable oauth_consumer = oauth.Consumer(key=self.consumer_key, secret=self.consumer_secret) logger.info('oauth_consumer: '+str(oauth_consumer)) oauth_client = oauth.Client(oauth_consumer, token) logger.info('oauth_client: '+str(oauth_client)) resp, content = oauth_client.request(self.ACCESS_TOKEN_URL, method='POST', body='oauth_verifier=%s' % key) logger.info('resp, content: '+str(resp)+','+str(content)) access_token = dict(parse_qsl(content)) logger.info('access_token: '+str(access_token)) logger.info('resp[status] = '+str(resp['status'])) if resp['status'] != '200': logger.error('The request for a token with did not succeed: '+str(resp['status'])) return False else: logger.info('Your Twitter Access Token key: %s' % access_token['oauth_token']) logger.info('Access Token secret: %s' % access_token['oauth_token_secret']) lazylibrarian.TWITTER_USERNAME = access_token['oauth_token'] lazylibrarian.TWITTER_PASSWORD = access_token['oauth_token_secret'] return True def _send_tweet(self, message=None): username=self.consumer_key password=self.consumer_secret access_token_key=lazylibrarian.TWITTER_USERNAME access_token_secret=lazylibrarian.TWITTER_PASSWORD logger.info(u"Sending tweet: "+message) api = twitter.Api(username, password, access_token_key, access_token_secret) try: api.PostUpdate(message) except Exception, e: logger.error(u"Error Sending Tweet: %s" %e) return False return True def _notifyTwitter(self, message='', force=False): prefix = lazylibrarian.TWITTER_PREFIX if not lazylibrarian.USE_TWITTER and not force: return False return self._send_tweet(prefix+": "+message) notifier = TwitterNotifier
theguardian/LazyLibrarian_Old
lazylibrarian/notifiers/tweet.py
Python
gpl-3.0
5,477
[ 30522, 1001, 3166, 1024, 27969, 14212, 1026, 27969, 1030, 14212, 4181, 1012, 6187, 1028, 1001, 24471, 2140, 1024, 8299, 1024, 1013, 1013, 3642, 1012, 8224, 1012, 4012, 1013, 1052, 1013, 13971, 29521, 19848, 2937, 1013, 1001, 1001, 2023, 5371, 2003, 2112, 1997, 5305, 10154, 1012, 1001, 1001, 5305, 10154, 2003, 2489, 4007, 1024, 2017, 2064, 2417, 2923, 3089, 8569, 2618, 2009, 1998, 1013, 2030, 19933, 1001, 2009, 2104, 1996, 3408, 1997, 1996, 27004, 2236, 2270, 6105, 2004, 2405, 2011, 1001, 1996, 2489, 4007, 3192, 1010, 2593, 2544, 1017, 1997, 1996, 6105, 1010, 2030, 1001, 1006, 2012, 2115, 5724, 1007, 2151, 2101, 2544, 1012, 1001, 1001, 5305, 10154, 2003, 5500, 1999, 1996, 3246, 2008, 2009, 2097, 2022, 6179, 1010, 1001, 2021, 2302, 2151, 10943, 2100, 1025, 2302, 2130, 1996, 13339, 10943, 2100, 1997, 1001, 6432, 8010, 2030, 10516, 2005, 1037, 3327, 3800, 1012, 2156, 1996, 1001, 27004, 2236, 2270, 6105, 2005, 2062, 4751, 1012, 1001, 1001, 2017, 2323, 2031, 2363, 1037, 6100, 1997, 1996, 27004, 2236, 2270, 6105, 1001, 2247, 2007, 5305, 10154, 1012, 2065, 2025, 1010, 2156, 1026, 8299, 1024, 1013, 1013, 7479, 1012, 27004, 1012, 8917, 1013, 15943, 1013, 1028, 1012, 12324, 13971, 29521, 19848, 2937, 2013, 13971, 29521, 19848, 2937, 12324, 8833, 4590, 1010, 2691, 1010, 4289, 3334, 1001, 11968, 3366, 1035, 1053, 14540, 2333, 2000, 24471, 14277, 11650, 2063, 11336, 1999, 1058, 2475, 1012, 1020, 3046, 1024, 2013, 24471, 14277, 11650, 2063, 12324, 11968, 3366, 1035, 1053, 14540, 1001, 1030, 15171, 5714, 6442, 3272, 1024, 2013, 1039, 5856, 12324, 11968, 3366, 1035, 1053, 14540, 1001, 1030, 24964, 8737, 11589, 12324, 5622, 2497, 1012, 1051, 4887, 2705, 2475, 2004, 1051, 4887, 2705, 12324, 5622, 2497, 1012, 18750, 2102, 9148, 12079, 2004, 10474, 2465, 10474, 17048, 18095, 1024, 7325, 1035, 3145, 1027, 1000, 18512, 3501, 13876, 7382, 14191, 3501, 2102, 2243, 4213, 2549, 16429, 2818, 2620, 2290, 1000, 7325, 1035, 3595, 1027, 1000, 23923, 4430, 4143, 4160, 4103, 2629, 2361, 2243, 2575, 11106, 2620, 2063, 4160, 2361, 2480, 2487, 2860, 2620, 2213, 2480, 2575, 25564, 2683, 5484, 5400, 6657, 6979, 2102, 2243, 1000, 5227, 1035, 19204, 1035, 24471, 2140, 1027, 1005, 16770, 1024, 1013, 1013, 17928, 1012, 10474, 1012, 4012, 1013, 1051, 4887, 2705, 1013, 5227, 1035, 19204, 1005, 3229, 1035, 19204, 1035, 24471, 2140, 1027, 1005, 16770, 1024, 1013, 1013, 17928, 1012, 10474, 1012, 4012, 1013, 1051, 4887, 2705, 1013, 3229, 1035, 19204, 1005, 20104, 1035, 24471, 2140, 1027, 1005, 16770, 1024, 1013, 1013, 17928, 1012, 10474, 1012, 4012, 1013, 1051, 4887, 2705, 1013, 3166, 4697, 1005, 3696, 2378, 1035, 24471, 2140, 1027, 1005, 16770, 1024, 1013, 1013, 17928, 1012, 10474, 1012, 4012, 1013, 1051, 30524, 2102, 9148, 12079, 1006, 2691, 1012, 2025, 8757, 3367, 4892, 2015, 1031, 2691, 1012, 2025, 8757, 1035, 23365, 1033, 1009, 1005, 1024, 1005, 1009, 30523, 4887, 2705, 1013, 14469, 3686, 1005, 13366, 2025, 8757, 1035, 23365, 1006, 2969, 1010, 2516, 1007, 1024, 2065, 13971, 29521, 19848, 2937, 1012, 10474, 1035, 2025, 8757, 1035, 2006, 2015, 19833, 2818, 1024, 2969, 1012, 1035, 2025, 8757, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 4887, 2705, 1013, 14469, 3686, 1005, 13366, 2025, 8757, 1035, 23365, 1006, 2969, 1010, 2516, 1007, 1024, 2065, 13971, 29521, 19848, 2937, 1012, 10474, 1035, 2025, 8757, 1035, 2006, 2015, 19833, 2818, 1024, 2969, 1012, 1035, 2025, 8757, 30526 ]
require 'spec_helper' describe Headhunter::CssValidator do # TODO: "Module Headhunter" describe '#validate' do subject { described_class.new } it 'adds a response when calling the validator succeeds' do expect { subject.validate(path_to_file('css_validator/invalid.css')) }.to change { subject.responses.count }.by 1 end it 'throws an exception when calling the validator fails' end describe '#extract_filename' do subject { described_class.new } it 'for a compiled asset, it returns the name of the file without the cache hash' do filename = '/rails/root/public/assets/some-rails_asset-1f6355461e8ff118448a9649a392632c.css' expect(subject.send(:extract_filename, filename)).to eq 'some-rails_asset.css' end it 'for any other file, it simply returns the name' do filename = '/rails/root/public/assets/some_other-file.css' expect(subject.send(:extract_filename, filename)).to eq 'some_other-file.css' end end describe '#x_stylesheets_be' do subject { described_class.new } it "creates a grammatically correct sentence when there is no stylesheet" do expect(subject.x_stylesheets_be(0)).to eq '0 stylesheet is' end it "creates a grammatically correct sentence when there is only one stylesheet" do expect(subject.x_stylesheets_be(1)).to eq '1 stylesheet is' end it "creates a grammatically correct sentence when there is more than one stylesheet" do expect(subject.x_stylesheets_be(2)).to eq '2 stylesheets are' end end describe '#statistics' do context 'for valid CSS' do subject { described_class.new([path_to_file('css_validator/valid.css')]).statistics } it "returns a text with nice statistics" do expect(subject).to match 'Validated 1 stylesheet.' expect(subject).to match 'All stylesheets are valid.' end end context 'for invalid CSS' do subject { described_class.new([path_to_file('css_validator/invalid.css')]).statistics } it "returns a text with nice statistics" do expect(subject).to match 'Validated 1 stylesheet.' expect(subject).to match '1 stylesheet is invalid.' expect(subject).to match 'invalid.css:' expect(subject).to match "Line 8: Property wibble doesn't exist." end end end describe '#initialize' do context 'for no CSS' do subject { described_class.new } it 'executes validation' do expect(subject.valid_responses.size).to eq 0 expect(subject.invalid_responses.size).to eq 0 end end context 'for valid CSS' do subject { described_class.new([path_to_file('css_validator/valid.css')]) } it 'executes validation' do expect(subject.valid_responses.size).to eq 1 expect(subject.invalid_responses.size).to eq 0 end end context 'for invalid CSS' do subject { described_class.new([path_to_file('css_validator/invalid.css')]) } it 'executes validation' do expect(subject.invalid_responses.size).to eq 1 expect(subject.valid_responses.size).to eq 0 end end end describe '#valid_responses' do subject { described_class.new([path_to_file('css_validator/valid.css')]) } it 'returns all valid responses' do expect(subject.valid_responses.size).to eq 1 expect(subject.invalid_responses.size).to eq 0 end end describe '#invalid_responses' do subject { described_class.new([path_to_file('css_validator/invalid.css')]) } it 'returns all valid responses' do expect(subject.invalid_responses.size).to eq 1 expect(subject.valid_responses.size).to eq 0 end end end describe Headhunter::CssValidator::Response do describe '#initialize' do context 'valid response' do subject { described_class.new(read_file('css_validator/valid_response.xml')) } it { should be_valid } end context 'invalid response' do subject { described_class.new(read_file('css_validator/invalid_response.xml')) } it { should_not be_valid } end end describe '#errors' do context 'valid response' do subject { described_class.new(read_file('css_validator/valid_response.xml')) } it 'returns an empty array' do expect(subject.errors).to eq [] end end context 'invalid response' do subject { described_class.new(read_file('css_validator/invalid_response.xml')) } it 'returns an array of errors' do expect(subject.errors.size).to eq 1 expect(subject.errors.first).to be_a Headhunter::CssValidator::Response::Error end end end describe '#convert_soap_to_xml' do subject { described_class.new } it 'converts SOAP to XML' do string = "this is the first line\n<m:errors><m:pipapo><bla>Bla!</bla</m:pipapo</m:errors>" expect(subject.send :convert_soap_to_xml, string).to eq "<errors><pipapo><bla>Bla!</bla</pipapo</errors>" end end describe '#remove_first_line_from' do subject { described_class.new } it 'removes the first line from a passed string' do string = "this is the first line\nthis\nis the\nrest" expect(subject.send :remove_first_line_from, string).to eq "this\nis the\nrest" end end describe '#sanitize_prefixed_tags_from' do subject { described_class.new } it 'replaces tags like <m:error> with <error> in a passed string' do string = "<m:errors><m:pipapo><bla>Bla!</bla</m:pipapo</m:errors>" expect(subject.send :sanitize_prefixed_tags_from, string).to eq "<errors><pipapo><bla>Bla!</bla</pipapo</errors>" end end describe '#uri' do subject { described_class.new(read_file('css_validator/valid_response.xml')) } it "returns the validated uri's path" do expect(subject.send :uri).to eq 'file:tmp.css' end end end describe Headhunter::CssValidator::Response::Error do describe '#initialize' do subject { described_class.new(123, "Attribute xyz doesn't exist", context: 'something', anything_else: 'bla') } it 'assigns the passed params correctly' do expect(subject.line).to eq 123 expect(subject.message).to eq "Attribute xyz doesn't exist" expect(subject.details).to eq context: 'something', anything_else: 'bla' end end end
jmuheim/headhunter
spec/lib/headhunter/css_validator_spec.rb
Ruby
mit
6,334
[ 30522, 5478, 1005, 28699, 1035, 2393, 2121, 1005, 6235, 2132, 25629, 1024, 1024, 20116, 2015, 10175, 8524, 4263, 2079, 1001, 28681, 2080, 1024, 1000, 11336, 2132, 25629, 1000, 6235, 1005, 1001, 9398, 3686, 1005, 2079, 3395, 1063, 2649, 1035, 2465, 1012, 2047, 1065, 2009, 1005, 9909, 1037, 3433, 2043, 4214, 1996, 9398, 8844, 21645, 1005, 2079, 5987, 1063, 3395, 1012, 9398, 3686, 1006, 4130, 1035, 2000, 1035, 5371, 1006, 1005, 20116, 2015, 1035, 9398, 8844, 1013, 19528, 1012, 20116, 2015, 1005, 1007, 1007, 1065, 1012, 2000, 2689, 1063, 3395, 1012, 10960, 1012, 4175, 1065, 1012, 2011, 1015, 2203, 2009, 1005, 11618, 2019, 6453, 2043, 4214, 1996, 9398, 8844, 11896, 1005, 2203, 6235, 1005, 1001, 14817, 1035, 5371, 18442, 1005, 2079, 3395, 1063, 2649, 1035, 2465, 1012, 2047, 1065, 2009, 1005, 2005, 1037, 9227, 11412, 1010, 2009, 5651, 1996, 2171, 1997, 1996, 5371, 2302, 1996, 17053, 23325, 1005, 2079, 5371, 18442, 1027, 1005, 1013, 15168, 1013, 7117, 1013, 2270, 1013, 7045, 1013, 2070, 1011, 15168, 1035, 11412, 1011, 1015, 2546, 2575, 19481, 27009, 2575, 2487, 2063, 2620, 4246, 14526, 2620, 22932, 2620, 2050, 2683, 21084, 2683, 2050, 23499, 23833, 16703, 2278, 1012, 20116, 2015, 1005, 5987, 1006, 3395, 1012, 4604, 1006, 1024, 14817, 1035, 5371, 18442, 1010, 5371, 18442, 1007, 1007, 1012, 2000, 1041, 4160, 1005, 2070, 1011, 15168, 1035, 11412, 1012, 20116, 2015, 1005, 2203, 2009, 1005, 2005, 2151, 2060, 5371, 1010, 2009, 3432, 5651, 1996, 2171, 1005, 2079, 5371, 18442, 1027, 1005, 1013, 15168, 1013, 7117, 1013, 2270, 1013, 7045, 1013, 2070, 1035, 2060, 1011, 5371, 1012, 20116, 2015, 1005, 5987, 1006, 3395, 1012, 4604, 1006, 1024, 14817, 1035, 5371, 18442, 1010, 5371, 18442, 1007, 1007, 1012, 2000, 1041, 4160, 1005, 2070, 1035, 2060, 1011, 5371, 1012, 20116, 2015, 1005, 2203, 2203, 6235, 1005, 1001, 1060, 1035, 6782, 21030, 3215, 1035, 2022, 1005, 2079, 3395, 1063, 2649, 1035, 2465, 1012, 2047, 1065, 2009, 1000, 9005, 1037, 24402, 2135, 6149, 6251, 2043, 2045, 2003, 2053, 6782, 21030, 2102, 1000, 30524, 2203, 2009, 1000, 9005, 1037, 24402, 2135, 6149, 6251, 2043, 2045, 2003, 2069, 2028, 6782, 21030, 2102, 1000, 2079, 5987, 1006, 3395, 1012, 1060, 1035, 6782, 21030, 3215, 1035, 2022, 1006, 1015, 1007, 1007, 1012, 2000, 1041, 4160, 1005, 1015, 6782, 21030, 2102, 2003, 1005, 2203, 2009, 1000, 9005, 1037, 24402, 2135, 6149, 6251, 2043, 2045, 2003, 2062, 2084, 2028, 6782, 21030, 2102, 1000, 2079, 5987, 1006, 3395, 1012, 1060, 1035, 6782, 21030, 3215, 1035, 2022, 1006, 1016, 1007, 1007, 1012, 2000, 1041, 4160, 1005, 1016, 6782, 21030, 3215, 2024, 1005, 2203, 2203, 6235, 1005, 1001, 6747, 1005, 2079, 6123, 1005, 2005, 9398, 20116, 2015, 1005, 2079, 3395, 1063, 2649, 1035, 2465, 1012, 2047, 1006, 1031, 4130, 1035, 2000, 1035, 5371, 1006, 1005, 20116, 2015, 1035, 9398, 8844, 1013, 9398, 1012, 20116, 2015, 1005, 1007, 1033, 1007, 1012, 6747, 1065, 2009, 1000, 5651, 30523, 2079, 5987, 1006, 3395, 1012, 1060, 1035, 6782, 21030, 3215, 1035, 2022, 1006, 1014, 1007, 1007, 1012, 2000, 1041, 4160, 1005, 1014, 6782, 21030, 2102, 2003, 1005, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2079, 5987, 1006, 3395, 1012, 1060, 1035, 6782, 21030, 3215, 1035, 2022, 1006, 1014, 1007, 1007, 1012, 2000, 1041, 4160, 1005, 1014, 6782, 21030, 2102, 2003, 1005, 30526 ]
module Githu3 class Tag < Githu3::Resource end end
sbellity/githu3
lib/githu3/tag.rb
Ruby
mit
55
[ 30522, 11336, 21025, 2705, 2226, 2509, 2465, 6415, 1026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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections; using System.Collections.Generic; using System.Text; namespace Microsoft.Protocols.TestTools.StackSdk.Messages.Marshaling { /// <summary> /// Token /// </summary> public class Token : IToken { private string text; private TokenType type; /// <summary> /// Constructor /// </summary> /// <param name="type">Token type</param> public Token(TokenType type) { this.type = type; } /// <summary> /// Constructor /// </summary> /// <param name="type">Token type</param> /// <param name="text">Token text</param> public Token(TokenType type, string text) { this.type = type; this.text = text; } /// <summary> /// Token text /// </summary> public string Text { get { return text; } set { text = value; } } /// <summary> /// Token type /// </summary> public virtual TokenType Type { get { return type; } set { this.type = value; } } } }
dongruiqing/WindowsProtocolTestSuites
ProtoSDK/Messages/messagecommon/Token.cs
C#
mit
1,525
[ 30522, 1013, 1013, 9385, 1006, 1039, 1007, 7513, 1012, 2035, 2916, 9235, 1012, 1013, 1013, 7000, 2104, 1996, 10210, 6105, 1012, 2156, 6105, 5371, 1999, 1996, 2622, 7117, 2005, 2440, 6105, 2592, 1012, 2478, 2291, 1025, 2478, 2291, 1012, 6407, 1025, 2478, 2291, 1012, 6407, 1012, 12391, 1025, 2478, 2291, 1012, 3793, 1025, 3415, 15327, 7513, 1012, 16744, 1012, 3231, 3406, 27896, 1012, 20829, 2094, 2243, 1012, 7696, 1012, 8610, 2075, 1063, 1013, 1013, 1013, 1026, 12654, 1028, 1013, 1013, 1013, 19204, 1013, 1013, 1013, 1026, 1013, 12654, 1028, 2270, 2465, 19204, 1024, 23333, 7520, 1063, 2797, 5164, 3793, 1025, 2797, 19204, 13874, 2828, 1025, 1013, 1013, 1013, 1026, 12654, 1028, 1013, 1013, 1013, 9570, 2953, 1013, 1013, 1013, 1026, 1013, 12654, 1028, 1013, 1013, 1013, 1026, 11498, 2213, 2171, 1027, 1000, 2828, 1000, 1028, 19204, 2828, 1026, 1013, 11498, 30524, 2023, 1012, 2828, 1027, 2828, 1025, 1065, 1013, 1013, 1013, 1026, 12654, 1028, 1013, 1013, 1013, 9570, 2953, 1013, 1013, 1013, 1026, 1013, 12654, 1028, 1013, 1013, 1013, 1026, 11498, 2213, 2171, 1027, 1000, 2828, 1000, 1028, 19204, 2828, 1026, 1013, 11498, 2213, 1028, 1013, 1013, 1013, 1026, 11498, 2213, 2171, 1027, 1000, 3793, 1000, 1028, 19204, 3793, 1026, 1013, 11498, 2213, 1028, 2270, 19204, 1006, 19204, 13874, 2828, 1010, 5164, 3793, 1007, 1063, 2023, 1012, 2828, 1027, 2828, 1025, 2023, 1012, 3793, 1027, 3793, 1025, 1065, 1013, 1013, 1013, 1026, 12654, 1028, 1013, 1013, 1013, 19204, 3793, 1013, 1013, 1013, 1026, 1013, 12654, 1028, 2270, 5164, 3793, 1063, 2131, 1063, 2709, 3793, 1025, 1065, 2275, 1063, 3793, 1027, 3643, 1025, 1065, 1065, 1013, 1013, 1013, 1026, 12654, 1028, 1013, 1013, 1013, 19204, 2828, 1013, 1013, 1013, 1026, 1013, 12654, 1028, 2270, 7484, 19204, 13874, 2828, 1063, 2131, 1063, 2709, 2828, 1025, 1065, 2275, 1063, 2023, 1012, 2828, 1027, 3643, 1025, 1065, 1065, 1065, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 2213, 1028, 2270, 19204, 1006, 19204, 13874, 2828, 1007, 1063, 30526 ]
package domain; public class RicercaScelta { private String nome; private String cognome; private String scelta; public String getNome() { return nome; } public void setNome(String nome) { this.nome = nome; } public String getCognome() { return cognome; } public void setCognome(String cognome) { this.cognome = cognome; } public String getScelta() { return scelta; } public void setScelta(String scelta) { this.scelta = scelta; } }
dmike16/gestioneRisorseAziendali
ProjectWorkGio/src/domain/RicercaScelta.java
Java
gpl-3.0
463
[ 30522, 7427, 5884, 1025, 2270, 2465, 5785, 18992, 11020, 20042, 2050, 1063, 2797, 5164, 2053, 4168, 1025, 2797, 5164, 2522, 26745, 4168, 1025, 2797, 5164, 8040, 20042, 2050, 1025, 2270, 5164, 2131, 3630, 4168, 1006, 1007, 1063, 2709, 2053, 4168, 1025, 1065, 2270, 11675, 2275, 3630, 4168, 1006, 5164, 2053, 4168, 1007, 1063, 2023, 1012, 2053, 4168, 1027, 2053, 4168, 1025, 1065, 2270, 5164, 2131, 3597, 26745, 4168, 1006, 1007, 1063, 2709, 2522, 26745, 4168, 1025, 1065, 2270, 11675, 2275, 3597, 26745, 4168, 1006, 5164, 2522, 26745, 4168, 1007, 1063, 2023, 1012, 2522, 26745, 4168, 1027, 2522, 26745, 4168, 1025, 1065, 2270, 5164, 4152, 29109, 2696, 1006, 1007, 1063, 2709, 8040, 20042, 2050, 1025, 1065, 2270, 11675, 4520, 29109, 2696, 1006, 5164, 8040, 20042, 2050, 1007, 1063, 2023, 1012, 8040, 20042, 2050, 1027, 8040, 20042, 2050, 1025, 1065, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
/* This file is part of visgeom. visgeom is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. visgeom is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with visgeom. If not, see <http://www.gnu.org/licenses/>. */ /* SLAM system */ #pragma once #include "std.h" #include "eigen.h" #include "ocv.h" #include "reconstruction/depth_map.h" #include "geometry/geometry.h" #include "projection/generic_camera.h" #include "projection/eucm.h" #include "reconstruction/depth_map.h" #include "reconstruction/eucm_motion_stereo.h" #include "reconstruction/eucm_sgm.h" #include "localization/sparse_odom.h" #include "localization/photometric.h" struct MappingParameters { MappingParameters(const ptree & params) { for (auto & item : params) { const string & pname = item.first; if (pname == "new_kf_distance_thresh") distThreshSq = pow(item.second.get_value<double>(), 2); else if (pname == "new_kf_angular_thresh") angularThreshSq = pow(item.second.get_value<double>(), 2); else if (pname == "min_init_dist") minInitDist = item.second.get_value<double>(); else if (pname == "min_stereo_base") minStereoBase = item.second.get_value<double>(); else if (pname == "dist_thresh") maxDistance = item.second.get_value<double>(); else if (pname == "normalize_scale") normalizeScale = item.second.get_value<bool>(); } } MappingParameters() {} //defines the conditions for the new frame instantiation double distThreshSq = 0.03; double angularThreshSq = 0.25; //minimum distance to initialize the depth map and the whole system double minInitDist = 0.1; //if the stereo base is below the stereo is not computed double minStereoBase = 0.07; //beyond this distance the points are not used for the localization double maxDistance = 5; bool normalizeScale = true; }; struct Frame { Mat8u img; Transf xi; //the position is defined in the global frame }; //Speed estimation and extrapolation are to be added //Assumed that the data arrives in the chronological order class PhotometricMapping { public: PhotometricMapping(const ptree & params); //true if the frame has been inserted bool constructMap(const Transf & xi, const Mat8u & img); void feedOdometry(const Transf & xi); void feedImage(const Mat8u & img); void pushInterFrame(const Mat8u & img); void reInit(const Transf & xi); int selectMapFrame(const Transf & xi, const double K = 4); //-1 means that there is no matching frame Transf localizeMI(); //localizes the inter frame wrt _frameVec[_mapIdx] Transf localizePhoto(const Mat8u & img); //localizes the image wrt interFrame Transf getCameraMotion(const Transf & xi) const; bool checkDistance(const Transf & xi, const double K = 1.) const; bool checkDistance(const Transf & xi1, const Transf & xi2, const double K = 1.) const; void improveStereo(const Mat8u & img); //private: enum State {MAP_BEGIN, MAP_INIT, MAP_LOCALIZE, MAP_SLAM}; enum WarningType {WARNING_NONE, WARNING_SCALE, WARNING_ROTATION}; MappingParameters _params; EnhancedCamera * _camera; //state variables State _state; WarningType _warningState; int _mapIdx; //currently active map frame bool _odomInit; Frame _interFrame; vector<Frame> _frameVec; DepthMap _depth; Transf _xiLocal; //current base pose estimation in the local frame Transf _xiLocalOld; //for VO scale rectification Transf _xiOdom; //the last odometry measure Transf _zetaOdom; //the last odometry measure Transf _xiOdomImage; //the last odometry before the last image Transf _xiBaseCam; //utils //are used to create an Sgm object to init the keyframe SgmParameters _sgmParams; //used to initialize the first transformation SparseOdometry _sparseOdom; //gradually improves the depth map MotionStereo _motionStereo; ScalePhotometric _localizer; };
BKhomutenko/visgeom
include/localization/mapping.h
C
gpl-3.0
4,566
[ 30522, 1013, 1008, 2023, 5371, 2003, 2112, 1997, 25292, 3351, 5358, 1012, 25292, 3351, 5358, 2003, 2489, 4007, 1024, 2017, 2064, 2417, 2923, 3089, 8569, 2618, 2009, 1998, 1013, 2030, 19933, 2009, 2104, 1996, 3408, 1997, 1996, 27004, 2236, 2270, 6105, 2004, 2405, 2011, 1996, 2489, 4007, 3192, 1010, 2593, 2544, 1017, 1997, 1996, 6105, 1010, 2030, 1006, 2012, 2115, 5724, 1007, 2151, 2101, 2544, 1012, 25292, 3351, 5358, 2003, 5500, 1999, 1996, 3246, 2008, 2009, 2097, 2022, 6179, 1010, 2021, 2302, 2151, 10943, 2100, 1025, 2302, 2130, 1996, 13339, 10943, 2100, 1997, 6432, 8010, 2030, 10516, 2005, 1037, 3327, 3800, 1012, 2156, 1996, 27004, 2236, 2270, 6105, 2005, 2062, 4751, 1012, 2017, 2323, 2031, 2363, 1037, 6100, 1997, 1996, 27004, 2236, 2270, 6105, 2247, 2007, 25292, 3351, 5358, 1012, 2065, 2025, 1010, 2156, 1026, 8299, 1024, 1013, 1013, 7479, 1012, 27004, 1012, 8917, 1013, 15943, 1013, 1028, 1012, 1008, 1013, 1013, 1008, 9555, 2291, 1008, 1013, 1001, 10975, 8490, 2863, 2320, 1001, 2421, 1000, 2358, 2094, 1012, 1044, 1000, 1001, 2421, 1000, 1041, 29206, 1012, 1044, 1000, 1001, 2421, 1000, 1051, 2278, 2615, 1012, 1044, 1000, 1001, 2421, 1000, 8735, 1013, 5995, 1035, 4949, 1012, 1044, 1000, 1001, 2421, 1000, 10988, 1013, 10988, 1012, 1044, 1000, 1001, 2421, 1000, 13996, 1013, 12391, 1035, 4950, 1012, 1044, 1000, 1001, 2421, 1000, 13996, 1013, 7327, 27487, 1012, 1044, 1000, 1001, 2421, 1000, 8735, 1013, 5995, 1035, 4949, 1012, 1044, 1000, 1001, 2421, 1000, 8735, 1013, 7327, 27487, 1035, 4367, 1035, 12991, 1012, 1044, 1000, 1001, 2421, 1000, 8735, 1013, 7327, 27487, 1035, 22214, 2213, 1012, 1044, 1000, 1001, 2421, 1000, 2334, 3989, 1013, 20288, 1035, 1051, 9527, 1012, 1044, 1000, 1001, 2421, 1000, 2334, 3989, 1013, 6302, 12589, 1012, 1044, 1000, 2358, 6820, 6593, 12375, 28689, 22828, 2015, 1063, 12375, 28689, 22828, 2015, 1006, 9530, 3367, 13866, 9910, 1004, 11498, 5244, 1007, 1063, 2005, 1006, 8285, 1004, 8875, 1024, 11498, 5244, 1007, 1063, 9530, 3367, 5164, 1004, 1052, 18442, 1027, 8875, 1012, 2034, 1025, 2065, 1006, 1052, 18442, 1027, 1027, 1000, 2047, 1035, 1047, 2546, 1035, 3292, 1035, 16215, 21898, 1000, 1007, 4487, 3367, 2705, 21898, 2015, 4160, 1027, 23776, 1006, 8875, 1012, 2117, 1012, 2131, 1035, 3643, 1026, 3313, 1028, 1006, 1007, 1010, 1016, 1007, 1025, 2842, 2065, 1006, 1052, 18442, 1027, 1027, 1000, 2047, 1035, 1047, 2546, 1035, 16108, 1035, 16215, 21898, 1000, 1007, 16108, 2705, 21898, 2015, 4160, 1027, 23776, 1006, 8875, 1012, 2117, 1012, 2131, 1035, 3643, 1026, 3313, 1028, 1006, 1007, 1010, 1016, 1007, 1025, 2842, 2065, 1006, 1052, 18442, 1027, 1027, 1000, 8117, 1035, 1999, 4183, 1035, 4487, 3367, 1000, 1007, 7163, 3490, 2102, 10521, 2102, 1027, 8875, 30524, 8117, 6238, 8780, 15058, 1027, 8875, 1012, 2117, 1012, 2131, 1035, 3643, 1026, 3313, 1028, 1006, 1007, 1025, 2842, 2065, 1006, 1052, 18442, 1027, 1027, 1000, 4487, 3367, 1035, 30523, 1012, 2117, 1012, 2131, 1035, 3643, 1026, 3313, 1028, 1006, 1007, 1025, 2842, 2065, 1006, 1052, 18442, 1027, 1027, 1000, 8117, 1035, 12991, 1035, 2918, 1000, 1007, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1012, 2117, 1012, 2131, 1035, 3643, 1026, 3313, 1028, 1006, 1007, 1025, 2842, 2065, 1006, 1052, 18442, 1027, 1027, 1000, 8117, 1035, 12991, 1035, 2918, 1000, 1007, 30526 ]
module Gallery VERSION = "0.0.1" end
mazharoddin/camaleon_cms_gallery
lib/gallery/version.rb
Ruby
mit
39
[ 30522, 11336, 3916, 2544, 1027, 1000, 1014, 1012, 1014, 1012, 1015, 1000, 2203, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
run: @./buildserver.sh " " @./run.sh build: @./buildserver.sh setup: @./setup.sh setupnode: @./setupnode.sh
C-Bouthoorn/NodeServer
Makefile
Makefile
mit
117
[ 30522, 2448, 1024, 1030, 1012, 1013, 16473, 2121, 6299, 1012, 14021, 1000, 1000, 1030, 1012, 1013, 2448, 1012, 14021, 3857, 1024, 1030, 1012, 1013, 16473, 2121, 6299, 1012, 14021, 16437, 1024, 1030, 1012, 1013, 16437, 1012, 14021, 16437, 3630, 3207, 1024, 1030, 1012, 1013, 16437,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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
/// @defgroup MOD_SDLBASE "SDL Base" /// @{ /// @brief Module to declare and implement the SDLBase class /// @} /// @ingroup MOD_SDLBASE /// @file SDLBase.hpp /// @brief Declarations of all methods of the SDLBase class /// @author Matheus Pimenta #ifndef SDLBASE_HPP #define SDLBASE_HPP #include <string> #include "linearalgebra.hpp" #include "SDL.h" /// Made to ease the use of SDL, this class encapsulates some of the features of /// this library. /// @brief Class to encapsulate some of SDL features class SDLBase { private: /// @brief Pointer to the main SDL surface: the screen static SDL_Surface* screen_; static SDL_Surface* bright; static SDL_Surface* fade; static SDL_Surface* stack_screen; /// @brief Delta-time of the last frame static int dt_; /// @brief Frames-per-second rate static int fps; static bool has_audio; public: static void init(); /// This method closes the entire library and frees the memory. /// @throw mexception Thrown if the SDL system was already off. /// @brief Closes SDL static void close(); /// @return Pointer to the screen surface. /// @throw mexception Thrown if SDL wasn't initialized yet. /// @brief Access method to screen static SDL_Surface* screen(); /// This method loads an image file from disk and returns its display /// formatted surface. /// @param filename Path to the image file. /// @return Surface with display formatted image. /// @throw mexception Thrown if SDL wasn't initialized yet, or if it was /// not possible to load the image file. /// @brief Load an image from disk static SDL_Surface* loadIMG(const std::string& filename); /// This method paste the source image in the screen. /// @param src Image to be pasted in the screen. /// @param srcrect Rectangle in the image that will be pasted in the /// screen. /// @param dstrect Source position in the screen. /// @throw mexception Thrown if SDL wasn't initialized yet, or if it was /// not possible to blit the surface. /// @brief Blit a surface in the screen static void renderSurface( SDL_Surface* src, SDL_Rect* srcrect = NULL, SDL_Rect* dstrect = NULL ); /// This method delays a frame to control frames-per-second rate, or /// warns of big frame. /// @brief Controls the frames-per-second rate static void delayFrame(); /// @return Delta-time in milliseconds of the last frame /// @brief Access method to frame delta-time static int dt(); /// @return The real frames-per-second rate that's being reached /// @brief Access method to frame delta-time static float FPS(); static void setFPS(int fps); /// This method shows in the screen what is the screen SDL surface. /// @throw mexception Thrown if SDL wasn't initialized yet, or if it was /// not possible to update the screen. /// @brief Shows the screen static void updateScreen(); static SDL_Surface* rotozoom(SDL_Surface* src, float angle, float zoomx = 1, float zoomy = 1); static SDL_Surface* clip(SDL_Surface* src, SDL_Rect* rect); static SDL_Color getColor(int r, int g, int b); static void setBrightness(float brightness); static void renderFade(); static void setFadeAlpha(float opacity); static void renderStackScreen(); static void drawLine(const lalge::R2Vector& beg, const lalge::R2Vector& end, int rgb, int spacing, int size); static bool hasAudio(); }; #endif
matheuscscp/nanotrip
src/SDLBase.hpp
C++
mit
3,369
[ 30522, 1013, 1013, 1013, 1030, 13366, 17058, 16913, 1035, 17371, 20850, 11022, 1000, 17371, 2140, 2918, 1000, 1013, 1013, 1013, 1030, 1063, 1013, 1013, 1013, 1030, 4766, 11336, 2000, 13520, 1998, 10408, 1996, 17371, 20850, 11022, 2465, 1013, 1013, 1013, 1030, 1065, 1013, 1013, 1013, 1030, 13749, 22107, 16913, 1035, 17371, 20850, 11022, 1013, 1013, 1013, 1030, 5371, 17371, 20850, 11022, 1012, 6522, 2361, 1013, 1013, 1013, 1030, 4766, 8170, 2015, 1997, 2035, 4725, 1997, 1996, 17371, 20850, 11022, 2465, 1013, 1013, 1013, 1030, 3166, 8785, 10600, 14255, 3672, 2050, 1001, 2065, 13629, 2546, 17371, 20850, 11022, 1035, 6522, 2361, 1001, 9375, 17371, 20850, 11022, 1035, 6522, 2361, 1001, 2421, 1026, 5164, 1028, 1001, 2421, 1000, 7399, 2389, 3351, 10024, 1012, 6522, 2361, 1000, 1001, 2421, 1000, 17371, 2140, 1012, 1044, 1000, 1013, 1013, 1013, 2081, 2000, 7496, 1996, 2224, 1997, 17371, 2140, 1010, 2023, 2465, 4372, 17695, 23722, 8520, 2070, 1997, 1996, 2838, 1997, 1013, 1013, 1013, 2023, 3075, 1012, 1013, 1013, 1013, 1030, 4766, 2465, 2000, 4372, 17695, 23722, 3686, 2070, 1997, 17371, 2140, 2838, 2465, 17371, 30524, 1008, 4408, 1025, 10763, 17371, 2140, 1035, 3302, 1008, 12985, 1025, 10763, 17371, 2140, 1035, 3302, 1008, 9991, 1035, 3898, 1025, 1013, 1013, 1013, 1030, 4766, 7160, 1011, 2051, 1997, 1996, 2197, 4853, 10763, 20014, 26718, 1035, 1025, 1013, 1013, 1013, 1030, 4766, 11048, 1011, 2566, 1011, 2117, 3446, 10763, 20014, 1042, 4523, 1025, 10763, 22017, 2140, 2038, 1035, 5746, 1025, 2270, 1024, 10763, 11675, 1999, 4183, 1006, 1007, 1025, 1013, 1013, 1013, 2023, 4118, 14572, 1996, 2972, 3075, 1998, 2489, 2015, 1996, 3638, 1012, 1013, 1013, 1013, 1030, 5466, 2033, 2595, 24422, 6908, 2065, 1996, 17371, 2140, 2291, 2001, 2525, 2125, 1012, 1013, 1013, 1013, 1030, 4766, 14572, 17371, 2140, 10763, 11675, 2485, 1006, 1007, 1025, 1013, 1013, 1013, 1030, 2709, 20884, 2000, 1996, 3898, 3302, 1012, 1013, 1013, 1013, 1030, 5466, 2033, 2595, 24422, 6908, 2065, 17371, 2140, 2347, 1005, 1056, 3988, 3550, 2664, 1012, 1013, 1013, 1013, 1030, 4766, 3229, 4118, 2000, 3898, 10763, 17371, 2140, 1035, 3302, 1008, 3898, 1006, 1007, 1025, 1013, 1013, 1013, 2023, 4118, 15665, 2019, 3746, 5371, 2013, 9785, 1998, 5651, 2049, 4653, 1013, 1013, 1013, 4289, 3064, 3302, 1012, 1013, 1013, 1013, 1030, 11498, 2213, 5371, 18442, 4130, 2000, 1996, 3746, 5371, 1012, 1013, 1013, 1013, 1030, 2709, 3302, 2007, 4653, 4289, 3064, 3746, 1012, 1013, 1013, 1013, 1030, 5466, 2033, 2595, 24422, 6908, 2065, 17371, 2140, 2347, 1005, 1056, 3988, 3550, 2664, 1010, 2030, 2065, 2009, 2001, 1013, 1013, 1013, 2025, 2825, 2000, 7170, 1996, 3746, 5371, 1012, 1013, 1013, 1013, 1030, 4766, 7170, 2019, 3746, 2013, 9785, 10763, 17371, 2140, 1035, 3302, 1008, 7170, 5714, 2290, 1006, 9530, 3367, 2358, 2094, 1024, 1024, 5164, 1004, 5371, 18442, 1007, 1025, 1013, 1013, 1013, 2023, 4118, 19351, 30523, 20850, 11022, 1063, 2797, 1024, 1013, 1013, 1013, 1030, 4766, 20884, 2000, 1996, 2364, 17371, 2140, 3302, 1024, 1996, 3898, 10763, 17371, 2140, 1035, 3302, 1008, 3898, 1035, 1025, 10763, 17371, 2140, 1035, 3302, 30526 ]
[ 0, 0, 0, 0, 0, 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-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 20850, 11022, 1063, 2797, 1024, 1013, 1013, 1013, 1030, 4766, 20884, 2000, 1996, 2364, 17371, 2140, 3302, 1024, 1996, 3898, 10763, 17371, 2140, 1035, 3302, 1008, 3898, 1035, 1025, 10763, 17371, 2140, 1035, 3302, 30526 ]
/** * A decorator for making sure specific function being invoked serializely. * * Usage: * class A { * @serialize * async foo() {} * } * */ export default function serialize(target, key, descriptor) { let prev = null; function serializeFunc(...args) { const next = () => Promise.resolve(descriptor.value.apply(this, args)).then(() => { prev = null; }); prev = prev ? prev.then(next) : next(); return prev; } return { ...descriptor, value: serializeFunc, }; }
ringcentral/ringcentral-js-widget
packages/ringcentral-integration/lib/serialize.js
JavaScript
mit
524
[ 30522, 1013, 1008, 1008, 1008, 1037, 25545, 8844, 2005, 2437, 2469, 3563, 3853, 2108, 24959, 7642, 4697, 2135, 1012, 1008, 1008, 8192, 1024, 1008, 2465, 1037, 1063, 1008, 1030, 7642, 4697, 1008, 2004, 6038, 2278, 29379, 1006, 1007, 1063, 1065, 1008, 1065, 1008, 1008, 1013, 9167, 12398, 3853, 7642, 4697, 1006, 4539, 1010, 3145, 1010, 4078, 23235, 2953, 1007, 1063, 2292, 3653, 2615, 1027, 19701, 1025, 3853, 7642, 4697, 11263, 12273, 1006, 1012, 1012, 1012, 12098, 5620, 1007, 1063, 9530, 3367, 2279, 1027, 1006, 1007, 1027, 1028, 4872, 1012, 10663, 1006, 4078, 23235, 2953, 1012, 3643, 1012, 6611, 1006, 2023, 1010, 12098, 5620, 1007, 1007, 1012, 2059, 1006, 1006, 1007, 1027, 1028, 1063, 3653, 2615, 1027, 19701, 1025, 1065, 1007, 1025, 3653, 2615, 1027, 3653, 2615, 1029, 3653, 2615, 1012, 2059, 1006, 2279, 1007, 1024, 2279, 1006, 1007, 1025, 2709, 3653, 2615, 1025, 1065, 2709, 1063, 1012, 1012, 1012, 4078, 23235, 2953, 1010, 3643, 1024, 7642, 4697, 11263, 12273, 1010, 1065, 1025, 1065, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30524, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 30526 ]
<?php /** * @package EasySocial * @copyright Copyright (C) 2010 - 2014 Stack Ideas Sdn Bhd. All rights reserved. * @license GNU/GPL, see LICENSE.php * EasySocial is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. * See COPYRIGHT.php for copyright notices and details. */ defined( '_JEXEC' ) or die( 'Unauthorized Access' ); ?> <i class="ies-location-2 ies-small mr-5"></i> <?php echo $value->state; ?><?php if( !empty( $value->state ) && !empty( $value->country_code ) ) { ?>, <?php echo $value->country_code;?><?php } ?>
cuongnd/banhangonline88_joomla
media/com_easysocial/apps/fields/user/address/themes/default/widgets/display.php
PHP
gpl-2.0
728
[ 30522, 1026, 1029, 25718, 1013, 1008, 1008, 1008, 1030, 7427, 3733, 6499, 13247, 1008, 1030, 9385, 9385, 1006, 1039, 1007, 2230, 1011, 2297, 9991, 4784, 17371, 2078, 1038, 14945, 1012, 2035, 2916, 9235, 1012, 1008, 1030, 6105, 27004, 1013, 14246, 2140, 1010, 2156, 6105, 1012, 25718, 1008, 3733, 6499, 13247, 2003, 2489, 4007, 1012, 2023, 2544, 2089, 2031, 2042, 6310, 27081, 1008, 2000, 1996, 27004, 2236, 2270, 6105, 1010, 1998, 2004, 5500, 2009, 2950, 2030, 1008, 2003, 13819, 1997, 2573, 7000, 2104, 1996, 27004, 2236, 2270, 6105, 2030, 1008, 2060, 2489, 2030, 2330, 3120, 4007, 15943, 1012, 1008, 2156, 9385, 1012, 25718, 2005, 9385, 14444, 1998, 4751, 1012, 1008, 1013, 4225, 1006, 1005, 1035, 15333, 2595, 8586, 1005, 1007, 2030, 3280, 1006, 1005, 24641, 3229, 1005, 1007, 1025, 1029, 1028, 1026, 1045, 2465, 1027, 1000, 29464, 2015, 1011, 3295, 1011, 1016, 29464, 2015, 1011, 2235, 2720, 1011, 1019, 1000, 1028, 1026, 1013, 1045, 1028, 1026, 1029, 25718, 9052, 1002, 3643, 1011, 1028, 2110, 1025, 1029, 1028, 1026, 1029, 25718, 2065, 1006, 999, 4064, 1006, 1002, 3643, 1011, 1028, 2110, 1007, 1004, 1004, 999, 4064, 1006, 1002, 3643, 1011, 1028, 2406, 1035, 3642, 1007, 1007, 1063, 1029, 1028, 1010, 1026, 1029, 25718, 9052, 1002, 3643, 1011, 1028, 2406, 1035, 3642, 1025, 1029, 1028, 1026, 1029, 25718, 1065, 1029, 1028, 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30526 ]
package com.felhr.usbmassstorageforandroid.bulkonlytests; import android.hardware.usb.UsbConstants; import android.hardware.usb.UsbDevice; import android.hardware.usb.UsbDeviceConnection; import android.hardware.usb.UsbInterface; import com.felhr.usbmassstorageforandroid.bulkonly.UsbFacade; import com.felhr.usbmassstorageforandroid.bulkonly.UsbFacadeInterface; import android.hardware.usb.UsbEndpoint; import android.test.InstrumentationTestCase; import android.util.Log; import org.junit.Test; import org.mockito.Mock; import org.mockito.Mockito; import org.junit.Before; /** * Created by Felipe Herranz([email protected]) on 17/12/14. */ public class UsbFacadeTest extends InstrumentationTestCase { private UsbFacade usbFacade; // Mocked Usb objects @Mock private UsbDeviceConnection mConnection; private UsbDevice mDevice; private UsbInterface ifaceMocked; private UsbEndpoint mockedInEndpoint; private UsbEndpoint mockedOutEndpoint; @Before public void setUp() { System.setProperty("dexmaker.dexcache", getInstrumentation().getTargetContext().getCacheDir().getPath()); initUsb(0); } @Test public void testOpenDevice() { assertEquals(true, usbFacade.openDevice()); } @Test public void testSendCommand() { usbFacade.openDevice(); waitXtime(1000); changeBulkMethod(31); usbFacade.sendCommand(new byte[31]); waitXtime(1000); } @Test public void testSendData() { usbFacade.openDevice(); changeBulkMethod(10); usbFacade.sendData(new byte[]{0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09}); } @Test public void testRequestCsw() { usbFacade.openDevice(); waitXtime(1000); // A handler must be declared inside a thread. This prevents a nullPointer usbFacade.requestCsw(); } @Test public void testRequestData() { usbFacade.openDevice(); waitXtime(1000); usbFacade.requestData(50); } private void initUsb(int bulkResponse) { mConnection = Mockito.mock(UsbDeviceConnection.class); mDevice = Mockito.mock(UsbDevice.class); // UsbInterface Mass storage device, Must be injected using a setter. ifaceMocked = Mockito.mock(UsbInterface.class); Mockito.when(ifaceMocked.getInterfaceClass()).thenReturn(UsbConstants.USB_CLASS_MASS_STORAGE); Mockito.when(ifaceMocked.getInterfaceSubclass()).thenReturn(0x06); Mockito.when(ifaceMocked.getInterfaceProtocol()).thenReturn(0x50); Mockito.when(ifaceMocked.getEndpointCount()).thenReturn(0); // UsbEndpoints IN,OUT. Must be injected using a setter mockedInEndpoint = Mockito.mock(UsbEndpoint.class); mockedOutEndpoint = Mockito.mock(UsbEndpoint.class); // UsbDeviceConnection mocked methods Mockito.when(mConnection.claimInterface(ifaceMocked, true)).thenReturn(true); Mockito.when(mConnection.bulkTransfer(Mockito.any(UsbEndpoint.class), Mockito.any(byte[].class) ,Mockito.anyInt(), Mockito.anyInt())).thenReturn(bulkResponse); // UsbDevice mocked methods Mockito.when(mDevice.getInterfaceCount()).thenReturn(1); // Initialize and inject dependencies usbFacade = new UsbFacade(mDevice, mConnection); usbFacade.setCallback(mCallback); usbFacade.injectInterface(ifaceMocked); usbFacade.injectInEndpoint(mockedInEndpoint); usbFacade.injectOutEndpoint(mockedOutEndpoint); } private void changeBulkMethod(int response) { Mockito.when(mConnection.bulkTransfer(Mockito.any(UsbEndpoint.class), Mockito.any(byte[].class) , Mockito.anyInt(), Mockito.anyInt())).thenReturn(response); } private synchronized void waitXtime(long millis) { try { wait(millis); }catch(InterruptedException e) { e.printStackTrace(); } } private UsbFacadeInterface mCallback = new UsbFacadeInterface() { @Override public void cbwResponse(int response) { Log.d("UsbFacadeTest", "cbwResponse: " + String.valueOf(response)); } @Override public void cswData(byte[] data) { Log.d("UsbFacadeTest", "cswData: " + String.valueOf(data.length)); } @Override public void dataFromHost(int response) { Log.d("UsbFacadeTest", "Data from Host response: " + String.valueOf(response)); } @Override public void dataToHost(byte[] data) { Log.d("UsbFacadeTest", "Length buffer: " + String.valueOf(data.length)); } }; }
felHR85/Pincho-Usb-Mass-Storage-for-Android
src/androidTest/java/com/felhr/usbmassstorageforandroid/bulkonlytests/UsbFacadeTest.java
Java
mit
4,796
[ 30522, 7427, 4012, 1012, 10768, 2140, 8093, 1012, 18833, 9335, 4757, 4263, 4270, 29278, 5685, 22943, 1012, 9625, 2239, 2135, 22199, 2015, 1025, 12324, 11924, 1012, 8051, 1012, 18833, 1012, 18833, 8663, 12693, 3215, 1025, 12324, 11924, 1012, 8051, 1012, 18833, 1012, 18833, 24844, 6610, 1025, 12324, 11924, 1012, 8051, 1012, 18833, 1012, 18833, 24844, 6610, 8663, 2638, 7542, 1025, 12324, 11924, 1012, 8051, 1012, 18833, 1012, 18833, 18447, 2121, 12172, 1025, 12324, 4012, 1012, 10768, 2140, 8093, 1012, 18833, 9335, 4757, 4263, 4270, 29278, 5685, 22943, 1012, 9625, 2239, 2135, 1012, 18833, 7011, 21869, 1025, 12324, 4012, 1012, 10768, 2140, 8093, 1012, 18833, 9335, 4757, 4263, 4270, 29278, 5685, 22943, 1012, 9625, 2239, 2135, 1012, 18833, 7011, 21869, 18447, 2121, 12172, 1025, 12324, 11924, 1012, 8051, 1012, 18833, 1012, 18833, 10497, 8400, 1025, 12324, 11924, 1012, 3231, 1012, 16015, 22199, 18382, 1025, 12324, 11924, 1012, 21183, 4014, 1012, 8833, 1025, 12324, 8917, 1012, 12022, 4183, 1012, 3231, 1025, 12324, 8917, 1012, 12934, 9956, 1012, 12934, 1025, 12324, 8917, 1012, 12934, 9956, 1012, 12934, 9956, 1025, 12324, 8917, 1012, 12022, 4183, 1012, 2077, 1025, 1013, 1008, 1008, 1008, 2580, 2011, 17095, 23506, 2319, 2480, 1006, 10768, 2140, 8093, 27531, 1030, 20917, 4014, 1012, 4012, 1007, 2006, 2459, 1013, 2260, 1013, 2403, 1012, 1008, 1013, 2270, 2465, 18833, 7011, 21869, 22199, 8908, 16015, 22199, 18382, 1063, 2797, 18833, 7011, 21869, 18833, 7011, 21869, 1025, 1013, 1013, 24195, 18833, 5200, 1030, 12934, 2797, 18833, 24844, 6610, 8663, 2638, 7542, 11338, 18256, 7542, 1025, 2797, 18833, 30524, 1025, 2797, 18833, 18447, 2121, 12172, 2065, 10732, 5302, 18141, 1025, 2797, 18833, 10497, 8400, 24195, 21820, 18927, 25785, 1025, 2797, 18833, 10497, 8400, 24195, 5833, 10497, 8400, 1025, 1030, 2077, 2270, 11675, 16437, 1006, 1007, 1063, 2291, 1012, 2275, 21572, 4842, 3723, 1006, 1000, 20647, 8571, 1012, 20647, 3540, 5403, 1000, 1010, 2131, 7076, 24456, 19304, 1006, 1007, 1012, 2131, 7559, 18150, 8663, 18209, 1006, 1007, 1012, 2131, 3540, 7690, 4313, 1006, 1007, 1012, 2131, 15069, 1006, 1007, 1007, 1025, 1999, 4183, 2271, 2497, 1006, 1014, 1007, 1025, 1065, 1030, 3231, 2270, 11675, 3231, 26915, 24844, 6610, 1006, 1007, 1063, 20865, 2063, 26426, 2015, 1006, 2995, 1010, 18833, 7011, 21869, 1012, 2330, 24844, 6610, 1006, 1007, 1007, 1025, 1065, 1030, 3231, 2270, 11675, 5852, 10497, 9006, 2386, 2094, 1006, 1007, 1063, 18833, 7011, 21869, 1012, 2330, 24844, 6610, 1006, 1007, 1025, 3524, 18413, 14428, 1006, 6694, 1007, 1025, 2689, 8569, 13687, 11368, 6806, 2094, 1006, 2861, 1007, 1025, 18833, 7011, 21869, 1012, 4604, 9006, 2386, 2094, 1006, 2047, 24880, 1031, 2861, 1033, 1007, 1025, 3524, 18413, 14428, 1006, 6694, 1007, 1025, 1065, 1030, 3231, 2270, 11675, 5852, 10497, 2850, 2696, 1006, 1007, 1063, 18833, 7011, 21869, 1012, 2330, 24844, 6610, 1006, 1007, 1025, 2689, 8569, 13687, 11368, 6806, 2094, 1006, 2184, 1007, 1025, 18833, 7011, 21869, 1012, 4604, 2850, 2696, 1006, 2047, 24880, 1031, 1033, 1063, 1014, 2595, 8889, 1010, 1014, 2595, 24096, 1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, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 24844, 6610, 9108, 17726, 2063, 30526 ]
#include <cstdlib> #include <stdexcept> #include <vector> #include <algorithm> #include "Platform.h" #include "T3000.h" #include "Position.h" #include "Selection.h" using namespace T3000; void CTstat8HelySystem::MoveForInsertDelete(bool insertion, Sci::Position startChange, Sci::Position length) { if (insertion) { if (position == startChange) { Sci::Position virtualLengthRemove = std::min(length, virtualSpace); virtualSpace -= virtualLengthRemove; position += virtualLengthRemove; } else if (position > startChange) { position += length; } } else { if (position == startChange) { virtualSpace = 0; } if (position > startChange) { const Sci::Position endDeletion = startChange + length; if (position > endDeletion) { position -= length; } else { position = startChange; virtualSpace = 0; } } } } bool CTstat8HelySystem::operator <(const CTstat8HelySystem &other) const { if (position == other.position) return virtualSpace < other.virtualSpace; else return position < other.position; } bool CTstat8HelySystem::operator >(const CTstat8HelySystem &other) const { if (position == other.position) return virtualSpace > other.virtualSpace; else return position > other.position; } bool CTstat8HelySystem::operator <=(const CTstat8HelySystem &other) const { if (position == other.position && virtualSpace == other.virtualSpace) return true; else return other > *this; } bool CTstat8HelySystem::operator >=(const CTstat8HelySystem &other) const { if (position == other.position && virtualSpace == other.virtualSpace) return true; else return *this > other; } Sci::Position SelectionRange::Length() const { if (anchor > caret) { return anchor.Position() - caret.Position(); } else { return caret.Position() - anchor.Position(); } } void SelectionRange::MoveForInsertDelete(bool insertion, Sci::Position startChange, Sci::Position length) { caret.MoveForInsertDelete(insertion, startChange, length); anchor.MoveForInsertDelete(insertion, startChange, length); } bool SelectionRange::Contains(Sci::Position pos) const { if (anchor > caret) return (pos >= caret.Position()) && (pos <= anchor.Position()); else return (pos >= anchor.Position()) && (pos <= caret.Position()); } bool SelectionRange::Contains(CTstat8HelySystem sp) const { if (anchor > caret) return (sp >= caret) && (sp <= anchor); else return (sp >= anchor) && (sp <= caret); } bool SelectionRange::ContainsCharacter(Sci::Position posCharacter) const { if (anchor > caret) return (posCharacter >= caret.Position()) && (posCharacter < anchor.Position()); else return (posCharacter >= anchor.Position()) && (posCharacter < caret.Position()); } SelectionSegment SelectionRange::Intersect(SelectionSegment check) const { SelectionSegment inOrder(caret, anchor); if ((inOrder.start <= check.end) || (inOrder.end >= check.start)) { SelectionSegment portion = check; if (portion.start < inOrder.start) portion.start = inOrder.start; if (portion.end > inOrder.end) portion.end = inOrder.end; if (portion.start > portion.end) return SelectionSegment(); else return portion; } else { return SelectionSegment(); } } void SelectionRange::Swap() { std::swap(caret, anchor); } bool SelectionRange::Trim(SelectionRange range) { const CTstat8HelySystem startRange = range.Start(); const CTstat8HelySystem endRange = range.End(); CTstat8HelySystem start = Start(); CTstat8HelySystem end = End(); PLATFORM_ASSERT(start <= end); PLATFORM_ASSERT(startRange <= endRange); if ((startRange <= end) && (endRange >= start)) { if ((start > startRange) && (end < endRange)) { // Completely covered by range -> empty at start end = start; } else if ((start < startRange) && (end > endRange)) { // Completely covers range -> empty at start end = start; } else if (start <= startRange) { // Trim end end = startRange; } else { // PLATFORM_ASSERT(end >= endRange); // Trim start start = endRange; } if (anchor > caret) { caret = start; anchor = end; } else { anchor = start; caret = end; } return Empty(); } else { return false; } } // If range is all virtual collapse to start of virtual space void SelectionRange::MinimizeVirtualSpace() { if (caret.Position() == anchor.Position()) { Sci::Position virtualSpace = caret.VirtualSpace(); if (virtualSpace > anchor.VirtualSpace()) virtualSpace = anchor.VirtualSpace(); caret.SetVirtualSpace(virtualSpace); anchor.SetVirtualSpace(virtualSpace); } } Selection::Selection() : mainRange(0), moveExtends(false), tentativeMain(false), selType(selStream) { AddSelection(SelectionRange(CTstat8HelySystem(0))); } Selection::~Selection() { } bool Selection::IsRectangular() const { return (selType == selRectangle) || (selType == selThin); } Sci::Position Selection::MainCaret() const { return ranges[mainRange].caret.Position(); } Sci::Position Selection::MainAnchor() const { return ranges[mainRange].anchor.Position(); } SelectionRange &Selection::Rectangular() { return rangeRectangular; } SelectionSegment Selection::Limits() const { if (ranges.empty()) { return SelectionSegment(); } else { SelectionSegment sr(ranges[0].anchor, ranges[0].caret); for (size_t i=1; i<ranges.size(); i++) { sr.Extend(ranges[i].anchor); sr.Extend(ranges[i].caret); } return sr; } } SelectionSegment Selection::LimitsForRectangularElseMain() const { if (IsRectangular()) { return Limits(); } else { return SelectionSegment(ranges[mainRange].caret, ranges[mainRange].anchor); } } size_t Selection::Count() const { return ranges.size(); } size_t Selection::Main() const { return mainRange; } void Selection::SetMain(size_t r) { PLATFORM_ASSERT(r < ranges.size()); mainRange = r; } SelectionRange &Selection::Range(size_t r) { return ranges[r]; } const SelectionRange &Selection::Range(size_t r) const { return ranges[r]; } SelectionRange &Selection::RangeMain() { return ranges[mainRange]; } const SelectionRange &Selection::RangeMain() const { return ranges[mainRange]; } CTstat8HelySystem Selection::Start() const { if (IsRectangular()) { return rangeRectangular.Start(); } else { return ranges[mainRange].Start(); } } bool Selection::MoveExtends() const { return moveExtends; } void Selection::SetMoveExtends(bool moveExtends_) { moveExtends = moveExtends_; } bool Selection::Empty() const { for (const SelectionRange &range : ranges) { if (!range.Empty()) return false; } return true; } CTstat8HelySystem Selection::Last() const { CTstat8HelySystem lastPosition; for (const SelectionRange &range : ranges) { if (lastPosition < range.caret) lastPosition = range.caret; if (lastPosition < range.anchor) lastPosition = range.anchor; } return lastPosition; } Sci::Position Selection::Length() const { Sci::Position len = 0; for (const SelectionRange &range : ranges) { len += range.Length(); } return len; } void Selection::MovePositions(bool insertion, Sci::Position startChange, Sci::Position length) { for (SelectionRange &range : ranges) { range.MoveForInsertDelete(insertion, startChange, length); } if (selType == selRectangle) { rangeRectangular.MoveForInsertDelete(insertion, startChange, length); } } void Selection::TrimSelection(SelectionRange range) { for (size_t i=0; i<ranges.size();) { if ((i != mainRange) && (ranges[i].Trim(range))) { // Trimmed to empty so remove for (size_t j=i; j<ranges.size()-1; j++) { ranges[j] = ranges[j+1]; if (j == mainRange-1) mainRange--; } ranges.pop_back(); } else { i++; } } } void Selection::TrimOtherSelections(size_t r, SelectionRange range) { for (size_t i = 0; i<ranges.size(); ++i) { if (i != r) { ranges[i].Trim(range); } } } void Selection::SetSelection(SelectionRange range) { ranges.clear(); ranges.push_back(range); mainRange = ranges.size() - 1; } void Selection::AddSelection(SelectionRange range) { TrimSelection(range); ranges.push_back(range); mainRange = ranges.size() - 1; } void Selection::AddSelectionWithoutTrim(SelectionRange range) { ranges.push_back(range); mainRange = ranges.size() - 1; } void Selection::DropSelection(size_t r) { if ((ranges.size() > 1) && (r < ranges.size())) { size_t mainNew = mainRange; if (mainNew >= r) { if (mainNew == 0) { mainNew = ranges.size() - 2; } else { mainNew--; } } ranges.erase(ranges.begin() + r); mainRange = mainNew; } } void Selection::DropAdditionalRanges() { SetSelection(RangeMain()); } void Selection::TentativeSelection(SelectionRange range) { if (!tentativeMain) { rangesSaved = ranges; } ranges = rangesSaved; AddSelection(range); TrimSelection(ranges[mainRange]); tentativeMain = true; } void Selection::CommitTentative() { rangesSaved.clear(); tentativeMain = false; } int Selection::CharacterInSelection(Sci::Position posCharacter) const { for (size_t i=0; i<ranges.size(); i++) { if (ranges[i].ContainsCharacter(posCharacter)) return i == mainRange ? 1 : 2; } return 0; } int Selection::InSelectionForEOL(Sci::Position pos) const { for (size_t i=0; i<ranges.size(); i++) { if (!ranges[i].Empty() && (pos > ranges[i].Start().Position()) && (pos <= ranges[i].End().Position())) return i == mainRange ? 1 : 2; } return 0; } Sci::Position Selection::VirtualSpaceFor(Sci::Position pos) const { Sci::Position virtualSpace = 0; for (const SelectionRange &range : ranges) { if ((range.caret.Position() == pos) && (virtualSpace < range.caret.VirtualSpace())) virtualSpace = range.caret.VirtualSpace(); if ((range.anchor.Position() == pos) && (virtualSpace < range.anchor.VirtualSpace())) virtualSpace = range.anchor.VirtualSpace(); } return virtualSpace; } void Selection::Clear() { ranges.clear(); ranges.push_back(SelectionRange()); mainRange = ranges.size() - 1; selType = selStream; moveExtends = false; ranges[mainRange].Reset(); rangeRectangular.Reset(); } void Selection::RemoveDuplicates() { for (size_t i=0; i<ranges.size()-1; i++) { if (ranges[i].Empty()) { size_t j=i+1; while (j<ranges.size()) { if (ranges[i] == ranges[j]) { ranges.erase(ranges.begin() + j); if (mainRange >= j) mainRange--; } else { j++; } } } } } void Selection::RotateMain() { mainRange = (mainRange + 1) % ranges.size(); }
temcocontrols/T3000_Building_Automation_System
T3000/Tstat8HelpSystem/CTstat8HelpSystem.cpp
C++
mit
10,412
[ 30522, 1001, 2421, 1026, 20116, 2102, 19422, 12322, 1028, 1001, 2421, 1026, 2358, 3207, 2595, 3401, 13876, 1028, 1001, 2421, 1026, 9207, 1028, 1001, 2421, 1026, 9896, 1028, 1001, 2421, 1000, 4132, 1012, 1044, 1000, 1001, 2421, 1000, 1056, 14142, 8889, 1012, 1044, 1000, 1001, 2421, 1000, 2597, 1012, 1044, 1000, 1001, 2421, 1000, 4989, 1012, 1044, 1000, 2478, 3415, 15327, 1056, 14142, 8889, 1025, 11675, 14931, 9153, 2102, 2620, 16001, 7274, 27268, 6633, 1024, 1024, 2693, 29278, 7076, 8743, 9247, 12870, 1006, 22017, 2140, 23851, 1010, 16596, 1024, 1024, 2597, 2707, 22305, 2063, 1010, 16596, 1024, 1024, 2597, 3091, 1007, 1063, 2065, 1006, 23851, 30524, 3091, 1010, 7484, 23058, 1007, 1025, 7484, 23058, 1011, 1027, 7484, 7770, 13512, 28362, 5302, 3726, 1025, 2597, 1009, 1027, 7484, 7770, 13512, 28362, 5302, 3726, 1025, 1065, 2842, 2065, 1006, 2597, 1028, 2707, 22305, 2063, 1007, 1063, 2597, 1009, 1027, 3091, 1025, 1065, 1065, 2842, 1063, 2065, 1006, 2597, 1027, 1027, 2707, 22305, 2063, 1007, 1063, 7484, 23058, 1027, 1014, 1025, 1065, 2065, 1006, 2597, 1028, 2707, 22305, 2063, 1007, 1063, 9530, 3367, 16596, 1024, 1024, 2597, 2203, 9247, 20624, 2239, 1027, 2707, 22305, 2063, 1009, 3091, 1025, 2065, 1006, 2597, 1028, 2203, 9247, 20624, 2239, 1007, 1063, 2597, 1011, 1027, 3091, 1025, 1065, 2842, 1063, 2597, 1027, 2707, 22305, 2063, 1025, 7484, 23058, 1027, 1014, 1025, 1065, 1065, 1065, 1065, 22017, 2140, 14931, 9153, 2102, 2620, 16001, 7274, 27268, 6633, 1024, 1024, 6872, 1026, 1006, 9530, 3367, 14931, 9153, 2102, 2620, 16001, 7274, 27268, 6633, 1004, 2060, 1007, 9530, 3367, 1063, 2065, 1006, 2597, 1027, 1027, 2060, 1012, 2597, 1007, 2709, 7484, 23058, 1026, 2060, 1012, 7484, 23058, 1025, 2842, 2709, 2597, 1026, 2060, 1012, 2597, 1025, 1065, 22017, 2140, 14931, 9153, 2102, 2620, 16001, 7274, 27268, 6633, 1024, 1024, 6872, 1028, 1006, 9530, 3367, 14931, 9153, 2102, 2620, 16001, 7274, 27268, 6633, 1004, 2060, 1007, 9530, 3367, 1063, 2065, 1006, 2597, 1027, 1027, 2060, 1012, 2597, 1007, 2709, 7484, 23058, 1028, 2060, 1012, 7484, 23058, 1025, 2842, 2709, 2597, 1028, 2060, 1012, 2597, 1025, 1065, 22017, 2140, 14931, 9153, 2102, 2620, 16001, 7274, 27268, 6633, 1024, 1024, 6872, 1026, 1027, 1006, 9530, 3367, 14931, 9153, 2102, 2620, 16001, 7274, 27268, 6633, 1004, 2060, 1007, 9530, 3367, 1063, 2065, 1006, 2597, 1027, 1027, 2060, 1012, 2597, 1004, 1004, 7484, 23058, 1027, 1027, 2060, 1012, 7484, 23058, 1007, 2709, 2995, 1025, 2842, 2709, 2060, 1028, 1008, 2023, 1025, 1065, 22017, 2140, 14931, 9153, 2102, 2620, 16001, 7274, 27268, 6633, 1024, 1024, 6872, 1028, 1027, 1006, 9530, 3367, 14931, 9153, 2102, 2620, 16001, 7274, 27268, 6633, 1004, 2060, 1007, 9530, 3367, 1063, 2065, 1006, 2597, 1027, 1027, 2060, 1012, 2597, 1004, 1004, 7484, 23058, 1027, 1027, 2060, 1012, 7484, 23058, 1007, 2709, 2995, 1025, 2842, 2709, 1008, 2023, 1028, 2060, 1025, 1065, 16596, 1024, 1024, 30523, 1007, 1063, 2065, 1006, 2597, 1027, 1027, 2707, 22305, 2063, 1007, 1063, 16596, 1024, 1024, 2597, 7484, 7770, 13512, 28362, 5302, 3726, 1027, 2358, 2094, 1024, 1024, 8117, 1006, 30526 ]
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 1007, 1063, 2065, 1006, 2597, 1027, 1027, 2707, 22305, 2063, 1007, 1063, 16596, 1024, 1024, 2597, 7484, 7770, 13512, 28362, 5302, 3726, 1027, 2358, 2094, 1024, 1024, 8117, 1006, 30526 ]
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <[email protected]> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Bridge\Postmark\Transport; use Psr\EventDispatcher\EventDispatcherInterface; use Psr\Log\LoggerInterface; use Symfony\Component\Mailer\Envelope; use Symfony\Component\Mailer\Exception\HttpTransportException; use Symfony\Component\Mailer\Header\MetadataHeader; use Symfony\Component\Mailer\Header\TagHeader; use Symfony\Component\Mailer\SentMessage; use Symfony\Component\Mailer\Transport\AbstractApiTransport; use Symfony\Component\Mime\Email; use Symfony\Contracts\HttpClient\Exception\DecodingExceptionInterface; use Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface; use Symfony\Contracts\HttpClient\HttpClientInterface; use Symfony\Contracts\HttpClient\ResponseInterface; /** * @author Kevin Verschaeve */ class PostmarkApiTransport extends AbstractApiTransport { private const HOST = 'api.postmarkapp.com'; private string $key; private $messageStream; public function __construct(string $key, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null) { $this->key = $key; parent::__construct($client, $dispatcher, $logger); } public function __toString(): string { return sprintf('postmark+api://%s', $this->getEndpoint()).($this->messageStream ? '?message_stream='.$this->messageStream : ''); } protected function doSendApi(SentMessage $sentMessage, Email $email, Envelope $envelope): ResponseInterface { $response = $this->client->request('POST', 'https://'.$this->getEndpoint().'/email', [ 'headers' => [ 'Accept' => 'application/json', 'X-Postmark-Server-Token' => $this->key, ], 'json' => $this->getPayload($email, $envelope), ]); try { $statusCode = $response->getStatusCode(); $result = $response->toArray(false); } catch (DecodingExceptionInterface $e) { throw new HttpTransportException('Unable to send an email: '.$response->getContent(false).sprintf(' (code %d).', $statusCode), $response); } catch (TransportExceptionInterface $e) { throw new HttpTransportException('Could not reach the remote Postmark server.', $response, 0, $e); } if (200 !== $statusCode) { throw new HttpTransportException('Unable to send an email: '.$result['Message'].sprintf(' (code %d).', $result['ErrorCode']), $response); } $sentMessage->setMessageId($result['MessageID']); return $response; } private function getPayload(Email $email, Envelope $envelope): array { $payload = [ 'From' => $envelope->getSender()->toString(), 'To' => implode(',', $this->stringifyAddresses($this->getRecipients($email, $envelope))), 'Cc' => implode(',', $this->stringifyAddresses($email->getCc())), 'Bcc' => implode(',', $this->stringifyAddresses($email->getBcc())), 'ReplyTo' => implode(',', $this->stringifyAddresses($email->getReplyTo())), 'Subject' => $email->getSubject(), 'TextBody' => $email->getTextBody(), 'HtmlBody' => $email->getHtmlBody(), 'Attachments' => $this->getAttachments($email), ]; $headersToBypass = ['from', 'to', 'cc', 'bcc', 'subject', 'content-type', 'sender', 'reply-to']; foreach ($email->getHeaders()->all() as $name => $header) { if (\in_array($name, $headersToBypass, true)) { continue; } if ($header instanceof TagHeader) { $payload['Tag'] = $header->getValue(); continue; } if ($header instanceof MetadataHeader) { $payload['Metadata'][$header->getKey()] = $header->getValue(); continue; } if ($header instanceof MessageStreamHeader) { $payload['MessageStream'] = $header->getValue(); continue; } $payload['Headers'][] = [ 'Name' => $name, 'Value' => $header->getBodyAsString(), ]; } if (null !== $this->messageStream && !isset($payload['MessageStream'])) { $payload['MessageStream'] = $this->messageStream; } return $payload; } private function getAttachments(Email $email): array { $attachments = []; foreach ($email->getAttachments() as $attachment) { $headers = $attachment->getPreparedHeaders(); $filename = $headers->getHeaderParameter('Content-Disposition', 'filename'); $disposition = $headers->getHeaderBody('Content-Disposition'); $att = [ 'Name' => $filename, 'Content' => $attachment->bodyToString(), 'ContentType' => $headers->get('Content-Type')->getBody(), ]; if ('inline' === $disposition) { $att['ContentID'] = 'cid:'.$filename; } $attachments[] = $att; } return $attachments; } private function getEndpoint(): ?string { return ($this->host ?: self::HOST).($this->port ? ':'.$this->port : ''); } /** * @return $this */ public function setMessageStream(string $messageStream): static { $this->messageStream = $messageStream; return $this; } }
hhamon/symfony
src/Symfony/Component/Mailer/Bridge/Postmark/Transport/PostmarkApiTransport.php
PHP
mit
5,751
[ 30522, 1026, 1029, 25718, 1013, 1008, 1008, 2023, 5371, 2003, 2112, 1997, 1996, 25353, 2213, 30524, 19562, 1026, 6904, 11283, 2078, 1030, 25353, 2213, 14876, 4890, 1012, 4012, 1028, 1008, 1008, 2005, 1996, 2440, 9385, 1998, 6105, 2592, 1010, 3531, 3193, 1996, 6105, 1008, 5371, 2008, 2001, 5500, 2007, 2023, 3120, 3642, 1012, 1008, 1013, 3415, 15327, 25353, 2213, 14876, 4890, 1032, 6922, 1032, 5653, 2121, 1032, 2958, 1032, 2695, 10665, 1032, 3665, 1025, 2224, 8827, 2099, 1032, 2724, 10521, 4502, 10649, 2121, 1032, 2724, 10521, 4502, 10649, 23282, 3334, 12172, 1025, 2224, 8827, 2099, 1032, 8833, 1032, 8833, 4590, 18447, 2121, 12172, 1025, 2224, 25353, 2213, 14876, 4890, 1032, 6922, 1032, 5653, 2121, 1032, 11255, 1025, 2224, 25353, 2213, 14876, 4890, 1032, 6922, 1032, 5653, 2121, 1032, 6453, 1032, 8299, 6494, 3619, 6442, 10288, 24422, 1025, 2224, 25353, 2213, 14876, 4890, 1032, 6922, 1032, 5653, 2121, 1032, 20346, 1032, 27425, 4974, 2121, 1025, 2224, 25353, 2213, 14876, 4890, 1032, 6922, 1032, 5653, 2121, 1032, 20346, 1032, 6415, 4974, 2121, 1025, 2224, 25353, 2213, 14876, 4890, 1032, 6922, 1032, 5653, 2121, 1032, 2741, 7834, 3736, 3351, 1025, 2224, 25353, 2213, 14876, 4890, 1032, 6922, 1032, 5653, 2121, 1032, 3665, 1032, 10061, 9331, 4183, 5521, 20205, 1025, 2224, 25353, 2213, 14876, 4890, 1032, 6922, 1032, 2771, 4168, 1032, 10373, 1025, 2224, 25353, 2213, 14876, 4890, 1032, 8311, 1032, 8299, 20464, 11638, 1032, 6453, 1032, 21933, 4667, 10288, 24422, 18447, 2121, 12172, 1025, 2224, 25353, 2213, 14876, 4890, 1032, 8311, 1032, 8299, 20464, 11638, 1032, 6453, 1032, 3665, 10288, 24422, 18447, 2121, 12172, 1025, 2224, 25353, 2213, 14876, 4890, 1032, 8311, 1032, 8299, 20464, 11638, 1032, 8299, 20464, 11638, 18447, 2121, 12172, 1025, 2224, 25353, 2213, 14876, 4890, 1032, 8311, 1032, 8299, 20464, 11638, 1032, 3433, 18447, 2121, 12172, 1025, 1013, 1008, 1008, 1008, 1030, 3166, 4901, 2310, 2869, 7507, 18697, 1008, 1013, 2465, 2695, 10665, 9331, 4183, 5521, 20205, 8908, 10061, 9331, 4183, 5521, 20205, 1063, 2797, 9530, 3367, 3677, 1027, 1005, 17928, 1012, 2695, 10665, 29098, 1012, 4012, 1005, 1025, 2797, 5164, 1002, 3145, 1025, 2797, 1002, 7696, 25379, 1025, 2270, 3853, 1035, 1035, 9570, 1006, 5164, 1002, 3145, 1010, 8299, 20464, 11638, 18447, 2121, 12172, 1002, 7396, 1027, 19701, 1010, 2724, 10521, 4502, 10649, 23282, 3334, 12172, 1002, 18365, 2121, 1027, 19701, 1010, 8833, 4590, 18447, 2121, 12172, 1002, 8833, 4590, 1027, 19701, 1007, 1063, 1002, 2023, 1011, 1028, 3145, 1027, 1002, 3145, 1025, 6687, 1024, 1024, 1035, 1035, 9570, 1006, 1002, 7396, 1010, 1002, 18365, 2121, 1010, 1002, 8833, 4590, 1007, 1025, 1065, 2270, 3853, 1035, 1035, 2000, 3367, 4892, 1006, 1007, 1024, 5164, 1063, 2709, 9043, 2546, 1006, 1005, 2695, 10665, 1009, 17928, 1024, 1013, 1013, 1003, 1055, 1005, 1010, 1002, 2023, 1011, 1028, 2131, 10497, 8400, 1006, 1007, 1007, 1012, 1006, 1002, 2023, 1011, 1028, 7696, 25379, 1029, 1005, 1029, 4471, 1035, 5460, 1027, 1005, 1012, 1002, 2023, 1011, 1028, 7696, 25379, 30523, 14876, 4890, 7427, 1012, 1008, 1008, 1006, 1039, 1007, 6904, 11283, 2078, 8962, 2368, 30526 ]
[ 0, 0, 0, 0,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, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 14876, 4890, 7427, 1012, 1008, 1008, 1006, 1039, 1007, 6904, 11283, 2078, 8962, 2368, 30526 ]