hexsha
stringlengths
40
40
size
int64
5
1.05M
ext
stringclasses
98 values
lang
stringclasses
21 values
max_stars_repo_path
stringlengths
3
945
max_stars_repo_name
stringlengths
4
118
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
368k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
945
max_issues_repo_name
stringlengths
4
118
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
134k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
945
max_forks_repo_name
stringlengths
4
135
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
5
1.05M
avg_line_length
float64
1
1.03M
max_line_length
int64
2
1.03M
alphanum_fraction
float64
0
1
815d63519a02dd3542bf86decdf7afd8fbffe05d
7,935
go
Go
golang/exmo/example/example.go
VadimInshakov/exmo_api_lib
b5606cb03daa4b3b72749554a6ae0701d574f0a3
[ "MIT" ]
null
null
null
golang/exmo/example/example.go
VadimInshakov/exmo_api_lib
b5606cb03daa4b3b72749554a6ae0701d574f0a3
[ "MIT" ]
null
null
null
golang/exmo/example/example.go
VadimInshakov/exmo_api_lib
b5606cb03daa4b3b72749554a6ae0701d574f0a3
[ "MIT" ]
null
null
null
package main import ( "fmt" "math/big" _ "math/big" "strconv" _ "strconv" "time" "exmo" ) func main() { var orderId string key := "" // TODO replace with your api key from profile page secret := "" // TODO replace with your api secret from profile page api := exmo.Api(key, secret) resultTrades, errTrades := api.GetTrades("BTC_RUB") if errTrades != nil { fmt.Errorf("api error: %s\n", errTrades.Error()) } else { for _, v := range resultTrades { for k, val := range v.([]interface{}) { tmpindex := 0 for key, value := range val.(map[string]interface{}) { if tmpindex != k { fmt.Printf("\n\nindex: %d \n", k) tmpindex = k } if key == "trade_id" { fmt.Println(key, big.NewFloat(value.(float64)).String()) } else if key == "date" { fmt.Println(key, time.Unix(int64(value.(float64)), 0)) } else { fmt.Println(key, value) } } } } } resultBook, errBook := api.GetOrderBook("BTC_RUB", 200) if errBook != nil { fmt.Errorf("api error: %s\n", errBook.Error()) } else { for _, v := range resultBook { for key, value := range v.(map[string]interface{}) { if key == "bid" || key == "ask" { for _, val := range value.([]interface{}) { fmt.Printf("%s: ", key) for index, valnested := range val.([]interface{}) { switch index { case 0: fmt.Printf("price %s, ", valnested.(string)) case 1: fmt.Printf("quantity %s, ", valnested.(string)) case 2: fmt.Printf("total %s \n", valnested.(string)) } } } } else { fmt.Println(key, value) } } } } ticker, errTicker := api.Ticker() if errTicker != nil { fmt.Printf("api error: %s\n", errTicker.Error()) } else { for pair, pairvalue := range ticker { fmt.Printf("\n\n%s:\n", pair) for key, value := range pairvalue.(map[string]interface{}) { fmt.Println(key, value) } } } resultPairSettings, errPairSettings := api.GetPairSettings() if errPairSettings != nil { fmt.Printf("api error: %s\n", errPairSettings.Error()) } else { for pair, pairvalue := range resultPairSettings { fmt.Printf("\n\n%s:\n", pair) for key, value := range pairvalue.(map[string]interface{}) { fmt.Println(key, value) } } } resultCurrency, errCurrency := api.GetCurrency() if errCurrency != nil { fmt.Printf("api error: %s\n", errCurrency.Error()) } else { fmt.Println("\nCurrencies:") for _, pair := range resultCurrency { fmt.Println(pair) } } resultUserInfo, errUserInfo := api.GetUserInfo() if errUserInfo != nil { fmt.Printf("api error: %s\n", errUserInfo.Error()) } else { for key, value := range resultUserInfo { if key == "balances" { fmt.Println("\n-- balances:") for k, v := range value.(map[string]interface{}) { fmt.Println(k, v) } } if key == "reserved" { fmt.Println("\n-- reserved:") for k, v := range value.(map[string]interface{}) { fmt.Println(k, v) } } } } fmt.Printf("-------------\n") usertrades, err1 := api.GetUserTrades("BTC_RUB") if err1 != nil { fmt.Printf("api error: %s\n", err1.Error()) } else { fmt.Println("User trades") for pair, val := range usertrades { fmt.Printf("\n\n %s", pair) for _, interfacevalue := range val.([]interface{}) { fmt.Printf("\n\n***\n") for k, v := range interfacevalue.(map[string]interface{}) { fmt.Println(k, v) } } } } order, errOrder := api.Buy("BTC_RUB", "0.001", "50096") if errOrder != nil { fmt.Printf("api error: %s\n", errOrder.Error()) } else { fmt.Println("Creating order...") for key, value := range order { if key == "result" && value != true { fmt.Println("\nError") } if key == "error" && value != "" { fmt.Println(value) } if key == "order_id" && value != nil { fmt.Printf("Order id: %d\n", int(value.(float64))) val := strconv.Itoa(int(value.(float64))) orderId = val fmt.Printf("Order id: %s\n", orderId) } } } marketOrder, errMarketOrder := api.MarketBuy("BTC_RUB", "0.001") if errMarketOrder != nil { fmt.Printf("api error: %s\n", errMarketOrder.Error()) } else { fmt.Println("Creating order...") for key, value := range marketOrder { if key == "result" && value != true { fmt.Println("\nError") } if key == "error" && value != "" { fmt.Println(value) } if key == "order_id" && value != nil { val := strconv.Itoa(int(value.(float64))) orderId = val fmt.Printf("Order id: %s", orderId) } } } orderSell, errOrderSell := api.Sell("BTC_RUB", "0.001", "800000") if errOrderSell != nil { fmt.Printf("api error: %s\n", errOrderSell.Error()) } else { fmt.Println("Creating order...") for key, value := range orderSell { if key == "result" && value != true { fmt.Println("\nError") } if key == "error" && value != "" { fmt.Println(value) } if key == "order_id" && value != nil { val := strconv.Itoa(int(value.(float64))) orderId = val fmt.Printf("Order id: %f", orderId) } } } orderSellMarket, errOrderSellMarket := api.MarketSell("BTC_RUB", "0.0005") if errOrderSellMarket != nil { fmt.Printf("api error: %s\n", errOrderSellMarket.Error()) } else { fmt.Println("Creating order...") for key, value := range orderSellMarket { if key == "result" && value != true { fmt.Println("\nError") } if key == "error" && value != "" { fmt.Println(value) } if key == "order_id" && value != nil { val := strconv.Itoa(int(value.(float64))) orderId = val fmt.Printf("Order id: %s", orderId) } } } orderCancel, errCancel := api.OrderCancel(orderId) if errCancel != nil { fmt.Printf("api error: %s\n", errCancel.Error()) } else { fmt.Printf("\nCancel order %s \n", orderId) for key, value := range orderCancel { if key == "result" && value != true { fmt.Println("\nError") } if key == "error" && value != "" { fmt.Println(value) } } } resultUserOpenOrders, errUserOpenOrders := api.GetUserOpenOrders() if errUserOpenOrders != nil { fmt.Errorf("api error: %s\n", errUserOpenOrders.Error()) } else { for _, v := range resultUserOpenOrders { for _, val := range v.([]interface{}) { for key, value := range val.(map[string]interface{}) { fmt.Println(key, value) } } } } resultUserCancelledOrders, errUserCancelledOrders := api.GetUserCancelledOrders(0, 100) if errUserCancelledOrders != nil { fmt.Errorf("api error: %s\n", errUserCancelledOrders.Error()) } else { for _, v := range resultUserCancelledOrders { for key, val := range v.(map[string]interface{}) { if key == "pair" { fmt.Printf("\n%s\n", val) } else { fmt.Println(key, val) } } } } time.Sleep(10000 * time.Millisecond) resultOrderTrades, errOrderTrades := api.GetOrderTrades(orderId) if errOrderTrades != nil { fmt.Errorf("api error: %s\n", errOrderTrades.Error()) } else { for k, v := range resultOrderTrades { fmt.Println(k, v) } } resultRequiredAmount, errRequiredAmount := api.GetRequiredAmount("BTC_RUB", "0.01") if errRequiredAmount != nil { fmt.Errorf("api error: %s\n", errRequiredAmount.Error()) } else { for k, v := range resultRequiredAmount { fmt.Println(k, v) } } resultDepositAddress, errDepositAddress := api.GetDepositAddress() if errDepositAddress != nil { fmt.Errorf("api error: %s\n", errDepositAddress.Error()) } else { for k, v := range resultDepositAddress { fmt.Println(k, v) } } /* WALLET API */ resultWalletHistory, errWalletHistory := api.GetWalletHistory(time.Now()) if errWalletHistory != nil { fmt.Errorf("api error: %s\n", errWalletHistory.Error()) } else { for k, v := range resultWalletHistory { if k == "history" { for key, val := range v.([]interface{}) { fmt.Println(key, val) } } fmt.Println(k, v) } } }
24.796875
88
0.595463
68588176420f97fccb9df75e5500e41de581c058
1,227
html
HTML
bower_components/monaco-editor-samples/sample-electron/index.html
cr7boulos/ast_interpreter
fb3698f8f1e5838f231c540b34a5502fe4a28625
[ "MIT" ]
1
2017-12-18T05:42:28.000Z
2017-12-18T05:42:28.000Z
bower_components/monaco-editor-samples/sample-electron/index.html
cr7boulos/ast_interpreter
fb3698f8f1e5838f231c540b34a5502fe4a28625
[ "MIT" ]
null
null
null
bower_components/monaco-editor-samples/sample-electron/index.html
cr7boulos/ast_interpreter
fb3698f8f1e5838f231c540b34a5502fe4a28625
[ "MIT" ]
null
null
null
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Hello World!</title> </head> <body> <h1>Hello World!</h1> <div id="container" style="width:500px;height:300px;border:1px solid #ccc"></div> </body> <script> // require node modules before loader.js comes in var path = require('path'); </script> <script src="../node_modules/monaco-editor/min/vs/loader.js"></script> <script> function uriFromPath(_path) { var pathName = path.resolve(_path).replace(/\\/g, '/'); if (pathName.length > 0 && pathName.charAt(0) !== '/') { pathName = '/' + pathName; } return encodeURI('file://' + pathName); } require.config({ baseUrl: uriFromPath(path.join(__dirname, '../node_modules/monaco-editor/min')) }); // workaround monaco-css not understanding the environment self.module = undefined; // workaround monaco-typescript not understanding the environment self.process.browser = true; require(['vs/editor/editor.main'], function() { var editor = monaco.editor.create(document.getElementById('container'), { value: [ 'function x() {', '\tconsole.log("Hello world!");', '}' ].join('\n'), language: 'javascript' }); }); </script> </html>
25.5625
83
0.636512
0a46a8859eb25376a5f5ee55085fa95916c313a2
238
sql
SQL
medium/_05_err_x/cases/constr7b.sql
Zhaojia2019/cubrid-testcases
475a828e4d7cf74aaf2611fcf791a6028ddd107d
[ "BSD-3-Clause" ]
9
2016-03-24T09:51:52.000Z
2022-03-23T10:49:47.000Z
medium/_05_err_x/cases/constr7b.sql
Zhaojia2019/cubrid-testcases
475a828e4d7cf74aaf2611fcf791a6028ddd107d
[ "BSD-3-Clause" ]
173
2016-04-13T01:16:54.000Z
2022-03-16T07:50:58.000Z
medium/_05_err_x/cases/constr7b.sql
Zhaojia2019/cubrid-testcases
475a828e4d7cf74aaf2611fcf791a6028ddd107d
[ "BSD-3-Clause" ]
38
2016-03-24T17:10:31.000Z
2021-10-30T22:55:45.000Z
autocommit off; create class snafu (a integer shared NULL not null, b integer); create vclass snafu_v (a integer shared NULL not null, b integer) as select NA, b from snafu; insert into snafu_v (b) values (100); rollback work; rollback;
26.444444
65
0.760504
d9387ec0b24f99f7866aa0eec7ff9286a511506c
1,230
ps1
PowerShell
Functions/Format-Name.ps1
alp4125/PowerShell
63a0c0e9fe4d9cffd706fd7c12c1a721b87ec9f0
[ "MIT" ]
14
2018-02-09T17:48:55.000Z
2020-12-01T16:16:33.000Z
Functions/Format-Name.ps1
alp4125/PowerShell
63a0c0e9fe4d9cffd706fd7c12c1a721b87ec9f0
[ "MIT" ]
null
null
null
Functions/Format-Name.ps1
alp4125/PowerShell
63a0c0e9fe4d9cffd706fd7c12c1a721b87ec9f0
[ "MIT" ]
13
2018-02-10T17:51:28.000Z
2021-02-18T10:29:01.000Z
function Format-Name { <# .SYNOPSIS Formating Name and Names .DESCRIPTION Formating Name and Names with first upper and rest lower case .PARAMETER Name The name or names you want to format .EXAMPLE PS C:\> Format-Name -Name $value1 .EXAMPLE PS C:\> Format-Name -Name "$value1 $value2" .EXAMPLE PS C:\> $value1 | Format-Name .NOTES NAME: Format-Name AUTHOR: Fredrik Wall, fredrik@poweradmin.se BLOG: https://fredrikwall.se CREATED: 2017-11-03 VERSION: 1.2 #> [CmdletBinding()] param ( [Parameter(ValueFromPipeline,Mandatory = $true)] $Name ) $Name = $Name.Trim() # If It's double name or more if ($Name.IndexOf(" ") -ne "-1") { $TheName = $Name.Split(" ") $TheNames = @() foreach ($MyName in $TheName) { $MyName = "$((($MyName).Trim()).ToUpper().Substring(0, 1))$((($MyName).Trim()).ToLower().Substring(1))" $TheNames += $MyName } [string]$FixedName = $TheNames Return $FixedName } else { $MyName = "$((($Name).Trim()).ToUpper().Substring(0, 1))$((($Name).Trim()).ToLower().Substring(1))" [string]$FixedName = $MyName Return $FixedName } }
19.52381
106
0.577236
5b8e0e5064e37c94df0a8ac40ba941a20ec4e89e
631
lua
Lua
lib/getRemote.lua
vocksel/action-network
5386e37faf0de035af5d43d45b8d61accda820d0
[ "MIT" ]
1
2020-10-05T22:55:33.000Z
2020-10-05T22:55:33.000Z
lib/getRemote.lua
vocksel/action-network
5386e37faf0de035af5d43d45b8d61accda820d0
[ "MIT" ]
2
2018-10-17T02:19:39.000Z
2021-10-09T21:40:32.000Z
lib/getRemote.lua
vocksel/action-network
5386e37faf0de035af5d43d45b8d61accda820d0
[ "MIT" ]
null
null
null
local runService = game:GetService("RunService") local constants = require(script.Parent.constants) local name = constants.REMOTE_NAME local storage = constants.REMOTE_STORAGE local function getRemote() if runService:IsServer() then local remote = Instance.new("RemoteEvent") remote.Name = name remote.Parent = storage return remote else local remote = storage:WaitForChild(name, constants.WAIT_FOR_REMOTE_TIMEOUT) assert(remote, "Could not find the RemoteEvent in time. Was action-network not required on the server?") return remote end end return getRemote
28.681818
112
0.719493
2fcdf000780333cbae73a6b1f2de6a0968d44bf8
2,744
sql
SQL
api/src/main/resources/db/migration/V1__Init_database.sql
limengning/voice-marker
1d2f54332dd12bcab6eb2f54b0c3ebb4a8b0f0bd
[ "Apache-2.0" ]
null
null
null
api/src/main/resources/db/migration/V1__Init_database.sql
limengning/voice-marker
1d2f54332dd12bcab6eb2f54b0c3ebb4a8b0f0bd
[ "Apache-2.0" ]
null
null
null
api/src/main/resources/db/migration/V1__Init_database.sql
limengning/voice-marker
1d2f54332dd12bcab6eb2f54b0c3ebb4a8b0f0bd
[ "Apache-2.0" ]
null
null
null
-- public.project definition -- Drop table -- DROP TABLE public.project; CREATE TABLE public.project ( id int4 NOT NULL GENERATED ALWAYS AS IDENTITY, create_time timestamp(0) NOT NULL, create_by varchar NULL, update_time timestamp(0) NULL, update_by varchar NULL, "name" varchar NOT NULL, description varchar NULL, CONSTRAINT project_pk PRIMARY KEY (id) ); -- public.file definition -- Drop table -- DROP TABLE public.file; CREATE TABLE public.file ( id int4 NOT NULL GENERATED ALWAYS AS IDENTITY, create_time timestamp(0) NOT NULL, create_by varchar NULL, update_time timestamp(0) NULL, update_by varchar NULL, project_id int4 NULL, "name" varchar NOT NULL, src varchar NOT NULL, local_path varchar NULL, "size" int8 NULL, duration int4 NULL, CONSTRAINT file_pk PRIMARY KEY (id) ); -- public.file foreign keys ALTER TABLE public.file ADD CONSTRAINT file_fk FOREIGN KEY (project_id) REFERENCES project(id) ON DELETE CASCADE; -- public.mark definition -- Drop table -- DROP TABLE public.mark; CREATE TABLE public.mark ( id int4 NOT NULL GENERATED ALWAYS AS IDENTITY, create_time timestamp(0) NOT NULL, create_by varchar NULL, update_time timestamp(0) NULL, update_by varchar NULL, file_id int4 NOT NULL, start_point float4 NULL, end_point float4 NULL, "comment" varchar NULL, region_id varchar NOT NULL, "locked" bool NOT NULL DEFAULT false, CONSTRAINT mark_pk PRIMARY KEY (id) ); -- public.mark foreign keys ALTER TABLE public.mark ADD CONSTRAINT mark_fk FOREIGN KEY (file_id) REFERENCES file(id) ON DELETE CASCADE; -- public.mark_field definition -- Drop table -- DROP TABLE public.mark_field; CREATE TABLE public.mark_field ( id int4 NOT NULL GENERATED ALWAYS AS IDENTITY, create_time timestamp(0) NOT NULL, create_by varchar NULL, update_time timestamp(0) NULL, update_by varchar NULL, project_id int4 NOT NULL, field_name varchar NOT NULL, field_display_text varchar NOT NULL, field_type int4 NOT NULL, required bool NOT NULL, data_source varchar NULL, sort int4 NULL, CONSTRAINT mark_field_pk PRIMARY KEY (id) ); -- public.mark_field foreign keys ALTER TABLE public.mark_field ADD CONSTRAINT mark_field_fk FOREIGN KEY (project_id) REFERENCES project(id) ON DELETE CASCADE;
27.717172
125
0.630466
0505c379c7a84717b84da0dc3a661c46bb6c8b94
1,591
rb
Ruby
lib/omgtex/options.rb
x3ro/omgtex
8bd47a64319484a0da23aeffe9551e0ed334162b
[ "MIT" ]
null
null
null
lib/omgtex/options.rb
x3ro/omgtex
8bd47a64319484a0da23aeffe9551e0ed334162b
[ "MIT" ]
3
2020-07-09T19:57:53.000Z
2020-07-09T19:57:56.000Z
lib/omgtex/options.rb
x3ro/omgtex
8bd47a64319484a0da23aeffe9551e0ed334162b
[ "MIT" ]
null
null
null
require 'optparse' module Omgtex class Options def self.parse! options = {:latexOptions => [ ]} options[:typesetter] = "pdflatex" optparse = OptionParser.new do|opts| opts.banner = "Usage: omgtex [options] file.tex" options[:openpdf] = false opts.on('-o', '--open', 'Open PDF file after rendering') do options[:openpdf] = true end options[:bibtex] = false opts.on('-b', '--bibtex', 'Run BibTeX as well') do options[:bibtex] = true end options[:glossary] = false opts.on('-g', '--glossary', 'Generate glossary file') do options[:glossary] = true end opts.on('-e', '--shell-escape', 'Shell escape-ish') do options[:latexOptions].push("-shell-escape") end opts.on('-x', '--xelatex', 'Use XeLaTeX instead of pdflatex') do options[:typesetter] = "xelatex" end opts.on('-t TYPESETTER', '--typesetter', 'Use this executable for typesetting LaTeX') do |l| options[:typesetter] = l end opts.on('-n', '--dry-run') do options[:dryrun] = true end opts.on('-d', '--dont-clean') do options[:dontclean] = true end opts.on('-h', '--help', 'Display this message') do puts opts exit end opts.on('-l COMMAND', '--latex', 'Command to be passed to LateX command') do |l| options[:latexOptions].push(l) end end optparse.parse! options end end end
24.476923
100
0.531741
c29a24e3985f6d3e19981d18cc0ed58c96ff1e75
23,775
ps1
PowerShell
CoEStarterKit_AA4AM_SetupAutomation/New-AzureDevOpsProject.Tests.ps1
rpothin/PersonalProjects
7aa49085408cf18d7636acda9cceb4d21f2577c0
[ "MIT" ]
4
2021-10-06T15:32:10.000Z
2022-03-27T11:15:37.000Z
CoEStarterKit_AA4AM_SetupAutomation/New-AzureDevOpsProject.Tests.ps1
rpothin/PersonalProjects
7aa49085408cf18d7636acda9cceb4d21f2577c0
[ "MIT" ]
null
null
null
CoEStarterKit_AA4AM_SetupAutomation/New-AzureDevOpsProject.Tests.ps1
rpothin/PersonalProjects
7aa49085408cf18d7636acda9cceb4d21f2577c0
[ "MIT" ]
1
2022-03-03T03:07:36.000Z
2022-03-03T03:07:36.000Z
BeforeAll { # Import New-AzureDevOpsProject function Import-Module .\New-AzureDevOpsProject.ps1 -Force } # New-AzureDevOpsProject tests without integrations with other modules Describe "New-AzureDevOpsProject Unit Tests" -Tag "UnitTests" { Context "Parameters configuration verification" { It "Given the Mandatory attribute of the OrganizationUrl parameter, it should be equal to true" { (Get-Command New-AzureDevOpsProject).Parameters['OrganizationUrl'].Attributes.Mandatory | Should -Be $true } It "Given the Mandatory attribute of the ProjectName parameter, it should be equal to true" { (Get-Command New-AzureDevOpsProject).Parameters['ProjectName'].Attributes.Mandatory | Should -Be $true } It "Given the Mandatory attribute of the ConfigurationFilePath parameter, it should be equal to true" { (Get-Command New-AzureDevOpsProject).Parameters['ConfigurationFilePath'].Attributes.Mandatory | Should -Be $true } } Context "Azure DevOps project configuration extraction from file verification" { BeforeEach{ # Variables initialization $organizationUrlForTests = "https://dev.azure.com/tests" $existingAzureDevOpsProjectName = "ExistingProject" $nonExistingAzureDevOpsProjectName = "NonExistingProject" $correctConfigurationFile = ".\AzureDevOpsProjectConfiguration.txt" $wrongFormatConfigurationFile = ".\WrongFormatAzureDevOpsProjectConfiguration.txt" $wrongConfigurationFilePath = ".\wrongpath.ko" # Simulate the extraction of the content of the Azure DevOps project configuration file $azureDevOpsProjectConfigurationMock = @('process=Basic', 'sourceControl=git', 'visibility=private') $wrongFormatAzureDevOpsProjectConfigurationMock = @('wrongProcess=Basic', 'wrongSourceControl=git', 'wrongVisibility=private') Mock Get-Content { $azureDevOpsProjectConfigurationMock } -ParameterFilter { $Path -eq $correctConfigurationFile } Mock Get-Content { $wrongFormatAzureDevOpsProjectConfigurationMock } -ParameterFilter { $Path -eq $wrongFormatConfigurationFile } # Simulate the behavior of the execution of the 'az devops extension list' command $extensionListResult = [PSCustomObject]@{} Mock az { $extensionListResult | ConvertTo-Json } -ParameterFilter { "$args" -match 'devops extension list' } # Simulate the behavior of the execution of the 'az devops project list' command $projectListResult = [PSCustomObject]@{ id = "00000000-0000-0000-0000-000000000000" name = $existingAzureDevOpsProjectName description = "" url = "https://dev.azure.com/tests/_apis/projects/00000000-0000-0000-0000-000000000000" visibility = "private" state = "wellFormed" } # Simulate the behavior of the execution of the 'az devops project create' command $projectCreated = [PSCustomObject]@{ id = "00000000-0000-0000-0000-000000000000" name = $nonExistingAzureDevOpsProjectName description = "" url = "https://dev.azure.com/tests/_apis/projects/00000000-0000-0000-0000-000000000000" visibility = "private" state = "wellFormed" } Mock az { $projectCreated | ConvertTo-Json } -ParameterFilter { "$args" -match 'devops project create' } # Definition of the exepcted results of the tests of the this context $expectedResultExistingAzureDevOpsProjectFound = [PSCustomObject]@{ Id = "00000000-0000-0000-0000-000000000000" Name = $existingAzureDevOpsProjectName Description = "" Url = "https://dev.azure.com/tests/_apis/projects/00000000-0000-0000-0000-000000000000" Visibility = "private" State = "wellFormed" Type = "Existing" } $expectedResultAzureDevOpsProjectCreated = [PSCustomObject]@{ Id = "00000000-0000-0000-0000-000000000000" Name = $nonExistingAzureDevOpsProjectName Description = "" Url = "https://dev.azure.com/tests/_apis/projects/00000000-0000-0000-0000-000000000000" Visibility = "private" State = "wellFormed" Type = "Created" } $expectedResultWrongPathToAzureDevOpsConfigurationFile = [PSCustomObject]@{ Error = "Error in the extraction of the Azure DevOps project configuration from the considered file: System.Management.Automation.ActionPreferenceStopException: The running command stopped because the preference variable 'ErrorActionPreference' or common parameter is set to Stop: Cannot find path" } } It "Given a correct path to a well formated Azure DevOps project configuration file and the name of an existing Azure DevOps project, it should return the information of the Azure DevOps project found" { Mock az { $projectListResult | ConvertTo-Json } -ParameterFilter { "$args" -match 'devops project list' } (New-AzureDevOpsProject -OrganizationUrl $organizationUrlForTests -ProjectName $existingAzureDevOpsProjectName -ConfigurationFilePath $correctConfigurationFile | ConvertTo-Json) | Should -Be ($expectedResultExistingAzureDevOpsProjectFound | ConvertTo-Json) } It "Given a correct path to an Azure DevOps project configuration file with errors and the name of an existing Azure DevOps project, it should return the information of the Azure DevOps project found" { Mock az { $projectListResult | ConvertTo-Json } -ParameterFilter { "$args" -match 'devops project list' } (New-AzureDevOpsProject -OrganizationUrl $organizationUrlForTests -ProjectName $existingAzureDevOpsProjectName -ConfigurationFilePath $wrongFormatConfigurationFile | ConvertTo-Json) | Should -Be ($expectedResultExistingAzureDevOpsProjectFound | ConvertTo-Json) } It "Given an incorrect path to an Azure DevOps project configuration file and the name of an existing Azure DevOps project, it should return the information of the Azure DevOps project found" { Mock az { $projectListResult | ConvertTo-Json } -ParameterFilter { "$args" -match 'devops project list' } (New-AzureDevOpsProject -OrganizationUrl $organizationUrlForTests -ProjectName $existingAzureDevOpsProjectName -ConfigurationFilePath $wrongFormatConfigurationFile | ConvertTo-Json) | Should -Be ($expectedResultExistingAzureDevOpsProjectFound | ConvertTo-Json) } It "Given a correct path to a well formated Azure DevOps project configuration file and the name of a non existing Azure DevOps project, it should return the information of the Azure DevOps project created" { Mock az { } -ParameterFilter { "$args" -match 'devops project list' } (New-AzureDevOpsProject -OrganizationUrl $organizationUrlForTests -ProjectName $nonExistingAzureDevOpsProjectName -ConfigurationFilePath $correctConfigurationFile | ConvertTo-Json) | Should -Be ($expectedResultAzureDevOpsProjectCreated | ConvertTo-Json) } It "Given a correct path to an Azure DevOps project configuration file with errors and the name of a non existing Azure DevOps project, it should return the information of the Azure DevOps project found" { Mock az { } -ParameterFilter { "$args" -match 'devops project list' } (New-AzureDevOpsProject -OrganizationUrl $organizationUrlForTests -ProjectName $nonExistingAzureDevOpsProjectName -ConfigurationFilePath $wrongConfigurationFilePath).Error.Substring(0, 288).replace('"', '''') | Should -Be $expectedResultWrongPathToAzureDevOpsConfigurationFile.Error } It "Given an incorrect path to an Azure DevOps project configuration file and the name of a non existing Azure DevOps project, it should return the information of the Azure DevOps project found" { Mock az { } -ParameterFilter { "$args" -match 'devops project list' } (New-AzureDevOpsProject -OrganizationUrl $organizationUrlForTests -ProjectName $nonExistingAzureDevOpsProjectName -ConfigurationFilePath $wrongConfigurationFilePath).Error.Substring(0, 288).replace('"', '''') | Should -Be $expectedResultWrongPathToAzureDevOpsConfigurationFile.Error } } Context "Behavior verification regarding the validation of the Azure DevOps organization URL provided" { BeforeEach{ # Variables initialization $organizationUrlForTests = "https://dev.azure.com/tests" $wrongOrganizationUrlForTests = "https://dev.azure.com/unknown" $existingAzureDevOpsProjectName = "ExistingProject" $nonExistingAzureDevOpsProjectName = "NonExistingProject" $correctConfigurationFile = ".\AzureDevOpsProjectConfiguration.txt" # Simulate the extraction of the content of the Azure DevOps project configuration file $azureDevOpsProjectConfigurationMock = @('process=Basic', 'sourceControl=git', 'visibility=private') Mock Get-Content { $azureDevOpsProjectConfigurationMock } -ParameterFilter { $Path -eq $correctConfigurationFile } # Simulate the behavior of the execution of the 'az devops extension list' command $extensionListResult = [PSCustomObject]@{} # Simulate the behavior of the execution of the 'az devops project list' command $projectListResult = [PSCustomObject]@{ id = "00000000-0000-0000-0000-000000000000" name = $existingAzureDevOpsProjectName description = "" url = "https://dev.azure.com/tests/_apis/projects/00000000-0000-0000-0000-000000000000" visibility = "private" state = "wellFormed" } Mock az { $projectListResult | ConvertTo-Json } -ParameterFilter { "$args" -match 'devops project list' } # Definition of the exepcted results of the tests of the this context $expectedResultExistingAzureDevOpsProjectFound = [PSCustomObject]@{ Id = "00000000-0000-0000-0000-000000000000" Name = $existingAzureDevOpsProjectName Description = "" Url = "https://dev.azure.com/tests/_apis/projects/00000000-0000-0000-0000-000000000000" Visibility = "private" State = "wellFormed" Type = "Existing" } $expectedResultErrorVerificationOrganizationUrl = [PSCustomObject]@{ Error = "Error in the verification of the existence of the following Azure DevOps organization: $wrongOrganizationUrlForTests" } } It "Given a correct Azure DevOps organization URL and the name of an existing Azure DevOps project, it should return the information of the Azure DevOps project found" { Mock az { $extensionListResult | ConvertTo-Json } -ParameterFilter { "$args" -match 'devops extension list' } (New-AzureDevOpsProject -OrganizationUrl $organizationUrlForTests -ProjectName $existingAzureDevOpsProjectName -ConfigurationFilePath $correctConfigurationFile | ConvertTo-Json) | Should -Be ($expectedResultExistingAzureDevOpsProjectFound | ConvertTo-Json) } It "Given a wrong Azure DevOps organization URL and the name of an existing Azure DevOps project, it should return an error regarding the verification of the Azure DevOps organization URL" { Mock az { } -ParameterFilter { "$args" -match 'devops extension list' } (New-AzureDevOpsProject -OrganizationUrl $wrongOrganizationUrlForTests -ProjectName $existingAzureDevOpsProjectName -ConfigurationFilePath $correctConfigurationFile | ConvertTo-Json) | Should -Be ($expectedResultErrorVerificationOrganizationUrl | ConvertTo-Json) } } Context "Behavior verification regarding Azure DevOps project search results" { BeforeEach{ # Variables initialization $organizationUrlForTests = "https://dev.azure.com/tests" $existingAzureDevOpsProjectName = "ExistingProject" $nonExistingAzureDevOpsProjectName = "NonExistingProject" $correctConfigurationFile = ".\AzureDevOpsProjectConfiguration.txt" # Simulate the extraction of the content of the Azure DevOps project configuration file $azureDevOpsProjectConfigurationMock = @('process=Basic', 'sourceControl=git', 'visibility=private') Mock Get-Content { $azureDevOpsProjectConfigurationMock } -ParameterFilter { $Path -eq $correctConfigurationFile } # Simulate the behavior of the execution of the 'az devops extension list' command $extensionListResult = [PSCustomObject]@{} Mock az { $extensionListResult | ConvertTo-Json } -ParameterFilter { "$args" -match 'devops extension list' } # Simulate the behavior of the execution of the 'az devops project list' command $oneProjectFound = [PSCustomObject]@{ id = "00000000-0000-0000-0000-000000000000" name = $existingAzureDevOpsProjectName description = "" url = "https://dev.azure.com/tests/_apis/projects/00000000-0000-0000-0000-000000000000" visibility = "private" state = "wellFormed" } $multipleProjectsFound = @($oneProjectFound, $oneProjectFound) # Simulate the behavior of the execution of the 'az devops project create' command $projectCreated = [PSCustomObject]@{ id = "00000000-0000-0000-0000-000000000000" name = $nonExistingAzureDevOpsProjectName description = "" url = "https://dev.azure.com/tests/_apis/projects/00000000-0000-0000-0000-000000000000" visibility = "private" state = "wellFormed" } Mock az { $projectCreated | ConvertTo-Json } -ParameterFilter { "$args" -match 'devops project create' } # Definition of the exepcted results of the tests of the this context $expectedResultOneExistingAzureDevOpsProjectFound = [PSCustomObject]@{ Id = "00000000-0000-0000-0000-000000000000" Name = $existingAzureDevOpsProjectName Description = "" Url = "https://dev.azure.com/tests/_apis/projects/00000000-0000-0000-0000-000000000000" Visibility = "private" State = "wellFormed" Type = "Existing" } $expectedResultAzureDevOpsProjectCreated = [PSCustomObject]@{ Id = "00000000-0000-0000-0000-000000000000" Name = $nonExistingAzureDevOpsProjectName Description = "" Url = "https://dev.azure.com/tests/_apis/projects/00000000-0000-0000-0000-000000000000" Visibility = "private" State = "wellFormed" Type = "Created" } $expectedResultMultipleExistingAzureDevOpsProjectsFound = [PSCustomObject]@{ Error = "Error - Multiple Azure DevOps projects corresponding to the following name: $existingAzureDevOpsProjectName" } } It "Given the name of an existing Azure DevOps project, it should return the information of the Azure DevOps project found" { Mock az { $oneProjectFound | ConvertTo-Json } -ParameterFilter { "$args" -match 'devops project list' } (New-AzureDevOpsProject -OrganizationUrl $organizationUrlForTests -ProjectName $existingAzureDevOpsProjectName -ConfigurationFilePath $correctConfigurationFile | ConvertTo-Json) | Should -Be ($expectedResultOneExistingAzureDevOpsProjectFound | ConvertTo-Json) } It "Given the name of a non existing Azure DevOps project, it should return the information of the Azure DevOps project created" { Mock az { } -ParameterFilter { "$args" -match 'devops project list' } (New-AzureDevOpsProject -OrganizationUrl $organizationUrlForTests -ProjectName $nonExistingAzureDevOpsProjectName -ConfigurationFilePath $correctConfigurationFile | ConvertTo-Json) | Should -Be ($expectedResultAzureDevOpsProjectCreated | ConvertTo-Json) } It "Given the name of an existing Azure DevOps project with the search returning multiple results, it should return an error regarding the number of results for the searche of an existing Azure DevOps project" { Mock az { $multipleProjectsFound | ConvertTo-Json } -ParameterFilter { "$args" -match 'devops project list' } (New-AzureDevOpsProject -OrganizationUrl $organizationUrlForTests -ProjectName $existingAzureDevOpsProjectName -ConfigurationFilePath $correctConfigurationFile | ConvertTo-Json) | Should -Be ($expectedResultMultipleExistingAzureDevOpsProjectsFound | ConvertTo-Json) } } Context "Behavior verification regarding Azure DevOps project creation" { BeforeEach{ # Variables initialization $organizationUrlForTests = "https://dev.azure.com/tests" $nonExistingAzureDevOpsProjectName = "NonExistingProject" $correctConfigurationFile = ".\AzureDevOpsProjectConfiguration.txt" # Simulate the extraction of the content of the Azure DevOps project configuration file $azureDevOpsProjectConfigurationMock = @('process=Basic', 'sourceControl=git', 'visibility=private') Mock Get-Content { $azureDevOpsProjectConfigurationMock } -ParameterFilter { $Path -eq $correctConfigurationFile } # Simulate the behavior of the execution of the 'az devops extension list' command $extensionListResult = [PSCustomObject]@{} Mock az { $extensionListResult | ConvertTo-Json } -ParameterFilter { "$args" -match 'devops extension list' } # Simulate the behavior of the execution of the 'az devops project list' command Mock az { } -ParameterFilter { "$args" -match 'devops project list' } # Simulate the behavior of the execution of the 'az devops project create' command $projectCreated = [PSCustomObject]@{ id = "00000000-0000-0000-0000-000000000000" name = $nonExistingAzureDevOpsProjectName description = "" url = "https://dev.azure.com/tests/_apis/projects/00000000-0000-0000-0000-000000000000" visibility = "private" state = "wellFormed" } # Definition of the exepcted results of the tests of the this context $expectedResultAzureDevOpsProjectCreated = [PSCustomObject]@{ Id = "00000000-0000-0000-0000-000000000000" Name = $nonExistingAzureDevOpsProjectName Description = "" Url = "https://dev.azure.com/tests/_apis/projects/00000000-0000-0000-0000-000000000000" Visibility = "private" State = "wellFormed" Type = "Created" } $expectedResultErrorInAzureDevOpsProjectCreation = [PSCustomObject]@{ Error = "Error in the creation of the Azure DevOps project with the following name: $nonExistingAzureDevOpsProjectName" } } It "Given the name of a non existing Azure DevOps project without error during creation, it should return the information of the Azure DevOps project created" { Mock az { $projectCreated | ConvertTo-Json } -ParameterFilter { "$args" -match 'devops project create' } (New-AzureDevOpsProject -OrganizationUrl $organizationUrlForTests -ProjectName $nonExistingAzureDevOpsProjectName -ConfigurationFilePath $correctConfigurationFile | ConvertTo-Json) | Should -Be ($expectedResultAzureDevOpsProjectCreated | ConvertTo-Json) } It "Given the name of a non existing Azure DevOps project with an error during creation, it should return an error regarding the creation of the Azure DevOps project" { Mock az { } -ParameterFilter { "$args" -match 'devops project create' } (New-AzureDevOpsProject -OrganizationUrl $organizationUrlForTests -ProjectName $nonExistingAzureDevOpsProjectName -ConfigurationFilePath $correctConfigurationFile | ConvertTo-Json) | Should -Be ($expectedResultErrorInAzureDevOpsProjectCreation | ConvertTo-Json) } } } # New-AzureDevOpsProject tests with integrations with external dependencies # Prerequisites: To execute the following tests you need to # - be authenticated using the 'az login' command # - to have a $OrganizationUrl initialized with a valid Azure DevOps organization URL Describe "New-AzureDevOpsProject Integration Tests" -Tag "IntegrationTests" { Context "Integration tests with the commands of the Azure CLI" { BeforeEach{ # Variables initialization $projectName = "Test auto $(Get-Date -format 'yyyyMMdd')" $projectDescription = "Test auto $(Get-Date -format 'yyyyMMdd') - Description" $correctConfigurationFile = ".\AzureDevOpsProjectConfiguration.txt" # Simulate the extraction of the content of the Azure DevOps project configuration file $azureDevOpsProjectConfigurationMock = @('process=Basic', 'sourceControl=git', 'visibility=private') Mock Get-Content { $azureDevOpsProjectConfigurationMock } -ParameterFilter { $Path -eq $correctConfigurationFile } } It "Given the name of a non existing Azure DevOps project, it should return the information of the Azure DevOps project created" { $newAzureDevOpsProject = New-AzureDevOpsProject -OrganizationUrl $OrganizationUrl -ProjectName $projectName -ProjectDescription $projectDescription -ConfigurationFilePath $correctConfigurationFile $newAzureDevOpsProject.Id | Should -Not -BeNullOrEmpty $newAzureDevOpsProject.Name | Should -Be $projectName $newAzureDevOpsProject.Description | Should -Be $projectDescription $newAzureDevOpsProject.Url | Should -BeLike "$OrganizationUrl*" $newAzureDevOpsProject.Visibility | Should -Be "private" $newAzureDevOpsProject.State | Should -Be "wellFormed" $newAzureDevOpsProject.Type | Should -Be "Created" } It "Given the name of an existing Azure DevOps project, it should return the information of the Azure DevOps project found" { $existingAzureDevOpsProject = New-AzureDevOpsProject -OrganizationUrl $OrganizationUrl -ProjectName $projectName -ProjectDescription $projectDescription -ConfigurationFilePath $correctConfigurationFile $existingAzureDevOpsProject.Id | Should -Not -BeNullOrEmpty $existingAzureDevOpsProject.Name | Should -Be $projectName $existingAzureDevOpsProject.Description | Should -Be $projectDescription $existingAzureDevOpsProject.Url | Should -BeLike "$OrganizationUrl*" $existingAzureDevOpsProject.Visibility | Should -Be "private" $existingAzureDevOpsProject.State | Should -Be "wellFormed" $existingAzureDevOpsProject.Type | Should -Be "Existing" } } }
64.430894
314
0.681977
4518e4f1fe1cbdb3c8d1fe78b6b182bcad5d849b
7,944
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1533.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1533.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1533.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x124db, %rsi lea addresses_WC_ht+0x1c597, %rdi clflush (%rdi) nop nop xor %r15, %r15 mov $80, %rcx rep movsb nop nop nop nop and %r8, %r8 lea addresses_WT_ht+0x1e297, %r14 clflush (%r14) nop nop nop nop nop xor $33856, %rax mov $0x6162636465666768, %rdi movq %rdi, %xmm3 and $0xffffffffffffffc0, %r14 movntdq %xmm3, (%r14) nop and $53814, %rcx lea addresses_D_ht+0x9c3d, %rsi lea addresses_WT_ht+0x3797, %rdi nop nop nop nop nop cmp %rdx, %rdx mov $2, %rcx rep movsq nop add %rdi, %rdi lea addresses_WC_ht+0x18929, %rcx sub %rdi, %rdi mov $0x6162636465666768, %r15 movq %r15, (%rcx) nop nop xor $36902, %rcx lea addresses_normal_ht+0x257, %rsi lea addresses_normal_ht+0x4e97, %rdi and %r8, %r8 mov $61, %rcx rep movsq and $37694, %r14 lea addresses_A_ht+0x9a17, %rax clflush (%rax) nop nop cmp $24278, %r8 movups (%rax), %xmm2 vpextrq $0, %xmm2, %r14 nop add %rdi, %rdi lea addresses_WC_ht+0x197b, %rax nop and %r14, %r14 mov (%rax), %r8w xor %rdi, %rdi lea addresses_UC_ht+0x1ce91, %rdi nop nop sub $62808, %rdx movb (%rdi), %cl inc %rdx lea addresses_UC_ht+0xbb57, %rax nop nop xor %r15, %r15 movl $0x61626364, (%rax) nop cmp %rdi, %rdi lea addresses_normal_ht+0xec17, %rsi nop and %r14, %r14 mov $0x6162636465666768, %r8 movq %r8, %xmm5 and $0xffffffffffffffc0, %rsi movaps %xmm5, (%rsi) nop nop xor %r8, %r8 lea addresses_UC_ht+0x11a8f, %rsi lea addresses_WT_ht+0x2ddf, %rdi nop nop nop xor $27556, %rdx mov $9, %rcx rep movsq nop nop nop nop nop and $39266, %rax lea addresses_D_ht+0x4ae7, %r8 nop nop nop sub $37547, %rax vmovups (%r8), %ymm5 vextracti128 $0, %ymm5, %xmm5 vpextrq $0, %xmm5, %r15 nop nop add %rdx, %rdx lea addresses_A_ht+0x1b197, %r14 nop nop lfence mov $0x6162636465666768, %rax movq %rax, %xmm6 movups %xmm6, (%r14) and $52642, %r14 pop %rsi pop %rdx pop %rdi pop %rcx pop %rax pop %r8 pop %r15 pop %r14 ret .global s_faulty_load s_faulty_load: push %r13 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi // REPMOV lea addresses_UC+0x9217, %rsi lea addresses_WC+0xc6bb, %rdi nop nop nop nop and $60243, %r13 mov $13, %rcx rep movsl nop nop cmp $64005, %rcx // REPMOV lea addresses_RW+0x1c897, %rsi mov $0x275, %rdi nop nop nop nop nop dec %rax mov $14, %rcx rep movsq nop sub $7639, %rsi // Faulty Load lea addresses_normal+0x16e97, %r8 nop and %rbp, %rbp mov (%r8), %r13d lea oracles, %rsi and $0xff, %r13 shlq $12, %r13 mov (%rsi,%r13,1), %r13 pop %rsi pop %rdi pop %rcx pop %rbp pop %rax pop %r8 pop %r13 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0, 'same': False, 'type': 'addresses_normal'}, 'OP': 'LOAD'} {'src': {'congruent': 6, 'same': False, 'type': 'addresses_UC'}, 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_WC'}, 'OP': 'REPM'} {'src': {'congruent': 9, 'same': False, 'type': 'addresses_RW'}, 'dst': {'congruent': 1, 'same': False, 'type': 'addresses_P'}, 'OP': 'REPM'} [Faulty Load] {'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': True, 'type': 'addresses_normal'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'congruent': 1, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'} {'dst': {'NT': True, 'AVXalign': False, 'size': 16, 'congruent': 8, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'STOR'} {'src': {'congruent': 1, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 7, 'same': True, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'} {'dst': {'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 1, 'same': True, 'type': 'addresses_WC_ht'}, 'OP': 'STOR'} {'src': {'congruent': 5, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'} {'src': {'NT': False, 'AVXalign': True, 'size': 2, 'congruent': 0, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'} {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 1, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 6, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': True, 'size': 16, 'congruent': 7, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'} {'src': {'congruent': 1, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 2, 'same': True, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 3, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 7, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'STOR'} {'34': 21829} 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 */
35.464286
2,999
0.657855
7b6a7bff374d62bddc2cfbc1ec448da3e9ab374b
6,494
dart
Dart
lib/settings_page.dart
mcz9mm/Flutter-Settings-UI
d2d804f4525e18916eabbb12c31788d92286d5a0
[ "MIT" ]
6
2020-05-30T04:40:05.000Z
2022-03-01T08:22:21.000Z
lib/settings_page.dart
mcz9mm/Flutter-Settings-UI
d2d804f4525e18916eabbb12c31788d92286d5a0
[ "MIT" ]
null
null
null
lib/settings_page.dart
mcz9mm/Flutter-Settings-UI
d2d804f4525e18916eabbb12c31788d92286d5a0
[ "MIT" ]
2
2022-01-17T13:29:35.000Z
2022-03-19T09:08:53.000Z
import 'package:flutter/material.dart'; import 'package:fluttersettingsui/item_card.dart'; class SettingsPage extends StatelessWidget { Widget _arrow() { return Icon( Icons.arrow_forward_ios, size: 20.0, ); } @override Widget build(BuildContext context) { var brightness = MediaQuery.of(context).platformBrightness; return Scaffold( appBar: AppBar( title: Text( 'Settings', style: TextStyle( fontWeight: FontWeight.bold ), ), ), body: Container( color: (brightness == Brightness.light) ? Color(0xFFF7F7F7) : Color(0xFF000000), child: ListView( children: <Widget>[ Padding( padding: const EdgeInsets.only(top: 20), child: Container( color: (brightness == Brightness.light) ? Color(0xFFF7F7F7) : Color(0xFF000000), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ Container( padding: EdgeInsets.only(left: 16), child: Text( 'App Settings', style: TextStyle( fontSize: 12, fontWeight: FontWeight.w600, color: Color(0xFF999999)), ), ), SizedBox( height: 10, ), ItemCard( title: 'Settings Item 01', color: (brightness == Brightness.light) ? Colors.white : Theme.of(context).scaffoldBackgroundColor, rightWidget: null, callback: () { print('Tap Settings Item 01'); }, ), SizedBox( height: 40, ), Container( padding: EdgeInsets.only(left: 16), child: Text( 'Others', style: TextStyle( fontFamily: 'NotoSansJP', fontSize: 12, fontWeight: FontWeight.w600, color: Color(0xFF999999)), ), ), SizedBox( height: 10, ), ItemCard( title: 'Settings Item 02', color: (brightness == Brightness.light) ? Colors.white : Theme.of(context).scaffoldBackgroundColor, rightWidget: _arrow(), callback: () { print('Tap Settings Item 02'); }, ), ItemCard( title: 'Settings Item 03', color: (brightness == Brightness.light) ? Colors.white : Theme.of(context).scaffoldBackgroundColor, rightWidget: _arrow(), callback: () { print('Tap Settings Item 03'); }, ), ItemCard( title: 'Settings Item 04', color: (brightness == Brightness.light) ? Colors.white : Theme.of(context).scaffoldBackgroundColor, rightWidget: _arrow(), callback: () { print('Tap Settings Item 04'); }, ), ItemCard( title: 'Settings Item 05', color: (brightness == Brightness.light) ? Colors.white : Theme.of(context).scaffoldBackgroundColor, rightWidget: null, callback: () { print('Tap Settings Item 05'); }, ), ItemCard( title: 'Settings Item 06', color: (brightness == Brightness.light) ? Colors.white : Theme.of(context).scaffoldBackgroundColor, rightWidget: null, callback: () { print('Tap Settings Item 06'); }, ), ItemCard( title: 'Settings Item 07', color: (brightness == Brightness.light) ? Colors.white : Theme.of(context).scaffoldBackgroundColor, rightWidget: null, callback: () { print('Tap Settings Item 07'); }, ), SizedBox( height: 40, ), ItemCard( title: 'Settings Item 08', color: (brightness == Brightness.light) ? Colors.white : Theme.of(context).scaffoldBackgroundColor, rightWidget: null, callback: () { print('Tap Settings Item 08'); }, ), ItemCard( title: 'Settings Item 09', color: (brightness == Brightness.light) ? Colors.white : Theme.of(context).scaffoldBackgroundColor, callback: () { print('Tap Settings Item 09'); }, textColor: Colors.red, ), ItemCard( title: 'version', color: (brightness == Brightness.light) ? Colors.white : Theme.of(context).scaffoldBackgroundColor, rightWidget: Center( child: Text('1.0.0', style: TextStyle( fontSize: 12, fontWeight: FontWeight.normal, ) ), ), callback: () {}, ), SizedBox( height: 200, ), ], ), ), ), ], ), ), ); } }
38.886228
122
0.384971
1b2cbb4f34d7eb4354e5f25d3bdd8e4444316c3c
479
kt
Kotlin
patterns/src/main/kotlin/io/nullables/api/playground/patterns/singleton2/SingletonManager.kt
AlexRogalskiy/gradle-kotlin-sample
2f7c77236d45838170ef68759cc9889843befc29
[ "Apache-2.0" ]
1
2021-01-27T10:56:08.000Z
2021-01-27T10:56:08.000Z
patterns/src/main/kotlin/io/nullables/api/playground/patterns/singleton2/SingletonManager.kt
AlexRogalskiy/gradle-kotlin-sample
2f7c77236d45838170ef68759cc9889843befc29
[ "Apache-2.0" ]
105
2021-01-20T01:19:45.000Z
2022-03-26T18:31:58.000Z
patterns/src/main/kotlin/io/nullables/api/playground/patterns/singleton2/SingletonManager.kt
AlexRogalskiy/gradle-kotlin-sample
2f7c77236d45838170ef68759cc9889843befc29
[ "Apache-2.0" ]
1
2021-01-24T23:21:40.000Z
2021-01-24T23:21:40.000Z
package io.nullables.api.playground.patterns.singleton2 import java.util.HashMap /** * Created by Inno Fang on 2017/8/12. */ class SingletonManager { private val objectMap = HashMap<String, Any>() private fun SingletonManager() {} fun registerService(key: String, instance: Any) { if (!objectMap.containsKey(key)) { objectMap.put(key, instance) } } fun getService(key: String): Any { return objectMap[key]!! } }
20.826087
55
0.640919
c3c41f32e26682f2578c049ce410f136afb5a0b5
11,408
go
Go
routes/httphelpers.go
t2wu/betterrest
b7cbd5bb959fa1a08134dc7ab82ba966ad490d49
[ "MIT" ]
null
null
null
routes/httphelpers.go
t2wu/betterrest
b7cbd5bb959fa1a08134dc7ab82ba966ad490d49
[ "MIT" ]
1
2021-08-15T07:28:59.000Z
2021-08-15T07:28:59.000Z
routes/httphelpers.go
t2wu/betterrest
b7cbd5bb959fa1a08134dc7ab82ba966ad490d49
[ "MIT" ]
null
null
null
package routes import ( "encoding/json" "errors" "io/ioutil" "net/http" "github.com/t2wu/betterrest/libs/datatypes" "github.com/t2wu/betterrest/libs/utils/jsontrans" "github.com/t2wu/betterrest/libs/webrender" "github.com/t2wu/betterrest/models" "github.com/gin-gonic/gin" "github.com/go-chi/render" uuid "github.com/satori/go.uuid" ) // WhoFromContext fetches struct Who from request context func WhoFromContext(r *http.Request) models.Who { ownerID, scope, client := OwnerIDFromContext(r), ScopeFromContext(r), ClientFromContext(r) return models.Who{ Client: client, Oid: ownerID, Scope: scope, } } // ClientFromContext gets Client from context func ClientFromContext(r *http.Request) *models.Client { var client *models.Client item := r.Context().Value(ContextKeyClient) if item != nil { client = item.(*models.Client) } return client } // OwnerIDFromContext gets id from context func OwnerIDFromContext(r *http.Request) *datatypes.UUID { var ownerID *datatypes.UUID item := r.Context().Value(ContextKeyOwnerID) if item != nil { ownerID = item.(*datatypes.UUID) } return ownerID } // ScopeFromContext gets scope from context func ScopeFromContext(r *http.Request) *string { var scope *string item := r.Context().Value(ContextKeyScope) if item != nil { s := item.(string) scope = &s } return scope } // IatFromContext gets iat from context func IatFromContext(r *http.Request) float64 { var iat float64 item := r.Context().Value(ContextKeyIat) if item != nil { iat = item.(float64) } return iat } // ExpFromContext gets iat from context func ExpFromContext(r *http.Request) float64 { var exp float64 item := r.Context().Value(ContextKeyExp) if item != nil { exp = item.(float64) } return exp } // TokenHoursFromContext gets hours from context func TokenHoursFromContext(r *http.Request) *float64 { item := r.Context().Value(ContextKeyTokenHours) if item != nil { tokenHours := item.(float64) return &tokenHours } return nil } // JSONBodyWithContent for partial unmarshalling type JSONBodyWithContent struct { Content []json.RawMessage } // ModelOrModelsFromJSONBody parses JSON body into array of models // It take care where the case when it is not even an array and there is a "content" in there func ModelOrModelsFromJSONBody(r *http.Request, typeString string, who models.Who) ([]models.IModel, *bool, render.Renderer) { defer r.Body.Close() var jsn []byte var modelObjs []models.IModel var err error if jsn, err = ioutil.ReadAll(r.Body); err != nil { return nil, nil, webrender.NewErrReadingBody(err) } var jcmodel JSONBodyWithContent modelObj := models.NewFromTypeString(typeString) needTransform := false var fields jsontrans.JSONFields if modelObjPerm, ok := modelObj.(models.IHasPermissions); ok { _, fields = modelObjPerm.Permissions(models.UserRoleAdmin, who) needTransform = jsontrans.ContainsIFieldTransformModelToJSON(&fields) } err = json.Unmarshal(jsn, &jcmodel) if err != nil { return nil, nil, webrender.NewErrParsingJSON(err) } if len(jcmodel.Content) == 0 { // then it's not a batch insert if needTransform { var modelInMap map[string]interface{} if err = json.Unmarshal(jsn, &modelInMap); err != nil { return nil, nil, webrender.NewErrParsingJSON(err) } if err = transformJSONToModel(modelInMap, &fields); err != nil { return nil, nil, webrender.NewErrParsingJSON(err) } if jsn, err = json.Marshal(modelInMap); err != nil { return nil, nil, webrender.NewErrParsingJSON(err) } } err = json.Unmarshal(jsn, modelObj) if err != nil { return nil, nil, webrender.NewErrParsingJSON(err) } if err := models.ValidateModel(modelObj); err != nil { return nil, nil, webrender.NewErrValidation(err) } if v, ok := modelObj.(models.IValidate); ok { who := WhoFromContext(r) http := models.HTTP{Endpoint: r.URL.Path, Op: models.HTTPMethodToCRUDOp(r.Method)} if err := v.Validate(who, http); err != nil { return nil, nil, webrender.NewErrValidation(err) } } modelObjs = append(modelObjs, modelObj) isBatch := false return modelObjs, &isBatch, nil } for _, jsnModel := range jcmodel.Content { if needTransform { var modelInMap map[string]interface{} if err = json.Unmarshal(jsnModel, &modelInMap); err != nil { return nil, nil, webrender.NewErrParsingJSON(err) } if err = transformJSONToModel(modelInMap, &fields); err != nil { return nil, nil, webrender.NewErrParsingJSON(err) } if jsnModel, err = json.Marshal(modelInMap); err != nil { return nil, nil, webrender.NewErrParsingJSON(err) } } modelObj := models.NewFromTypeString(typeString) err = json.Unmarshal(jsnModel, modelObj) if err != nil { return nil, nil, webrender.NewErrParsingJSON(err) } if err := models.ValidateModel(modelObj); err != nil { return nil, nil, webrender.NewErrValidation(err) } if v, ok := modelObj.(models.IValidate); ok { who := WhoFromContext(r) http := models.HTTP{Endpoint: r.URL.Path, Op: models.HTTPMethodToCRUDOp(r.Method)} if err := v.Validate(who, http); err != nil { return nil, nil, webrender.NewErrValidation(err) } } modelObjs = append(modelObjs, modelObj) } isBatch := true return modelObjs, &isBatch, nil } // ModelsFromJSONBody parses JSON body into array of models func ModelsFromJSONBody(r *http.Request, typeString string, who models.Who) ([]models.IModel, render.Renderer) { defer r.Body.Close() var jsn []byte var modelObjs []models.IModel var err error if jsn, err = ioutil.ReadAll(r.Body); err != nil { return nil, webrender.NewErrReadingBody(err) } // Previously I don't know about partial marshalling // So I had to unmarshal to the array of reflected type // And then create an []IModel an assign it one by one. // Now I can unmarshal each record one by one from json.RawMessage var jcmodel JSONBodyWithContent err = json.Unmarshal(jsn, &jcmodel) if err != nil { return nil, webrender.NewErrParsingJSON(err) } modelTest := models.NewFromTypeString(typeString) needTransform := false var fields jsontrans.JSONFields if modelObjPerm, ok := modelTest.(models.IHasPermissions); ok { _, fields = modelObjPerm.Permissions(models.UserRoleAdmin, who) needTransform = jsontrans.ContainsIFieldTransformModelToJSON(&fields) } for _, jsnModel := range jcmodel.Content { if needTransform { var modelInMap map[string]interface{} if err = json.Unmarshal(jsnModel, &modelInMap); err != nil { return nil, webrender.NewErrParsingJSON(err) } if err = transformJSONToModel(modelInMap, &fields); err != nil { return nil, webrender.NewErrParsingJSON(err) } if jsnModel, err = json.Marshal(modelInMap); err != nil { return nil, webrender.NewErrParsingJSON(err) } } modelObj := models.NewFromTypeString(typeString) err = json.Unmarshal(jsnModel, modelObj) if err != nil { return nil, webrender.NewErrParsingJSON(err) } if err := models.ValidateModel(modelObj); err != nil { return nil, webrender.NewErrValidation(err) } if v, ok := modelObj.(models.IValidate); ok { who := WhoFromContext(r) http := models.HTTP{Endpoint: r.URL.Path, Op: models.HTTPMethodToCRUDOp(r.Method)} if err := v.Validate(who, http); err != nil { return nil, webrender.NewErrValidation(err) } } modelObjs = append(modelObjs, modelObj) } return modelObjs, nil } // ModelFromJSONBody parses JSON body into a model // FIXME: // Validation should not be done here because empty field does not pass validation, // but sometimes we need empty fields such as patch func ModelFromJSONBody(r *http.Request, typeString string, who models.Who) (models.IModel, render.Renderer) { defer r.Body.Close() var jsn []byte var err error if jsn, err = ioutil.ReadAll(r.Body); err != nil { return nil, webrender.NewErrReadingBody(err) } modelObj := models.NewFromTypeString(typeString) if modelObjPerm, ok := modelObj.(models.IHasPermissions); ok { // removeCreated := false _, fields := modelObjPerm.Permissions(models.UserRoleAdmin, who) // black list or white list all the same, transform is transform if jsontrans.ContainsIFieldTransformModelToJSON(&fields) { // First extract into map interface, then convert it var modelInMap map[string]interface{} if err = json.Unmarshal(jsn, &modelInMap); err != nil { return nil, webrender.NewErrParsingJSON(err) } if err = transformJSONToModel(modelInMap, &fields); err != nil { return nil, webrender.NewErrParsingJSON(err) } if jsn, err = json.Marshal(modelInMap); err != nil { return nil, webrender.NewErrParsingJSON(err) } } } if err = json.Unmarshal(jsn, modelObj); err != nil { return nil, webrender.NewErrParsingJSON(err) } if err := models.ValidateModel(modelObj); err != nil { return nil, webrender.NewErrValidation(err) } if v, ok := modelObj.(models.IValidate); ok { who := WhoFromContext(r) http := models.HTTP{Endpoint: r.URL.Path, Op: models.HTTPMethodToCRUDOp(r.Method)} if err := v.Validate(who, http); err != nil { return nil, webrender.NewErrValidation(err) } } return modelObj, nil } func ModelFromJSONBodyNoWhoNoCheckPermissionNoTransform(r *http.Request, typeString string) (models.IModel, render.Renderer) { defer r.Body.Close() var jsn []byte var err error if jsn, err = ioutil.ReadAll(r.Body); err != nil { return nil, webrender.NewErrReadingBody(err) } modelObj := models.NewFromTypeString(typeString) if err = json.Unmarshal(jsn, modelObj); err != nil { return nil, webrender.NewErrParsingJSON(err) } if v, ok := modelObj.(models.IValidate); ok { who := WhoFromContext(r) http := models.HTTP{Endpoint: r.URL.Path, Op: models.HTTPMethodToCRUDOp(r.Method)} if err := v.Validate(who, http); err != nil { return nil, webrender.NewErrValidation(err) } } return modelObj, nil } // JSONPatchesFromJSONBody pares an array of JSON patch from the HTTP body func JSONPatchesFromJSONBody(r *http.Request) ([]models.JSONIDPatch, render.Renderer) { defer r.Body.Close() var jsn []byte var err error if jsn, err = ioutil.ReadAll(r.Body); err != nil { return nil, webrender.NewErrReadingBody(err) } // One jsonPath is an array of patches // { // content:[ // { // "id": "2f9795fd-fb39-4ea5-af69-14bfa69840aa", // "patches": [ // { "op": "test", "path": "/a/b/c", "value": "foo" }, // { "op": "remove", "path": "/a/b/c" }, // ] // } // ] // } type jsonSlice struct { Content []models.JSONIDPatch `json:"content"` } jsObj := jsonSlice{} err = json.Unmarshal(jsn, &jsObj) if err != nil { return nil, webrender.NewErrParsingJSON(err) } // if v, ok := modelObj.(models.IValidate); ok { // who, path, method := WhoFromContext(r), r.URL.Path, r.Method // if err := v.Validate(who, path, method); err != nil { // return nil, NewErrValidation(err) // } // } return jsObj.Content, nil } // IDFromURLQueryString parses resource ID from the URL query string func IDFromURLQueryString(c *gin.Context) (*datatypes.UUID, render.Renderer) { if idstr := c.Param("id"); idstr != "" { var err error id := datatypes.UUID{} id.UUID, err = uuid.FromString(idstr) if err != nil { return nil, webrender.NewErrURLParameter(err) } return &id, nil } return nil, webrender.NewErrURLParameter(errors.New("missing ID in URL query")) }
27.555556
126
0.702928
359e4b27c1ffa0d25c64c3c1e4f487f09628049d
11,875
sql
SQL
sql/pabs_to_nav_uid_v01.sql
ottigerb/suedhang_userid_sql_creator-
2f59f907516a0ae99095aec9a7c241286c2b1ea1
[ "MIT" ]
null
null
null
sql/pabs_to_nav_uid_v01.sql
ottigerb/suedhang_userid_sql_creator-
2f59f907516a0ae99095aec9a7c241286c2b1ea1
[ "MIT" ]
null
null
null
sql/pabs_to_nav_uid_v01.sql
ottigerb/suedhang_userid_sql_creator-
2f59f907516a0ae99095aec9a7c241286c2b1ea1
[ "MIT" ]
null
null
null
-- Allemann Peter (1081 -> 234) UPDATE "user" SET cis_uid = 234 description = description || ' | PABS_UID: 1081' WHERE cis_uid = 1081 -- Alshafi Omar (1087 -> 261) UPDATE "user" SET cis_uid = 261 description = description || ' | PABS_UID: 1087' WHERE cis_uid = 1087 -- Anastasakis Emmanouil (1136 -> 332) UPDATE "user" SET cis_uid = 332 description = description || ' | PABS_UID: 1136' WHERE cis_uid = 1136 -- Arn Nicole (1198 -> 1012537) UPDATE "user" SET cis_uid = 1012537 description = description || ' | PABS_UID: 1198' WHERE cis_uid = 1198 -- Arneberg Oernulf (1201 -> 2) UPDATE "user" SET cis_uid = 2 description = description || ' | PABS_UID: 1201' WHERE cis_uid = 1201 -- Bajnoczy Mary (1324 -> 1012538) UPDATE "user" SET cis_uid = 1012538 description = description || ' | PABS_UID: 1324' WHERE cis_uid = 1324 -- Bartlome André (1385 -> 1012539) UPDATE "user" SET cis_uid = 1012539 description = description || ' | PABS_UID: 1385' WHERE cis_uid = 1385 -- Beringer Regula (1573 -> 1012540) UPDATE "user" SET cis_uid = 1012540 description = description || ' | PABS_UID: 1573' WHERE cis_uid = 1573 -- Bichsel Sabrina (1640 -> 1012541) UPDATE "user" SET cis_uid = 1012541 description = description || ' | PABS_UID: 1640' WHERE cis_uid = 1640 -- Blimeister Barbara (1776 -> 265) UPDATE "user" SET cis_uid = 265 description = description || ' | PABS_UID: 1776' WHERE cis_uid = 1776 -- Böcker Inga-Kristin (1815 -> 268) UPDATE "user" SET cis_uid = 268 description = description || ' | PABS_UID: 1815' WHERE cis_uid = 1815 -- Bögli Peter (1820 -> 1012542) UPDATE "user" SET cis_uid = 1012542 description = description || ' | PABS_UID: 1820' WHERE cis_uid = 1820 -- Brandt Peer-Willem (1990 -> 322) UPDATE "user" SET cis_uid = 322 description = description || ' | PABS_UID: 1990' WHERE cis_uid = 1990 -- Bürgi Markus (BÜ -> 1012577) UPDATE "user" SET cis_uid = 1012577 description = description || ' | PABS_UID: BÜ' WHERE cis_uid = BÜ -- Chavanne Claudine (2637 -> 1012543) UPDATE "user" SET cis_uid = 1012543 description = description || ' | PABS_UID: 2637' WHERE cis_uid = 2637 -- Dalic Severin (2754 -> 246) UPDATE "user" SET cis_uid = 246 description = description || ' | PABS_UID: 2754' WHERE cis_uid = 2754 -- Fierz Françoise (3401 -> 1012544) UPDATE "user" SET cis_uid = 1012544 description = description || ' | PABS_UID: 3401' WHERE cis_uid = 3401 -- Fischer Christine (3415 -> 333) UPDATE "user" SET cis_uid = 333 description = description || ' | PABS_UID: 3415' WHERE cis_uid = 3415 -- Flück Sandro (3452 -> 1012545) UPDATE "user" SET cis_uid = 1012545 description = description || ' | PABS_UID: 3452' WHERE cis_uid = 3452 -- Franzoni Christina (3561 -> 243) UPDATE "user" SET cis_uid = 243 description = description || ' | PABS_UID: 3561' WHERE cis_uid = 3561 -- Frey Stefanie (3613 -> 1012546) UPDATE "user" SET cis_uid = 1012546 description = description || ' | PABS_UID: 3613' WHERE cis_uid = 3613 -- Gacon Alain (3805 -> 248) UPDATE "user" SET cis_uid = 248 description = description || ' | PABS_UID: 3805' WHERE cis_uid = 3805 -- Gaschen Stefan (3812 -> 1012547) UPDATE "user" SET cis_uid = 1012547 description = description || ' | PABS_UID: 3812' WHERE cis_uid = 3812 -- Geiser Maria (MG -> 239) UPDATE "user" SET cis_uid = 239 description = description || ' | PABS_UID: MG' WHERE cis_uid = MG -- Gerber Alessandra (3903 -> 1012548) UPDATE "user" SET cis_uid = 1012548 description = description || ' | PABS_UID: 3903' WHERE cis_uid = 3903 -- Gerber Isabelle (3908 -> 1012549) UPDATE "user" SET cis_uid = 1012549 description = description || ' | PABS_UID: 3908' WHERE cis_uid = 3908 -- Ghira Oana (3931 -> 249) UPDATE "user" SET cis_uid = 249 description = description || ' | PABS_UID: 3931' WHERE cis_uid = 3931 -- Glaus Eva (3990 -> 1012550) UPDATE "user" SET cis_uid = 1012550 description = description || ' | PABS_UID: 3990' WHERE cis_uid = 3990 -- Gruner Kei (4163 -> 1012551) UPDATE "user" SET cis_uid = 1012551 description = description || ' | PABS_UID: 4163' WHERE cis_uid = 4163 -- Harig Jens (4400 -> 327) UPDATE "user" SET cis_uid = 327 description = description || ' | PABS_UID: 4400' WHERE cis_uid = 4400 -- Hausladen Rainer (RH -> 237) UPDATE "user" SET cis_uid = 237 description = description || ' | PABS_UID: RH' WHERE cis_uid = RH -- Hostettler Susanne (5342 -> 1012554) UPDATE "user" SET cis_uid = 1012554 description = description || ' | PABS_UID: 5342' WHERE cis_uid = 5342 -- Iliescu Ioana (5001 -> 242) UPDATE "user" SET cis_uid = 242 description = description || ' | PABS_UID: 5001' WHERE cis_uid = 5001 -- Iseli Sabine (5030 -> 1012552) UPDATE "user" SET cis_uid = 1012552 description = description || ' | PABS_UID: 5030' WHERE cis_uid = 5030 -- Jost Nicole (5165 -> 1012553) UPDATE "user" SET cis_uid = 1012553 description = description || ' | PABS_UID: 5165' WHERE cis_uid = 5165 -- Kessler Georges (5382 -> 236) UPDATE "user" SET cis_uid = 236 description = description || ' | PABS_UID: 5382' WHERE cis_uid = 5382 -- Kohler Anita (5512 -> 247) UPDATE "user" SET cis_uid = 247 description = description || ' | PABS_UID: 5512' WHERE cis_uid = 5512 -- Krebs Thomas (5615 -> 252) UPDATE "user" SET cis_uid = 252 description = description || ' | PABS_UID: 5615' WHERE cis_uid = 5615 -- Kulcsarova Renata (5685 -> 1012555) UPDATE "user" SET cis_uid = 1012555 description = description || ' | PABS_UID: 5685' WHERE cis_uid = 5685 -- Lehmann Julia (5879 -> 1012556) UPDATE "user" SET cis_uid = 1012556 description = description || ' | PABS_UID: 5879' WHERE cis_uid = 5879 -- Lerch Barbara (5942 -> 1012557) UPDATE "user" SET cis_uid = 1012557 description = description || ' | PABS_UID: 5942' WHERE cis_uid = 5942 -- Lübow Carola (6165 -> 250) UPDATE "user" SET cis_uid = 250 description = description || ' | PABS_UID: 6165' WHERE cis_uid = 6165 -- Lustenberger Irene (6195 -> 1012558) UPDATE "user" SET cis_uid = 1012558 description = description || ' | PABS_UID: 6195' WHERE cis_uid = 6195 -- Markes Oliver (6335 -> 1012559) UPDATE "user" SET cis_uid = 1012559 description = description || ' | PABS_UID: 6335' WHERE cis_uid = 6335 -- Marti Eva (6344 -> 1012560) UPDATE "user" SET cis_uid = 1012560 description = description || ' | PABS_UID: 6344' WHERE cis_uid = 6344 -- Marti Nina (6345 -> 1012561) UPDATE "user" SET cis_uid = 1012561 description = description || ' | PABS_UID: 6345' WHERE cis_uid = 6345 -- Mertineit Susan (6422 -> 325) UPDATE "user" SET cis_uid = 325 description = description || ' | PABS_UID: 6422' WHERE cis_uid = 6422 -- Meyer Thomas (6430 -> 260) UPDATE "user" SET cis_uid = 260 description = description || ' | PABS_UID: 6430' WHERE cis_uid = 6430 -- Mihajlovic Dragana (DM -> 238) UPDATE "user" SET cis_uid = 238 description = description || ' | PABS_UID: DM' WHERE cis_uid = DM -- Oberkircher Lisa (6900 -> 1012562) UPDATE "user" SET cis_uid = 1012562 description = description || ' | PABS_UID: 6900' WHERE cis_uid = 6900 -- Pfeuti Christine (7132 -> 1012563) UPDATE "user" SET cis_uid = 1012563 description = description || ' | PABS_UID: 7132' WHERE cis_uid = 7132 -- Ruffieux Katja (7715 -> 1012564) UPDATE "user" SET cis_uid = 1012564 description = description || ' | PABS_UID: 7715' WHERE cis_uid = 7715 -- Rysler Christine (7738 -> 269) UPDATE "user" SET cis_uid = 269 description = description || ' | PABS_UID: 7738' WHERE cis_uid = 7738 -- Scheurer Nadja (8136 -> 1012566) UPDATE "user" SET cis_uid = 1012566 description = description || ' | PABS_UID: 8136' WHERE cis_uid = 8136 -- Schiele Ulrich (8158 -> 251) UPDATE "user" SET cis_uid = 251 description = description || ' | PABS_UID: 8158' WHERE cis_uid = 8158 -- Schmelzer Nancy (8190 -> 1012567) UPDATE "user" SET cis_uid = 1012567 description = description || ' | PABS_UID: 8190' WHERE cis_uid = 8190 -- Schneider Margarita (8262 -> 245) UPDATE "user" SET cis_uid = 245 description = description || ' | PABS_UID: 8262' WHERE cis_uid = 8262 -- Seitz Andrea (0064 -> 1012536) UPDATE "user" SET cis_uid = 1012536 description = description || ' | PABS_UID: 0064' WHERE cis_uid = 0064 -- Selimi Bedzet (7822 -> 324) UPDATE "user" SET cis_uid = 324 description = description || ' | PABS_UID: 7822' WHERE cis_uid = 7822 -- Semenin Vitalii (7825 -> 323) UPDATE "user" SET cis_uid = 323 description = description || ' | PABS_UID: 7825' WHERE cis_uid = 7825 -- Solt Gabor (7914 -> 241) UPDATE "user" SET cis_uid = 241 description = description || ' | PABS_UID: 7914' WHERE cis_uid = 7914 -- Soravia Leila (7925 -> 1012565) UPDATE "user" SET cis_uid = 1012565 description = description || ' | PABS_UID: 7925' WHERE cis_uid = 7925 -- Strongyli Lito (8682 -> 326) UPDATE "user" SET cis_uid = 326 description = description || ' | PABS_UID: 8682' WHERE cis_uid = 8682 -- Stucki Stefan (8710 -> 1012568) UPDATE "user" SET cis_uid = 1012568 description = description || ' | PABS_UID: 8710' WHERE cis_uid = 8710 -- Studer Monika (8721 -> 1012569) UPDATE "user" SET cis_uid = 1012569 description = description || ' | PABS_UID: 8721' WHERE cis_uid = 8721 -- Stutz Sonja (8742 -> 1012570) UPDATE "user" SET cis_uid = 1012570 description = description || ' | PABS_UID: 8742' WHERE cis_uid = 8742 -- Suvajdzic Vesna (8750 -> 259) UPDATE "user" SET cis_uid = 259 description = description || ' | PABS_UID: 8750' WHERE cis_uid = 8750 -- Tagesverantwortung TK (0034 -> 1012535) UPDATE "user" SET cis_uid = 1012535 description = description || ' | PABS_UID: 0034' WHERE cis_uid = 0034 -- Tschitsaz Armita (8960 -> 1012571) UPDATE "user" SET cis_uid = 1012571 description = description || ' | PABS_UID: 8960' WHERE cis_uid = 8960 -- Voroneanu Mona (9200 -> 266) UPDATE "user" SET cis_uid = 266 description = description || ' | PABS_UID: 9200' WHERE cis_uid = 9200 -- Vuille Céline (9238 -> 1012572) UPDATE "user" SET cis_uid = 1012572 description = description || ' | PABS_UID: 9238' WHERE cis_uid = 9238 -- Wagner Axel (9258 -> 1012573) UPDATE "user" SET cis_uid = 1012573 description = description || ' | PABS_UID: 9258' WHERE cis_uid = 9258 -- Walter Matthias (9300 -> 329) UPDATE "user" SET cis_uid = 329 description = description || ' | PABS_UID: 9300' WHERE cis_uid = 9300 -- Wantz Gerhard (9331 -> 1012574) UPDATE "user" SET cis_uid = 1012574 description = description || ' | PABS_UID: 9331' WHERE cis_uid = 9331 -- Weber Nathalie (9373 -> 1012575) UPDATE "user" SET cis_uid = 1012575 description = description || ' | PABS_UID: 9373' WHERE cis_uid = 9373 -- Willamowski Frank (9568 -> 258) UPDATE "user" SET cis_uid = 258 description = description || ' | PABS_UID: 9568' WHERE cis_uid = 9568 -- Wölffer Mahdieh (9640 -> 257) UPDATE "user" SET cis_uid = 257 description = description || ' | PABS_UID: 9640' WHERE cis_uid = 9640 -- Wopfner Lempen Alexander (9647 -> 267) UPDATE "user" SET cis_uid = 267 description = description || ' | PABS_UID: 9647' WHERE cis_uid = 9647 -- Wüthrich Nathalie (9651 -> 240) UPDATE "user" SET cis_uid = 240 description = description || ' | PABS_UID: 9651' WHERE cis_uid = 9651 -- Ziegler Roger (9815 -> 244) UPDATE "user" SET cis_uid = 244 description = description || ' | PABS_UID: 9815' WHERE cis_uid = 9815 -- Zosso Gabriel (9891 -> 1012576) UPDATE "user" SET cis_uid = 1012576 description = description || ' | PABS_UID: 9891' WHERE cis_uid = 9891 -- Zwahlen Jacqueline (0029 -> 1012534) UPDATE "user" SET cis_uid = 1012534 description = description || ' | PABS_UID: 0029' WHERE cis_uid = 0029 -- Zwicker Felix (9981 -> 5) UPDATE "user" SET cis_uid = 5 description = description || ' | PABS_UID: 9981' WHERE cis_uid = 9981
23.797595
52
0.678232
4aae16aa25f05a1a10f5555142387d9182657d17
351
asm
Assembly
oeis/091/A091544.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/091/A091544.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/091/A091544.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A091544: First column sequence of array A091746 ((6,2)-Stirling2). ; 1,30,2700,491400,150368400,69470200800,45155630520000,39285398552400000,44078217175792800000,61973973349164676800000,106719182107261573449600000,220908706962031457040672000000 mul $0,4 add $0,1 mov $1,2 lpb $0 mul $1,$0 add $0,1 mul $1,$0 trn $0,5 lpe mov $0,$1 div $0,4
23.4
177
0.760684
4ffd4de811f38317a861d4e12e5b2edbadc18257
227,105
sql
SQL
dumps/casavana_13082013.sql
SalMax/casavana
8b8e742d3fbdc81517e570a3b1b6295ede96c091
[ "MIT" ]
null
null
null
dumps/casavana_13082013.sql
SalMax/casavana
8b8e742d3fbdc81517e570a3b1b6295ede96c091
[ "MIT" ]
null
null
null
dumps/casavana_13082013.sql
SalMax/casavana
8b8e742d3fbdc81517e570a3b1b6295ede96c091
[ "MIT" ]
null
null
null
-- phpMyAdmin SQL Dump -- version 2.6.4-pl3 -- http://www.phpmyadmin.net -- -- Servidor: db113.1and1.es -- Tiempo de generación: 13-08-2013 a las 12:09:27 -- Versión del servidor: 5.1.67 -- Versión de PHP: 5.3.3-7+squeeze16 -- -- Base de datos: `db259541718` -- -- -- Volcar la base de datos para la tabla `Category` -- -- -- Volcar la base de datos para la tabla `Product` -- -- -- Volcar la base de datos para la tabla `Invoice` -- INSERT INTO `Invoice` VALUES (1, 11, '4244.14', 'closed', '2013-06-06', '2013-06-14', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (2, 11, '4206.26', 'closed', '2013-06-10', '2013-06-14', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (3, 11, '4474.77', 'closed', '2013-06-13', '2013-06-14', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (9, 13, '70.00', 'closed', '2013-06-13', '2013-06-13', ' ', NULL); INSERT INTO `Invoice` VALUES (12, 11, '3723.71', 'closed', '2013-06-13', '2013-06-17', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (13, 13, '48.00', 'closed', '2013-06-14', '2013-06-17', ' ', NULL); INSERT INTO `Invoice` VALUES (14, 13, '525.37', 'closed', '2013-06-17', '2013-06-17', ' ', NULL); INSERT INTO `Invoice` VALUES (16, 13, '5461.32', 'closed', '2013-06-18', '2013-06-19', ' ', NULL); INSERT INTO `Invoice` VALUES (25, 11, '4055.52', 'closed', '2013-06-19', '2013-06-20', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (28, 14, '3432.51', 'closed', '2013-06-20', '2013-06-21', ' ', NULL); INSERT INTO `Invoice` VALUES (31, 11, '3217.93', 'closed', '2013-06-20', '2013-06-24', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (37, 13, '1321.99', 'closed', '2013-06-24', '2013-06-24', ' ', NULL); INSERT INTO `Invoice` VALUES (38, 13, '230.90', 'closed', '2013-06-24', '2013-06-24', ' ', NULL); INSERT INTO `Invoice` VALUES (41, 13, '24.00', 'closed', '2013-06-24', '2013-06-24', ' ', NULL); INSERT INTO `Invoice` VALUES (46, 13, '777.28', 'closed', '2013-06-24', '2013-06-24', ' ', NULL); INSERT INTO `Invoice` VALUES (47, 13, '3171.50', 'closed', '2013-06-24', '2013-06-24', ' ', NULL); INSERT INTO `Invoice` VALUES (48, 11, '4583.81', 'closed', '2013-06-24', '2013-06-25', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (49, 14, '1361.93', 'closed', '2013-06-25', '2013-06-26', ' ', NULL); INSERT INTO `Invoice` VALUES (50, 13, '2075.02', 'closed', '2013-06-25', '2013-06-25', ' ', NULL); INSERT INTO `Invoice` VALUES (52, 13, '442.37', 'closed', '2013-06-25', '2013-06-25', ' ', NULL); INSERT INTO `Invoice` VALUES (54, 13, '2949.18', 'closed', '2013-06-25', '2013-06-26', ' ', NULL); INSERT INTO `Invoice` VALUES (55, 13, '84.00', 'closed', '2013-06-26', '2013-06-26', ' ', NULL); INSERT INTO `Invoice` VALUES (57, 11, '3661.90', 'closed', '2013-06-26', '2013-06-27', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (58, 13, '3922.87', 'closed', '2013-06-27', '2013-06-27', ' ', NULL); INSERT INTO `Invoice` VALUES (61, 14, '4259.87', 'closed', '2013-06-27', '2013-06-28', ' ', NULL); INSERT INTO `Invoice` VALUES (62, 13, '130.00', 'closed', '2013-06-27', '2013-06-28', ' ', NULL); INSERT INTO `Invoice` VALUES (63, 13, '278.20', 'closed', '2013-06-28', '2013-06-28', ' ', NULL); INSERT INTO `Invoice` VALUES (65, 13, '87.50', 'closed', '2013-06-28', '2013-06-28', ' ', NULL); INSERT INTO `Invoice` VALUES (67, 11, '325.78', 'closed', '2013-06-28', '2013-06-28', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (68, 13, '2884.85', 'closed', '2013-06-28', '2013-07-02', ' ', NULL); INSERT INTO `Invoice` VALUES (71, 11, '3233.07', 'closed', '2013-06-28', '2013-07-01', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (73, 13, '4606.06', 'closed', '2013-06-28', '2013-07-01', ' ', NULL); INSERT INTO `Invoice` VALUES (75, 14, '2151.01', 'closed', '2013-06-30', '2013-07-01', ' ', NULL); INSERT INTO `Invoice` VALUES (77, 13, '645.26', 'closed', '2013-07-01', '2013-07-01', ' ', NULL); INSERT INTO `Invoice` VALUES (78, 13, '883.17', 'closed', '2013-07-01', '2013-07-01', ' ', NULL); INSERT INTO `Invoice` VALUES (79, 13, '880.40', 'closed', '2013-07-01', '2013-07-01', ' ', NULL); INSERT INTO `Invoice` VALUES (80, 13, '290.13', 'closed', '2013-07-01', '2013-07-01', ' ', NULL); INSERT INTO `Invoice` VALUES (81, 13, '4099.07', 'closed', '2013-07-01', '2013-07-01', ' ', NULL); INSERT INTO `Invoice` VALUES (82, 10, '4531.27', 'closed', '2013-07-01', '2013-07-03', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (83, 14, '2070.45', 'closed', '2013-07-02', '2013-07-03', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (84, 13, '165.16', 'closed', '2013-07-02', '2013-07-03', ' ', NULL); INSERT INTO `Invoice` VALUES (85, 13, '4637.99', 'closed', '2013-07-02', '2013-07-03', ' ', NULL); INSERT INTO `Invoice` VALUES (86, 13, '3027.86', 'closed', '2013-07-03', '2013-07-03', ' ', NULL); INSERT INTO `Invoice` VALUES (87, 11, '4800.86', 'closed', '2013-07-03', '2013-07-04', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (88, 13, '100.00', 'closed', '2013-07-03', '2013-07-03', ' ', NULL); INSERT INTO `Invoice` VALUES (89, 13, '63.00', 'closed', '2013-07-03', '2013-07-03', ' ', NULL); INSERT INTO `Invoice` VALUES (92, 15, '4075.08', 'closed', '2013-07-04', '2013-07-04', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (93, 14, '4012.84', 'closed', '2013-07-04', '2013-07-05', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (95, 11, '4823.50', 'closed', '2013-07-04', '2013-07-05', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (96, 16, '3615.85', 'closed', '2013-07-05', '2013-07-05', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (97, 15, '4882.23', 'closed', '2013-07-05', '2013-07-05', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (98, 14, '2107.27', 'closed', '2013-07-07', '2013-07-08', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (100, 11, '511.50', 'closed', '2013-07-08', '2013-07-08', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (101, 16, '1941.49', 'closed', '2013-07-08', '2013-07-08', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (102, 11, '3976.73', 'closed', '2013-07-08', '2013-07-10', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (103, 14, '1674.23', 'closed', '2013-07-09', '2013-07-10', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (104, 15, '4661.69', 'closed', '2013-07-09', '2013-07-10', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (105, 15, '157.50', 'closed', '2013-07-09', '2013-07-09', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (108, 15, '583.95', 'closed', '2013-07-10', '2013-07-11', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (109, 16, '3047.67', 'closed', '2013-07-10', '2013-07-11', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (110, 11, '134.38', 'closed', '2013-07-11', '2013-07-11', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (138, 14, '4268.74', 'closed', '2013-07-12', '2013-07-12', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (139, 16, '3009.39', 'closed', '2013-07-12', '2013-07-12', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (140, 15, '4702.50', 'closed', '2013-07-12', '2013-07-15', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (142, 11, '4033.94', 'closed', '2013-07-12', '2013-07-15', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (144, 14, '3346.51', 'closed', '2013-07-15', '2013-07-16', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (145, 11, '726.47', 'closed', '2013-07-15', '2013-07-15', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (147, 16, '3528.73', 'closed', '2013-07-15', '2013-07-16', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (148, 16, '354.06', 'closed', '2013-07-15', '2013-07-15', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (149, 11, '5228.70', 'closed', '2013-07-15', '2013-07-17', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (151, 15, '3796.61', 'closed', '2013-07-15', '2013-07-17', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (152, 14, '1990.85', 'closed', '2013-07-16', '2013-07-17', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (153, 16, '3069.51', 'closed', '2013-07-17', '2013-07-17', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (154, 11, '4938.07', 'closed', '2013-07-17', '2013-07-19', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (155, 15, '5412.31', 'closed', '2013-07-18', '2013-07-19', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (157, 14, '4232.18', 'closed', '2013-07-18', '2013-07-22', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (158, 16, '3274.56', 'closed', '2013-07-18', '2013-07-22', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (160, 11, '4417.46', 'closed', '2013-07-19', '2013-07-22', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (161, 15, '4753.71', 'closed', '2013-07-19', '2013-07-22', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (162, 14, '2747.80', 'closed', '2013-07-21', '2013-07-23', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (164, 16, '2689.86', 'closed', '2013-07-22', '2013-07-23', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (168, 16, '2505.05', 'closed', '2013-07-22', '2013-07-24', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (170, 11, '444.16', 'closed', '2013-07-22', '2013-07-22', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (171, 15, '76.00', 'closed', '2013-07-22', '2013-07-22', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (172, 11, '4624.69', 'closed', '2013-07-22', '2013-07-23', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (174, 15, '4982.02', 'closed', '2013-07-23', '2013-07-26', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (178, 15, '3700.82', 'closed', '2013-07-23', '2013-07-23', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (179, 14, '1732.01', 'closed', '2013-07-23', '2013-07-24', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (180, 11, '158.68', 'closed', '2013-07-24', '2013-07-24', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (181, 11, '4664.85', 'closed', '2013-07-24', '2013-07-26', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (182, 14, '4009.79', 'closed', '2013-07-25', '2013-07-26', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (183, 16, '3646.49', 'closed', '2013-07-25', '2013-07-26', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (184, 15, '4636.49', 'closed', '2013-07-26', '2013-07-29', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (185, 11, '4337.89', 'closed', '2013-07-26', '2013-07-29', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (186, 14, '2356.52', 'closed', '2013-07-28', '2013-07-30', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (187, 15, '409.70', 'closed', '2013-07-29', '2013-07-29', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (188, 15, '4359.62', 'closed', '2013-07-29', '2013-07-31', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (189, 16, '2801.58', 'closed', '2013-07-29', '2013-07-30', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (190, 16, '1914.73', 'closed', '2013-07-29', '2013-07-31', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (191, 11, '2940.36', 'closed', '2013-07-29', '2013-07-31', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (192, 15, '5010.47', 'closed', '2013-07-30', '2013-08-01', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (193, 15, '3816.98', 'closed', '2013-07-30', '2013-08-05', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (194, 14, '688.33', 'closed', '2013-07-30', '2013-07-31', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (195, 11, '6012.22', 'closed', '2013-07-31', '2013-08-01', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (196, 16, '3590.07', 'closed', '2013-08-01', '2013-08-02', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (200, 14, '4723.37', 'closed', '2013-08-01', '2013-08-02', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (201, 11, '3892.74', 'closed', '2013-08-02', '2013-08-05', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (202, 14, '2786.56', 'closed', '2013-08-05', '2013-08-06', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (203, 15, '226.26', 'closed', '2013-08-05', '2013-08-05', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (204, 15, '4150.05', 'closed', '2013-08-05', '2013-08-06', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (205, 15, '4238.07', 'closed', '2013-08-05', '2013-08-08', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (206, 16, '3647.04', 'closed', '2013-08-05', '2013-08-06', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (207, 11, '594.38', 'closed', '2013-08-05', '2013-08-05', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (208, 16, '2599.10', 'closed', '2013-08-05', '2013-08-07', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (210, 15, '4452.69', 'closed', '2013-08-05', '2013-08-10', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (211, 11, '4816.09', 'closed', '2013-08-05', '2013-08-06', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (213, 14, '1803.33', 'closed', '2013-08-06', '2013-08-07', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (214, 11, '4951.41', 'closed', '2013-08-07', '2013-08-08', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (215, 16, '3543.80', 'closed', '2013-08-08', '2013-08-09', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (216, 14, '4701.60', 'closed', '2013-08-09', '2013-08-09', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (217, 11, '3745.92', 'closed', '2013-08-09', '2013-08-10', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (218, 14, NULL, 'opened', '2013-08-12', '2013-08-12', 'Homestead Store ', NULL); INSERT INTO `Invoice` VALUES (220, 15, NULL, 'opened', '2013-08-12', '2013-08-12', 'Kendall Store ', NULL); INSERT INTO `Invoice` VALUES (221, 16, '665.74', 'opened', '2013-08-12', '2013-08-12', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (222, 11, '492.53', 'opened', '2013-08-12', '2013-08-12', 'Miami Lakes Store ', NULL); INSERT INTO `Invoice` VALUES (223, 16, NULL, 'opened', '2013-08-12', '2013-08-12', 'Coral Reef Store ', NULL); INSERT INTO `Invoice` VALUES (224, 11, NULL, 'opened', '2013-08-12', '2013-08-12', 'Miami Lakes Store ', NULL); -- -- Volcar la base de datos para la tabla `Pedidos` -- INSERT INTO `Pedidos` VALUES (1, 6, 1, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (2, 7, 1, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (4, 8, 1, '120', '90.00', '805.50'); INSERT INTO `Pedidos` VALUES (5, 9, 1, '80', '40.00', '358.00'); INSERT INTO `Pedidos` VALUES (6, 12, 1, '100', '46.00', '227.24'); INSERT INTO `Pedidos` VALUES (7, 13, 1, '100', '26.00', '128.44'); INSERT INTO `Pedidos` VALUES (8, 15, 1, '1', '40.00', '116.00'); INSERT INTO `Pedidos` VALUES (9, 17, 1, '120', '60.00', '288.00'); INSERT INTO `Pedidos` VALUES (10, 18, 1, '300', '187.85', '800.24'); INSERT INTO `Pedidos` VALUES (11, 19, 1, '60', '36.00', '153.36'); INSERT INTO `Pedidos` VALUES (12, 21, 1, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (13, 22, 1, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (14, 25, 1, '20', '20.00', '90.00'); INSERT INTO `Pedidos` VALUES (15, 27, 1, '24', '24.00', '60.00'); INSERT INTO `Pedidos` VALUES (16, 28, 1, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (17, 31, 1, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (18, 32, 1, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (19, 36, 1, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (20, 40, 1, '25', '25.00', '162.50'); INSERT INTO `Pedidos` VALUES (21, 47, 1, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (22, 48, 1, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (23, 49, 1, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (24, 50, 1, '24', '24.00', '30.00'); INSERT INTO `Pedidos` VALUES (25, 51, 1, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (26, 38, 1, '1', '1.00', '105.00'); INSERT INTO `Pedidos` VALUES (27, 1, 2, '3', '30.00', '174.00'); INSERT INTO `Pedidos` VALUES (28, 4, 2, '3', '120.00', '276.00'); INSERT INTO `Pedidos` VALUES (29, 6, 2, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (30, 7, 2, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (31, 8, 2, '40', '30.00', '268.50'); INSERT INTO `Pedidos` VALUES (32, 9, 2, '40', '20.00', '179.00'); INSERT INTO `Pedidos` VALUES (33, 11, 2, '80', '80.00', '191.20'); INSERT INTO `Pedidos` VALUES (34, 12, 2, '100', '54.10', '267.25'); INSERT INTO `Pedidos` VALUES (35, 13, 2, '100', '26.15', '129.18'); INSERT INTO `Pedidos` VALUES (36, 15, 2, '1', '40.00', '116.00'); INSERT INTO `Pedidos` VALUES (37, 16, 2, '40 lb', '40.00', '116.00'); INSERT INTO `Pedidos` VALUES (38, 17, 2, '72', '36.00', '172.80'); INSERT INTO `Pedidos` VALUES (42, 18, 2, '200', '125.40', '534.20'); INSERT INTO `Pedidos` VALUES (43, 19, 2, '60', '36.00', '153.36'); INSERT INTO `Pedidos` VALUES (44, 20, 2, '2', '80.00', '100.00'); INSERT INTO `Pedidos` VALUES (45, 21, 2, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (46, 22, 2, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (47, 23, 2, '30', '30.00', '67.50'); INSERT INTO `Pedidos` VALUES (50, 27, 2, '24', '24.00', '60.00'); INSERT INTO `Pedidos` VALUES (51, 28, 2, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (52, 29, 2, '80', '80.00', '60.00'); INSERT INTO `Pedidos` VALUES (54, 31, 2, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (55, 32, 2, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (56, 33, 2, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (57, 34, 2, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (58, 35, 2, '2', '16.00', '10.00'); INSERT INTO `Pedidos` VALUES (59, 36, 2, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (60, 37, 2, '6', '6.00', '126.00'); INSERT INTO `Pedidos` VALUES (63, 40, 2, '20', '20.00', '130.00'); INSERT INTO `Pedidos` VALUES (65, 42, 2, '4', '4.00', '3.00'); INSERT INTO `Pedidos` VALUES (66, 44, 2, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (67, 45, 2, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (68, 46, 2, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (69, 47, 2, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (70, 48, 2, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (71, 51, 2, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (72, 52, 2, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (73, 53, 2, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (102, 35, 1, '2', '24.00', '10.00'); INSERT INTO `Pedidos` VALUES (103, 7, 3, '50', '50.00', '175.00'); INSERT INTO `Pedidos` VALUES (104, 8, 3, '80', '56.00', '501.20'); INSERT INTO `Pedidos` VALUES (105, 9, 3, '80', '40.00', '358.00'); INSERT INTO `Pedidos` VALUES (106, 10, 3, '40', '20.00', '117.20'); INSERT INTO `Pedidos` VALUES (107, 11, 3, '40 lb', '40.00', '95.60'); INSERT INTO `Pedidos` VALUES (108, 12, 3, '200', '107.05', '528.83'); INSERT INTO `Pedidos` VALUES (109, 13, 3, '150', '41.20', '203.53'); INSERT INTO `Pedidos` VALUES (110, 17, 3, '96', '48.00', '230.40'); INSERT INTO `Pedidos` VALUES (111, 18, 3, '300', '188.30', '802.16'); INSERT INTO `Pedidos` VALUES (112, 20, 3, '2', '80.00', '100.00'); INSERT INTO `Pedidos` VALUES (113, 21, 3, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (114, 22, 3, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (115, 23, 3, '40', '40.00', '90.00'); INSERT INTO `Pedidos` VALUES (116, 25, 3, '20', '20.00', '90.00'); INSERT INTO `Pedidos` VALUES (117, 28, 3, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (118, 31, 3, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (119, 32, 3, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (120, 33, 3, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (121, 34, 3, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (122, 35, 3, '24', '24.00', '120.00'); INSERT INTO `Pedidos` VALUES (123, 36, 3, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (124, 39, 3, '1', '1.00', '49.00'); INSERT INTO `Pedidos` VALUES (125, 40, 3, '20', '20.00', '130.00'); INSERT INTO `Pedidos` VALUES (126, 44, 3, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (127, 47, 3, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (128, 48, 3, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (129, 49, 3, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (130, 51, 3, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (131, 52, 3, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (132, 54, 3, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (212, 35, 9, '14', '14.00', '70.00'); INSERT INTO `Pedidos` VALUES (215, 6, 12, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (216, 7, 12, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (217, 8, 12, '80', '56.00', '501.20'); INSERT INTO `Pedidos` VALUES (218, 9, 12, '80', '40.00', '358.00'); INSERT INTO `Pedidos` VALUES (219, 12, 12, '100', '54.10', '267.25'); INSERT INTO `Pedidos` VALUES (220, 13, 12, '100', '27.50', '135.85'); INSERT INTO `Pedidos` VALUES (221, 17, 12, '120', '60.00', '288.00'); INSERT INTO `Pedidos` VALUES (222, 18, 12, '300', '189.10', '805.57'); INSERT INTO `Pedidos` VALUES (223, 19, 12, '60', '36.00', '153.36'); INSERT INTO `Pedidos` VALUES (224, 21, 12, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (225, 25, 12, '20', '20.00', '90.00'); INSERT INTO `Pedidos` VALUES (226, 27, 12, '18', '18.00', '45.00'); INSERT INTO `Pedidos` VALUES (227, 28, 12, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (228, 31, 12, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (229, 32, 12, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (230, 33, 12, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (231, 34, 12, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (232, 36, 12, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (233, 40, 12, '25', '25.00', '162.50'); INSERT INTO `Pedidos` VALUES (234, 47, 12, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (235, 50, 12, '24', '24.00', '30.00'); INSERT INTO `Pedidos` VALUES (236, 51, 12, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (237, 52, 12, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (238, 53, 12, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (239, 48, 13, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (240, 52, 13, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (241, 8, 14, '40', '28.00', '250.60'); INSERT INTO `Pedidos` VALUES (242, 12, 14, '25', '13.50', '66.69'); INSERT INTO `Pedidos` VALUES (243, 17, 14, '48', '24.00', '115.20'); INSERT INTO `Pedidos` VALUES (244, 21, 14, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (245, 33, 14, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (246, 45, 14, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (288, 1, 16, '4', '40.00', '232.00'); INSERT INTO `Pedidos` VALUES (289, 4, 16, '4', '160.00', '368.00'); INSERT INTO `Pedidos` VALUES (290, 5, 16, '1', '25.00', '60.00'); INSERT INTO `Pedidos` VALUES (291, 6, 16, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (292, 7, 16, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (293, 8, 16, '40', '28.00', '250.60'); INSERT INTO `Pedidos` VALUES (294, 9, 16, '40', '20.00', '179.00'); INSERT INTO `Pedidos` VALUES (295, 11, 16, '2', '80.00', '191.20'); INSERT INTO `Pedidos` VALUES (296, 12, 16, '200', '107.40', '530.56'); INSERT INTO `Pedidos` VALUES (297, 13, 16, '200', '54.00', '266.76'); INSERT INTO `Pedidos` VALUES (298, 15, 16, '1', '40.00', '116.00'); INSERT INTO `Pedidos` VALUES (299, 16, 16, '1', '40.00', '116.00'); INSERT INTO `Pedidos` VALUES (300, 17, 16, '72', '36.00', '172.80'); INSERT INTO `Pedidos` VALUES (301, 18, 16, '300', '187.10', '797.05'); INSERT INTO `Pedidos` VALUES (302, 19, 16, '60', '36.00', '153.36'); INSERT INTO `Pedidos` VALUES (303, 20, 16, '2', '80.00', '100.00'); INSERT INTO `Pedidos` VALUES (304, 21, 16, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (305, 22, 16, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (306, 23, 16, '40', '40.00', '90.00'); INSERT INTO `Pedidos` VALUES (307, 25, 16, '20', '20.00', '90.00'); INSERT INTO `Pedidos` VALUES (308, 26, 16, '1', '81.00', '234.09'); INSERT INTO `Pedidos` VALUES (309, 27, 16, '24', '24.00', '60.00'); INSERT INTO `Pedidos` VALUES (310, 28, 16, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (311, 29, 16, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (312, 33, 16, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (313, 34, 16, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (314, 35, 16, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (315, 36, 16, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (316, 37, 16, '6', '6.00', '126.00'); INSERT INTO `Pedidos` VALUES (317, 39, 16, '1', '1.00', '49.00'); INSERT INTO `Pedidos` VALUES (318, 40, 16, '20', '20.00', '130.00'); INSERT INTO `Pedidos` VALUES (319, 42, 16, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (320, 44, 16, '3', '3.00', '30.00'); INSERT INTO `Pedidos` VALUES (321, 45, 16, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (322, 46, 16, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (323, 47, 16, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (324, 48, 16, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (325, 49, 16, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (326, 51, 16, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (327, 53, 16, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (328, 54, 16, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (417, 9, 25, '80', '40.00', '358.00'); INSERT INTO `Pedidos` VALUES (418, 17, 25, '96', '48.00', '230.40'); INSERT INTO `Pedidos` VALUES (419, 18, 25, '300', '189.30', '806.42'); INSERT INTO `Pedidos` VALUES (420, 22, 25, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (421, 20, 25, '2', '80.00', '100.00'); INSERT INTO `Pedidos` VALUES (422, 21, 25, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (423, 8, 25, '80', '56.00', '501.20'); INSERT INTO `Pedidos` VALUES (424, 44, 25, '3', '3.00', '30.00'); INSERT INTO `Pedidos` VALUES (425, 52, 25, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (426, 42, 25, '2', '2.00', '1.50'); INSERT INTO `Pedidos` VALUES (427, 40, 25, '20', '20.00', '130.00'); INSERT INTO `Pedidos` VALUES (428, 29, 25, '63', '63.00', '47.25'); INSERT INTO `Pedidos` VALUES (429, 7, 25, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (430, 6, 25, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (431, 11, 25, '40 lb', '40.00', '95.60'); INSERT INTO `Pedidos` VALUES (432, 28, 25, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (433, 35, 25, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (434, 12, 25, '199', '103.75', '512.53'); INSERT INTO `Pedidos` VALUES (435, 13, 25, '100', '25.50', '125.97'); INSERT INTO `Pedidos` VALUES (436, 23, 25, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (437, 31, 25, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (438, 10, 25, '40', '20.00', '117.20'); INSERT INTO `Pedidos` VALUES (439, 36, 25, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (440, 51, 25, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (441, 47, 25, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (465, 9, 28, '60', '30.00', '268.50'); INSERT INTO `Pedidos` VALUES (467, 26, 28, '1', '69.45', '200.71'); INSERT INTO `Pedidos` VALUES (469, 17, 28, '120', '60.00', '288.00'); INSERT INTO `Pedidos` VALUES (470, 34, 28, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (475, 18, 28, '200', '126.00', '536.76'); INSERT INTO `Pedidos` VALUES (476, 19, 28, '60', '36.00', '153.36'); INSERT INTO `Pedidos` VALUES (483, 22, 28, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (484, 21, 28, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (520, 9, 31, '80', '40.00', '358.00'); INSERT INTO `Pedidos` VALUES (521, 17, 31, '120', '60.00', '288.00'); INSERT INTO `Pedidos` VALUES (522, 34, 31, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (523, 18, 31, '300', '188.70', '803.86'); INSERT INTO `Pedidos` VALUES (524, 19, 31, '60', '36.00', '153.36'); INSERT INTO `Pedidos` VALUES (525, 22, 31, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (526, 21, 31, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (527, 44, 31, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (528, 40, 31, '25', '25.00', '162.50'); INSERT INTO `Pedidos` VALUES (529, 7, 31, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (530, 29, 31, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (531, 6, 31, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (532, 28, 31, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (533, 45, 31, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (534, 25, 31, '20', '20.00', '90.00'); INSERT INTO `Pedidos` VALUES (535, 12, 31, '100', '50.00', '247.00'); INSERT INTO `Pedidos` VALUES (536, 13, 31, '100', '27.60', '136.34'); INSERT INTO `Pedidos` VALUES (537, 32, 31, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (538, 31, 31, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (539, 36, 31, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (540, 51, 31, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (541, 47, 31, '72', '72.00', '72.00'); INSERT INTO `Pedidos` VALUES (543, 8, 28, '80', '56.00', '501.20'); INSERT INTO `Pedidos` VALUES (544, 44, 28, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (547, 40, 28, '20', '20.00', '130.00'); INSERT INTO `Pedidos` VALUES (550, 28, 28, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (551, 35, 28, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (553, 12, 28, '100', '50.35', '248.73'); INSERT INTO `Pedidos` VALUES (554, 13, 28, '50', '13.50', '66.69'); INSERT INTO `Pedidos` VALUES (555, 23, 28, '60', '60.00', '135.00'); INSERT INTO `Pedidos` VALUES (556, 1, 28, '1', '10.00', '58.00'); INSERT INTO `Pedidos` VALUES (557, 32, 28, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (558, 31, 28, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (559, 10, 28, '20', '10.00', '58.60'); INSERT INTO `Pedidos` VALUES (560, 4, 28, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (561, 36, 28, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (562, 47, 28, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (588, 1, 37, '1', '10.00', '58.00'); INSERT INTO `Pedidos` VALUES (589, 8, 37, '40', '28.00', '250.60'); INSERT INTO `Pedidos` VALUES (590, 9, 37, '60', '30.00', '268.50'); INSERT INTO `Pedidos` VALUES (591, 12, 37, '25', '13.20', '65.21'); INSERT INTO `Pedidos` VALUES (592, 13, 37, '50', '13.30', '65.70'); INSERT INTO `Pedidos` VALUES (593, 15, 37, '25', '25.00', '72.50'); INSERT INTO `Pedidos` VALUES (594, 16, 37, '25', '25.00', '72.50'); INSERT INTO `Pedidos` VALUES (595, 17, 37, '48', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (596, 18, 37, '50', '31.40', '133.76'); INSERT INTO `Pedidos` VALUES (597, 19, 37, '20', '12.00', '51.12'); INSERT INTO `Pedidos` VALUES (598, 28, 37, '250', '250.00', '62.50'); INSERT INTO `Pedidos` VALUES (599, 29, 37, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (600, 37, 37, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (601, 40, 37, '4', '4.00', '26.00'); INSERT INTO `Pedidos` VALUES (602, 47, 37, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (603, 6, 38, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (604, 33, 38, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (605, 43, 38, '1', '1.00', '12.00'); INSERT INTO `Pedidos` VALUES (606, 47, 38, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (607, 51, 38, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (608, 54, 38, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (615, 48, 41, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (617, 8, 46, '80', '56.00', '501.20'); INSERT INTO `Pedidos` VALUES (618, 17, 46, '48', '24.00', '115.20'); INSERT INTO `Pedidos` VALUES (619, 21, 46, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (620, 33, 46, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (621, 43, 46, '1', '1.00', '12.00'); INSERT INTO `Pedidos` VALUES (622, 47, 46, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (623, 49, 46, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (624, 51, 46, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (625, 8, 47, '80', '56.00', '501.20'); INSERT INTO `Pedidos` VALUES (626, 9, 47, '40', '20.00', '179.00'); INSERT INTO `Pedidos` VALUES (627, 10, 47, '20', '10.00', '58.60'); INSERT INTO `Pedidos` VALUES (628, 11, 47, '1', '100.00', '239.00'); INSERT INTO `Pedidos` VALUES (629, 12, 47, '150', '46.60', '230.20'); INSERT INTO `Pedidos` VALUES (630, 13, 47, '200', '51.30', '253.42'); INSERT INTO `Pedidos` VALUES (631, 16, 47, '1', '30.00', '87.00'); INSERT INTO `Pedidos` VALUES (632, 17, 47, '48', '24.00', '115.20'); INSERT INTO `Pedidos` VALUES (633, 18, 47, '200', '125.20', '533.35'); INSERT INTO `Pedidos` VALUES (634, 19, 47, '40', '24.00', '102.24'); INSERT INTO `Pedidos` VALUES (635, 20, 47, '1', '40.00', '50.00'); INSERT INTO `Pedidos` VALUES (636, 21, 47, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (637, 27, 47, '12', '12.00', '30.00'); INSERT INTO `Pedidos` VALUES (638, 28, 47, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (639, 29, 47, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (640, 32, 47, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (641, 35, 47, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (642, 36, 47, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (643, 37, 47, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (645, 40, 47, '15', '15.00', '97.50'); INSERT INTO `Pedidos` VALUES (646, 44, 47, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (647, 47, 47, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (648, 48, 47, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (649, 51, 47, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (650, 9, 48, '40', '20.00', '179.00'); INSERT INTO `Pedidos` VALUES (651, 26, 48, '1', '72.70', '210.10'); INSERT INTO `Pedidos` VALUES (652, 16, 48, '40 lbs', '40.00', '116.00'); INSERT INTO `Pedidos` VALUES (653, 17, 48, '72', '36.00', '172.80'); INSERT INTO `Pedidos` VALUES (654, 56, 48, '4', '40.00', '480.00'); INSERT INTO `Pedidos` VALUES (655, 18, 48, '200', '125.50', '534.63'); INSERT INTO `Pedidos` VALUES (656, 19, 48, '40', '24.00', '102.24'); INSERT INTO `Pedidos` VALUES (657, 20, 48, '2', '80.00', '100.00'); INSERT INTO `Pedidos` VALUES (658, 21, 48, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (659, 46, 48, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (660, 8, 48, '80', '56.00', '501.20'); INSERT INTO `Pedidos` VALUES (661, 44, 48, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (662, 37, 48, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (663, 15, 48, '1', '40.00', '116.00'); INSERT INTO `Pedidos` VALUES (664, 48, 48, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (665, 40, 48, '20', '20.00', '130.00'); INSERT INTO `Pedidos` VALUES (666, 7, 48, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (667, 29, 48, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (668, 11, 48, '80 lbs', '80.00', '191.20'); INSERT INTO `Pedidos` VALUES (669, 28, 48, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (670, 45, 48, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (671, 35, 48, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (672, 25, 48, '13', '13.00', '58.50'); INSERT INTO `Pedidos` VALUES (673, 12, 48, '100', '51.90', '256.39'); INSERT INTO `Pedidos` VALUES (674, 13, 48, '200', '52.20', '257.87'); INSERT INTO `Pedidos` VALUES (675, 31, 48, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (676, 10, 48, '40', '20.00', '117.20'); INSERT INTO `Pedidos` VALUES (677, 4, 48, '4', '160.00', '368.00'); INSERT INTO `Pedidos` VALUES (678, 51, 48, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (679, 47, 48, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (680, 27, 49, '12', '12.00', '30.00'); INSERT INTO `Pedidos` VALUES (681, 17, 49, '24', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (682, 18, 49, '100', '62.55', '266.46'); INSERT INTO `Pedidos` VALUES (683, 19, 49, '20', '12.00', '51.12'); INSERT INTO `Pedidos` VALUES (684, 22, 49, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (685, 21, 49, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (686, 8, 49, '40', '28.00', '250.60'); INSERT INTO `Pedidos` VALUES (687, 44, 49, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (688, 37, 49, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (689, 50, 49, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (690, 40, 49, '8', '8.00', '52.00'); INSERT INTO `Pedidos` VALUES (691, 7, 49, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (692, 35, 49, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (693, 12, 49, '25', '13.00', '64.22'); INSERT INTO `Pedidos` VALUES (694, 13, 49, '50', '13.45', '66.44'); INSERT INTO `Pedidos` VALUES (695, 10, 49, '20', '10.00', '58.60'); INSERT INTO `Pedidos` VALUES (696, 36, 49, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (697, 51, 49, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (698, 1, 50, '2', '20.00', '116.00'); INSERT INTO `Pedidos` VALUES (699, 4, 50, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (700, 5, 50, '1', '25.00', '60.00'); INSERT INTO `Pedidos` VALUES (701, 6, 50, '1', '17.00', '67.15'); INSERT INTO `Pedidos` VALUES (702, 7, 50, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (703, 10, 50, '20', '10.00', '58.60'); INSERT INTO `Pedidos` VALUES (704, 12, 50, '50', '25.60', '126.46'); INSERT INTO `Pedidos` VALUES (705, 13, 50, '50', '14.00', '69.16'); INSERT INTO `Pedidos` VALUES (706, 15, 50, '1', '10.00', '29.00'); INSERT INTO `Pedidos` VALUES (707, 16, 50, '1', '25.00', '72.50'); INSERT INTO `Pedidos` VALUES (708, 17, 50, '48', '24.00', '115.20'); INSERT INTO `Pedidos` VALUES (709, 18, 50, '150', '93.70', '399.16'); INSERT INTO `Pedidos` VALUES (710, 19, 50, '20', '12.00', '51.12'); INSERT INTO `Pedidos` VALUES (711, 21, 50, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (712, 22, 50, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (713, 23, 50, '10', '10.00', '22.50'); INSERT INTO `Pedidos` VALUES (714, 27, 50, '12', '12.00', '30.00'); INSERT INTO `Pedidos` VALUES (715, 28, 50, '250', '250.00', '62.50'); INSERT INTO `Pedidos` VALUES (716, 29, 50, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (717, 32, 50, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (718, 35, 50, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (719, 36, 50, '6', '6.00', '135.00'); INSERT INTO `Pedidos` VALUES (720, 37, 50, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (721, 40, 50, '10', '10.00', '65.00'); INSERT INTO `Pedidos` VALUES (722, 44, 50, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (723, 47, 50, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (724, 48, 50, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (725, 51, 50, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (727, 18, 52, '100', '62.50', '266.25'); INSERT INTO `Pedidos` VALUES (728, 19, 52, '20', '12.00', '51.12'); INSERT INTO `Pedidos` VALUES (729, 28, 52, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (733, 7, 54, '1', '25.00', '3.50'); INSERT INTO `Pedidos` VALUES (734, 8, 54, '80', '56.00', '501.20'); INSERT INTO `Pedidos` VALUES (735, 9, 54, '80', '40.00', '358.00'); INSERT INTO `Pedidos` VALUES (736, 10, 54, '20', '10.00', '58.60'); INSERT INTO `Pedidos` VALUES (737, 12, 54, '150', '77.40', '382.36'); INSERT INTO `Pedidos` VALUES (738, 13, 54, '100', '25.90', '127.95'); INSERT INTO `Pedidos` VALUES (739, 17, 54, '24', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (740, 18, 54, '200', '126.05', '536.97'); INSERT INTO `Pedidos` VALUES (741, 19, 54, '20', '12.00', '51.12'); INSERT INTO `Pedidos` VALUES (742, 21, 54, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (743, 28, 54, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (744, 33, 54, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (745, 34, 54, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (746, 35, 54, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (747, 36, 54, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (748, 37, 54, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (749, 40, 54, '15', '15.00', '97.50'); INSERT INTO `Pedidos` VALUES (750, 44, 54, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (751, 46, 54, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (752, 47, 54, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (753, 49, 54, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (754, 51, 54, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (755, 52, 54, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (756, 53, 54, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (757, 54, 54, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (758, 7, 55, '24', '24.00', '84.00'); INSERT INTO `Pedidos` VALUES (760, 49, 57, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (761, 9, 57, '80', '40.00', '358.00'); INSERT INTO `Pedidos` VALUES (762, 17, 57, '96', '48.00', '230.40'); INSERT INTO `Pedidos` VALUES (763, 34, 57, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (764, 18, 57, '300', '187.45', '798.54'); INSERT INTO `Pedidos` VALUES (765, 19, 57, '40', '24.00', '102.24'); INSERT INTO `Pedidos` VALUES (766, 22, 57, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (767, 20, 57, '2', '80.00', '100.00'); INSERT INTO `Pedidos` VALUES (768, 21, 57, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (769, 8, 57, '80', '56.00', '501.20'); INSERT INTO `Pedidos` VALUES (770, 54, 57, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (771, 50, 57, '24', '24.00', '30.00'); INSERT INTO `Pedidos` VALUES (772, 40, 57, '25', '25.00', '162.50'); INSERT INTO `Pedidos` VALUES (773, 7, 57, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (774, 6, 57, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (775, 11, 57, '40', '40.00', '95.60'); INSERT INTO `Pedidos` VALUES (776, 28, 57, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (777, 35, 57, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (778, 12, 57, '150', '73.85', '364.82'); INSERT INTO `Pedidos` VALUES (779, 13, 57, '100', '25.90', '127.95'); INSERT INTO `Pedidos` VALUES (780, 23, 57, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (781, 51, 57, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (782, 47, 57, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (783, 4, 58, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (784, 6, 58, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (785, 8, 58, '80', '56.00', '501.20'); INSERT INTO `Pedidos` VALUES (786, 9, 58, '80', '40.00', '358.00'); INSERT INTO `Pedidos` VALUES (787, 12, 58, '200', '103.30', '510.30'); INSERT INTO `Pedidos` VALUES (788, 13, 58, '200', '52.80', '260.83'); INSERT INTO `Pedidos` VALUES (789, 17, 58, '96', '48.00', '230.40'); INSERT INTO `Pedidos` VALUES (790, 18, 58, '250', '156.60', '667.12'); INSERT INTO `Pedidos` VALUES (791, 19, 58, '60', '36.00', '153.36'); INSERT INTO `Pedidos` VALUES (792, 21, 58, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (793, 22, 58, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (794, 23, 58, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (795, 28, 58, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (796, 29, 58, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (797, 31, 58, '48', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (798, 32, 58, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (799, 33, 58, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (800, 35, 58, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (801, 36, 58, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (802, 37, 58, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (803, 41, 58, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (804, 42, 58, '6', '6.00', '4.50'); INSERT INTO `Pedidos` VALUES (805, 44, 58, '4', '4.00', '40.00'); INSERT INTO `Pedidos` VALUES (806, 46, 58, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (807, 47, 58, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (808, 48, 58, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (809, 50, 58, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (810, 51, 58, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (811, 52, 58, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (812, 53, 58, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (813, 54, 58, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (815, 9, 61, '60', '30.00', '268.50'); INSERT INTO `Pedidos` VALUES (816, 17, 61, '144', '72.00', '345.60'); INSERT INTO `Pedidos` VALUES (817, 34, 61, '24', '24.00', '54.00'); INSERT INTO `Pedidos` VALUES (818, 18, 61, '350', '218.85', '932.30'); INSERT INTO `Pedidos` VALUES (819, 19, 61, '80', '48.00', '204.48'); INSERT INTO `Pedidos` VALUES (820, 21, 61, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (821, 46, 61, '3', '3.00', '33.00'); INSERT INTO `Pedidos` VALUES (822, 8, 61, '80', '56.00', '501.20'); INSERT INTO `Pedidos` VALUES (823, 44, 61, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (824, 54, 61, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (827, 40, 61, '20', '20.00', '130.00'); INSERT INTO `Pedidos` VALUES (828, 6, 61, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (829, 28, 61, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (830, 35, 61, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (831, 25, 61, '20', '20.00', '90.00'); INSERT INTO `Pedidos` VALUES (832, 12, 61, '125', '63.25', '312.46'); INSERT INTO `Pedidos` VALUES (833, 13, 61, '150', '40.50', '200.07'); INSERT INTO `Pedidos` VALUES (834, 23, 61, '20', '20.00', '45.00'); INSERT INTO `Pedidos` VALUES (835, 33, 61, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (836, 5, 61, '1', '25.00', '60.00'); INSERT INTO `Pedidos` VALUES (837, 1, 61, '2cs', '20.00', '116.00'); INSERT INTO `Pedidos` VALUES (838, 32, 61, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (839, 31, 61, '48', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (840, 10, 61, '20', '10.00', '58.60'); INSERT INTO `Pedidos` VALUES (841, 4, 61, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (842, 36, 61, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (843, 51, 61, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (844, 47, 61, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (845, 40, 62, '20', '20.00', '130.00'); INSERT INTO `Pedidos` VALUES (846, 7, 63, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (847, 17, 63, '48', '24.00', '115.20'); INSERT INTO `Pedidos` VALUES (848, 27, 63, '11', '11.00', '27.50'); INSERT INTO `Pedidos` VALUES (849, 47, 63, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (850, 51, 63, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (857, 7, 65, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (859, 17, 67, '48', '24.00', '115.20'); INSERT INTO `Pedidos` VALUES (860, 21, 67, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (861, 7, 67, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (862, 29, 67, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (863, 32, 67, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (864, 31, 67, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (865, 4, 68, '2', '80.00', '184.00'); INSERT INTO `Pedidos` VALUES (866, 7, 68, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (867, 8, 68, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (868, 9, 68, '60', '30.00', '266.10'); INSERT INTO `Pedidos` VALUES (869, 11, 68, '40', '40.00', '95.60'); INSERT INTO `Pedidos` VALUES (870, 12, 68, '100', '51.20', '247.81'); INSERT INTO `Pedidos` VALUES (871, 13, 68, '100', '26.75', '129.47'); INSERT INTO `Pedidos` VALUES (872, 17, 68, '192', '96.00', '451.20'); INSERT INTO `Pedidos` VALUES (873, 18, 68, '100', '51.20', '203.26'); INSERT INTO `Pedidos` VALUES (874, 19, 68, '40', '24.00', '95.28'); INSERT INTO `Pedidos` VALUES (875, 21, 68, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (876, 22, 68, '20', '20.00', '49.00'); INSERT INTO `Pedidos` VALUES (877, 23, 68, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (878, 27, 68, '12', '12.00', '30.00'); INSERT INTO `Pedidos` VALUES (879, 28, 68, '250', '250.00', '62.50'); INSERT INTO `Pedidos` VALUES (880, 32, 68, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (881, 36, 68, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (882, 40, 68, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (883, 42, 68, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (884, 44, 68, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (885, 46, 68, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (886, 47, 68, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (927, 9, 71, '60', '30.00', '266.10'); INSERT INTO `Pedidos` VALUES (928, 17, 71, '120', '60.00', '282.00'); INSERT INTO `Pedidos` VALUES (929, 18, 71, '200', '126.05', '500.42'); INSERT INTO `Pedidos` VALUES (930, 19, 71, '40', '24.00', '95.28'); INSERT INTO `Pedidos` VALUES (931, 21, 71, '36', '24.00', '70.32'); INSERT INTO `Pedidos` VALUES (932, 8, 71, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (933, 44, 71, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (934, 15, 71, '1', '40.00', '120.00'); INSERT INTO `Pedidos` VALUES (935, 48, 71, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (936, 40, 71, '25', '25.00', '239.50'); INSERT INTO `Pedidos` VALUES (937, 7, 71, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (938, 29, 71, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (939, 6, 71, '1', '22.00', '92.84'); INSERT INTO `Pedidos` VALUES (940, 28, 71, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (941, 25, 71, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (942, 12, 71, '200', '102.20', '494.65'); INSERT INTO `Pedidos` VALUES (943, 13, 71, '100', '26.20', '126.81'); INSERT INTO `Pedidos` VALUES (944, 23, 71, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (945, 33, 71, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (946, 32, 71, '22', '5.00', '14.50'); INSERT INTO `Pedidos` VALUES (947, 31, 71, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (948, 10, 71, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (949, 51, 71, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (950, 47, 71, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (1005, 4, 73, '2', '80.00', '184.00'); INSERT INTO `Pedidos` VALUES (1006, 6, 73, '2', '44.00', '185.68'); INSERT INTO `Pedidos` VALUES (1007, 7, 73, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (1008, 8, 73, '120', '84.00', '745.08'); INSERT INTO `Pedidos` VALUES (1009, 9, 73, '100', '50.00', '443.50'); INSERT INTO `Pedidos` VALUES (1010, 10, 73, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1011, 11, 73, '250', '123.90', '296.12'); INSERT INTO `Pedidos` VALUES (1012, 12, 73, '150', '39.45', '190.94'); INSERT INTO `Pedidos` VALUES (1013, 15, 73, '1', '30.00', '90.00'); INSERT INTO `Pedidos` VALUES (1014, 17, 73, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (1015, 18, 73, '300', '187.85', '745.76'); INSERT INTO `Pedidos` VALUES (1016, 19, 73, '60', '36.00', '142.92'); INSERT INTO `Pedidos` VALUES (1017, 21, 73, '36', '24.00', '70.32'); INSERT INTO `Pedidos` VALUES (1018, 23, 73, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (1019, 27, 73, '12', '12.00', '30.00'); INSERT INTO `Pedidos` VALUES (1020, 28, 73, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (1021, 32, 73, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (1022, 33, 73, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (1023, 34, 73, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (1024, 35, 73, '24', '24.00', '120.00'); INSERT INTO `Pedidos` VALUES (1025, 36, 73, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (1026, 40, 73, '28', '28.00', '268.24'); INSERT INTO `Pedidos` VALUES (1027, 44, 73, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (1028, 46, 73, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (1029, 47, 73, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1030, 48, 73, '12', '12.00', '12.00'); INSERT INTO `Pedidos` VALUES (1031, 49, 73, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (1032, 50, 73, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (1033, 51, 73, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (1035, 49, 75, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (1036, 9, 75, '20', '10.00', '88.70'); INSERT INTO `Pedidos` VALUES (1037, 27, 75, '12', '12.00', '30.00'); INSERT INTO `Pedidos` VALUES (1038, 16, 75, '25', '25.00', '70.00'); INSERT INTO `Pedidos` VALUES (1039, 17, 75, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (1040, 18, 75, '50', '31.25', '124.06'); INSERT INTO `Pedidos` VALUES (1041, 19, 75, '40', '24.00', '95.28'); INSERT INTO `Pedidos` VALUES (1042, 22, 75, '20', '20.00', '49.00'); INSERT INTO `Pedidos` VALUES (1043, 8, 75, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (1044, 54, 75, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1045, 37, 75, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (1046, 52, 75, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1047, 15, 75, '25', '25.00', '75.00'); INSERT INTO `Pedidos` VALUES (1048, 42, 75, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (1049, 40, 75, '4', '4.00', '38.32'); INSERT INTO `Pedidos` VALUES (1050, 29, 75, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (1051, 28, 75, '250', '250.00', '62.50'); INSERT INTO `Pedidos` VALUES (1052, 12, 75, '100', '49.30', '238.61'); INSERT INTO `Pedidos` VALUES (1053, 13, 75, '50', '13.34', '64.57'); INSERT INTO `Pedidos` VALUES (1054, 33, 75, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (1055, 1, 75, '2', '20.00', '124.00'); INSERT INTO `Pedidos` VALUES (1056, 32, 75, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (1057, 10, 75, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1058, 4, 75, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (1059, 36, 75, '2', '2.00', '45.00'); INSERT INTO `Pedidos` VALUES (1060, 51, 75, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1061, 47, 75, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1063, 53, 75, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1079, 18, 77, '50', '31.25', '124.06'); INSERT INTO `Pedidos` VALUES (1080, 34, 77, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (1081, 36, 77, '6', '6.00', '135.00'); INSERT INTO `Pedidos` VALUES (1082, 47, 77, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1083, 53, 77, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1084, 64, 77, '4', '4.00', '104.20'); INSERT INTO `Pedidos` VALUES (1085, 65, 77, '3', '60.00', '207.00'); INSERT INTO `Pedidos` VALUES (1086, 1, 78, '1', '10.00', '62.00'); INSERT INTO `Pedidos` VALUES (1087, 7, 78, '26', '26.00', '91.00'); INSERT INTO `Pedidos` VALUES (1088, 8, 78, '40', '27.00', '239.49'); INSERT INTO `Pedidos` VALUES (1089, 9, 78, '20', '10.00', '88.70'); INSERT INTO `Pedidos` VALUES (1090, 17, 78, '24', '12.00', '56.40'); INSERT INTO `Pedidos` VALUES (1091, 18, 78, '50', '31.25', '124.06'); INSERT INTO `Pedidos` VALUES (1092, 19, 78, '20', '12.00', '47.64'); INSERT INTO `Pedidos` VALUES (1093, 21, 78, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (1094, 22, 78, '20', '20.00', '49.00'); INSERT INTO `Pedidos` VALUES (1095, 47, 78, '12', '12.00', '12.00'); INSERT INTO `Pedidos` VALUES (1096, 49, 78, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (1097, 51, 78, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1098, 52, 78, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1099, 6, 79, '1', '22.00', '92.84'); INSERT INTO `Pedidos` VALUES (1100, 8, 79, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (1101, 17, 79, '72', '36.00', '169.20'); INSERT INTO `Pedidos` VALUES (1102, 22, 79, '20', '20.00', '49.00'); INSERT INTO `Pedidos` VALUES (1103, 36, 79, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (1104, 47, 79, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1105, 48, 79, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1106, 51, 79, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1107, 52, 79, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1108, 18, 80, '100', '62.50', '248.13'); INSERT INTO `Pedidos` VALUES (1109, 37, 80, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (1110, 4, 81, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (1111, 5, 81, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (1112, 8, 81, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (1113, 9, 81, '80', '40.00', '354.80'); INSERT INTO `Pedidos` VALUES (1114, 10, 81, '40', '20.00', '115.60'); INSERT INTO `Pedidos` VALUES (1115, 11, 81, '2', '100.00', '239.00'); INSERT INTO `Pedidos` VALUES (1116, 12, 81, '150', '74.40', '360.10'); INSERT INTO `Pedidos` VALUES (1117, 13, 81, '200', '51.75', '250.47'); INSERT INTO `Pedidos` VALUES (1118, 15, 81, '1', '15.00', '45.00'); INSERT INTO `Pedidos` VALUES (1119, 16, 81, '1', '30.00', '84.00'); INSERT INTO `Pedidos` VALUES (1120, 17, 81, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (1121, 18, 81, '300', '187.90', '745.96'); INSERT INTO `Pedidos` VALUES (1122, 19, 81, '40', '24.00', '95.28'); INSERT INTO `Pedidos` VALUES (1123, 21, 81, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (1124, 22, 81, '20', '20.00', '49.00'); INSERT INTO `Pedidos` VALUES (1125, 23, 81, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (1126, 25, 81, '17', '17.00', '85.68'); INSERT INTO `Pedidos` VALUES (1127, 28, 81, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (1128, 31, 81, '48', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (1129, 35, 81, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (1130, 36, 81, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (1131, 37, 81, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (1132, 40, 81, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (1133, 44, 81, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (1134, 45, 81, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (1135, 47, 81, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (1136, 51, 81, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1137, 66, 81, '1', '15.00', '23.55'); INSERT INTO `Pedidos` VALUES (1138, 9, 82, '40', '20.00', '177.40'); INSERT INTO `Pedidos` VALUES (1139, 26, 82, '1', '68.25', '190.42'); INSERT INTO `Pedidos` VALUES (1140, 16, 82, '40', '40.00', '112.00'); INSERT INTO `Pedidos` VALUES (1141, 17, 82, '72', '36.00', '169.20'); INSERT INTO `Pedidos` VALUES (1142, 34, 82, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (1143, 18, 82, '200', '127.30', '505.38'); INSERT INTO `Pedidos` VALUES (1144, 19, 82, '20', '12.00', '47.64'); INSERT INTO `Pedidos` VALUES (1145, 20, 82, '2', '80.00', '100.00'); INSERT INTO `Pedidos` VALUES (1146, 21, 82, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (1147, 46, 82, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (1148, 8, 82, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (1149, 44, 82, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (1150, 54, 82, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1151, 37, 82, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (1152, 15, 82, '1', '40.00', '120.00'); INSERT INTO `Pedidos` VALUES (1153, 48, 82, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1154, 40, 82, '25', '25.00', '239.50'); INSERT INTO `Pedidos` VALUES (1155, 7, 82, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (1156, 6, 82, '1', '22.00', '92.84'); INSERT INTO `Pedidos` VALUES (1157, 11, 82, '80 lbs', '80.00', '191.20'); INSERT INTO `Pedidos` VALUES (1158, 28, 82, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (1159, 45, 82, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (1160, 35, 82, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (1161, 25, 82, '16', '16.00', '80.64'); INSERT INTO `Pedidos` VALUES (1162, 12, 82, '150', '73.75', '356.95'); INSERT INTO `Pedidos` VALUES (1163, 13, 82, '100', '25.60', '123.90'); INSERT INTO `Pedidos` VALUES (1164, 23, 82, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (1165, 33, 82, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (1166, 1, 82, '3', '30.00', '186.00'); INSERT INTO `Pedidos` VALUES (1167, 32, 82, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (1168, 31, 82, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (1169, 10, 82, '40', '20.00', '115.60'); INSERT INTO `Pedidos` VALUES (1170, 4, 82, '3', '120.00', '276.00'); INSERT INTO `Pedidos` VALUES (1171, 36, 82, '6', '6.00', '135.00'); INSERT INTO `Pedidos` VALUES (1172, 51, 82, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1173, 47, 82, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (1174, 49, 83, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (1175, 9, 83, '20', '10.00', '88.70'); INSERT INTO `Pedidos` VALUES (1176, 17, 83, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (1181, 18, 83, '50', '31.25', '124.06'); INSERT INTO `Pedidos` VALUES (1182, 19, 83, '60', '36.00', '142.92'); INSERT INTO `Pedidos` VALUES (1183, 22, 83, '20', '10.00', '49.00'); INSERT INTO `Pedidos` VALUES (1185, 21, 83, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (1187, 8, 83, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (1188, 44, 83, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (1189, 54, 83, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1190, 37, 83, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (1196, 40, 83, '8', '8.00', '76.64'); INSERT INTO `Pedidos` VALUES (1197, 6, 83, '1', '22.00', '92.84'); INSERT INTO `Pedidos` VALUES (1198, 28, 83, '250', '250.00', '62.50'); INSERT INTO `Pedidos` VALUES (1199, 45, 83, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (1200, 35, 83, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (1201, 12, 83, '75', '38.80', '187.79'); INSERT INTO `Pedidos` VALUES (1202, 13, 83, '50', '12.40', '60.02'); INSERT INTO `Pedidos` VALUES (1203, 32, 83, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (1204, 10, 83, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1205, 36, 83, '6', '6.00', '135.00'); INSERT INTO `Pedidos` VALUES (1206, 47, 83, '13', '13.00', '13.00'); INSERT INTO `Pedidos` VALUES (1207, 20, 84, '2', '80.00', '100.00'); INSERT INTO `Pedidos` VALUES (1208, 21, 84, '48', '12.00', '35.16'); INSERT INTO `Pedidos` VALUES (1209, 29, 84, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (1210, 1, 85, '5', '50.00', '310.00'); INSERT INTO `Pedidos` VALUES (1211, 5, 85, '2', '50.00', '132.50'); INSERT INTO `Pedidos` VALUES (1212, 6, 85, '1', '22.00', '92.84'); INSERT INTO `Pedidos` VALUES (1213, 8, 85, '80', '55.00', '487.85'); INSERT INTO `Pedidos` VALUES (1214, 9, 85, '100', '50.00', '443.50'); INSERT INTO `Pedidos` VALUES (1215, 10, 85, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1216, 12, 85, '200', '100.60', '486.90'); INSERT INTO `Pedidos` VALUES (1217, 13, 85, '150', '40.05', '193.84'); INSERT INTO `Pedidos` VALUES (1218, 15, 85, '1', '10.00', '30.00'); INSERT INTO `Pedidos` VALUES (1219, 16, 85, '1', '25.00', '70.00'); INSERT INTO `Pedidos` VALUES (1220, 17, 85, '96', '48.00', '225.60'); INSERT INTO `Pedidos` VALUES (1221, 18, 85, '300', '187.60', '744.77'); INSERT INTO `Pedidos` VALUES (1222, 19, 85, '80', '48.00', '190.56'); INSERT INTO `Pedidos` VALUES (1223, 21, 85, '72', '48.00', '140.64'); INSERT INTO `Pedidos` VALUES (1224, 22, 85, '20', '20.00', '49.00'); INSERT INTO `Pedidos` VALUES (1225, 23, 85, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (1226, 26, 85, '1', '66.50', '185.54'); INSERT INTO `Pedidos` VALUES (1227, 28, 85, '1000', '1000.00', '250.00'); INSERT INTO `Pedidos` VALUES (1228, 31, 85, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (1229, 32, 85, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (1230, 33, 85, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (1231, 35, 85, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (1232, 36, 85, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (1233, 37, 85, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (1234, 40, 85, '10', '10.00', '95.80'); INSERT INTO `Pedidos` VALUES (1235, 42, 85, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (1236, 44, 85, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (1237, 47, 85, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1238, 48, 85, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1239, 51, 85, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (1240, 7, 83, '21', '21.00', '73.50'); INSERT INTO `Pedidos` VALUES (1241, 1, 86, '1', '10.00', '62.00'); INSERT INTO `Pedidos` VALUES (1242, 7, 86, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (1243, 8, 86, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (1244, 9, 86, '80', '40.00', '354.80'); INSERT INTO `Pedidos` VALUES (1245, 10, 86, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1246, 12, 86, '150', '77.15', '373.41'); INSERT INTO `Pedidos` VALUES (1247, 13, 86, '100', '25.20', '121.97'); INSERT INTO `Pedidos` VALUES (1248, 17, 86, '24', '12.00', '56.40'); INSERT INTO `Pedidos` VALUES (1249, 18, 86, '200', '125.95', '500.02'); INSERT INTO `Pedidos` VALUES (1250, 19, 86, '20', '12.00', '47.64'); INSERT INTO `Pedidos` VALUES (1251, 20, 86, '1', '40.00', '50.00'); INSERT INTO `Pedidos` VALUES (1252, 23, 86, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (1253, 27, 86, '12', '12.00', '30.00'); INSERT INTO `Pedidos` VALUES (1254, 28, 86, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (1255, 35, 86, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (1256, 36, 86, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (1257, 37, 86, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (1258, 40, 86, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (1259, 44, 86, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (1260, 46, 86, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (1261, 47, 86, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1262, 49, 86, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (1263, 50, 86, '24', '24.00', '30.00'); INSERT INTO `Pedidos` VALUES (1264, 51, 86, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (1265, 52, 86, '11', '11.00', '22.00'); INSERT INTO `Pedidos` VALUES (1266, 49, 87, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (1267, 9, 87, '80', '40.00', '354.80'); INSERT INTO `Pedidos` VALUES (1268, 27, 87, '24', '24.00', '60.00'); INSERT INTO `Pedidos` VALUES (1269, 17, 87, '96', '96.00', '451.20'); INSERT INTO `Pedidos` VALUES (1270, 18, 87, '300', '187.70', '745.17'); INSERT INTO `Pedidos` VALUES (1271, 19, 87, '40', '24.00', '95.28'); INSERT INTO `Pedidos` VALUES (1272, 22, 87, '20', '20.00', '49.00'); INSERT INTO `Pedidos` VALUES (1273, 21, 87, '48', '48.00', '140.64'); INSERT INTO `Pedidos` VALUES (1274, 8, 87, '80', '80.00', '709.60'); INSERT INTO `Pedidos` VALUES (1275, 54, 87, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1276, 52, 87, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1277, 40, 87, '25', '25.00', '239.50'); INSERT INTO `Pedidos` VALUES (1278, 7, 87, '75', '75.00', '262.50'); INSERT INTO `Pedidos` VALUES (1279, 29, 87, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (1280, 11, 87, '80', '80.00', '191.20'); INSERT INTO `Pedidos` VALUES (1281, 43, 87, '1', '1.00', '12.00'); INSERT INTO `Pedidos` VALUES (1282, 28, 87, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (1283, 35, 87, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (1284, 12, 87, '150', '75.30', '364.45'); INSERT INTO `Pedidos` VALUES (1285, 13, 87, '100', '25.80', '124.87'); INSERT INTO `Pedidos` VALUES (1286, 23, 87, '30', '30.00', '71.70'); INSERT INTO `Pedidos` VALUES (1287, 65, 87, '45 LB', '45.00', '155.25'); INSERT INTO `Pedidos` VALUES (1288, 32, 87, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (1289, 31, 87, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (1290, 36, 87, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (1291, 51, 87, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (1292, 47, 87, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (1293, 20, 88, '2', '80.00', '100.00'); INSERT INTO `Pedidos` VALUES (1294, 33, 89, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (1295, 34, 89, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (1357, 49, 92, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (1358, 9, 92, '20', '10.00', '88.70'); INSERT INTO `Pedidos` VALUES (1359, 27, 92, '12', '12.00', '30.00'); INSERT INTO `Pedidos` VALUES (1360, 17, 92, '96', '48.00', '225.60'); INSERT INTO `Pedidos` VALUES (1361, 18, 92, '250', '156.95', '623.09'); INSERT INTO `Pedidos` VALUES (1362, 19, 92, '60', '36.00', '142.92'); INSERT INTO `Pedidos` VALUES (1363, 22, 92, '20', '20.00', '49.00'); INSERT INTO `Pedidos` VALUES (1364, 21, 92, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (1365, 46, 92, '4', '4.00', '44.00'); INSERT INTO `Pedidos` VALUES (1366, 8, 92, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (1367, 44, 92, '5', '5.00', '50.00'); INSERT INTO `Pedidos` VALUES (1368, 54, 92, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1369, 37, 92, '5', '5.00', '105.00'); INSERT INTO `Pedidos` VALUES (1370, 52, 92, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1371, 48, 92, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1372, 40, 92, '28', '28.00', '268.24'); INSERT INTO `Pedidos` VALUES (1373, 7, 92, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (1374, 29, 92, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (1375, 6, 92, '1', '22.00', '92.84'); INSERT INTO `Pedidos` VALUES (1376, 53, 92, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1377, 28, 92, '1000', '1000.00', '250.00'); INSERT INTO `Pedidos` VALUES (1378, 35, 92, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (1379, 12, 92, '200', '99.40', '481.10'); INSERT INTO `Pedidos` VALUES (1380, 13, 92, '150', '41.80', '202.31'); INSERT INTO `Pedidos` VALUES (1381, 23, 92, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (1382, 32, 92, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (1383, 31, 92, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (1384, 10, 92, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1385, 4, 92, '2', '80.00', '184.00'); INSERT INTO `Pedidos` VALUES (1386, 36, 92, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (1387, 51, 92, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (1388, 47, 92, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1389, 39, 87, '1', '1.00', '43.00'); INSERT INTO `Pedidos` VALUES (1390, 9, 93, '60', '30.00', '266.10'); INSERT INTO `Pedidos` VALUES (1391, 27, 93, '36', '36.00', '90.00'); INSERT INTO `Pedidos` VALUES (1392, 17, 93, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (1393, 34, 93, '8', '8.00', '18.00'); INSERT INTO `Pedidos` VALUES (1394, 18, 93, '200', '124.70', '495.06'); INSERT INTO `Pedidos` VALUES (1395, 19, 93, '60', '36.00', '142.92'); INSERT INTO `Pedidos` VALUES (1396, 21, 93, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (1397, 46, 93, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (1398, 8, 93, '120', '84.00', '745.08'); INSERT INTO `Pedidos` VALUES (1399, 44, 93, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (1400, 48, 93, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1401, 40, 93, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (1402, 7, 93, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (1403, 28, 93, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (1404, 35, 93, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (1405, 12, 93, '125', '62.45', '302.26'); INSERT INTO `Pedidos` VALUES (1406, 13, 93, '100', '25.40', '122.94'); INSERT INTO `Pedidos` VALUES (1407, 23, 93, '4', '40.00', '95.60'); INSERT INTO `Pedidos` VALUES (1408, 33, 93, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (1409, 5, 93, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (1410, 1, 93, '2', '20.00', '124.00'); INSERT INTO `Pedidos` VALUES (1411, 32, 93, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (1412, 31, 93, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (1413, 10, 93, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1414, 4, 93, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (1415, 36, 93, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (1416, 51, 93, '36', '36.00', '72.00'); INSERT INTO `Pedidos` VALUES (1418, 49, 95, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (1419, 9, 95, '80', '40.00', '354.80'); INSERT INTO `Pedidos` VALUES (1421, 17, 95, '120', '60.00', '282.00'); INSERT INTO `Pedidos` VALUES (1422, 18, 95, '400', '249.20', '989.32'); INSERT INTO `Pedidos` VALUES (1423, 19, 95, '60', '32.00', '127.04'); INSERT INTO `Pedidos` VALUES (1424, 22, 95, '20', '20.00', '49.00'); INSERT INTO `Pedidos` VALUES (1425, 21, 95, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (1426, 8, 95, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (1427, 54, 95, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1428, 50, 95, '24', '24.00', '30.00'); INSERT INTO `Pedidos` VALUES (1429, 40, 95, '25', '25.00', '239.50'); INSERT INTO `Pedidos` VALUES (1430, 7, 95, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (1431, 29, 95, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (1432, 6, 95, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (1433, 28, 95, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (1434, 25, 95, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (1435, 12, 95, '200', '99.55', '481.82'); INSERT INTO `Pedidos` VALUES (1436, 13, 95, '200', '51.35', '248.53'); INSERT INTO `Pedidos` VALUES (1437, 23, 95, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (1438, 65, 95, '45', '45.00', '155.25'); INSERT INTO `Pedidos` VALUES (1439, 5, 95, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (1440, 1, 95, '1', '10.00', '62.00'); INSERT INTO `Pedidos` VALUES (1441, 32, 95, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (1442, 31, 95, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (1443, 10, 95, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1444, 4, 95, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (1445, 36, 95, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (1446, 51, 95, '48', '48.00', '96.00'); INSERT INTO `Pedidos` VALUES (1447, 47, 95, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (1448, 9, 96, '60', '30.00', '266.10'); INSERT INTO `Pedidos` VALUES (1449, 17, 96, '192', '96.00', '451.20'); INSERT INTO `Pedidos` VALUES (1450, 18, 96, '150', '94.20', '373.97'); INSERT INTO `Pedidos` VALUES (1451, 19, 96, '20', '12.00', '47.64'); INSERT INTO `Pedidos` VALUES (1452, 21, 96, '72', '48.00', '140.64'); INSERT INTO `Pedidos` VALUES (1453, 8, 96, '120', '84.00', '745.08'); INSERT INTO `Pedidos` VALUES (1454, 44, 96, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (1455, 48, 96, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1456, 40, 96, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (1457, 7, 96, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (1458, 29, 96, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (1459, 11, 96, '40', '40.00', '95.60'); INSERT INTO `Pedidos` VALUES (1460, 28, 96, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (1461, 35, 96, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (1462, 12, 96, '150', '74.40', '360.10'); INSERT INTO `Pedidos` VALUES (1463, 13, 96, '100', '25.50', '123.42'); INSERT INTO `Pedidos` VALUES (1464, 23, 96, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (1465, 32, 96, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (1466, 10, 96, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1467, 4, 96, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (1468, 36, 96, '11', '11.00', '247.50'); INSERT INTO `Pedidos` VALUES (1469, 51, 96, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (1470, 47, 96, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1471, 25, 93, '19', '19.00', '95.76'); INSERT INTO `Pedidos` VALUES (1472, 47, 93, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1473, 50, 93, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (1474, 53, 93, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1475, 49, 97, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (1476, 9, 97, '40', '20.00', '177.40'); INSERT INTO `Pedidos` VALUES (1477, 17, 97, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (1478, 34, 97, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (1479, 18, 97, '300', '188.70', '749.14'); INSERT INTO `Pedidos` VALUES (1480, 19, 97, '60', '36.00', '142.92'); INSERT INTO `Pedidos` VALUES (1481, 21, 97, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (1482, 8, 97, '120', '84.00', '745.08'); INSERT INTO `Pedidos` VALUES (1483, 37, 97, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (1484, 52, 97, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1485, 15, 97, '1', '35.00', '105.00'); INSERT INTO `Pedidos` VALUES (1486, 50, 97, '24', '24.00', '30.00'); INSERT INTO `Pedidos` VALUES (1487, 48, 97, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1488, 42, 97, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (1489, 40, 97, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (1490, 7, 97, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (1491, 29, 97, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (1492, 6, 97, '4', '88.00', '347.60'); INSERT INTO `Pedidos` VALUES (1493, 28, 97, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (1494, 35, 97, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (1495, 25, 97, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (1496, 12, 97, '250', '124.85', '604.27'); INSERT INTO `Pedidos` VALUES (1497, 13, 97, '150', '39.05', '189.00'); INSERT INTO `Pedidos` VALUES (1498, 23, 97, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (1499, 33, 97, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (1500, 32, 97, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (1501, 10, 97, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1502, 4, 97, '2', '80.00', '184.00'); INSERT INTO `Pedidos` VALUES (1503, 36, 97, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (1504, 51, 97, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (1505, 47, 97, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (1506, 9, 98, '40', '20.00', '177.40'); INSERT INTO `Pedidos` VALUES (1507, 27, 98, '12', '12.00', '30.00'); INSERT INTO `Pedidos` VALUES (1508, 16, 98, '1', '25.00', '70.00'); INSERT INTO `Pedidos` VALUES (1509, 17, 98, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (1510, 18, 98, '150', '124.75', '497.75'); INSERT INTO `Pedidos` VALUES (1511, 20, 98, '1', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (1512, 44, 98, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (1514, 37, 98, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (1515, 15, 98, '25', '25.00', '75.00'); INSERT INTO `Pedidos` VALUES (1516, 48, 98, '12', '12.00', '12.00'); INSERT INTO `Pedidos` VALUES (1517, 42, 98, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (1518, 40, 98, '10', '10.00', '95.80'); INSERT INTO `Pedidos` VALUES (1519, 29, 98, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (1520, 6, 98, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (1521, 28, 98, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (1522, 12, 98, '25', '13.05', '63.16'); INSERT INTO `Pedidos` VALUES (1523, 13, 98, '50', '12.75', '61.71'); INSERT INTO `Pedidos` VALUES (1524, 33, 98, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (1525, 1, 98, '2', '20.00', '124.00'); INSERT INTO `Pedidos` VALUES (1526, 32, 98, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (1527, 31, 98, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (1528, 10, 98, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1529, 4, 98, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (1530, 36, 98, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (1531, 51, 98, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1532, 47, 98, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1539, 27, 100, '16', '16.00', '40.00'); INSERT INTO `Pedidos` VALUES (1540, 17, 100, '48', '24.60', '115.62'); INSERT INTO `Pedidos` VALUES (1541, 34, 100, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (1542, 21, 100, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (1543, 15, 100, '1', '40.00', '120.00'); INSERT INTO `Pedidos` VALUES (1544, 29, 100, '32', '32.00', '24.00'); INSERT INTO `Pedidos` VALUES (1546, 39, 100, '2', '2.00', '66.00'); INSERT INTO `Pedidos` VALUES (1547, 33, 100, '36', '36.00', '72.00'); INSERT INTO `Pedidos` VALUES (1548, 16, 101, '30', '30.00', '84.00'); INSERT INTO `Pedidos` VALUES (1549, 17, 101, '24', '12.00', '56.40'); INSERT INTO `Pedidos` VALUES (1550, 34, 101, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (1551, 18, 101, '50', '31.25', '124.69'); INSERT INTO `Pedidos` VALUES (1552, 19, 101, '40', '24.00', '95.76'); INSERT INTO `Pedidos` VALUES (1553, 22, 101, '20', '13.00', '49.40'); INSERT INTO `Pedidos` VALUES (1554, 20, 101, '1', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (1555, 21, 101, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (1556, 37, 101, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (1557, 52, 101, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1558, 15, 101, '15', '15.00', '45.00'); INSERT INTO `Pedidos` VALUES (1559, 42, 101, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (1560, 40, 101, '8', '8.00', '76.64'); INSERT INTO `Pedidos` VALUES (1561, 29, 101, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (1562, 11, 101, '100', '100.00', '239.00'); INSERT INTO `Pedidos` VALUES (1563, 28, 101, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (1564, 66, 101, '1', '15.50', '26.35'); INSERT INTO `Pedidos` VALUES (1565, 35, 101, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (1566, 12, 101, '100', '49.90', '241.52'); INSERT INTO `Pedidos` VALUES (1567, 13, 101, '50', '13.70', '66.31'); INSERT INTO `Pedidos` VALUES (1568, 1, 101, '1', '10.00', '62.00'); INSERT INTO `Pedidos` VALUES (1569, 10, 101, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1570, 36, 101, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (1571, 51, 101, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1572, 47, 101, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1573, 9, 102, '80', '40.00', '354.80'); INSERT INTO `Pedidos` VALUES (1574, 26, 102, '1', '63.60', '177.44'); INSERT INTO `Pedidos` VALUES (1575, 16, 102, '1', '40.00', '112.00'); INSERT INTO `Pedidos` VALUES (1576, 17, 102, '96', '48.00', '225.60'); INSERT INTO `Pedidos` VALUES (1578, 18, 102, '200', '125.15', '499.35'); INSERT INTO `Pedidos` VALUES (1579, 19, 102, '40', '24.00', '95.76'); INSERT INTO `Pedidos` VALUES (1580, 22, 102, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (1581, 20, 102, '2', '80.00', '136.00'); INSERT INTO `Pedidos` VALUES (1582, 21, 102, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (1583, 46, 102, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (1584, 8, 102, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (1585, 44, 102, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (1586, 37, 102, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (1587, 40, 102, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (1588, 7, 102, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (1589, 6, 102, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (1590, 11, 102, '2', '80.00', '191.20'); INSERT INTO `Pedidos` VALUES (1591, 53, 102, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1592, 28, 102, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (1593, 45, 102, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (1594, 35, 102, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (1595, 12, 102, '100', '50.40', '243.94'); INSERT INTO `Pedidos` VALUES (1596, 13, 102, '50', '13.00', '62.92'); INSERT INTO `Pedidos` VALUES (1597, 1, 102, '3', '30.00', '186.00'); INSERT INTO `Pedidos` VALUES (1598, 32, 102, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (1599, 31, 102, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (1600, 4, 102, '3', '120.00', '276.00'); INSERT INTO `Pedidos` VALUES (1601, 36, 102, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (1602, 51, 102, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1603, 47, 102, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (1604, 27, 103, '12', '12.00', '30.00'); INSERT INTO `Pedidos` VALUES (1605, 17, 103, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (1606, 34, 103, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (1607, 18, 103, '150', '93.50', '373.07'); INSERT INTO `Pedidos` VALUES (1608, 19, 103, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (1609, 20, 103, '1', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (1610, 21, 103, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (1611, 8, 103, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (1612, 54, 103, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1613, 37, 103, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (1614, 40, 103, '10', '10.00', '95.80'); INSERT INTO `Pedidos` VALUES (1615, 28, 103, '250', '250.00', '62.50'); INSERT INTO `Pedidos` VALUES (1616, 35, 103, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (1617, 12, 103, '25', '12.50', '60.50'); INSERT INTO `Pedidos` VALUES (1618, 13, 103, '50', '12.00', '58.08'); INSERT INTO `Pedidos` VALUES (1619, 33, 103, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (1620, 10, 103, '20', '20.00', '115.60'); INSERT INTO `Pedidos` VALUES (1621, 36, 103, '2', '2.00', '45.00'); INSERT INTO `Pedidos` VALUES (1622, 47, 103, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1623, 9, 104, '60', '30.00', '266.10'); INSERT INTO `Pedidos` VALUES (1624, 27, 104, '12', '12.00', '30.00'); INSERT INTO `Pedidos` VALUES (1625, 26, 104, '1', '61.30', '171.03'); INSERT INTO `Pedidos` VALUES (1626, 16, 104, '25', '25.00', '70.00'); INSERT INTO `Pedidos` VALUES (1627, 17, 104, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (1628, 18, 104, '300', '248.80', '992.71'); INSERT INTO `Pedidos` VALUES (1629, 19, 104, '80', '48.00', '191.52'); INSERT INTO `Pedidos` VALUES (1630, 22, 104, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (1631, 21, 104, '72', '48.00', '140.64'); INSERT INTO `Pedidos` VALUES (1632, 46, 104, '4', '4.00', '44.00'); INSERT INTO `Pedidos` VALUES (1633, 8, 104, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (1634, 44, 104, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (1636, 37, 104, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (1637, 15, 104, '1', '10.00', '30.00'); INSERT INTO `Pedidos` VALUES (1638, 42, 104, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (1639, 40, 104, '18', '18.00', '172.44'); INSERT INTO `Pedidos` VALUES (1640, 6, 104, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (1641, 38, 104, '1', '55.00', '105.00'); INSERT INTO `Pedidos` VALUES (1642, 28, 104, '1000', '1000.00', '250.00'); INSERT INTO `Pedidos` VALUES (1643, 45, 104, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (1644, 35, 104, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (1645, 12, 104, '100', '49.80', '241.03'); INSERT INTO `Pedidos` VALUES (1646, 13, 104, '150', '37.95', '183.68'); INSERT INTO `Pedidos` VALUES (1647, 23, 104, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (1648, 33, 104, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (1649, 65, 104, '3', '61.57', '212.42'); INSERT INTO `Pedidos` VALUES (1650, 5, 104, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (1651, 32, 104, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (1652, 31, 104, '48', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (1653, 10, 104, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1654, 36, 104, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (1655, 51, 104, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (1656, 47, 104, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1657, 36, 105, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (1689, 17, 108, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (1690, 22, 108, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (1691, 7, 108, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (1692, 65, 108, '2', '42.97', '148.25'); INSERT INTO `Pedidos` VALUES (1693, 1, 108, '3', '30.00', '186.00'); INSERT INTO `Pedidos` VALUES (1694, 49, 109, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (1695, 9, 109, '80', '40.00', '354.80'); INSERT INTO `Pedidos` VALUES (1696, 27, 109, '10', '10.00', '25.00'); INSERT INTO `Pedidos` VALUES (1697, 17, 109, '24', '12.00', '56.40'); INSERT INTO `Pedidos` VALUES (1698, 18, 109, '200', '125.25', '499.75'); INSERT INTO `Pedidos` VALUES (1699, 19, 109, '40', '24.00', '95.76'); INSERT INTO `Pedidos` VALUES (1700, 21, 109, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (1701, 46, 109, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (1702, 8, 109, '80', '46.00', '408.02'); INSERT INTO `Pedidos` VALUES (1703, 44, 109, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (1704, 37, 109, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (1705, 48, 109, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1706, 40, 109, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (1707, 7, 109, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (1708, 28, 109, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (1709, 35, 109, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (1710, 12, 109, '150', '74.10', '358.64'); INSERT INTO `Pedidos` VALUES (1711, 13, 109, '100', '25.40', '122.94'); INSERT INTO `Pedidos` VALUES (1712, 23, 109, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (1713, 32, 109, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (1714, 31, 109, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (1715, 10, 109, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (1716, 4, 109, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (1717, 36, 109, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (1718, 51, 109, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (1719, 47, 109, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (1721, 21, 110, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (1722, 7, 110, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (2158, 9, 138, '80', '40.00', '354.80'); INSERT INTO `Pedidos` VALUES (2159, 27, 138, '48', '48.00', '120.00'); INSERT INTO `Pedidos` VALUES (2160, 17, 138, '96', '48.00', '225.60'); INSERT INTO `Pedidos` VALUES (2161, 34, 138, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (2162, 18, 138, '200', '125.85', '502.14'); INSERT INTO `Pedidos` VALUES (2163, 19, 138, '40', '24.00', '95.76'); INSERT INTO `Pedidos` VALUES (2164, 22, 138, '40', '40.00', '98.80'); INSERT INTO `Pedidos` VALUES (2165, 20, 138, '40', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (2166, 21, 138, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (2167, 46, 138, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (2168, 8, 138, '160', '112.00', '993.44'); INSERT INTO `Pedidos` VALUES (2169, 44, 138, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (2170, 52, 138, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2171, 40, 138, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (2172, 6, 138, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (2173, 38, 138, '1', '55.00', '105.00'); INSERT INTO `Pedidos` VALUES (2174, 53, 138, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2175, 28, 138, '250', '250.00', '62.50'); INSERT INTO `Pedidos` VALUES (2176, 35, 138, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (2177, 25, 138, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (2178, 12, 138, '150', '73.90', '357.68'); INSERT INTO `Pedidos` VALUES (2179, 13, 138, '50', '12.25', '59.29'); INSERT INTO `Pedidos` VALUES (2180, 23, 138, '40', '40.00', '95.60'); INSERT INTO `Pedidos` VALUES (2181, 5, 138, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (2182, 1, 138, '2', '20.00', '124.00'); INSERT INTO `Pedidos` VALUES (2183, 32, 138, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (2184, 10, 138, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (2185, 4, 138, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (2186, 36, 138, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (2187, 51, 138, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2188, 47, 138, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2189, 9, 139, '20', '10.00', '88.70'); INSERT INTO `Pedidos` VALUES (2190, 27, 139, '48', '48.00', '120.00'); INSERT INTO `Pedidos` VALUES (2191, 17, 139, '168', '84.00', '394.80'); INSERT INTO `Pedidos` VALUES (2192, 18, 139, '150', '93.75', '374.06'); INSERT INTO `Pedidos` VALUES (2193, 19, 139, '40', '24.00', '95.76'); INSERT INTO `Pedidos` VALUES (2194, 22, 139, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (2195, 21, 139, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (2196, 8, 139, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (2197, 54, 139, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2198, 52, 139, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2199, 42, 139, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (2200, 40, 139, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (2201, 29, 139, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (2202, 11, 139, '60', '60.00', '143.40'); INSERT INTO `Pedidos` VALUES (2203, 28, 139, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (2204, 35, 139, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (2205, 12, 139, '100', '48.75', '235.95'); INSERT INTO `Pedidos` VALUES (2206, 13, 139, '150', '38.65', '187.07'); INSERT INTO `Pedidos` VALUES (2207, 33, 139, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (2208, 1, 139, '1', '10.00', '62.00'); INSERT INTO `Pedidos` VALUES (2209, 32, 139, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (2210, 10, 139, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (2211, 36, 139, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (2212, 51, 139, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (2213, 47, 139, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2214, 9, 140, '60', '30.00', '266.10'); INSERT INTO `Pedidos` VALUES (2215, 27, 140, '12', '12.00', '30.00'); INSERT INTO `Pedidos` VALUES (2216, 17, 140, '144', '84.00', '394.80'); INSERT INTO `Pedidos` VALUES (2217, 34, 140, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (2218, 18, 140, '300', '188.20', '750.92'); INSERT INTO `Pedidos` VALUES (2219, 19, 140, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (2220, 22, 140, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (2221, 21, 140, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (2222, 46, 140, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (2223, 8, 140, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (2224, 54, 140, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2225, 37, 140, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (2227, 15, 140, '30', '30.00', '90.00'); INSERT INTO `Pedidos` VALUES (2228, 48, 140, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2229, 42, 140, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (2230, 40, 140, '28', '28.00', '268.24'); INSERT INTO `Pedidos` VALUES (2231, 7, 140, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (2232, 29, 140, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (2233, 6, 140, '2', '44.00', '173.80'); INSERT INTO `Pedidos` VALUES (2234, 28, 140, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (2235, 35, 140, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (2236, 25, 140, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (2237, 12, 140, '200', '97.65', '472.63'); INSERT INTO `Pedidos` VALUES (2238, 13, 140, '150', '38.75', '187.55'); INSERT INTO `Pedidos` VALUES (2239, 23, 140, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (2240, 33, 140, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (2241, 32, 140, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (2242, 31, 140, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (2243, 10, 140, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (2244, 4, 140, '2', '80.00', '184.00'); INSERT INTO `Pedidos` VALUES (2245, 36, 140, '6', '6.00', '135.00'); INSERT INTO `Pedidos` VALUES (2246, 51, 140, '48', '48.00', '96.00'); INSERT INTO `Pedidos` VALUES (2247, 47, 140, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (2248, 44, 139, '3', '3.00', '30.00'); INSERT INTO `Pedidos` VALUES (2251, 9, 142, '20', '10.00', '88.70'); INSERT INTO `Pedidos` VALUES (2252, 17, 142, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (2253, 18, 142, '250', '156.75', '625.43'); INSERT INTO `Pedidos` VALUES (2254, 19, 142, '60', '60.00', '239.40'); INSERT INTO `Pedidos` VALUES (2255, 21, 142, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (2256, 8, 142, '120', '84.00', '745.08'); INSERT INTO `Pedidos` VALUES (2257, 44, 142, '3', '3.00', '30.00'); INSERT INTO `Pedidos` VALUES (2258, 37, 142, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (2259, 15, 142, '1', '40.00', '120.00'); INSERT INTO `Pedidos` VALUES (2260, 50, 142, '24', '24.00', '30.00'); INSERT INTO `Pedidos` VALUES (2261, 42, 142, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (2262, 40, 142, '25', '25.00', '239.50'); INSERT INTO `Pedidos` VALUES (2263, 7, 142, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (2264, 29, 142, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (2265, 6, 142, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (2266, 11, 142, '20 lbs', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (2267, 28, 142, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (2268, 25, 142, '12', '12.00', '60.48'); INSERT INTO `Pedidos` VALUES (2269, 12, 142, '150', '74.15', '358.89'); INSERT INTO `Pedidos` VALUES (2270, 13, 142, '50', '12.80', '61.95'); INSERT INTO `Pedidos` VALUES (2271, 33, 142, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (2272, 32, 142, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (2273, 31, 142, '48', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (2274, 36, 142, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (2275, 51, 142, '36', '36.00', '72.00'); INSERT INTO `Pedidos` VALUES (2276, 47, 142, '72', '72.00', '72.00'); INSERT INTO `Pedidos` VALUES (2308, 49, 144, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (2309, 9, 144, '40', '20.00', '177.40'); INSERT INTO `Pedidos` VALUES (2310, 27, 144, '3', '3.00', '7.50'); INSERT INTO `Pedidos` VALUES (2311, 16, 144, '25', '25.00', '70.00'); INSERT INTO `Pedidos` VALUES (2312, 17, 144, '96', '48.00', '225.60'); INSERT INTO `Pedidos` VALUES (2313, 34, 144, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (2314, 18, 144, '200', '125.50', '500.75'); INSERT INTO `Pedidos` VALUES (2315, 19, 144, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (2316, 22, 144, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (2317, 21, 144, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (2318, 46, 144, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (2319, 8, 144, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (2320, 44, 144, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (2321, 54, 144, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2322, 37, 144, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (2323, 52, 144, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2324, 15, 144, '25', '25.00', '75.00'); INSERT INTO `Pedidos` VALUES (2325, 50, 144, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (2326, 40, 144, '10', '10.00', '95.80'); INSERT INTO `Pedidos` VALUES (2327, 7, 144, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (2328, 29, 144, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (2329, 28, 144, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (2330, 12, 144, '100', '48.40', '234.26'); INSERT INTO `Pedidos` VALUES (2331, 13, 144, '100', '25.90', '125.36'); INSERT INTO `Pedidos` VALUES (2332, 33, 144, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (2333, 65, 144, '3', '106.76', '346.97'); INSERT INTO `Pedidos` VALUES (2334, 1, 144, '2', '44.00', '272.80'); INSERT INTO `Pedidos` VALUES (2335, 31, 144, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (2336, 4, 144, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (2337, 36, 144, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (2338, 51, 144, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2339, 47, 144, '10', '10.00', '10.00'); INSERT INTO `Pedidos` VALUES (2340, 9, 145, '40', '20.00', '177.40'); INSERT INTO `Pedidos` VALUES (2341, 17, 145, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (2342, 8, 145, '20', '20.00', '177.40'); INSERT INTO `Pedidos` VALUES (2343, 7, 145, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (2344, 29, 145, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (2345, 12, 145, '50', '24.25', '117.37'); INSERT INTO `Pedidos` VALUES (2346, 47, 145, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2355, 9, 147, '60', '30.00', '266.10'); INSERT INTO `Pedidos` VALUES (2356, 16, 147, '30', '30.00', '84.00'); INSERT INTO `Pedidos` VALUES (2357, 34, 147, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (2358, 18, 147, '200', '126.48', '504.66'); INSERT INTO `Pedidos` VALUES (2359, 19, 147, '20', '12.00', '47.88'); INSERT INTO `Pedidos` VALUES (2360, 20, 147, '40', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (2361, 21, 147, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (2362, 46, 147, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (2363, 8, 147, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (2364, 54, 147, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2365, 37, 147, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (2366, 15, 147, '15', '15.00', '45.00'); INSERT INTO `Pedidos` VALUES (2367, 42, 147, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (2368, 40, 147, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (2369, 11, 147, '100', '100.00', '239.00'); INSERT INTO `Pedidos` VALUES (2370, 28, 147, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (2371, 66, 147, '1', '16.00', '27.20'); INSERT INTO `Pedidos` VALUES (2372, 35, 147, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (2373, 12, 147, '50', '24.30', '117.61'); INSERT INTO `Pedidos` VALUES (2374, 13, 147, '150', '37.70', '182.47'); INSERT INTO `Pedidos` VALUES (2375, 65, 147, '8', '290.56', '944.32'); INSERT INTO `Pedidos` VALUES (2376, 31, 147, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (2377, 36, 147, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (2378, 18, 148, '100', '62.50', '249.38'); INSERT INTO `Pedidos` VALUES (2380, 10, 148, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (2381, 21, 148, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (2382, 49, 149, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (2383, 9, 149, '40', '20.00', '177.40'); INSERT INTO `Pedidos` VALUES (2384, 16, 149, '40 lb', '40.00', '112.00'); INSERT INTO `Pedidos` VALUES (2385, 17, 149, '96', '48.00', '225.60'); INSERT INTO `Pedidos` VALUES (2386, 34, 149, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (2387, 18, 149, '300', '188.20', '750.92'); INSERT INTO `Pedidos` VALUES (2388, 19, 149, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (2389, 22, 149, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (2390, 20, 149, '2', '80.00', '136.00'); INSERT INTO `Pedidos` VALUES (2391, 21, 149, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (2392, 46, 149, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (2393, 8, 149, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (2394, 44, 149, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (2395, 37, 149, '5', '5.00', '105.00'); INSERT INTO `Pedidos` VALUES (2396, 52, 149, '15', '15.00', '30.00'); INSERT INTO `Pedidos` VALUES (2397, 15, 149, '1', '40.00', '120.00'); INSERT INTO `Pedidos` VALUES (2398, 48, 149, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2399, 42, 149, '2', '2.00', '1.50'); INSERT INTO `Pedidos` VALUES (2400, 40, 149, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (2401, 7, 149, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (2402, 29, 149, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (2403, 6, 149, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (2404, 11, 149, '80 lb', '80.00', '191.20'); INSERT INTO `Pedidos` VALUES (2405, 28, 149, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (2406, 45, 149, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (2407, 35, 149, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (2408, 25, 149, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (2409, 12, 149, '150', '73.45', '355.50'); INSERT INTO `Pedidos` VALUES (2410, 13, 149, '150', '40.80', '197.47'); INSERT INTO `Pedidos` VALUES (2411, 23, 149, '40', '40.00', '95.60'); INSERT INTO `Pedidos` VALUES (2412, 65, 149, '45', '45.75', '148.69'); INSERT INTO `Pedidos` VALUES (2413, 1, 149, '4', '40.00', '248.00'); INSERT INTO `Pedidos` VALUES (2414, 4, 149, '4', '160.00', '368.00'); INSERT INTO `Pedidos` VALUES (2415, 36, 149, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (2416, 51, 149, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2417, 47, 149, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (2454, 9, 151, '20', '10.00', '88.70'); INSERT INTO `Pedidos` VALUES (2455, 27, 151, '12', '12.00', '30.00'); INSERT INTO `Pedidos` VALUES (2456, 16, 151, '25', '25.00', '70.00'); INSERT INTO `Pedidos` VALUES (2457, 17, 151, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (2458, 34, 151, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (2459, 18, 151, '300', '188.75', '753.11'); INSERT INTO `Pedidos` VALUES (2460, 19, 151, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (2461, 22, 151, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (2462, 21, 151, '72', '48.00', '140.64'); INSERT INTO `Pedidos` VALUES (2463, 8, 151, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (2464, 44, 151, '3', '3.00', '30.00'); INSERT INTO `Pedidos` VALUES (2465, 37, 151, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (2466, 15, 151, '10', '10.00', '30.00'); INSERT INTO `Pedidos` VALUES (2467, 50, 151, '24', '24.00', '30.00'); INSERT INTO `Pedidos` VALUES (2468, 48, 151, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2469, 42, 151, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (2470, 40, 151, '10', '10.00', '95.80'); INSERT INTO `Pedidos` VALUES (2471, 29, 151, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (2472, 6, 151, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (2473, 53, 151, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2474, 28, 151, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (2475, 45, 151, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (2476, 12, 151, '150', '75.55', '365.66'); INSERT INTO `Pedidos` VALUES (2477, 13, 151, '50', '13.60', '65.82'); INSERT INTO `Pedidos` VALUES (2478, 23, 151, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (2479, 65, 151, '4', '102.36', '332.67'); INSERT INTO `Pedidos` VALUES (2480, 5, 151, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (2481, 1, 151, '4', '40.00', '248.00'); INSERT INTO `Pedidos` VALUES (2482, 32, 151, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (2483, 31, 151, '48', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (2484, 10, 151, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (2485, 36, 151, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (2486, 51, 151, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (2487, 47, 151, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2488, 9, 152, '20', '10.00', '88.70'); INSERT INTO `Pedidos` VALUES (2520, 27, 152, '22', '22.00', '55.00'); INSERT INTO `Pedidos` VALUES (2521, 17, 152, '72', '36.00', '169.20'); INSERT INTO `Pedidos` VALUES (2522, 34, 152, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (2523, 18, 152, '100', '62.50', '249.38'); INSERT INTO `Pedidos` VALUES (2524, 19, 152, '40', '24.00', '95.76'); INSERT INTO `Pedidos` VALUES (2525, 20, 152, '1', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (2526, 21, 152, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (2527, 8, 152, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (2528, 37, 152, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (2529, 48, 152, '12', '12.00', '12.00'); INSERT INTO `Pedidos` VALUES (2530, 40, 152, '8', '8.00', '76.64'); INSERT INTO `Pedidos` VALUES (2531, 7, 152, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (2532, 6, 152, '1', '22.00', '86.90'); INSERT INTO `Pedidos` VALUES (2533, 28, 152, '250', '250.00', '62.50'); INSERT INTO `Pedidos` VALUES (2534, 35, 152, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (2535, 12, 152, '75', '37.15', '179.81'); INSERT INTO `Pedidos` VALUES (2536, 13, 152, '100', '27.30', '132.13'); INSERT INTO `Pedidos` VALUES (2537, 31, 152, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (2538, 10, 152, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (2539, 36, 152, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (2540, 47, 152, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2541, 49, 153, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (2542, 9, 153, '40', '20.00', '177.40'); INSERT INTO `Pedidos` VALUES (2543, 26, 153, '1', '70.25', '196.00'); INSERT INTO `Pedidos` VALUES (2544, 17, 153, '24', '12.00', '56.40'); INSERT INTO `Pedidos` VALUES (2545, 18, 153, '200', '125.15', '499.35'); INSERT INTO `Pedidos` VALUES (2546, 19, 153, '40', '24.00', '95.76'); INSERT INTO `Pedidos` VALUES (2547, 22, 153, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (2548, 21, 153, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (2549, 46, 153, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (2550, 8, 153, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (2551, 37, 153, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (2552, 50, 153, '24', '24.00', '30.00'); INSERT INTO `Pedidos` VALUES (2553, 48, 153, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2554, 40, 153, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (2555, 7, 153, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (2556, 29, 153, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (2557, 53, 153, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2558, 28, 153, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (2559, 35, 153, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (2560, 25, 153, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (2561, 12, 153, '125', '61.15', '295.97'); INSERT INTO `Pedidos` VALUES (2562, 13, 153, '100', '27.40', '132.62'); INSERT INTO `Pedidos` VALUES (2563, 1, 153, '1', '10.00', '62.00'); INSERT INTO `Pedidos` VALUES (2564, 32, 153, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (2565, 31, 153, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (2566, 10, 153, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (2567, 4, 153, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (2568, 36, 153, '6', '6.00', '135.00'); INSERT INTO `Pedidos` VALUES (2569, 51, 153, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (2570, 47, 153, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2571, 9, 154, '80', '40.00', '354.80'); INSERT INTO `Pedidos` VALUES (2572, 27, 154, '24', '24.00', '60.00'); INSERT INTO `Pedidos` VALUES (2573, 17, 154, '96', '48.00', '225.60'); INSERT INTO `Pedidos` VALUES (2574, 34, 154, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (2575, 18, 154, '300', '188.45', '751.92'); INSERT INTO `Pedidos` VALUES (2576, 19, 154, '40', '24.00', '95.76'); INSERT INTO `Pedidos` VALUES (2577, 20, 154, '2', '80.00', '136.00'); INSERT INTO `Pedidos` VALUES (2578, 21, 154, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (2579, 8, 154, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (2580, 44, 154, '4', '4.00', '40.00'); INSERT INTO `Pedidos` VALUES (2581, 54, 154, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2582, 52, 154, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (2583, 48, 154, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (2584, 40, 154, '25', '25.00', '239.50'); INSERT INTO `Pedidos` VALUES (2585, 7, 154, '50', '50.00', '175.00'); INSERT INTO `Pedidos` VALUES (2586, 11, 154, '40 lb', '40.00', '95.60'); INSERT INTO `Pedidos` VALUES (2587, 28, 154, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (2588, 35, 154, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (2589, 25, 154, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (2590, 12, 154, '200', '102.30', '495.13'); INSERT INTO `Pedidos` VALUES (2591, 13, 154, '200', '56.50', '273.46'); INSERT INTO `Pedidos` VALUES (2592, 33, 154, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (2593, 65, 154, '2', '75.90', '246.68'); INSERT INTO `Pedidos` VALUES (2594, 5, 154, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (2595, 32, 154, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (2596, 31, 154, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (2597, 10, 154, '60', '30.00', '173.40'); INSERT INTO `Pedidos` VALUES (2598, 36, 154, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (2599, 51, 154, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (2600, 47, 154, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (2601, 49, 155, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (2602, 9, 155, '60', '30.00', '266.10'); INSERT INTO `Pedidos` VALUES (2603, 26, 155, '1', '74.40', '207.58'); INSERT INTO `Pedidos` VALUES (2604, 17, 155, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (2605, 18, 155, '300', '187.30', '747.33'); INSERT INTO `Pedidos` VALUES (2606, 19, 155, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (2607, 20, 155, '5', '200.00', '340.00'); INSERT INTO `Pedidos` VALUES (2608, 21, 155, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (2609, 8, 155, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (2610, 44, 155, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (2611, 54, 155, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2612, 37, 155, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (2613, 52, 155, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2614, 40, 155, '28', '28.00', '268.24'); INSERT INTO `Pedidos` VALUES (2615, 7, 155, '50', '50.00', '175.00'); INSERT INTO `Pedidos` VALUES (2616, 29, 155, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (2617, 6, 155, '3', '66.00', '260.70'); INSERT INTO `Pedidos` VALUES (2618, 28, 155, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (2619, 35, 155, '32', '32.00', '160.00'); INSERT INTO `Pedidos` VALUES (2620, 12, 155, '250', '125.75', '608.63'); INSERT INTO `Pedidos` VALUES (2621, 13, 155, '250', '66.80', '323.31'); INSERT INTO `Pedidos` VALUES (2622, 23, 155, '30', '30.00', '71.70'); INSERT INTO `Pedidos` VALUES (2623, 33, 155, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (2624, 1, 155, '1', '10.00', '62.00'); INSERT INTO `Pedidos` VALUES (2625, 32, 155, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (2626, 31, 155, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (2627, 4, 155, '2', '80.00', '184.00'); INSERT INTO `Pedidos` VALUES (2628, 36, 155, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (2629, 51, 155, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (2634, 49, 157, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (2635, 9, 157, '80', '40.00', '354.80'); INSERT INTO `Pedidos` VALUES (2636, 27, 157, '48', '48.00', '144.00'); INSERT INTO `Pedidos` VALUES (2637, 26, 157, '1', '69.20', '193.07'); INSERT INTO `Pedidos` VALUES (2638, 17, 157, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (2640, 18, 157, '200', '124.55', '496.95'); INSERT INTO `Pedidos` VALUES (2641, 19, 157, '40', '24.00', '95.76'); INSERT INTO `Pedidos` VALUES (2642, 22, 157, '1', '20.00', '2.47'); INSERT INTO `Pedidos` VALUES (2643, 20, 157, '1', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (2644, 21, 157, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (2645, 46, 157, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (2646, 8, 157, '120', '84.00', '745.08'); INSERT INTO `Pedidos` VALUES (2647, 44, 157, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (2649, 52, 157, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2650, 48, 157, '12', '12.00', '12.00'); INSERT INTO `Pedidos` VALUES (2651, 40, 157, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (2652, 7, 157, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (2653, 6, 157, '1', '22.00', '80.30'); INSERT INTO `Pedidos` VALUES (2654, 28, 157, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (2655, 35, 157, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (2656, 12, 157, '125', '61.55', '297.90'); INSERT INTO `Pedidos` VALUES (2657, 13, 157, '100', '26.70', '129.23'); INSERT INTO `Pedidos` VALUES (2658, 23, 157, '18', '18.00', '43.02'); INSERT INTO `Pedidos` VALUES (2659, 65, 157, '1', '37.79', '122.82'); INSERT INTO `Pedidos` VALUES (2660, 1, 157, '2', '20.00', '133.00'); INSERT INTO `Pedidos` VALUES (2661, 32, 157, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (2662, 31, 157, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (2663, 10, 157, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (2664, 36, 157, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (2665, 51, 157, '36', '36.00', '72.00'); INSERT INTO `Pedidos` VALUES (2666, 47, 157, '12', '12.00', '12.00'); INSERT INTO `Pedidos` VALUES (2667, 9, 158, '20', '10.00', '88.70'); INSERT INTO `Pedidos` VALUES (2668, 17, 158, '192', '96.00', '451.20'); INSERT INTO `Pedidos` VALUES (2670, 18, 158, '250', '156.65', '625.03'); INSERT INTO `Pedidos` VALUES (2671, 19, 158, '20', '12.00', '47.88'); INSERT INTO `Pedidos` VALUES (2672, 21, 158, '72', '48.00', '140.64'); INSERT INTO `Pedidos` VALUES (2673, 8, 158, '120', '84.00', '745.08'); INSERT INTO `Pedidos` VALUES (2674, 40, 158, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (2675, 11, 158, '60', '60.00', '143.40'); INSERT INTO `Pedidos` VALUES (2676, 28, 158, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (2677, 12, 158, '100', '50.45', '244.18'); INSERT INTO `Pedidos` VALUES (2678, 13, 158, '150', '39.10', '189.24'); INSERT INTO `Pedidos` VALUES (2679, 33, 158, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (2680, 1, 158, '1', '10.00', '66.50'); INSERT INTO `Pedidos` VALUES (2681, 36, 158, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (2682, 47, 158, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (2685, 49, 160, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (2686, 9, 160, '100', '50.00', '443.50'); INSERT INTO `Pedidos` VALUES (2687, 26, 160, '1', '69.50', '193.91'); INSERT INTO `Pedidos` VALUES (2688, 17, 160, '164', '84.00', '394.80'); INSERT INTO `Pedidos` VALUES (2689, 34, 160, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (2690, 18, 160, '300', '188.20', '750.92'); INSERT INTO `Pedidos` VALUES (2691, 19, 160, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (2692, 22, 160, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (2693, 21, 160, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (2694, 8, 160, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (2696, 40, 160, '25', '25.00', '239.50'); INSERT INTO `Pedidos` VALUES (2697, 7, 160, '50', '50.00', '175.00'); INSERT INTO `Pedidos` VALUES (2698, 29, 160, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (2699, 6, 160, '1', '22.00', '80.30'); INSERT INTO `Pedidos` VALUES (2700, 53, 160, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2701, 28, 160, '1000', '1000.00', '250.00'); INSERT INTO `Pedidos` VALUES (2702, 25, 160, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (2703, 12, 160, '200', '99.00', '479.16'); INSERT INTO `Pedidos` VALUES (2704, 13, 160, '50', '14.00', '67.76'); INSERT INTO `Pedidos` VALUES (2705, 23, 160, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (2706, 33, 160, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (2707, 32, 160, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (2708, 31, 160, '48', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (2709, 36, 160, '6', '6.00', '135.00'); INSERT INTO `Pedidos` VALUES (2710, 51, 160, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (2711, 47, 160, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2712, 33, 157, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (2713, 9, 161, '60', '30.00', '266.10'); INSERT INTO `Pedidos` VALUES (2714, 27, 161, '24', '24.00', '72.00'); INSERT INTO `Pedidos` VALUES (2715, 17, 161, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (2716, 34, 161, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (2717, 18, 161, '300', '189.80', '757.30'); INSERT INTO `Pedidos` VALUES (2718, 19, 161, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (2719, 22, 161, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (2720, 21, 161, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (2721, 46, 161, '3', '3.00', '33.00'); INSERT INTO `Pedidos` VALUES (2722, 8, 161, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (2723, 44, 161, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (2724, 52, 161, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2725, 15, 161, '1', '30.00', '90.00'); INSERT INTO `Pedidos` VALUES (2726, 48, 161, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2727, 42, 161, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (2728, 40, 161, '28', '28.00', '268.24'); INSERT INTO `Pedidos` VALUES (2729, 7, 161, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (2730, 29, 161, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (2731, 6, 161, '2', '44.00', '160.60'); INSERT INTO `Pedidos` VALUES (2732, 28, 161, '1000', '1000.00', '250.00'); INSERT INTO `Pedidos` VALUES (2733, 35, 161, '2', '16.00', '10.00'); INSERT INTO `Pedidos` VALUES (2734, 12, 161, '200', '98.95', '478.92'); INSERT INTO `Pedidos` VALUES (2735, 13, 161, '150', '40.10', '194.08'); INSERT INTO `Pedidos` VALUES (2736, 23, 161, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (2737, 33, 161, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (2738, 32, 161, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (2739, 31, 161, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (2740, 10, 161, '40', '40.00', '231.20'); INSERT INTO `Pedidos` VALUES (2742, 36, 161, '13', '13.00', '292.50'); INSERT INTO `Pedidos` VALUES (2743, 51, 161, '48', '48.00', '96.00'); INSERT INTO `Pedidos` VALUES (2744, 47, 161, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (2745, 27, 162, '24', '24.00', '72.00'); INSERT INTO `Pedidos` VALUES (2746, 16, 162, '25', '25.00', '70.00'); INSERT INTO `Pedidos` VALUES (2747, 17, 162, '96', '48.00', '225.60'); INSERT INTO `Pedidos` VALUES (2748, 34, 162, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (2749, 18, 162, '200', '124.55', '496.95'); INSERT INTO `Pedidos` VALUES (2750, 19, 162, '40', '24.00', '95.76'); INSERT INTO `Pedidos` VALUES (2751, 22, 162, '1', '20.00', '2.47'); INSERT INTO `Pedidos` VALUES (2752, 21, 162, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (2753, 46, 162, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (2754, 8, 162, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (2755, 44, 162, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (2757, 37, 162, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (2759, 15, 162, '25', '25.00', '75.00'); INSERT INTO `Pedidos` VALUES (2760, 50, 162, '12', '0.00', '15.00'); INSERT INTO `Pedidos` VALUES (2761, 42, 162, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (2762, 40, 162, '2', '2.00', '19.16'); INSERT INTO `Pedidos` VALUES (2763, 29, 162, '24', '0.00', '18.00'); INSERT INTO `Pedidos` VALUES (2764, 6, 162, '1', '22.00', '80.30'); INSERT INTO `Pedidos` VALUES (2765, 28, 162, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (2766, 45, 162, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (2767, 35, 162, '1', '8.00', '5.00'); INSERT INTO `Pedidos` VALUES (2768, 12, 162, '100', '49.85', '241.27'); INSERT INTO `Pedidos` VALUES (2769, 13, 162, '100', '25.40', '122.94'); INSERT INTO `Pedidos` VALUES (2770, 33, 162, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (2771, 32, 162, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (2772, 31, 162, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (2773, 10, 162, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (2774, 4, 162, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (2775, 36, 162, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (2776, 51, 162, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (2777, 47, 162, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2809, 41, 161, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (2811, 9, 164, '40', '20.00', '177.40'); INSERT INTO `Pedidos` VALUES (2812, 27, 164, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (2813, 16, 164, '30', '30.00', '84.00'); INSERT INTO `Pedidos` VALUES (2814, 17, 164, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (2815, 34, 164, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (2816, 18, 164, '100', '62.50', '249.38'); INSERT INTO `Pedidos` VALUES (2817, 19, 164, '20', '12.00', '47.88'); INSERT INTO `Pedidos` VALUES (2818, 22, 164, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (2819, 20, 164, '40', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (2820, 21, 164, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (2821, 8, 164, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (2822, 37, 164, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (2823, 52, 164, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2824, 41, 164, '1', '1.00', '21.00'); INSERT INTO `Pedidos` VALUES (2825, 15, 164, '15', '15.00', '45.00'); INSERT INTO `Pedidos` VALUES (2826, 40, 164, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (2827, 7, 164, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (2828, 11, 164, '100', '100.00', '239.00'); INSERT INTO `Pedidos` VALUES (2829, 28, 164, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (2830, 66, 164, '1', '15.50', '26.35'); INSERT INTO `Pedidos` VALUES (2831, 45, 164, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (2832, 12, 164, '50', '24.60', '119.06'); INSERT INTO `Pedidos` VALUES (2833, 13, 164, '50', '13.30', '64.37'); INSERT INTO `Pedidos` VALUES (2834, 32, 164, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (2835, 31, 164, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (2836, 10, 164, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (2837, 4, 164, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (2838, 36, 164, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (2839, 51, 164, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (2840, 47, 164, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2934, 49, 168, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (2935, 9, 168, '60', '30.00', '266.10'); INSERT INTO `Pedidos` VALUES (2936, 27, 168, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (2937, 17, 168, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (2938, 18, 168, '100', '62.50', '249.38'); INSERT INTO `Pedidos` VALUES (2939, 19, 168, '20', '12.00', '47.88'); INSERT INTO `Pedidos` VALUES (2940, 21, 168, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (2941, 46, 168, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (2942, 8, 168, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (2943, 54, 168, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2944, 37, 168, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (2945, 40, 168, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (2946, 29, 168, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (2947, 28, 168, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (2948, 35, 168, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (2949, 25, 168, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (2950, 12, 168, '100', '48.95', '236.92'); INSERT INTO `Pedidos` VALUES (2951, 13, 168, '100', '27.80', '134.55'); INSERT INTO `Pedidos` VALUES (2952, 23, 168, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (2953, 33, 168, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (2954, 1, 168, '1', '10.00', '66.50'); INSERT INTO `Pedidos` VALUES (2955, 32, 168, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (2956, 31, 168, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (2957, 10, 168, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (2958, 36, 168, '6', '6.00', '135.00'); INSERT INTO `Pedidos` VALUES (2959, 51, 168, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2960, 47, 168, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (2961, 17, 170, '24', '12.00', '56.40'); INSERT INTO `Pedidos` VALUES (2962, 8, 170, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (2963, 40, 170, '5', '5.00', '47.90'); INSERT INTO `Pedidos` VALUES (2964, 36, 170, '3', '3.00', '67.50'); INSERT INTO `Pedidos` VALUES (2965, 51, 170, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2966, 50, 171, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (2967, 48, 171, '13', '13.00', '13.00'); INSERT INTO `Pedidos` VALUES (2968, 53, 171, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2969, 47, 171, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (2970, 41, 162, '1', '1.00', '21.00'); INSERT INTO `Pedidos` VALUES (2971, 49, 172, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (2972, 9, 172, '40', '20.00', '177.40'); INSERT INTO `Pedidos` VALUES (2973, 27, 172, '24', '24.00', '72.00'); INSERT INTO `Pedidos` VALUES (2974, 16, 172, '40 lb', '40.00', '112.00'); INSERT INTO `Pedidos` VALUES (2975, 17, 172, '96', '48.00', '225.60'); INSERT INTO `Pedidos` VALUES (2976, 18, 172, '200', '126.20', '503.54'); INSERT INTO `Pedidos` VALUES (2977, 19, 172, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (2978, 22, 172, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (2979, 20, 172, '2', '80.00', '136.00'); INSERT INTO `Pedidos` VALUES (2980, 21, 172, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (2981, 46, 172, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (2982, 8, 172, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (2983, 44, 172, '3', '3.00', '30.00'); INSERT INTO `Pedidos` VALUES (2984, 54, 172, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2985, 37, 172, '5', '5.00', '105.00'); INSERT INTO `Pedidos` VALUES (2986, 52, 172, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (2987, 15, 172, '1', '40.00', '120.00'); INSERT INTO `Pedidos` VALUES (2988, 50, 172, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (2989, 42, 172, '2', '2.00', '1.50'); INSERT INTO `Pedidos` VALUES (2990, 40, 172, '25', '25.00', '239.50'); INSERT INTO `Pedidos` VALUES (2991, 29, 172, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (2992, 6, 172, '1', '22.00', '80.30'); INSERT INTO `Pedidos` VALUES (2993, 11, 172, '80 lb', '80.00', '191.20'); INSERT INTO `Pedidos` VALUES (2994, 12, 172, '100', '48.75', '235.95'); INSERT INTO `Pedidos` VALUES (2995, 13, 172, '100', '27.10', '131.16'); INSERT INTO `Pedidos` VALUES (2996, 39, 172, '2', '2.00', '66.00'); INSERT INTO `Pedidos` VALUES (2997, 23, 172, '40', '40.00', '95.60'); INSERT INTO `Pedidos` VALUES (2998, 65, 172, '2', '69.84', '226.98'); INSERT INTO `Pedidos` VALUES (2999, 1, 172, '4', '40.00', '266.00'); INSERT INTO `Pedidos` VALUES (3000, 32, 172, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (3001, 31, 172, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3002, 10, 172, '40', '20.00', '115.60'); INSERT INTO `Pedidos` VALUES (3003, 4, 172, '4', '160.00', '368.00'); INSERT INTO `Pedidos` VALUES (3004, 36, 172, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (3005, 51, 172, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (3006, 47, 172, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (3010, 9, 174, '60', '30.00', '266.10'); INSERT INTO `Pedidos` VALUES (3011, 27, 174, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (3012, 26, 174, '1', '58.90', '164.33'); INSERT INTO `Pedidos` VALUES (3013, 17, 174, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (3014, 18, 174, '300', '187.95', '749.92'); INSERT INTO `Pedidos` VALUES (3015, 19, 174, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (3016, 20, 174, '2', '80.00', '136.00'); INSERT INTO `Pedidos` VALUES (3017, 21, 174, '24', '15.00', '43.95'); INSERT INTO `Pedidos` VALUES (3018, 46, 174, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (3019, 8, 174, '120', '84.00', '745.08'); INSERT INTO `Pedidos` VALUES (3020, 37, 174, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (3021, 40, 174, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (3022, 7, 174, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3023, 29, 174, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3024, 6, 174, '2', '44.00', '160.60'); INSERT INTO `Pedidos` VALUES (3025, 28, 174, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3026, 45, 174, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (3027, 35, 174, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3028, 12, 174, '250', '123.90', '599.68'); INSERT INTO `Pedidos` VALUES (3029, 13, 174, '150', '41.10', '198.92'); INSERT INTO `Pedidos` VALUES (3030, 23, 174, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (3031, 33, 174, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (3032, 32, 174, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (3033, 31, 174, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3034, 4, 174, '2', '80.00', '184.00'); INSERT INTO `Pedidos` VALUES (3035, 36, 174, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (3148, 49, 178, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (3149, 16, 178, '25', '25.00', '70.00'); INSERT INTO `Pedidos` VALUES (3150, 18, 178, '100', '62.70', '250.17'); INSERT INTO `Pedidos` VALUES (3151, 19, 178, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (3152, 22, 178, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3153, 20, 178, '2', '80.00', '136.00'); INSERT INTO `Pedidos` VALUES (3154, 21, 178, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3155, 46, 178, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (3156, 8, 178, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (3157, 54, 178, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3158, 37, 178, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (3159, 52, 178, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3160, 15, 178, '10', '10.00', '30.00'); INSERT INTO `Pedidos` VALUES (3161, 50, 178, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (3162, 48, 178, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3163, 40, 178, '10', '10.00', '95.80'); INSERT INTO `Pedidos` VALUES (3164, 6, 178, '2', '44.00', '160.60'); INSERT INTO `Pedidos` VALUES (3165, 28, 178, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3166, 35, 178, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3167, 25, 178, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (3168, 12, 178, '150', '75.75', '366.63'); INSERT INTO `Pedidos` VALUES (3169, 13, 178, '100', '25.90', '125.36'); INSERT INTO `Pedidos` VALUES (3170, 23, 178, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (3171, 65, 178, '5', '177.34', '576.36'); INSERT INTO `Pedidos` VALUES (3172, 5, 178, '3', '75.00', '198.75'); INSERT INTO `Pedidos` VALUES (3173, 32, 178, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (3174, 31, 178, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3175, 10, 178, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (3176, 36, 178, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (3177, 47, 178, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3178, 1, 178, '4', '40.00', '266.00'); INSERT INTO `Pedidos` VALUES (3179, 9, 179, '40', '20.00', '177.40'); INSERT INTO `Pedidos` VALUES (3180, 17, 179, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (3181, 18, 179, '100', '62.95', '251.17'); INSERT INTO `Pedidos` VALUES (3182, 19, 179, '20', '12.00', '47.88'); INSERT INTO `Pedidos` VALUES (3183, 22, 179, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3184, 20, 179, '1', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (3185, 46, 179, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (3186, 8, 179, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (3187, 44, 179, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (3188, 54, 179, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3189, 37, 179, '1', '1.00', '21.00'); INSERT INTO `Pedidos` VALUES (3190, 48, 179, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3191, 40, 179, '8', '8.00', '76.64'); INSERT INTO `Pedidos` VALUES (3192, 6, 179, '1', '22.00', '80.30'); INSERT INTO `Pedidos` VALUES (3193, 28, 179, '250', '250.00', '62.50'); INSERT INTO `Pedidos` VALUES (3194, 12, 179, '25', '12.50', '60.50'); INSERT INTO `Pedidos` VALUES (3195, 13, 179, '50', '14.00', '67.76'); INSERT INTO `Pedidos` VALUES (3196, 33, 179, '16', '16.00', '32.00'); INSERT INTO `Pedidos` VALUES (3197, 10, 179, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (3198, 4, 179, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (3199, 36, 179, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (3200, 47, 179, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3201, 35, 172, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (3202, 45, 172, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (3203, 21, 180, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (3204, 46, 180, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (3205, 25, 180, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (3206, 9, 181, '80', '40.00', '354.80'); INSERT INTO `Pedidos` VALUES (3208, 17, 181, '120', '60.00', '282.00'); INSERT INTO `Pedidos` VALUES (3209, 34, 181, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (3210, 18, 181, '300', '187.25', '747.13'); INSERT INTO `Pedidos` VALUES (3211, 19, 181, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (3212, 22, 181, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3213, 20, 181, '2', '80.00', '136.00'); INSERT INTO `Pedidos` VALUES (3214, 21, 181, '72', '48.00', '140.64'); INSERT INTO `Pedidos` VALUES (3215, 8, 181, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (3216, 44, 181, '3', '3.00', '30.00'); INSERT INTO `Pedidos` VALUES (3217, 52, 181, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3218, 40, 181, '25', '25.00', '239.50'); INSERT INTO `Pedidos` VALUES (3219, 7, 181, '50', '50.00', '175.00'); INSERT INTO `Pedidos` VALUES (3220, 29, 181, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3221, 11, 181, '40 lb', '40.00', '95.60'); INSERT INTO `Pedidos` VALUES (3222, 28, 181, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3223, 35, 181, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (3224, 25, 181, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (3225, 12, 181, '100', '50.45', '244.18'); INSERT INTO `Pedidos` VALUES (3226, 13, 181, '200', '53.05', '256.76'); INSERT INTO `Pedidos` VALUES (3227, 23, 181, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (3228, 33, 181, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (3229, 65, 181, '2', '69.27', '225.13'); INSERT INTO `Pedidos` VALUES (3230, 5, 181, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (3231, 32, 181, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (3232, 31, 181, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3233, 10, 181, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (3234, 36, 181, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (3235, 51, 181, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (3236, 47, 181, '72', '72.00', '72.00'); INSERT INTO `Pedidos` VALUES (3237, 10, 174, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (3238, 22, 174, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3239, 43, 174, '12', '12.00', '144.00'); INSERT INTO `Pedidos` VALUES (3240, 47, 174, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3241, 54, 174, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3242, 9, 182, '60', '30.00', '266.10'); INSERT INTO `Pedidos` VALUES (3243, 27, 182, '24', '24.00', '72.00'); INSERT INTO `Pedidos` VALUES (3244, 17, 182, '96', '48.00', '225.60'); INSERT INTO `Pedidos` VALUES (3245, 34, 182, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (3246, 18, 182, '200', '126.50', '504.74'); INSERT INTO `Pedidos` VALUES (3247, 19, 182, '80', '48.00', '191.52'); INSERT INTO `Pedidos` VALUES (3248, 20, 182, '1', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (3249, 21, 182, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (3250, 46, 182, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (3251, 8, 182, '120', '84.00', '745.08'); INSERT INTO `Pedidos` VALUES (3252, 44, 182, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (3253, 54, 182, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3254, 37, 182, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (3257, 40, 182, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (3258, 7, 182, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3259, 6, 182, '1', '22.00', '75.90'); INSERT INTO `Pedidos` VALUES (3260, 28, 182, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (3261, 35, 182, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3262, 25, 182, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (3263, 12, 182, '100', '50.50', '244.42'); INSERT INTO `Pedidos` VALUES (3264, 13, 182, '50', '12.90', '62.44'); INSERT INTO `Pedidos` VALUES (3265, 23, 182, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (3266, 33, 182, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (3267, 65, 182, '2', '71.36', '231.92'); INSERT INTO `Pedidos` VALUES (3268, 1, 182, '2', '20.00', '133.00'); INSERT INTO `Pedidos` VALUES (3269, 32, 182, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (3270, 31, 182, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3271, 10, 182, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (3272, 36, 182, '9', '9.00', '202.50'); INSERT INTO `Pedidos` VALUES (3273, 51, 182, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (3274, 47, 182, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3275, 49, 183, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (3276, 9, 183, '20', '10.00', '88.70'); INSERT INTO `Pedidos` VALUES (3277, 27, 183, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (3278, 17, 183, '168', '84.00', '394.80'); INSERT INTO `Pedidos` VALUES (3279, 34, 183, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (3280, 18, 183, '200', '124.80', '497.95'); INSERT INTO `Pedidos` VALUES (3281, 19, 183, '80', '48.00', '191.52'); INSERT INTO `Pedidos` VALUES (3282, 22, 183, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3283, 21, 183, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (3284, 46, 183, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (3285, 8, 183, '120', '84.00', '745.08'); INSERT INTO `Pedidos` VALUES (3286, 44, 183, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (3287, 40, 183, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (3288, 29, 183, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3289, 11, 183, '60', '60.00', '143.40'); INSERT INTO `Pedidos` VALUES (3290, 35, 183, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3291, 12, 183, '150', '75.20', '363.97'); INSERT INTO `Pedidos` VALUES (3292, 13, 183, '100', '26.00', '125.84'); INSERT INTO `Pedidos` VALUES (3293, 28, 183, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (3294, 23, 183, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (3295, 5, 183, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (3296, 10, 183, '40', '20.00', '115.60'); INSERT INTO `Pedidos` VALUES (3297, 4, 183, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (3298, 36, 183, '9', '9.00', '202.50'); INSERT INTO `Pedidos` VALUES (3299, 51, 183, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (3300, 49, 184, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (3301, 9, 184, '60', '30.00', '266.10'); INSERT INTO `Pedidos` VALUES (3302, 27, 184, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (3303, 17, 184, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (3304, 34, 184, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (3305, 18, 184, '300', '187.60', '748.52'); INSERT INTO `Pedidos` VALUES (3306, 19, 184, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (3307, 22, 184, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3308, 20, 184, '1', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (3309, 21, 184, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3310, 8, 184, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (3311, 44, 184, '4', '4.00', '40.00'); INSERT INTO `Pedidos` VALUES (3312, 54, 184, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3313, 37, 184, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (3314, 52, 184, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3315, 41, 184, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (3316, 15, 184, '30', '30.00', '90.00'); INSERT INTO `Pedidos` VALUES (3317, 50, 184, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (3318, 48, 184, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3319, 42, 184, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (3320, 40, 184, '28', '28.00', '268.24'); INSERT INTO `Pedidos` VALUES (3321, 7, 184, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3322, 29, 184, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3323, 6, 184, '2', '44.00', '151.80'); INSERT INTO `Pedidos` VALUES (3324, 28, 184, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3325, 45, 184, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (3326, 35, 184, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (3327, 25, 184, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (3328, 12, 184, '200', '101.75', '492.47'); INSERT INTO `Pedidos` VALUES (3329, 13, 184, '150', '40.70', '196.99'); INSERT INTO `Pedidos` VALUES (3330, 23, 184, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (3331, 33, 184, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (3332, 32, 184, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (3333, 31, 184, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3334, 10, 184, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (3336, 36, 184, '9', '9.00', '202.50'); INSERT INTO `Pedidos` VALUES (3337, 47, 184, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3338, 49, 185, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (3339, 9, 185, '80', '40.00', '354.80'); INSERT INTO `Pedidos` VALUES (3340, 17, 185, '120', '60.00', '282.00'); INSERT INTO `Pedidos` VALUES (3342, 18, 185, '300', '188.36', '751.56'); INSERT INTO `Pedidos` VALUES (3343, 19, 185, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (3344, 22, 185, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3345, 21, 185, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3346, 8, 185, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (3347, 54, 185, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3348, 52, 185, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3349, 42, 185, '2', '2.00', '1.50'); INSERT INTO `Pedidos` VALUES (3350, 40, 185, '25', '25.00', '239.50'); INSERT INTO `Pedidos` VALUES (3351, 7, 185, '50', '50.00', '175.00'); INSERT INTO `Pedidos` VALUES (3352, 29, 185, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3353, 6, 185, '1', '22.00', '75.90'); INSERT INTO `Pedidos` VALUES (3354, 38, 185, '1', '55.00', '105.00'); INSERT INTO `Pedidos` VALUES (3355, 11, 185, '1', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (3356, 53, 185, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3357, 28, 185, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3358, 45, 185, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (3359, 35, 185, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3360, 25, 185, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (3361, 12, 185, '200', '100.60', '486.90'); INSERT INTO `Pedidos` VALUES (3362, 13, 185, '100', '26.80', '129.71'); INSERT INTO `Pedidos` VALUES (3363, 39, 185, '1', '1.00', '33.00'); INSERT INTO `Pedidos` VALUES (3364, 32, 185, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (3365, 31, 185, '48', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (3366, 36, 185, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (3367, 51, 185, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (3368, 47, 185, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (3369, 9, 186, '40', '20.00', '177.40'); INSERT INTO `Pedidos` VALUES (3370, 27, 186, '24', '24.00', '72.00'); INSERT INTO `Pedidos` VALUES (3371, 16, 186, '1', '25.00', '70.00'); INSERT INTO `Pedidos` VALUES (3372, 17, 186, '96', '48.00', '225.60'); INSERT INTO `Pedidos` VALUES (3373, 18, 186, '100', '62.60', '249.77'); INSERT INTO `Pedidos` VALUES (3374, 19, 186, '40', '24.00', '95.76'); INSERT INTO `Pedidos` VALUES (3375, 21, 186, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (3376, 46, 186, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (3377, 8, 186, '80', '56.00', '496.72'); INSERT INTO `Pedidos` VALUES (3378, 54, 186, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3379, 37, 186, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (3380, 15, 186, '1', '25.00', '75.00'); INSERT INTO `Pedidos` VALUES (3381, 48, 186, '14', '14.00', '14.00'); INSERT INTO `Pedidos` VALUES (3382, 40, 186, '8', '8.00', '76.64'); INSERT INTO `Pedidos` VALUES (3383, 28, 186, '250', '250.00', '62.50'); INSERT INTO `Pedidos` VALUES (3384, 35, 186, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3385, 12, 186, '100', '50.55', '244.66'); INSERT INTO `Pedidos` VALUES (3386, 13, 186, '50', '14.00', '67.76'); INSERT INTO `Pedidos` VALUES (3387, 33, 186, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (3388, 1, 186, '1', '10.00', '66.50'); INSERT INTO `Pedidos` VALUES (3389, 32, 186, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (3390, 31, 186, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3391, 10, 186, '6', '4.00', '23.12'); INSERT INTO `Pedidos` VALUES (3392, 36, 186, '2', '2.00', '45.00'); INSERT INTO `Pedidos` VALUES (3393, 51, 186, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3394, 47, 186, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3395, 49, 187, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (3396, 17, 187, '24', '12.00', '56.40'); INSERT INTO `Pedidos` VALUES (3397, 50, 187, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (3398, 48, 187, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3399, 29, 187, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3400, 53, 187, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3401, 10, 187, '20', '10.00', '57.80'); INSERT INTO `Pedidos` VALUES (3402, 36, 187, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (3403, 51, 187, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (3404, 47, 187, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3405, 49, 188, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (3406, 9, 188, '60', '30.00', '233.10'); INSERT INTO `Pedidos` VALUES (3407, 27, 188, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (3408, 16, 188, '25', '25.00', '70.00'); INSERT INTO `Pedidos` VALUES (3409, 17, 188, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (3411, 18, 188, '200', '125.60', '501.14'); INSERT INTO `Pedidos` VALUES (3412, 19, 188, '40', '24.00', '95.76'); INSERT INTO `Pedidos` VALUES (3413, 22, 188, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3414, 21, 188, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3415, 46, 188, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (3416, 8, 188, '40', '28.00', '217.56'); INSERT INTO `Pedidos` VALUES (3417, 44, 188, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (3418, 54, 188, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3419, 15, 188, '10', '10.00', '30.00'); INSERT INTO `Pedidos` VALUES (3420, 48, 188, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3421, 42, 188, '2', '2.00', '1.50'); INSERT INTO `Pedidos` VALUES (3422, 40, 188, '10', '10.00', '95.80'); INSERT INTO `Pedidos` VALUES (3423, 7, 188, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3424, 6, 188, '2', '44.00', '151.80'); INSERT INTO `Pedidos` VALUES (3425, 28, 188, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3426, 35, 188, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3427, 12, 188, '100', '52.20', '252.65'); INSERT INTO `Pedidos` VALUES (3428, 13, 188, '100', '24.00', '116.16'); INSERT INTO `Pedidos` VALUES (3430, 23, 188, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (3431, 33, 188, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (3432, 65, 188, '4', '142.49', '463.09'); INSERT INTO `Pedidos` VALUES (3433, 5, 188, '2', '50.00', '132.50'); INSERT INTO `Pedidos` VALUES (3434, 1, 188, '4', '40.00', '266.00'); INSERT INTO `Pedidos` VALUES (3435, 32, 188, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (3436, 31, 188, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3437, 10, 188, '40', '20.00', '93.60'); INSERT INTO `Pedidos` VALUES (3438, 4, 188, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (3439, 51, 188, '48', '48.00', '96.00'); INSERT INTO `Pedidos` VALUES (3440, 47, 188, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (3441, 9, 189, '20', '10.00', '88.70'); INSERT INTO `Pedidos` VALUES (3442, 16, 189, '30', '30.00', '84.00'); INSERT INTO `Pedidos` VALUES (3445, 18, 189, '200', '124.90', '498.35'); INSERT INTO `Pedidos` VALUES (3446, 19, 189, '20', '12.00', '47.88'); INSERT INTO `Pedidos` VALUES (3447, 22, 189, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3448, 20, 189, '1', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (3449, 46, 189, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (3450, 8, 189, '40', '28.00', '248.36'); INSERT INTO `Pedidos` VALUES (3451, 44, 189, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (3452, 37, 189, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (3453, 52, 189, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3454, 15, 189, '1', '15.00', '45.00'); INSERT INTO `Pedidos` VALUES (3455, 40, 189, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (3456, 7, 189, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3457, 11, 189, '100', '74.85', '178.89'); INSERT INTO `Pedidos` VALUES (3458, 28, 189, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3459, 66, 189, '1', '14.60', '24.82'); INSERT INTO `Pedidos` VALUES (3460, 35, 189, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3461, 12, 189, '150', '74.85', '362.27'); INSERT INTO `Pedidos` VALUES (3462, 13, 189, '150', '39.65', '191.91'); INSERT INTO `Pedidos` VALUES (3463, 23, 189, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (3464, 32, 189, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (3466, 31, 189, '48', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (3468, 36, 189, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (3469, 49, 190, '15', '15.00', '15.00'); INSERT INTO `Pedidos` VALUES (3470, 17, 190, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (3471, 18, 190, '100', '62.45', '249.18'); INSERT INTO `Pedidos` VALUES (3472, 19, 190, '20', '12.00', '47.88'); INSERT INTO `Pedidos` VALUES (3473, 21, 190, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3474, 8, 190, '40', '28.00', '217.56'); INSERT INTO `Pedidos` VALUES (3475, 44, 190, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (3476, 37, 190, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (3477, 42, 190, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (3478, 40, 190, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (3479, 29, 190, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3480, 28, 190, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3481, 45, 190, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (3482, 35, 190, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3483, 12, 190, '100', '50.69', '245.34'); INSERT INTO `Pedidos` VALUES (3484, 13, 190, '100', '26.50', '128.26'); INSERT INTO `Pedidos` VALUES (3485, 1, 190, '1', '10.00', '66.50'); INSERT INTO `Pedidos` VALUES (3486, 36, 190, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (3487, 51, 190, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3488, 47, 190, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (3489, 51, 189, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3490, 47, 189, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (3491, 49, 191, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (3492, 9, 191, '40', '20.00', '155.40'); INSERT INTO `Pedidos` VALUES (3493, 27, 191, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (3494, 16, 191, '40 lbs', '40.00', '112.00'); INSERT INTO `Pedidos` VALUES (3495, 17, 191, '72', '36.00', '169.20'); INSERT INTO `Pedidos` VALUES (3497, 18, 191, '200', '125.43', '500.47'); INSERT INTO `Pedidos` VALUES (3498, 21, 191, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (3499, 46, 191, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (3500, 8, 191, '40', '28.00', '217.56'); INSERT INTO `Pedidos` VALUES (3501, 44, 191, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (3502, 37, 191, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (3503, 15, 191, '1', '40.00', '120.00'); INSERT INTO `Pedidos` VALUES (3504, 48, 191, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3505, 42, 191, '2', '2.00', '1.50'); INSERT INTO `Pedidos` VALUES (3506, 40, 191, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (3507, 29, 191, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3508, 11, 191, '40 lbs', '40.00', '95.60'); INSERT INTO `Pedidos` VALUES (3509, 28, 191, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3510, 45, 191, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (3511, 35, 191, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (3512, 12, 191, '100', '49.90', '241.52'); INSERT INTO `Pedidos` VALUES (3513, 13, 191, '100', '27.90', '135.04'); INSERT INTO `Pedidos` VALUES (3514, 23, 191, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (3515, 1, 191, '1', '10.00', '66.50'); INSERT INTO `Pedidos` VALUES (3516, 31, 191, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3517, 4, 191, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (3518, 36, 191, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (3519, 47, 191, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3520, 29, 188, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3521, 9, 192, '60', '30.00', '233.10'); INSERT INTO `Pedidos` VALUES (3522, 26, 192, '1', '62.10', '173.26'); INSERT INTO `Pedidos` VALUES (3523, 17, 192, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (3524, 18, 192, '300', '188.16', '750.76'); INSERT INTO `Pedidos` VALUES (3525, 19, 192, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (3526, 20, 192, '2', '80.00', '136.00'); INSERT INTO `Pedidos` VALUES (3527, 21, 192, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3528, 8, 192, '120', '84.00', '652.68'); INSERT INTO `Pedidos` VALUES (3529, 37, 192, '5', '5.00', '105.00'); INSERT INTO `Pedidos` VALUES (3530, 50, 192, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (3531, 48, 192, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3532, 40, 192, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (3533, 7, 192, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3534, 29, 192, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3535, 6, 192, '2', '44.00', '151.80'); INSERT INTO `Pedidos` VALUES (3536, 38, 192, '1', '55.00', '105.00'); INSERT INTO `Pedidos` VALUES (3537, 28, 192, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3539, 35, 192, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3540, 12, 192, '250', '127.40', '616.62'); INSERT INTO `Pedidos` VALUES (3541, 13, 192, '150', '40.60', '196.50'); INSERT INTO `Pedidos` VALUES (3542, 23, 192, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (3543, 32, 192, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (3544, 31, 192, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3545, 10, 192, '40', '20.00', '93.60'); INSERT INTO `Pedidos` VALUES (3546, 4, 192, '2', '80.00', '184.00'); INSERT INTO `Pedidos` VALUES (3547, 36, 192, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (3548, 51, 192, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (3549, 47, 192, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3550, 49, 193, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (3551, 9, 193, '40', '20.00', '155.40'); INSERT INTO `Pedidos` VALUES (3552, 27, 193, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (3553, 17, 193, '120', '60.00', '282.00'); INSERT INTO `Pedidos` VALUES (3554, 34, 193, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (3555, 18, 193, '300', '188.00', '750.12'); INSERT INTO `Pedidos` VALUES (3556, 19, 193, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (3557, 22, 193, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3558, 21, 193, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3560, 8, 193, '40', '28.00', '217.56'); INSERT INTO `Pedidos` VALUES (3562, 54, 193, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3563, 52, 193, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3564, 15, 193, '30', '30.00', '90.00'); INSERT INTO `Pedidos` VALUES (3565, 50, 193, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (3566, 48, 193, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3567, 42, 193, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (3568, 40, 193, '28', '28.00', '268.24'); INSERT INTO `Pedidos` VALUES (3569, 7, 193, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3570, 29, 193, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3571, 6, 193, '2', '44.00', '151.80'); INSERT INTO `Pedidos` VALUES (3572, 43, 193, '1', '1.00', '12.00'); INSERT INTO `Pedidos` VALUES (3573, 53, 193, '1', '12.00', '2.00'); INSERT INTO `Pedidos` VALUES (3574, 28, 193, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3576, 35, 193, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (3578, 12, 193, '150', '76.26', '369.10'); INSERT INTO `Pedidos` VALUES (3579, 13, 193, '100', '27.40', '132.62'); INSERT INTO `Pedidos` VALUES (3580, 23, 193, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (3582, 32, 193, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (3583, 31, 193, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3584, 10, 193, '20', '20.00', '93.60'); INSERT INTO `Pedidos` VALUES (3586, 36, 193, '9', '9.00', '202.50'); INSERT INTO `Pedidos` VALUES (3587, 51, 193, '23', '23.00', '46.00'); INSERT INTO `Pedidos` VALUES (3588, 47, 193, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (3589, 17, 194, '24', '12.00', '56.40'); INSERT INTO `Pedidos` VALUES (3590, 18, 194, '50', '31.25', '124.69'); INSERT INTO `Pedidos` VALUES (3591, 20, 194, '1', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (3592, 46, 194, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (3593, 40, 194, '3', '3.00', '28.74'); INSERT INTO `Pedidos` VALUES (3594, 29, 194, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3595, 6, 194, '1', '22.00', '75.90'); INSERT INTO `Pedidos` VALUES (3596, 28, 194, '250', '250.00', '62.50'); INSERT INTO `Pedidos` VALUES (3597, 35, 194, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3598, 13, 194, '50', '13.10', '63.40'); INSERT INTO `Pedidos` VALUES (3599, 23, 194, '10', '10.00', '23.90'); INSERT INTO `Pedidos` VALUES (3600, 10, 194, '20', '10.00', '46.80'); INSERT INTO `Pedidos` VALUES (3601, 36, 194, '2', '2.00', '45.00'); INSERT INTO `Pedidos` VALUES (3602, 36, 188, '8', '8.00', '180.00'); INSERT INTO `Pedidos` VALUES (3603, 38, 188, '1', '55.00', '105.00'); INSERT INTO `Pedidos` VALUES (3604, 47, 194, '12', '12.00', '12.00'); INSERT INTO `Pedidos` VALUES (3605, 9, 195, '80', '40.00', '310.80'); INSERT INTO `Pedidos` VALUES (3606, 26, 195, '1', '66.50', '185.54'); INSERT INTO `Pedidos` VALUES (3607, 17, 195, '120', '60.00', '282.00'); INSERT INTO `Pedidos` VALUES (3608, 34, 195, '24', '24.00', '54.00'); INSERT INTO `Pedidos` VALUES (3612, 18, 195, '300', '187.92', '749.80'); INSERT INTO `Pedidos` VALUES (3613, 19, 195, '40', '24.00', '95.76'); INSERT INTO `Pedidos` VALUES (3614, 22, 195, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3615, 20, 195, '2', '80.00', '136.00'); INSERT INTO `Pedidos` VALUES (3616, 21, 195, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3618, 8, 195, '120', '84.00', '652.68'); INSERT INTO `Pedidos` VALUES (3619, 44, 195, '3', '3.00', '30.00'); INSERT INTO `Pedidos` VALUES (3621, 37, 195, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (3623, 15, 195, '1', '40.00', '120.00'); INSERT INTO `Pedidos` VALUES (3624, 48, 195, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3625, 40, 195, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (3626, 7, 195, '50', '50.00', '175.00'); INSERT INTO `Pedidos` VALUES (3627, 6, 195, '1', '22.00', '75.90'); INSERT INTO `Pedidos` VALUES (3628, 11, 195, '80 lbs', '80.00', '191.20'); INSERT INTO `Pedidos` VALUES (3629, 28, 195, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3630, 35, 195, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (3631, 25, 195, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (3632, 12, 195, '200', '101.15', '489.57'); INSERT INTO `Pedidos` VALUES (3633, 13, 195, '100', '26.70', '129.23'); INSERT INTO `Pedidos` VALUES (3634, 23, 195, '40', '40.00', '95.60'); INSERT INTO `Pedidos` VALUES (3635, 33, 195, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (3636, 65, 195, '2', '72.75', '236.44'); INSERT INTO `Pedidos` VALUES (3637, 5, 195, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (3638, 1, 195, '4', '40.00', '266.00'); INSERT INTO `Pedidos` VALUES (3639, 32, 195, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (3640, 31, 195, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3641, 10, 195, '20', '10.00', '46.80'); INSERT INTO `Pedidos` VALUES (3642, 4, 195, '4', '160.00', '368.00'); INSERT INTO `Pedidos` VALUES (3643, 36, 195, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (3644, 51, 195, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (3645, 47, 195, '72', '72.00', '72.00'); INSERT INTO `Pedidos` VALUES (3647, 34, 192, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (3648, 9, 196, '80', '40.00', '310.80'); INSERT INTO `Pedidos` VALUES (3649, 17, 196, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (3650, 34, 196, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (3651, 18, 196, '200', '125.32', '500.03'); INSERT INTO `Pedidos` VALUES (3652, 19, 196, '60', '36.00', '143.64'); INSERT INTO `Pedidos` VALUES (3653, 21, 196, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3654, 46, 196, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (3655, 8, 196, '80', '56.00', '435.12'); INSERT INTO `Pedidos` VALUES (3656, 44, 196, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (3657, 37, 196, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (3658, 52, 196, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3659, 50, 196, '24', '24.00', '30.00'); INSERT INTO `Pedidos` VALUES (3660, 40, 196, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (3661, 11, 196, '60', '60.00', '143.40'); INSERT INTO `Pedidos` VALUES (3662, 53, 196, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3663, 28, 196, '250', '250.00', '62.50'); INSERT INTO `Pedidos` VALUES (3664, 66, 196, '1', '16.00', '27.20'); INSERT INTO `Pedidos` VALUES (3665, 35, 196, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3666, 12, 196, '150', '75.70', '366.39'); INSERT INTO `Pedidos` VALUES (3667, 13, 196, '150', '41.00', '198.44'); INSERT INTO `Pedidos` VALUES (3668, 23, 196, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (3669, 33, 196, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (3670, 1, 196, '2', '20.00', '133.00'); INSERT INTO `Pedidos` VALUES (3671, 32, 196, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (3672, 10, 196, '40', '20.00', '93.60'); INSERT INTO `Pedidos` VALUES (3673, 4, 196, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (3674, 36, 196, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (3675, 51, 196, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3676, 42, 192, '7', '7.00', '5.25'); INSERT INTO `Pedidos` VALUES (3677, 44, 192, '5', '5.00', '50.00'); INSERT INTO `Pedidos` VALUES (3678, 46, 192, '5', '5.00', '55.00'); INSERT INTO `Pedidos` VALUES (3687, 9, 200, '60', '30.00', '233.10'); INSERT INTO `Pedidos` VALUES (3688, 27, 200, '48', '48.00', '144.00'); INSERT INTO `Pedidos` VALUES (3689, 17, 200, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (3690, 34, 200, '24', '24.00', '54.00'); INSERT INTO `Pedidos` VALUES (3691, 18, 200, '300', '218.85', '873.21'); INSERT INTO `Pedidos` VALUES (3692, 19, 200, '80', '48.00', '191.52'); INSERT INTO `Pedidos` VALUES (3693, 22, 200, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3694, 20, 200, '1', '40.00', '68.00'); INSERT INTO `Pedidos` VALUES (3695, 21, 200, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3696, 46, 200, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (3697, 8, 200, '160', '112.00', '870.24'); INSERT INTO `Pedidos` VALUES (3698, 44, 200, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (3699, 37, 200, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (3700, 50, 200, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (3701, 48, 200, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3702, 40, 200, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (3703, 7, 200, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3704, 6, 200, '1', '22.00', '75.90'); INSERT INTO `Pedidos` VALUES (3705, 28, 200, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (3706, 12, 200, '150', '75.75', '366.63'); INSERT INTO `Pedidos` VALUES (3707, 13, 200, '100', '26.50', '128.26'); INSERT INTO `Pedidos` VALUES (3708, 23, 200, '20', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (3709, 33, 200, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (3710, 5, 200, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (3711, 1, 200, '2', '20.00', '133.00'); INSERT INTO `Pedidos` VALUES (3712, 32, 200, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (3713, 31, 200, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3714, 10, 200, '20', '20.00', '93.60'); INSERT INTO `Pedidos` VALUES (3715, 4, 200, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (3716, 36, 200, '6', '6.00', '135.00'); INSERT INTO `Pedidos` VALUES (3717, 51, 200, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3718, 47, 200, '36', '36.00', '36.00'); INSERT INTO `Pedidos` VALUES (3719, 49, 201, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (3720, 9, 201, '60', '30.00', '233.10'); INSERT INTO `Pedidos` VALUES (3721, 27, 201, '24', '24.00', '72.00'); INSERT INTO `Pedidos` VALUES (3722, 17, 201, '168', '84.00', '394.80'); INSERT INTO `Pedidos` VALUES (3723, 18, 201, '300', '187.50', '748.13'); INSERT INTO `Pedidos` VALUES (3724, 19, 201, '20', '10.00', '39.90'); INSERT INTO `Pedidos` VALUES (3725, 22, 201, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3726, 21, 201, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3727, 8, 201, '80', '56.00', '435.12'); INSERT INTO `Pedidos` VALUES (3728, 54, 201, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3729, 40, 201, '25', '25.00', '239.50'); INSERT INTO `Pedidos` VALUES (3730, 7, 201, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3731, 29, 201, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3732, 6, 201, '1', '22.00', '75.90'); INSERT INTO `Pedidos` VALUES (3733, 11, 201, '20 lbs', '20.00', '47.80'); INSERT INTO `Pedidos` VALUES (3734, 28, 201, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3735, 35, 201, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3736, 25, 201, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (3737, 12, 201, '150', '77.05', '372.92'); INSERT INTO `Pedidos` VALUES (3738, 13, 201, '150', '40.90', '197.96'); INSERT INTO `Pedidos` VALUES (3739, 32, 201, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (3740, 31, 201, '48', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (3741, 10, 201, '20', '12.00', '56.16'); INSERT INTO `Pedidos` VALUES (3742, 36, 201, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (3743, 51, 201, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (3744, 47, 201, '68', '68.00', '68.00'); INSERT INTO `Pedidos` VALUES (3745, 1, 193, '1', '10.00', '66.50'); INSERT INTO `Pedidos` VALUES (3746, 49, 202, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (3747, 9, 202, '20', '10.00', '73.70'); INSERT INTO `Pedidos` VALUES (3748, 27, 202, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (3749, 16, 202, '25', '25.00', '70.00'); INSERT INTO `Pedidos` VALUES (3750, 17, 202, '72', '36.00', '169.20'); INSERT INTO `Pedidos` VALUES (3751, 34, 202, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (3752, 18, 202, '150', '93.55', '374.20'); INSERT INTO `Pedidos` VALUES (3753, 19, 202, '60', '36.00', '144.00'); INSERT INTO `Pedidos` VALUES (3754, 22, 202, '20', '20.00', '49.60'); INSERT INTO `Pedidos` VALUES (3755, 20, 202, '1', '40.00', '68.40'); INSERT INTO `Pedidos` VALUES (3756, 46, 202, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (3757, 8, 202, '80', '56.00', '412.72'); INSERT INTO `Pedidos` VALUES (3758, 44, 202, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (3759, 37, 202, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (3760, 15, 202, '25', '25.00', '75.00'); INSERT INTO `Pedidos` VALUES (3761, 48, 202, '12', '12.00', '12.00'); INSERT INTO `Pedidos` VALUES (3762, 42, 202, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (3763, 40, 202, '6', '6.00', '57.48'); INSERT INTO `Pedidos` VALUES (3764, 6, 202, '1', '22.00', '75.90'); INSERT INTO `Pedidos` VALUES (3765, 53, 202, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3766, 28, 202, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3767, 35, 202, '24', '24.00', '120.00'); INSERT INTO `Pedidos` VALUES (3768, 12, 202, '100', '49.90', '241.52'); INSERT INTO `Pedidos` VALUES (3769, 13, 202, '100', '27.85', '134.79'); INSERT INTO `Pedidos` VALUES (3770, 10, 202, '20', '10.00', '42.80'); INSERT INTO `Pedidos` VALUES (3771, 4, 202, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (3772, 36, 202, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (3773, 51, 202, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3774, 47, 202, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3775, 27, 203, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (3776, 22, 203, '20', '20.00', '49.60'); INSERT INTO `Pedidos` VALUES (3777, 35, 203, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3778, 33, 203, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (3779, 10, 203, '14', '9.50', '40.66'); INSERT INTO `Pedidos` VALUES (3780, 47, 203, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3781, 49, 204, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (3782, 9, 204, '80', '40.00', '294.80'); INSERT INTO `Pedidos` VALUES (3783, 16, 204, '25', '25.00', '70.00'); INSERT INTO `Pedidos` VALUES (3784, 17, 204, '96', '48.00', '225.60'); INSERT INTO `Pedidos` VALUES (3785, 18, 204, '250', '156.05', '624.20'); INSERT INTO `Pedidos` VALUES (3786, 19, 204, '40', '24.00', '96.00'); INSERT INTO `Pedidos` VALUES (3787, 20, 204, '2', '80.00', '136.80'); INSERT INTO `Pedidos` VALUES (3788, 8, 204, '80', '56.00', '412.72'); INSERT INTO `Pedidos` VALUES (3789, 37, 204, '4', '4.00', '84.00'); INSERT INTO `Pedidos` VALUES (3790, 15, 204, '10', '10.00', '30.00'); INSERT INTO `Pedidos` VALUES (3791, 50, 204, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (3792, 42, 204, '2', '2.00', '1.50'); INSERT INTO `Pedidos` VALUES (3793, 40, 204, '10', '10.00', '95.80'); INSERT INTO `Pedidos` VALUES (3794, 28, 204, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3795, 45, 204, '1', '20.00', '10.00'); INSERT INTO `Pedidos` VALUES (3796, 35, 204, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (3797, 25, 204, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (3798, 12, 204, '100', '52.10', '252.16'); INSERT INTO `Pedidos` VALUES (3799, 13, 204, '150', '41.50', '200.86'); INSERT INTO `Pedidos` VALUES (3800, 23, 204, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3801, 65, 204, '3', '109.26', '355.10'); INSERT INTO `Pedidos` VALUES (3802, 5, 204, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (3803, 1, 204, '4', '40.00', '266.00'); INSERT INTO `Pedidos` VALUES (3804, 31, 204, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3805, 10, 204, '20', '12.00', '51.36'); INSERT INTO `Pedidos` VALUES (3806, 4, 204, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (3807, 36, 204, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (3808, 51, 204, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3809, 47, 204, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (3810, 9, 205, '40', '20.00', '147.40'); INSERT INTO `Pedidos` VALUES (3811, 27, 205, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (3812, 26, 205, '1', '68.90', '192.23'); INSERT INTO `Pedidos` VALUES (3813, 17, 205, '120', '60.00', '282.00'); INSERT INTO `Pedidos` VALUES (3814, 34, 205, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (3815, 18, 205, '250', '156.85', '627.40'); INSERT INTO `Pedidos` VALUES (3816, 19, 205, '60', '36.00', '144.00'); INSERT INTO `Pedidos` VALUES (3817, 22, 205, '20', '20.00', '49.60'); INSERT INTO `Pedidos` VALUES (3818, 20, 205, '3', '124.00', '212.04'); INSERT INTO `Pedidos` VALUES (3819, 21, 205, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3820, 46, 205, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (3821, 8, 205, '80', '56.00', '412.72'); INSERT INTO `Pedidos` VALUES (3822, 37, 205, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (3823, 52, 205, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3824, 50, 205, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (3825, 48, 205, '21', '21.00', '21.00'); INSERT INTO `Pedidos` VALUES (3826, 40, 205, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (3827, 7, 205, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3828, 29, 205, '26', '26.00', '19.50'); INSERT INTO `Pedidos` VALUES (3829, 6, 205, '2', '44.00', '151.80'); INSERT INTO `Pedidos` VALUES (3830, 28, 205, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (3831, 35, 205, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3832, 12, 205, '200', '105.00', '508.20'); INSERT INTO `Pedidos` VALUES (3833, 13, 205, '150', '41.90', '202.80'); INSERT INTO `Pedidos` VALUES (3834, 23, 205, '10', '10.00', '24.70'); INSERT INTO `Pedidos` VALUES (3835, 32, 205, '48', '12.00', '34.80'); INSERT INTO `Pedidos` VALUES (3836, 31, 205, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3837, 10, 205, '40', '24.00', '102.72'); INSERT INTO `Pedidos` VALUES (3838, 4, 205, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (3839, 36, 205, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (3840, 51, 205, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (3841, 47, 205, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3842, 9, 206, '40', '20.00', '147.40'); INSERT INTO `Pedidos` VALUES (3843, 27, 206, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (3844, 16, 206, '30', '30.00', '84.00'); INSERT INTO `Pedidos` VALUES (3845, 17, 206, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (3846, 34, 206, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (3847, 18, 206, '250', '187.00', '748.00'); INSERT INTO `Pedidos` VALUES (3848, 19, 206, '40', '24.00', '96.00'); INSERT INTO `Pedidos` VALUES (3849, 20, 206, '40', '40.00', '68.40'); INSERT INTO `Pedidos` VALUES (3850, 21, 206, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (3851, 46, 206, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (3852, 8, 206, '40', '28.00', '206.36'); INSERT INTO `Pedidos` VALUES (3853, 44, 206, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (3854, 37, 206, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (3855, 15, 206, '15', '15.00', '45.00'); INSERT INTO `Pedidos` VALUES (3856, 42, 206, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (3857, 40, 206, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (3858, 7, 206, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3859, 11, 206, '80', '80.00', '191.20'); INSERT INTO `Pedidos` VALUES (3860, 53, 206, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3861, 28, 206, '1000', '1000.00', '250.00'); INSERT INTO `Pedidos` VALUES (3862, 35, 206, '7', '7.00', '35.00'); INSERT INTO `Pedidos` VALUES (3863, 12, 206, '150', '75.40', '364.94'); INSERT INTO `Pedidos` VALUES (3864, 13, 206, '100', '27.80', '134.55'); INSERT INTO `Pedidos` VALUES (3865, 23, 206, '10', '10.00', '24.70'); INSERT INTO `Pedidos` VALUES (3866, 65, 206, '3', '103.25', '335.56'); INSERT INTO `Pedidos` VALUES (3867, 31, 206, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3868, 4, 206, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (3869, 36, 206, '6', '6.00', '135.00'); INSERT INTO `Pedidos` VALUES (3870, 51, 206, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (3871, 47, 206, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (3872, 17, 207, '30', '15.00', '70.50'); INSERT INTO `Pedidos` VALUES (3873, 19, 207, '24', '16.00', '64.00'); INSERT INTO `Pedidos` VALUES (3874, 8, 207, '40', '28.00', '206.36'); INSERT INTO `Pedidos` VALUES (3875, 52, 207, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3876, 53, 207, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3877, 33, 207, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (3878, 32, 207, '24', '16.00', '46.40'); INSERT INTO `Pedidos` VALUES (3879, 31, 207, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3880, 51, 207, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3881, 49, 208, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (3882, 9, 208, '40', '20.00', '147.40'); INSERT INTO `Pedidos` VALUES (3883, 26, 208, '1', '73.70', '205.62'); INSERT INTO `Pedidos` VALUES (3884, 17, 208, '48', '24.00', '112.80'); INSERT INTO `Pedidos` VALUES (3885, 18, 208, '100', '62.76', '251.04'); INSERT INTO `Pedidos` VALUES (3886, 19, 208, '20', '12.00', '48.00'); INSERT INTO `Pedidos` VALUES (3887, 22, 208, '20', '20.00', '49.60'); INSERT INTO `Pedidos` VALUES (3888, 21, 208, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (3889, 46, 208, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (3890, 8, 208, '40', '28.00', '206.36'); INSERT INTO `Pedidos` VALUES (3891, 44, 208, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (3892, 37, 208, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (3893, 50, 208, '24', '24.00', '30.00'); INSERT INTO `Pedidos` VALUES (3894, 48, 208, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3895, 40, 208, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (3896, 7, 208, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3897, 29, 208, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3898, 28, 208, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3899, 35, 208, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (3900, 12, 208, '100', '52.85', '255.79'); INSERT INTO `Pedidos` VALUES (3901, 13, 208, '100', '28.10', '136.00'); INSERT INTO `Pedidos` VALUES (3902, 23, 208, '10', '10.00', '24.70'); INSERT INTO `Pedidos` VALUES (3903, 33, 208, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (3904, 1, 208, '1', '10.00', '66.50'); INSERT INTO `Pedidos` VALUES (3905, 32, 208, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (3906, 31, 208, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3907, 4, 208, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (3908, 36, 208, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (3909, 51, 208, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3910, 47, 208, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (3932, 49, 210, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (3933, 9, 210, '60', '30.00', '221.10'); INSERT INTO `Pedidos` VALUES (3934, 27, 210, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (3935, 17, 210, '120', '60.00', '282.00'); INSERT INTO `Pedidos` VALUES (3937, 18, 210, '300', '187.00', '748.00'); INSERT INTO `Pedidos` VALUES (3938, 19, 210, '60', '36.00', '144.00'); INSERT INTO `Pedidos` VALUES (3939, 22, 210, '20', '20.00', '49.60'); INSERT INTO `Pedidos` VALUES (3940, 21, 210, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3941, 46, 210, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (3942, 8, 210, '80', '56.00', '412.72'); INSERT INTO `Pedidos` VALUES (3943, 44, 210, '3', '3.00', '30.00'); INSERT INTO `Pedidos` VALUES (3946, 15, 210, '30', '30.00', '90.00'); INSERT INTO `Pedidos` VALUES (3947, 48, 210, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3948, 42, 210, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (3949, 40, 210, '28', '28.00', '268.24'); INSERT INTO `Pedidos` VALUES (3950, 7, 210, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3951, 29, 210, '40.', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3952, 6, 210, '2', '44.00', '151.80'); INSERT INTO `Pedidos` VALUES (3953, 28, 210, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3954, 35, 210, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (3955, 25, 210, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (3956, 12, 210, '200', '101.95', '493.44'); INSERT INTO `Pedidos` VALUES (3957, 13, 210, '150', '42.00', '203.28'); INSERT INTO `Pedidos` VALUES (3958, 23, 210, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (3959, 33, 210, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (3962, 10, 210, '20', '10.00', '42.80'); INSERT INTO `Pedidos` VALUES (3963, 4, 210, '2', '80.00', '184.00'); INSERT INTO `Pedidos` VALUES (3964, 36, 210, '9', '9.00', '202.50'); INSERT INTO `Pedidos` VALUES (3965, 51, 210, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (3966, 47, 210, '72', '72.00', '72.00'); INSERT INTO `Pedidos` VALUES (3967, 9, 211, '80', '40.00', '294.80'); INSERT INTO `Pedidos` VALUES (3968, 16, 211, '40 lbs', '40.00', '112.00'); INSERT INTO `Pedidos` VALUES (3969, 17, 211, '120', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (3970, 18, 211, '300', '188.41', '753.64'); INSERT INTO `Pedidos` VALUES (3971, 19, 211, '60', '36.00', '144.00'); INSERT INTO `Pedidos` VALUES (3972, 22, 211, '20', '20.00', '49.60'); INSERT INTO `Pedidos` VALUES (3973, 20, 211, '2', '80.00', '136.80'); INSERT INTO `Pedidos` VALUES (3974, 21, 211, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (3975, 46, 211, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (3976, 8, 211, '80', '56.00', '412.72'); INSERT INTO `Pedidos` VALUES (3977, 44, 211, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (3978, 37, 211, '5', '5.00', '105.00'); INSERT INTO `Pedidos` VALUES (3979, 15, 211, '1', '40.00', '120.00'); INSERT INTO `Pedidos` VALUES (3980, 50, 211, '24', '24.00', '30.00'); INSERT INTO `Pedidos` VALUES (3981, 48, 211, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (3982, 40, 211, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (3983, 7, 211, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (3984, 29, 211, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (3985, 6, 211, '1', '22.00', '75.90'); INSERT INTO `Pedidos` VALUES (3986, 11, 211, '80 lbs', '80.00', '191.20'); INSERT INTO `Pedidos` VALUES (3987, 28, 211, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (3988, 45, 211, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (3989, 35, 211, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (3990, 12, 211, '150', '77.60', '375.58'); INSERT INTO `Pedidos` VALUES (3991, 13, 211, '100', '16.60', '80.34'); INSERT INTO `Pedidos` VALUES (3992, 23, 211, '40', '40.00', '98.80'); INSERT INTO `Pedidos` VALUES (3993, 65, 211, '2', '71.46', '232.25'); INSERT INTO `Pedidos` VALUES (3994, 1, 211, '3', '30.00', '199.50'); INSERT INTO `Pedidos` VALUES (3995, 32, 211, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (3996, 31, 211, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (3997, 36, 211, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (3998, 51, 211, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (3999, 47, 211, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (4000, 21, 207, '1', '24.00', '70.32'); INSERT INTO `Pedidos` VALUES (4027, 9, 213, '40', '20.00', '147.40'); INSERT INTO `Pedidos` VALUES (4028, 27, 213, '12', '12.00', '36.00'); INSERT INTO `Pedidos` VALUES (4029, 17, 213, '24', '12.00', '56.40'); INSERT INTO `Pedidos` VALUES (4030, 34, 213, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (4031, 18, 213, '150', '93.38', '373.52'); INSERT INTO `Pedidos` VALUES (4032, 19, 213, '20', '12.00', '48.00'); INSERT INTO `Pedidos` VALUES (4033, 22, 213, '20', '20.00', '49.60'); INSERT INTO `Pedidos` VALUES (4034, 20, 213, '1', '40.00', '68.40'); INSERT INTO `Pedidos` VALUES (4035, 21, 213, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (4036, 46, 213, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (4037, 44, 213, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (4038, 37, 213, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (4039, 6, 213, '1', '22.00', '75.90'); INSERT INTO `Pedidos` VALUES (4040, 28, 213, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (4041, 45, 213, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (4042, 35, 213, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (4044, 12, 213, '25', '12.65', '61.23'); INSERT INTO `Pedidos` VALUES (4045, 13, 213, '50', '14.00', '67.76'); INSERT INTO `Pedidos` VALUES (4046, 23, 213, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (4047, 33, 213, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (4048, 1, 213, '1', '10.00', '66.50'); INSERT INTO `Pedidos` VALUES (4049, 32, 213, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (4050, 31, 213, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (4051, 36, 213, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (4052, 47, 213, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (4106, 6, 204, '1', '22.00', '75.90'); INSERT INTO `Pedidos` VALUES (4107, 49, 213, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (4108, 39, 213, '1', '1.00', '33.00'); INSERT INTO `Pedidos` VALUES (4109, 40, 213, '8', '8.00', '76.64'); INSERT INTO `Pedidos` VALUES (4110, 49, 214, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (4111, 9, 214, '40', '20.00', '147.40'); INSERT INTO `Pedidos` VALUES (4112, 27, 214, '24', '24.00', '72.00'); INSERT INTO `Pedidos` VALUES (4113, 26, 214, '1', '65.10', '181.63'); INSERT INTO `Pedidos` VALUES (4114, 17, 214, '96', '48.00', '225.60'); INSERT INTO `Pedidos` VALUES (4115, 34, 214, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (4116, 18, 214, '300', '189.40', '757.60'); INSERT INTO `Pedidos` VALUES (4117, 19, 214, '60', '36.00', '144.00'); INSERT INTO `Pedidos` VALUES (4118, 22, 214, '20', '20.00', '49.60'); INSERT INTO `Pedidos` VALUES (4119, 20, 214, '2', '80.00', '136.80'); INSERT INTO `Pedidos` VALUES (4120, 21, 214, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (4121, 8, 214, '80', '56.00', '412.72'); INSERT INTO `Pedidos` VALUES (4122, 44, 214, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (4123, 54, 214, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (4124, 52, 214, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (4125, 40, 214, '25', '25.00', '239.50'); INSERT INTO `Pedidos` VALUES (4126, 7, 214, '75', '75.00', '262.50'); INSERT INTO `Pedidos` VALUES (4127, 6, 214, '1', '22.00', '75.90'); INSERT INTO `Pedidos` VALUES (4128, 11, 214, '80 lbs', '80.00', '191.20'); INSERT INTO `Pedidos` VALUES (4129, 28, 214, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (4130, 35, 214, '16', '16.00', '80.00'); INSERT INTO `Pedidos` VALUES (4131, 25, 214, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (4132, 12, 214, '150', '77.15', '373.41'); INSERT INTO `Pedidos` VALUES (4133, 13, 214, '100', '27.90', '135.04'); INSERT INTO `Pedidos` VALUES (4134, 33, 214, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (4135, 65, 214, '2', '67.72', '220.09'); INSERT INTO `Pedidos` VALUES (4136, 5, 214, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (4137, 32, 214, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (4138, 10, 214, '40', '24.00', '102.72'); INSERT INTO `Pedidos` VALUES (4139, 4, 214, '2', '80.00', '184.00'); INSERT INTO `Pedidos` VALUES (4140, 36, 214, '10', '10.00', '225.00'); INSERT INTO `Pedidos` VALUES (4141, 51, 214, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (4142, 47, 214, '72', '72.00', '72.00'); INSERT INTO `Pedidos` VALUES (4143, 44, 205, '3', '3.00', '30.00'); INSERT INTO `Pedidos` VALUES (4144, 9, 215, '60', '30.00', '221.10'); INSERT INTO `Pedidos` VALUES (4145, 27, 215, '11', '11.00', '33.00'); INSERT INTO `Pedidos` VALUES (4146, 17, 215, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (4147, 34, 215, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (4148, 18, 215, '200', '124.81', '499.24'); INSERT INTO `Pedidos` VALUES (4149, 19, 215, '40', '24.00', '96.00'); INSERT INTO `Pedidos` VALUES (4150, 20, 215, '1', '40.00', '68.40'); INSERT INTO `Pedidos` VALUES (4151, 21, 215, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (4152, 46, 215, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (4153, 8, 215, '120', '84.00', '619.08'); INSERT INTO `Pedidos` VALUES (4154, 44, 215, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (4155, 42, 215, '3', '3.00', '2.25'); INSERT INTO `Pedidos` VALUES (4156, 40, 215, '15', '15.00', '143.70'); INSERT INTO `Pedidos` VALUES (4157, 7, 215, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (4158, 28, 215, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (4159, 66, 215, '1', '12.00', '20.40'); INSERT INTO `Pedidos` VALUES (4160, 35, 215, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (4161, 25, 215, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (4162, 12, 215, '150', '79.10', '382.84'); INSERT INTO `Pedidos` VALUES (4163, 13, 215, '150', '41.40', '200.38'); INSERT INTO `Pedidos` VALUES (4164, 23, 215, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (4165, 33, 215, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (4166, 5, 215, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (4167, 10, 215, '20', '10.00', '42.80'); INSERT INTO `Pedidos` VALUES (4168, 36, 215, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (4169, 51, 215, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (4170, 47, 215, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (4171, 9, 216, '80', '40.00', '294.80'); INSERT INTO `Pedidos` VALUES (4172, 27, 216, '36', '36.00', '108.00'); INSERT INTO `Pedidos` VALUES (4173, 17, 216, '120', '60.00', '282.00'); INSERT INTO `Pedidos` VALUES (4174, 34, 216, '12', '12.00', '27.00'); INSERT INTO `Pedidos` VALUES (4175, 18, 216, '250', '156.34', '625.36'); INSERT INTO `Pedidos` VALUES (4176, 19, 216, '60', '36.00', '144.00'); INSERT INTO `Pedidos` VALUES (4177, 22, 216, '20', '20.00', '49.60'); INSERT INTO `Pedidos` VALUES (4178, 20, 216, '1', '40.00', '68.40'); INSERT INTO `Pedidos` VALUES (4179, 21, 216, '24', '16.00', '46.88'); INSERT INTO `Pedidos` VALUES (4180, 46, 216, '1', '1.00', '11.00'); INSERT INTO `Pedidos` VALUES (4181, 8, 216, '120', '84.00', '619.08'); INSERT INTO `Pedidos` VALUES (4182, 44, 216, '2', '2.00', '20.00'); INSERT INTO `Pedidos` VALUES (4183, 54, 216, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (4184, 37, 216, '3', '3.00', '63.00'); INSERT INTO `Pedidos` VALUES (4185, 52, 216, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (4186, 50, 216, '12', '12.00', '15.00'); INSERT INTO `Pedidos` VALUES (4187, 40, 216, '20', '20.00', '191.60'); INSERT INTO `Pedidos` VALUES (4188, 7, 216, '50', '50.00', '175.00'); INSERT INTO `Pedidos` VALUES (4189, 29, 216, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (4190, 6, 216, '2', '44.00', '151.80'); INSERT INTO `Pedidos` VALUES (4191, 28, 216, '500', '500.00', '125.00'); INSERT INTO `Pedidos` VALUES (4192, 35, 216, '8', '8.00', '40.00'); INSERT INTO `Pedidos` VALUES (4193, 25, 216, '20', '20.00', '100.80'); INSERT INTO `Pedidos` VALUES (4194, 12, 216, '125', '77.90', '377.04'); INSERT INTO `Pedidos` VALUES (4195, 13, 216, '100', '28.00', '135.52'); INSERT INTO `Pedidos` VALUES (4196, 23, 216, '20', '20.00', '49.40'); INSERT INTO `Pedidos` VALUES (4197, 33, 216, '18', '18.00', '36.00'); INSERT INTO `Pedidos` VALUES (4198, 65, 216, '2', '73.10', '237.58'); INSERT INTO `Pedidos` VALUES (4199, 5, 216, '1', '25.00', '66.25'); INSERT INTO `Pedidos` VALUES (4200, 1, 216, '2', '20.00', '133.00'); INSERT INTO `Pedidos` VALUES (4201, 32, 216, '24', '6.00', '17.40'); INSERT INTO `Pedidos` VALUES (4202, 31, 216, '24', '6.00', '28.80'); INSERT INTO `Pedidos` VALUES (4203, 10, 216, '20', '10.00', '42.80'); INSERT INTO `Pedidos` VALUES (4204, 4, 216, '1', '40.00', '92.00'); INSERT INTO `Pedidos` VALUES (4205, 36, 216, '7', '7.00', '157.50'); INSERT INTO `Pedidos` VALUES (4206, 51, 216, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (4207, 47, 216, '44', '44.00', '44.00'); INSERT INTO `Pedidos` VALUES (4208, 49, 217, '18', '18.00', '18.00'); INSERT INTO `Pedidos` VALUES (4209, 9, 217, '80', '40.00', '294.80'); INSERT INTO `Pedidos` VALUES (4210, 17, 217, '144', '72.00', '338.40'); INSERT INTO `Pedidos` VALUES (4211, 18, 217, '300', '188.55', '754.20'); INSERT INTO `Pedidos` VALUES (4212, 19, 217, '60', '36.00', '144.00'); INSERT INTO `Pedidos` VALUES (4213, 22, 217, '20', '20.00', '49.60'); INSERT INTO `Pedidos` VALUES (4214, 21, 217, '48', '32.00', '93.76'); INSERT INTO `Pedidos` VALUES (4215, 46, 217, '2', '2.00', '22.00'); INSERT INTO `Pedidos` VALUES (4216, 8, 217, '80', '56.00', '412.72'); INSERT INTO `Pedidos` VALUES (4217, 37, 217, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (4218, 48, 217, '24', '24.00', '24.00'); INSERT INTO `Pedidos` VALUES (4219, 40, 217, '25', '25.00', '239.50'); INSERT INTO `Pedidos` VALUES (4220, 7, 217, '25', '25.00', '87.50'); INSERT INTO `Pedidos` VALUES (4221, 29, 217, '40', '40.00', '30.00'); INSERT INTO `Pedidos` VALUES (4222, 6, 217, '1', '22.00', '75.90'); INSERT INTO `Pedidos` VALUES (4223, 28, 217, '750', '750.00', '187.50'); INSERT INTO `Pedidos` VALUES (4224, 45, 217, '1', '1.00', '10.00'); INSERT INTO `Pedidos` VALUES (4225, 12, 217, '150', '78.00', '377.52'); INSERT INTO `Pedidos` VALUES (4226, 13, 217, '100', '28.00', '135.52'); INSERT INTO `Pedidos` VALUES (4227, 23, 217, '10', '10.00', '24.70'); INSERT INTO `Pedidos` VALUES (4228, 32, 217, '72', '18.00', '52.20'); INSERT INTO `Pedidos` VALUES (4229, 31, 217, '48', '12.00', '57.60'); INSERT INTO `Pedidos` VALUES (4230, 36, 217, '5', '5.00', '112.50'); INSERT INTO `Pedidos` VALUES (4231, 51, 217, '24', '24.00', '48.00'); INSERT INTO `Pedidos` VALUES (4232, 47, 217, '48', '48.00', '48.00'); INSERT INTO `Pedidos` VALUES (4233, 39, 217, '2', '2.00', '66.00'); INSERT INTO `Pedidos` VALUES (4234, 37, 210, '2', '2.00', '42.00'); INSERT INTO `Pedidos` VALUES (4235, 9, 218, '20', NULL, NULL); INSERT INTO `Pedidos` VALUES (4236, 16, 218, '25', NULL, NULL); INSERT INTO `Pedidos` VALUES (4237, 17, 218, '72', NULL, NULL); INSERT INTO `Pedidos` VALUES (4238, 18, 218, '150', NULL, NULL); INSERT INTO `Pedidos` VALUES (4239, 19, 218, '40', NULL, NULL); INSERT INTO `Pedidos` VALUES (4240, 20, 218, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4241, 21, 218, '24', NULL, NULL); INSERT INTO `Pedidos` VALUES (4242, 46, 218, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4243, 8, 218, '80', NULL, NULL); INSERT INTO `Pedidos` VALUES (4244, 44, 218, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4245, 54, 218, '12', NULL, NULL); INSERT INTO `Pedidos` VALUES (4246, 37, 218, '3', NULL, NULL); INSERT INTO `Pedidos` VALUES (4247, 52, 218, '12', NULL, NULL); INSERT INTO `Pedidos` VALUES (4248, 15, 218, '25', NULL, NULL); INSERT INTO `Pedidos` VALUES (4249, 48, 218, '12', NULL, NULL); INSERT INTO `Pedidos` VALUES (4250, 42, 218, '3', NULL, NULL); INSERT INTO `Pedidos` VALUES (4251, 40, 218, '6', NULL, NULL); INSERT INTO `Pedidos` VALUES (4252, 6, 218, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4253, 28, 218, '250', NULL, NULL); INSERT INTO `Pedidos` VALUES (4254, 35, 218, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4255, 12, 218, '100', NULL, NULL); INSERT INTO `Pedidos` VALUES (4256, 13, 218, '100', NULL, NULL); INSERT INTO `Pedidos` VALUES (4257, 33, 218, '18', NULL, NULL); INSERT INTO `Pedidos` VALUES (4258, 1, 218, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4259, 36, 218, '3', NULL, NULL); INSERT INTO `Pedidos` VALUES (4260, 51, 218, '24', NULL, NULL); INSERT INTO `Pedidos` VALUES (4261, 47, 218, '12', NULL, NULL); INSERT INTO `Pedidos` VALUES (4289, 9, 220, '20', NULL, NULL); INSERT INTO `Pedidos` VALUES (4290, 27, 220, '12', NULL, NULL); INSERT INTO `Pedidos` VALUES (4291, 16, 220, '25', NULL, NULL); INSERT INTO `Pedidos` VALUES (4292, 17, 220, '96', NULL, NULL); INSERT INTO `Pedidos` VALUES (4293, 18, 220, '200', NULL, NULL); INSERT INTO `Pedidos` VALUES (4294, 19, 220, '40', NULL, NULL); INSERT INTO `Pedidos` VALUES (4295, 22, 220, '20', NULL, NULL); INSERT INTO `Pedidos` VALUES (4296, 20, 220, '2', NULL, NULL); INSERT INTO `Pedidos` VALUES (4297, 46, 220, '2', NULL, NULL); INSERT INTO `Pedidos` VALUES (4298, 8, 220, '60', NULL, NULL); INSERT INTO `Pedidos` VALUES (4299, 54, 220, '12', NULL, NULL); INSERT INTO `Pedidos` VALUES (4300, 37, 220, '3', NULL, NULL); INSERT INTO `Pedidos` VALUES (4301, 52, 220, '12', NULL, NULL); INSERT INTO `Pedidos` VALUES (4302, 15, 220, '10', NULL, NULL); INSERT INTO `Pedidos` VALUES (4303, 42, 220, '2', NULL, NULL); INSERT INTO `Pedidos` VALUES (4304, 40, 220, '10', NULL, NULL); INSERT INTO `Pedidos` VALUES (4305, 7, 220, '25', NULL, NULL); INSERT INTO `Pedidos` VALUES (4306, 29, 220, '40', NULL, NULL); INSERT INTO `Pedidos` VALUES (4307, 53, 220, '12', NULL, NULL); INSERT INTO `Pedidos` VALUES (4308, 28, 220, '750', NULL, NULL); INSERT INTO `Pedidos` VALUES (4309, 45, 220, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4310, 35, 220, '16', NULL, NULL); INSERT INTO `Pedidos` VALUES (4311, 12, 220, '100', NULL, NULL); INSERT INTO `Pedidos` VALUES (4312, 13, 220, '100', NULL, NULL); INSERT INTO `Pedidos` VALUES (4313, 23, 220, '20', NULL, NULL); INSERT INTO `Pedidos` VALUES (4314, 33, 220, '18', NULL, NULL); INSERT INTO `Pedidos` VALUES (4315, 65, 220, '4', NULL, NULL); INSERT INTO `Pedidos` VALUES (4316, 5, 220, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4317, 1, 220, '4', NULL, NULL); INSERT INTO `Pedidos` VALUES (4318, 31, 220, '24', NULL, NULL); INSERT INTO `Pedidos` VALUES (4319, 10, 220, '20', NULL, NULL); INSERT INTO `Pedidos` VALUES (4320, 36, 220, '7', NULL, NULL); INSERT INTO `Pedidos` VALUES (4321, 51, 220, '12', NULL, NULL); INSERT INTO `Pedidos` VALUES (4322, 47, 220, '24', NULL, NULL); INSERT INTO `Pedidos` VALUES (4323, 49, 221, '18', '0.00', '18.00'); INSERT INTO `Pedidos` VALUES (4324, 9, 221, '40', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4325, 16, 221, '30', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4326, 17, 221, '24', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4327, 18, 221, '150', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4328, 22, 221, '20', '0.00', '49.60'); INSERT INTO `Pedidos` VALUES (4329, 20, 221, '40', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4330, 21, 221, '48', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4331, 8, 221, '40', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4332, 44, 221, '1', '0.00', '10.00'); INSERT INTO `Pedidos` VALUES (4333, 54, 221, '12', '0.00', '24.00'); INSERT INTO `Pedidos` VALUES (4334, 37, 221, '3', '0.00', '63.00'); INSERT INTO `Pedidos` VALUES (4335, 15, 221, '15', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4336, 40, 221, '8', '0.00', '76.64'); INSERT INTO `Pedidos` VALUES (4337, 29, 221, '40', '0.00', '30.00'); INSERT INTO `Pedidos` VALUES (4338, 11, 221, '80', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4339, 53, 221, '12', '0.00', '24.00'); INSERT INTO `Pedidos` VALUES (4340, 28, 221, '750', '0.00', '187.50'); INSERT INTO `Pedidos` VALUES (4342, 12, 221, '150', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4343, 13, 221, '150', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4344, 65, 221, '3', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4345, 32, 221, '48', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4346, 31, 221, '48', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4347, 10, 221, '20', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4348, 4, 221, '1', '0.00', '0.00'); INSERT INTO `Pedidos` VALUES (4349, 36, 221, '6', '0.00', '135.00'); INSERT INTO `Pedidos` VALUES (4350, 47, 221, '48', '0.00', '48.00'); INSERT INTO `Pedidos` VALUES (4351, 21, 222, '24', '16.00', '47.84'); INSERT INTO `Pedidos` VALUES (4352, 8, 222, '40', '28.00', '206.36'); INSERT INTO `Pedidos` VALUES (4353, 37, 222, '1', '1.00', '21.00'); INSERT INTO `Pedidos` VALUES (4354, 12, 222, '50', '26.70', '126.83'); INSERT INTO `Pedidos` VALUES (4355, 13, 222, '50', '14.00', '66.50'); INSERT INTO `Pedidos` VALUES (4356, 51, 222, '12', '12.00', '24.00'); INSERT INTO `Pedidos` VALUES (4357, 9, 223, '40', NULL, NULL); INSERT INTO `Pedidos` VALUES (4358, 17, 223, '48', NULL, NULL); INSERT INTO `Pedidos` VALUES (4359, 18, 223, '100', NULL, NULL); INSERT INTO `Pedidos` VALUES (4360, 19, 223, '20', NULL, NULL); INSERT INTO `Pedidos` VALUES (4361, 21, 223, '24', NULL, NULL); INSERT INTO `Pedidos` VALUES (4362, 46, 223, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4363, 8, 223, '40', NULL, NULL); INSERT INTO `Pedidos` VALUES (4364, 44, 223, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4365, 37, 223, '3', NULL, NULL); INSERT INTO `Pedidos` VALUES (4366, 52, 223, '12', NULL, NULL); INSERT INTO `Pedidos` VALUES (4367, 40, 223, '15', NULL, NULL); INSERT INTO `Pedidos` VALUES (4368, 28, 223, '750', NULL, NULL); INSERT INTO `Pedidos` VALUES (4369, 35, 223, '40', NULL, NULL); INSERT INTO `Pedidos` VALUES (4370, 12, 223, '100', NULL, NULL); INSERT INTO `Pedidos` VALUES (4371, 13, 223, '100', NULL, NULL); INSERT INTO `Pedidos` VALUES (4372, 1, 223, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4373, 31, 223, '24', NULL, NULL); INSERT INTO `Pedidos` VALUES (4374, 36, 223, '6', NULL, NULL); INSERT INTO `Pedidos` VALUES (4375, 51, 223, '12', NULL, NULL); INSERT INTO `Pedidos` VALUES (4376, 47, 223, '48', NULL, NULL); INSERT INTO `Pedidos` VALUES (4377, 49, 224, '18', NULL, NULL); INSERT INTO `Pedidos` VALUES (4378, 9, 224, '80', NULL, NULL); INSERT INTO `Pedidos` VALUES (4379, 26, 224, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4380, 16, 224, '40 lbs', NULL, NULL); INSERT INTO `Pedidos` VALUES (4381, 17, 224, '96', NULL, NULL); INSERT INTO `Pedidos` VALUES (4382, 34, 224, '18', NULL, NULL); INSERT INTO `Pedidos` VALUES (4383, 18, 224, '200', NULL, NULL); INSERT INTO `Pedidos` VALUES (4384, 19, 224, '60', NULL, NULL); INSERT INTO `Pedidos` VALUES (4385, 20, 224, '2', NULL, NULL); INSERT INTO `Pedidos` VALUES (4386, 21, 224, '48', NULL, NULL); INSERT INTO `Pedidos` VALUES (4387, 8, 224, '80', NULL, NULL); INSERT INTO `Pedidos` VALUES (4388, 44, 224, '2', NULL, NULL); INSERT INTO `Pedidos` VALUES (4389, 37, 224, '5', NULL, NULL); INSERT INTO `Pedidos` VALUES (4390, 52, 224, '12', NULL, NULL); INSERT INTO `Pedidos` VALUES (4391, 15, 224, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4392, 50, 224, '24', NULL, NULL); INSERT INTO `Pedidos` VALUES (4393, 42, 224, '2', NULL, NULL); INSERT INTO `Pedidos` VALUES (4394, 40, 224, '20', NULL, NULL); INSERT INTO `Pedidos` VALUES (4395, 7, 224, '25', NULL, NULL); INSERT INTO `Pedidos` VALUES (4396, 29, 224, '40', NULL, NULL); INSERT INTO `Pedidos` VALUES (4397, 6, 224, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4398, 11, 224, '80 lb', NULL, NULL); INSERT INTO `Pedidos` VALUES (4399, 53, 224, '12', NULL, NULL); INSERT INTO `Pedidos` VALUES (4400, 28, 224, '750', NULL, NULL); INSERT INTO `Pedidos` VALUES (4401, 45, 224, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4402, 35, 224, '16', NULL, NULL); INSERT INTO `Pedidos` VALUES (4403, 25, 224, '20', NULL, NULL); INSERT INTO `Pedidos` VALUES (4404, 12, 224, '200', NULL, NULL); INSERT INTO `Pedidos` VALUES (4405, 13, 224, '200', NULL, NULL); INSERT INTO `Pedidos` VALUES (4406, 39, 224, '1', NULL, NULL); INSERT INTO `Pedidos` VALUES (4407, 23, 224, '20', NULL, NULL); INSERT INTO `Pedidos` VALUES (4408, 33, 224, '18', NULL, NULL); INSERT INTO `Pedidos` VALUES (4409, 65, 224, '45 lb', NULL, NULL); INSERT INTO `Pedidos` VALUES (4410, 1, 224, '4', NULL, NULL); INSERT INTO `Pedidos` VALUES (4411, 31, 224, '24', NULL, NULL); INSERT INTO `Pedidos` VALUES (4412, 10, 224, '40', NULL, NULL); INSERT INTO `Pedidos` VALUES (4413, 4, 224, '4', NULL, NULL); INSERT INTO `Pedidos` VALUES (4414, 36, 224, '10', NULL, NULL); INSERT INTO `Pedidos` VALUES (4415, 51, 224, '24', NULL, NULL); INSERT INTO `Pedidos` VALUES (4416, 47, 224, '48', NULL, NULL); -- -- Volcar la base de datos para la tabla `fos_user` -- INSERT INTO `fos_user` VALUES (1, 'root', 'root', 'root@test.com', 'root@test.com', 1, 'gl9v5wlqxxc0cwg8w0s4cg8w0g0g00o', '+lS7hyKL7vHrl+oMw0YbxEHfvZJZKnOAf7aCPK6dbKjF/GVwafT/J0s0dbntYnpTD5cCLMQW0bDhAfaDB8lz1w==', '2013-03-09 21:52:06', 0, 0, NULL, NULL, NULL, 'a:1:{i:0;s:16:"ROLE_SUPER_ADMIN";}', 0, NULL, '2013-03-09 21:51:54', '2013-03-09 21:52:06', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL); -- -- Volcar la base de datos para la tabla `fos_user_group` -- INSERT INTO `fos_user_group` VALUES (1, 'Clients', 'a:15:{i:0;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_EDIT";i:1;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_CREATE";i:2;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_VIEW";i:3;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_DELETE";i:4;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_EXPORT";i:5;s:34:"ROLE_SONATA_ADMIN_PEDIDOS_OPERATOR";i:6;s:37:"ROLE_SONATA_CLIENT_INVOICECLIENT_EDIT";i:7;s:37:"ROLE_SONATA_CLIENT_INVOICECLIENT_LIST";i:8;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_CREATE";i:9;s:37:"ROLE_SONATA_CLIENT_INVOICECLIENT_VIEW";i:10;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_DELETE";i:11;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_EXPORT";i:12;s:41:"ROLE_SONATA_CLIENT_INVOICECLIENT_OPERATOR";i:13;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_MASTER";i:14;s:11:"ROLE_CLIENT";}'); -- -- Volcar la base de datos para la tabla `fos_user_user` -- INSERT INTO `fos_user_user` VALUES (1, 'root', 'root', 'root@test.com', 'root@test.com', 1, '22zys89stlb4gock8g4wcokg0k0wss', '508sCKi/Suw5bh0GHD9eoqxksUEgMw1MeFMaTHyMjYw2//pwyp5eXcn0f/wQBKlW8ro7TJqx4dD5QO1r8PVUgg==', '2013-08-13 02:49:43', 0, 0, NULL, NULL, NULL, 'a:1:{i:0;s:16:"ROLE_SUPER_ADMIN";}', 0, NULL, '2013-03-09 21:53:01', '2013-08-13 02:49:43', NULL, 'Súper Administrador', 'de Casavana', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL); INSERT INTO `fos_user_user` VALUES (7, 'client', 'client', 'client@gmail.com', 'client@gmail.com', 1, 'e8j0af2gskoo044sskwo88wo48ggg8g', 'TuzCAniBUweEABP5+zNwN+3Xd7Hr8vKlVI0pkAn2uIMOxDnKnu6SYgBqglBlMirHOSX/+HisctCivbSa83Pypg==', '2013-08-12 11:26:51', 0, 0, NULL, NULL, NULL, 'a:17:{i:0;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_CREATE";i:1;s:34:"ROLE_SONATA_ADMIN_PEDIDOS_OPERATOR";i:2;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_MASTER";i:3;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_EXPORT";i:4;s:37:"ROLE_SONATA_CLIENT_INVOICECLIENT_EDIT";i:5;s:37:"ROLE_SONATA_CLIENT_INVOICECLIENT_LIST";i:6;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_CREATE";i:7;s:37:"ROLE_SONATA_CLIENT_INVOICECLIENT_VIEW";i:8;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_DELETE";i:9;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_EXPORT";i:10;s:41:"ROLE_SONATA_CLIENT_INVOICECLIENT_OPERATOR";i:11;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_MASTER";i:12;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_EDIT";i:13;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_LIST";i:14;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_VIEW";i:15;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_DELETE";i:16;s:11:"ROLE_CLIENT";}', 0, NULL, '2013-03-12 18:55:55', '2013-08-12 11:26:51', NULL, 'Restaurant', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL); INSERT INTO `fos_user_user` VALUES (8, 'CR Management', 'cr management', 'letty@casavana.com', 'letty@casavana.com', 1, 'ofnk1x59pvk4og4occ00sgcsskgso08', 'qHj25GyLlQHfBwoiGxtPUX2s/AnQabU7EEdVgqliRrv3XUZuKUnJHHLVFzCjy/GoaafUO10bweVQtMGFa0vHsg==', '2013-08-12 17:05:54', 0, 0, NULL, NULL, NULL, 'a:31:{i:0;s:31:"ROLE_SONATA_ADMIN_CATEGORY_EDIT";i:1;s:31:"ROLE_SONATA_ADMIN_CATEGORY_LIST";i:2;s:33:"ROLE_SONATA_ADMIN_CATEGORY_CREATE";i:3;s:31:"ROLE_SONATA_ADMIN_CATEGORY_VIEW";i:4;s:33:"ROLE_SONATA_ADMIN_CATEGORY_DELETE";i:5;s:33:"ROLE_SONATA_ADMIN_CATEGORY_EXPORT";i:6;s:35:"ROLE_SONATA_ADMIN_CATEGORY_OPERATOR";i:7;s:33:"ROLE_SONATA_ADMIN_CATEGORY_MASTER";i:8;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_EDIT";i:9;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_CREATE";i:10;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_VIEW";i:11;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_DELETE";i:12;s:34:"ROLE_SONATA_ADMIN_PEDIDOS_OPERATOR";i:13;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_MASTER";i:14;s:30:"ROLE_SONATA_ADMIN_PRODUCT_EDIT";i:15;s:30:"ROLE_SONATA_ADMIN_PRODUCT_LIST";i:16;s:32:"ROLE_SONATA_ADMIN_PRODUCT_CREATE";i:17;s:30:"ROLE_SONATA_ADMIN_PRODUCT_VIEW";i:18;s:32:"ROLE_SONATA_ADMIN_PRODUCT_DELETE";i:19;s:32:"ROLE_SONATA_ADMIN_PRODUCT_EXPORT";i:20;s:34:"ROLE_SONATA_ADMIN_PRODUCT_OPERATOR";i:21;s:32:"ROLE_SONATA_ADMIN_PRODUCT_MASTER";i:22;s:30:"ROLE_SONATA_ADMIN_INVOICE_EDIT";i:23;s:30:"ROLE_SONATA_ADMIN_INVOICE_LIST";i:24;s:32:"ROLE_SONATA_ADMIN_INVOICE_CREATE";i:25;s:30:"ROLE_SONATA_ADMIN_INVOICE_VIEW";i:26;s:32:"ROLE_SONATA_ADMIN_INVOICE_DELETE";i:27;s:32:"ROLE_SONATA_ADMIN_INVOICE_EXPORT";i:28;s:34:"ROLE_SONATA_ADMIN_INVOICE_OPERATOR";i:29;s:32:"ROLE_SONATA_ADMIN_INVOICE_MASTER";i:30;s:12:"ROLE_MANAGER";}', 0, NULL, '2013-03-12 20:29:52', '2013-08-12 17:05:54', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL); INSERT INTO `fos_user_user` VALUES (9, 'humacao', 'humacao', 'rlaboy@gmail.com', 'rlaboy@gmail.com', 1, 'qt2ykalywc0ooc4ws4g8kgocwks0g0o', 'x2CK6aVfif7hI8oOONvog1WOhQZkcnwZTqyiB5Z8sW9eMzJT442E4W7FJ7Zr66V8r5eux5YeLK+iEkfpq4xbNQ==', '2013-04-22 23:47:32', 0, 0, NULL, NULL, NULL, 'a:19:{i:0;s:11:"ROLE_CLIENT";i:1;s:31:"ROLE_SONATA_ADMIN_CATEGORY_LIST";i:2;s:31:"ROLE_SONATA_ADMIN_CATEGORY_VIEW";i:3;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_EDIT";i:4;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_LIST";i:5;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_CREATE";i:6;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_VIEW";i:7;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_DELETE";i:8;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_EXPORT";i:9;s:34:"ROLE_SONATA_ADMIN_PEDIDOS_OPERATOR";i:10;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_MASTER";i:11;s:37:"ROLE_SONATA_CLIENT_INVOICECLIENT_EDIT";i:12;s:37:"ROLE_SONATA_CLIENT_INVOICECLIENT_LIST";i:13;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_CREATE";i:14;s:37:"ROLE_SONATA_CLIENT_INVOICECLIENT_VIEW";i:15;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_DELETE";i:16;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_EXPORT";i:17;s:41:"ROLE_SONATA_CLIENT_INVOICECLIENT_OPERATOR";i:18;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_MASTER";}', 0, NULL, '2013-04-20 02:08:38', '2013-04-22 23:47:32', NULL, 'Ricky', 'Laboy', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL); INSERT INTO `fos_user_user` VALUES (10, 'jclopategui', 'jclopategui', 'jc@casavana.com', 'jc@casavana.com', 1, 'dkjkkc7tm4o44sckc8wwg0ggkkk8wwk', 'Q9lITV1vvY8iOT4YSM317OZ27DSg/2AkoU/8lf8PxTS5Om3e3yZeus4f3POc9ZgihxU/qltY41KOYjjIBZwGPA==', '2013-08-10 21:13:42', 0, 0, NULL, NULL, NULL, 'a:32:{i:0;s:31:"ROLE_SONATA_ADMIN_CATEGORY_EDIT";i:1;s:31:"ROLE_SONATA_ADMIN_CATEGORY_LIST";i:2;s:33:"ROLE_SONATA_ADMIN_CATEGORY_CREATE";i:3;s:31:"ROLE_SONATA_ADMIN_CATEGORY_VIEW";i:4;s:33:"ROLE_SONATA_ADMIN_CATEGORY_DELETE";i:5;s:33:"ROLE_SONATA_ADMIN_CATEGORY_EXPORT";i:6;s:35:"ROLE_SONATA_ADMIN_CATEGORY_OPERATOR";i:7;s:33:"ROLE_SONATA_ADMIN_CATEGORY_MASTER";i:8;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_EDIT";i:9;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_CREATE";i:10;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_VIEW";i:11;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_DELETE";i:12;s:34:"ROLE_SONATA_ADMIN_PEDIDOS_OPERATOR";i:13;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_MASTER";i:14;s:30:"ROLE_SONATA_ADMIN_PRODUCT_EDIT";i:15;s:30:"ROLE_SONATA_ADMIN_PRODUCT_LIST";i:16;s:32:"ROLE_SONATA_ADMIN_PRODUCT_CREATE";i:17;s:30:"ROLE_SONATA_ADMIN_PRODUCT_VIEW";i:18;s:32:"ROLE_SONATA_ADMIN_PRODUCT_DELETE";i:19;s:32:"ROLE_SONATA_ADMIN_PRODUCT_EXPORT";i:20;s:34:"ROLE_SONATA_ADMIN_PRODUCT_OPERATOR";i:21;s:32:"ROLE_SONATA_ADMIN_PRODUCT_MASTER";i:22;s:12:"ROLE_MANAGER";i:23;s:30:"ROLE_SONATA_ADMIN_INVOICE_EDIT";i:24;s:30:"ROLE_SONATA_ADMIN_INVOICE_LIST";i:25;s:32:"ROLE_SONATA_ADMIN_INVOICE_CREATE";i:26;s:30:"ROLE_SONATA_ADMIN_INVOICE_VIEW";i:27;s:32:"ROLE_SONATA_ADMIN_INVOICE_DELETE";i:28;s:32:"ROLE_SONATA_ADMIN_INVOICE_EXPORT";i:29;s:34:"ROLE_SONATA_ADMIN_INVOICE_OPERATOR";i:30;s:32:"ROLE_SONATA_ADMIN_INVOICE_MASTER";i:31;s:16:"ROLE_SUPER_ADMIN";}', 0, NULL, '2013-04-23 00:03:28', '2013-08-10 21:13:42', NULL, 'JC-Administrator CR Commissary', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL); INSERT INTO `fos_user_user` VALUES (11, 'miamilakes', 'miamilakes', 'casamialakes@comcast.net', 'casamialakes@comcast.net', 1, '18fj0oxyef6sw4044k04kk40kkw4o84', 'Rm/GBJ05/ArF4EUF1uZLkvDSB/0jT2beN22cDG/tud3xopUS//gMILKGQ+W9KAK7a31/rQl+UVZghYlYcSIa/Q==', '2013-08-12 20:07:58', 0, 0, NULL, NULL, NULL, 'a:19:{i:0;s:31:"ROLE_SONATA_ADMIN_CATEGORY_LIST";i:1;s:31:"ROLE_SONATA_ADMIN_CATEGORY_VIEW";i:2;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_EDIT";i:3;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_LIST";i:4;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_CREATE";i:5;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_VIEW";i:6;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_DELETE";i:7;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_EXPORT";i:8;s:34:"ROLE_SONATA_ADMIN_PEDIDOS_OPERATOR";i:9;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_MASTER";i:10;s:37:"ROLE_SONATA_CLIENT_INVOICECLIENT_EDIT";i:11;s:37:"ROLE_SONATA_CLIENT_INVOICECLIENT_LIST";i:12;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_CREATE";i:13;s:37:"ROLE_SONATA_CLIENT_INVOICECLIENT_VIEW";i:14;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_DELETE";i:15;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_EXPORT";i:16;s:41:"ROLE_SONATA_CLIENT_INVOICECLIENT_OPERATOR";i:17;s:39:"ROLE_SONATA_CLIENT_INVOICECLIENT_MASTER";i:18;s:11:"ROLE_CLIENT";}', 0, NULL, '2013-04-23 00:46:05', '2013-08-12 20:07:59', NULL, 'Miami Lakes Store', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL); INSERT INTO `fos_user_user` VALUES (12, 'vero', 'vero', 'vgarcia_casavana@bellsouth.net', 'vgarcia_casavana@bellsouth.net', 1, 'jlk7cnd6hnccogc0soo00sg8cswoggg', 'TjZgX2dj8YGq1XnHsOHXaBok+rrJJt4y49+Dey5NXp3tcwjKoAIXyWNhiWcDXjFqVeFfwOjqHYjr4cJ6VyzYvg==', '2013-08-08 16:07:46', 0, 0, NULL, NULL, NULL, 'a:33:{i:0;s:31:"ROLE_SONATA_ADMIN_CATEGORY_EDIT";i:1;s:31:"ROLE_SONATA_ADMIN_CATEGORY_LIST";i:2;s:33:"ROLE_SONATA_ADMIN_CATEGORY_CREATE";i:3;s:31:"ROLE_SONATA_ADMIN_CATEGORY_VIEW";i:4;s:33:"ROLE_SONATA_ADMIN_CATEGORY_DELETE";i:5;s:33:"ROLE_SONATA_ADMIN_CATEGORY_EXPORT";i:6;s:35:"ROLE_SONATA_ADMIN_CATEGORY_OPERATOR";i:7;s:33:"ROLE_SONATA_ADMIN_CATEGORY_MASTER";i:8;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_EDIT";i:9;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_LIST";i:10;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_CREATE";i:11;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_VIEW";i:12;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_DELETE";i:13;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_EXPORT";i:14;s:34:"ROLE_SONATA_ADMIN_PEDIDOS_OPERATOR";i:15;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_MASTER";i:16;s:30:"ROLE_SONATA_ADMIN_PRODUCT_EDIT";i:17;s:30:"ROLE_SONATA_ADMIN_PRODUCT_LIST";i:18;s:32:"ROLE_SONATA_ADMIN_PRODUCT_CREATE";i:19;s:30:"ROLE_SONATA_ADMIN_PRODUCT_VIEW";i:20;s:32:"ROLE_SONATA_ADMIN_PRODUCT_DELETE";i:21;s:32:"ROLE_SONATA_ADMIN_PRODUCT_EXPORT";i:22;s:34:"ROLE_SONATA_ADMIN_PRODUCT_OPERATOR";i:23;s:32:"ROLE_SONATA_ADMIN_PRODUCT_MASTER";i:24;s:30:"ROLE_SONATA_ADMIN_INVOICE_EDIT";i:25;s:30:"ROLE_SONATA_ADMIN_INVOICE_LIST";i:26;s:32:"ROLE_SONATA_ADMIN_INVOICE_CREATE";i:27;s:30:"ROLE_SONATA_ADMIN_INVOICE_VIEW";i:28;s:32:"ROLE_SONATA_ADMIN_INVOICE_DELETE";i:29;s:32:"ROLE_SONATA_ADMIN_INVOICE_EXPORT";i:30;s:34:"ROLE_SONATA_ADMIN_INVOICE_OPERATOR";i:31;s:32:"ROLE_SONATA_ADMIN_INVOICE_MASTER";i:32;s:12:"ROLE_MANAGER";}', 0, NULL, '2013-05-29 15:09:32', '2013-08-08 16:07:46', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL); INSERT INTO `fos_user_user` VALUES (13, 'valdi42', 'valdi42', 'crdist@bellsouth.net', 'crdist@bellsouth.net', 1, '9i1fz9qbc8gsk4wc0gg48kw880084g8', 'XEFE6a5PpqS7bDbLxx40meF2bYY0rucdSaxBp66ki2jUj4nLMf5uazvP/7+AAOELYGnqJevWNetgCQaJbHNvXw==', '2013-08-12 20:19:42', 0, 0, NULL, NULL, NULL, 'a:33:{i:0;s:31:"ROLE_SONATA_ADMIN_CATEGORY_EDIT";i:1;s:31:"ROLE_SONATA_ADMIN_CATEGORY_LIST";i:2;s:33:"ROLE_SONATA_ADMIN_CATEGORY_CREATE";i:3;s:31:"ROLE_SONATA_ADMIN_CATEGORY_VIEW";i:4;s:33:"ROLE_SONATA_ADMIN_CATEGORY_DELETE";i:5;s:33:"ROLE_SONATA_ADMIN_CATEGORY_EXPORT";i:6;s:35:"ROLE_SONATA_ADMIN_CATEGORY_OPERATOR";i:7;s:33:"ROLE_SONATA_ADMIN_CATEGORY_MASTER";i:8;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_EDIT";i:9;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_LIST";i:10;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_CREATE";i:11;s:30:"ROLE_SONATA_ADMIN_PEDIDOS_VIEW";i:12;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_DELETE";i:13;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_EXPORT";i:14;s:34:"ROLE_SONATA_ADMIN_PEDIDOS_OPERATOR";i:15;s:32:"ROLE_SONATA_ADMIN_PEDIDOS_MASTER";i:16;s:30:"ROLE_SONATA_ADMIN_PRODUCT_EDIT";i:17;s:30:"ROLE_SONATA_ADMIN_PRODUCT_LIST";i:18;s:32:"ROLE_SONATA_ADMIN_PRODUCT_CREATE";i:19;s:30:"ROLE_SONATA_ADMIN_PRODUCT_VIEW";i:20;s:32:"ROLE_SONATA_ADMIN_PRODUCT_DELETE";i:21;s:32:"ROLE_SONATA_ADMIN_PRODUCT_EXPORT";i:22;s:34:"ROLE_SONATA_ADMIN_PRODUCT_OPERATOR";i:23;s:32:"ROLE_SONATA_ADMIN_PRODUCT_MASTER";i:24;s:30:"ROLE_SONATA_ADMIN_INVOICE_EDIT";i:25;s:30:"ROLE_SONATA_ADMIN_INVOICE_LIST";i:26;s:32:"ROLE_SONATA_ADMIN_INVOICE_CREATE";i:27;s:30:"ROLE_SONATA_ADMIN_INVOICE_VIEW";i:28;s:32:"ROLE_SONATA_ADMIN_INVOICE_DELETE";i:29;s:32:"ROLE_SONATA_ADMIN_INVOICE_EXPORT";i:30;s:34:"ROLE_SONATA_ADMIN_INVOICE_OPERATOR";i:31;s:32:"ROLE_SONATA_ADMIN_INVOICE_MASTER";i:32;s:12:"ROLE_MANAGER";}', 0, NULL, '2013-05-29 15:10:47', '2013-08-12 20:19:42', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL); INSERT INTO `fos_user_user` VALUES (14, 'Homestead', 'homestead', 'casahomestead@bellsouth.net', 'casahomestead@bellsouth.net', 1, 'tdmxmz5oujkgokww048wsskc0ccosgw', '6LS71cRBgOLRd7fPCAWz1OrOwkYvf4vIRhnf5KzhuqLvj0vy7ji9Aeojc685KMT6s/yNIuTeKUrzsiEVrhnH1g==', '2013-08-12 19:35:37', 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, '2013-06-18 21:53:20', '2013-08-12 19:35:37', NULL, 'Homestead Store', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL); INSERT INTO `fos_user_user` VALUES (15, 'kendall', 'kendall', 'kendall@kendall.com', 'kendall@kendall.com', 1, 'khkbxuymwjk4os804c8c0ws04sgoowc', 'FddPtmXm8/Lgw/tLg+NHdSiTeikm/J1jYMdHfctSrRPEn423omXMiDn5RQwcbTL1Y0kx3s+eTNrP/tf0slh5Xw==', '2013-08-12 13:50:33', 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, '2013-07-02 03:24:42', '2013-08-12 13:50:33', NULL, 'Kendall Store', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL); INSERT INTO `fos_user_user` VALUES (16, 'coralreef', 'coralreef', 'coralreef@coralreef.com', 'coralreef@coralreef.com', 1, 'c0eff0869rcok4ww4c480kk48c8cgos', 'bZ0mj7XdtjQF1Em5iVltl17LoY378baDQ5oiyT9/Wc+Y0plF97L5q3s5au6LbwtwYJ1jXHbpRAeKDjfFQF4GXQ==', '2013-08-12 14:28:22', 0, 0, NULL, NULL, NULL, 'a:0:{}', 0, NULL, '2013-07-02 03:25:33', '2013-08-12 14:28:22', NULL, 'Coral Reef Store', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL, 'null', NULL, NULL); -- -- Volcar la base de datos para la tabla `fos_user_user_group` -- INSERT INTO `fos_user_user_group` VALUES (7, 1); INSERT INTO `fos_user_user_group` VALUES (11, 1); INSERT INTO `fos_user_user_group` VALUES (14, 1); INSERT INTO `fos_user_user_group` VALUES (15, 1); INSERT INTO `fos_user_user_group` VALUES (16, 1);
74.411861
1,940
0.613236
53ad92f00505fb0643197ba4984c50014f3bf1f1
413
java
Java
chapter_002/src/main/java/ru/job4j/tracker/Exit.java
AndreyVedishchev/job4j
e871e56f8c6a28d311dc24992bc86a97f859c839
[ "Apache-2.0" ]
null
null
null
chapter_002/src/main/java/ru/job4j/tracker/Exit.java
AndreyVedishchev/job4j
e871e56f8c6a28d311dc24992bc86a97f859c839
[ "Apache-2.0" ]
null
null
null
chapter_002/src/main/java/ru/job4j/tracker/Exit.java
AndreyVedishchev/job4j
e871e56f8c6a28d311dc24992bc86a97f859c839
[ "Apache-2.0" ]
null
null
null
package ru.job4j.tracker; public class Exit implements UserAction { private final StartUI ui; public Exit(StartUI ui) { this.ui = ui; } @Override public int key() { return 6; } @Override public void execute(Input input, Tracker tracker) { this.ui.stop(); } @Override public String info() { return "6 : Выход из программы."; } }
16.52
55
0.57385
2a14ccd10897a6aabd6da09ffd0545750c2d2327
1,332
java
Java
Bukkit/src/main/java/org/bukkit/block/data/type/Wall.java
abcd1234-byte/spigot2
9063d1d4aef89fac431921698bd00446a14d3cef
[ "MIT" ]
null
null
null
Bukkit/src/main/java/org/bukkit/block/data/type/Wall.java
abcd1234-byte/spigot2
9063d1d4aef89fac431921698bd00446a14d3cef
[ "MIT" ]
null
null
null
Bukkit/src/main/java/org/bukkit/block/data/type/Wall.java
abcd1234-byte/spigot2
9063d1d4aef89fac431921698bd00446a14d3cef
[ "MIT" ]
null
null
null
package org.bukkit.block.data.type; import org.bukkit.block.BlockFace; import org.bukkit.block.data.Waterlogged; import org.jetbrains.annotations.NotNull; /** * This class encompasses the 'north', 'east', 'south', 'west', height flags * which are used to set the height of a wall. * * 'up' denotes whether the well has a center post. */ public interface Wall extends Waterlogged { /** * Gets the value of the 'up' property. * * @return the 'up' value */ boolean isUp(); /** * Sets the value of the 'up' property. * * @param up the new 'up' value */ void setUp(boolean up); /** * Gets the height of the specified face. * * @param face to check * @return if face is enabled */ @NotNull Height getHeight(@NotNull BlockFace face); /** * Set the height of the specified face. * * @param face to set * @param height the height */ void setHeight(@NotNull BlockFace face, @NotNull Height height); /** * The different heights a face of a wall may have. */ public enum Height { /** * No wall present. */ NONE, /** * Low wall present. */ LOW, /** * Tall wall present. */ TALL; } }
20.8125
76
0.555556
04306f31f297dd3d746e8efe953fb557269cf990
5,155
kt
Kotlin
app/src/main/java/io/bumbumapps/radio/internetradioplayer/presentation/navigation/drawer/DrawerFragment.kt
bumbumapp/FMRadio
ffda84a5425123ba80af7fe3c41126dbcb85be8b
[ "Unlicense", "MIT" ]
null
null
null
app/src/main/java/io/bumbumapps/radio/internetradioplayer/presentation/navigation/drawer/DrawerFragment.kt
bumbumapp/FMRadio
ffda84a5425123ba80af7fe3c41126dbcb85be8b
[ "Unlicense", "MIT" ]
null
null
null
app/src/main/java/io/bumbumapps/radio/internetradioplayer/presentation/navigation/drawer/DrawerFragment.kt
bumbumapp/FMRadio
ffda84a5425123ba80af7fe3c41126dbcb85be8b
[ "Unlicense", "MIT" ]
null
null
null
package io.bumbumapps.radio.internetradioplayer.presentation.navigation.drawer import android.animation.ValueAnimator import android.content.Intent import android.view.MenuInflater import android.view.MenuItem import android.view.View import android.view.animation.DecelerateInterpolator import android.widget.PopupMenu import androidx.appcompat.widget.Toolbar import androidx.drawerlayout.widget.DrawerLayout import androidx.recyclerview.widget.LinearLayoutManager import io.bumbumapps.radio.internetradioplayer.R import io.bumbumapps.radio.internetradioplayer.di.Scopes import io.bumbumapps.radio.internetradioplayer.extensions.lock import io.bumbumapps.radio.internetradioplayer.extensions.visible import io.bumbumapps.radio.internetradioplayer.presentation.base.BaseFragment import io.bumbumapps.radio.internetradioplayer.presentation.navigation.Navigator import io.bumbumapps.radio.internetradioplayer.presentation.root.RootActivity import io.bumbumapps.radio.internetradioplayer.presentation.settings.SettingsActivity import kotlinx.android.synthetic.main.fragment_drawer.* import kotlinx.android.synthetic.main.view_toolbar.view.* import ru.terrakok.cicerone.NavigatorHolder import toothpick.Toothpick import javax.inject.Inject /** * Created by Vladimir Mikhalev 08.04.2019. */ class DrawerFragment : BaseFragment<DrawerPresenter, DrawerView>(), DrawerView { @Inject lateinit var navigatorHolder: NavigatorHolder private val navigator by lazy { Navigator(requireActivity(), R.id.rootContainer) } private lateinit var adapter: DrawerAdapter private lateinit var drawerLayout: DrawerLayout private lateinit var toolbar: Toolbar // private lateinit var toggle: ActionBarDrawerToggle private var isHomeAsUp = false override val layout = R.layout.fragment_drawer override fun providePresenter(): DrawerPresenter { Toothpick.inject(this, Scopes.rootActivity) return Scopes.rootActivity.getInstance(DrawerPresenter::class.java) } override fun setupView(view: View) { setupMenu() } override fun onStart() { navigatorHolder.setNavigator(navigator) navigator.navigationIdListener = { adapter.selectItem(it) showDirectory(it == R.id.nav_search) setHomeAsUp(it == R.id.nav_settings || it == R.id.nav_equalizer) (requireActivity() as RootActivity).presenter .checkPlayerVisibility(isPlayerEnabled = it != R.id.nav_settings) } super.onStart() } fun setUpPopubmenu(){ toolbar.directoryLogoIv.setOnClickListener { val popupMenu:PopupMenu= PopupMenu(requireContext(),toolbar.directoryLogoIv) popupMenu.menuInflater.inflate(R.menu.settings_menu,popupMenu.menu) popupMenu.setOnMenuItemClickListener(PopupMenu.OnMenuItemClickListener {menuItem -> startActivity(Intent(context,SettingsActivity::class.java)) true }) popupMenu.show() } } override fun onStop() { navigator.navigationIdListener = null navigatorHolder.removeNavigator() super.onStop() } fun init(drawerLayout: DrawerLayout, toolbar: Toolbar) { this.drawerLayout = drawerLayout this.toolbar = toolbar //setupToggle() } private fun setupMenu() { val menu = PopupMenu(requireContext(), null).menu MenuInflater(requireContext()).inflate(R.menu.menu_drawer, menu) adapter = DrawerAdapter(menu) drawerRv.adapter = adapter drawerRv.layoutManager = LinearLayoutManager(requireContext()) drawerRv.addItemDecoration(DrawerItemDecoration(requireContext())) adapter.onItemSelectedListener = { navigateTo(it) } } // private fun setupToggle() { // toggle = ActionBarDrawerToggle(requireActivity(), drawerLayout, toolbar, R.string.desc_open_drawer, // R.string.desc_close_drawer) // drawerLayout.addDrawerListener(toggle) // toggle.syncState() // toggle.setToolbarNavigationClickListener { requireActivity().onBackPressed() } // } private fun navigateTo(item: MenuItem) { drawerLayout.closeDrawers() presenter.navigateTo(item) } private fun showDirectory(show: Boolean) { toolbar.directoryLogoIv.visible(show) } private fun setHomeAsUp(homeAsUp: Boolean) { if (isHomeAsUp == homeAsUp) return isHomeAsUp = homeAsUp drawerLayout.lock(isHomeAsUp) val anim = if (isHomeAsUp) ValueAnimator.ofFloat(0f, 1f) else ValueAnimator.ofFloat(1f, 0f) // anim.addUpdateListener { valueAnimator -> // toggle.onDrawerSlide(drawerLayout, valueAnimator.animatedValue as Float) // } anim.interpolator = DecelerateInterpolator() anim.duration = 400 // if (isHomeAsUp) { // Handler().postDelayed({ toggle.isDrawerIndicatorEnabled = false }, 400) // } //else { // toggle.isDrawerIndicatorEnabled = true // toggle.onDrawerSlide(drawerLayout, 1f) // } anim.start() } }
37.904412
109
0.713482
cdd74245621ceda798a54546873e55936790c06b
274
kt
Kotlin
app/src/main/java/com/wifiheatmap/wifiheatmap/room/Network.kt
wifiheatmap/wifiheatmap
5c6d8241dbe8c0c90b313e62cf55ace9b66bb5fb
[ "MIT" ]
null
null
null
app/src/main/java/com/wifiheatmap/wifiheatmap/room/Network.kt
wifiheatmap/wifiheatmap
5c6d8241dbe8c0c90b313e62cf55ace9b66bb5fb
[ "MIT" ]
35
2019-11-21T16:36:44.000Z
2019-12-17T21:02:09.000Z
app/src/main/java/com/wifiheatmap/wifiheatmap/room/Network.kt
wifiheatmap/wifiheatmap
5c6d8241dbe8c0c90b313e62cf55ace9b66bb5fb
[ "MIT" ]
null
null
null
package com.wifiheatmap.wifiheatmap.room import androidx.room.ColumnInfo import androidx.room.Entity import androidx.room.PrimaryKey @Entity() data class Network ( @PrimaryKey() val ssid: String, @ColumnInfo(name = "blacklisted") val blacklisted: Boolean )
21.076923
40
0.755474
c226224ba542804dbfff74591ffdb46b13a9a143
673
ps1
PowerShell
sync_folders.ps1
bounoki/ps1_sync_folders
13c9aebb5ce1f4ec9599734ec7af171320345dd7
[ "MIT" ]
null
null
null
sync_folders.ps1
bounoki/ps1_sync_folders
13c9aebb5ce1f4ec9599734ec7af171320345dd7
[ "MIT" ]
null
null
null
sync_folders.ps1
bounoki/ps1_sync_folders
13c9aebb5ce1f4ec9599734ec7af171320345dd7
[ "MIT" ]
null
null
null
$DebugPreference = "Continue" $VerbosePreference = "Continue" $InformationPreference ="Continue" $base_name = (Split-Path -Parent $PSCommandPath) . (Join-Path $base_name "sync.ps1") $log_dir_name = (Join-Path $base_name "logs") # robocopyする対象 $sync_list = @( @{From = "F:\bounoki"; To = "T:\bounoki"} # @{From = "F:\SkyDrive"; To = "T:\OneDrive"} ) # ログフォルダーなかったら作っておく if (-not (Test-Path $log_dir_name)) { Write-Verbose "log dir not found. Now create it." New-Item -ItemType Directory $log_dir_name -Confirm } else { Write-Verbose "logs dir exists." } # 実行 Measure-Command { Sync-Parallel $sync_list $log_dir_name }
24.035714
56
0.650817
161a88904e4d72cc9d6c55740b41c3babcf17efe
634
ts
TypeScript
src/utils/auth.ts
hongkiulam/vanguard-scraper
d3d8cf80213d5b1f4dfd5afed3627dc15766686b
[ "MIT" ]
null
null
null
src/utils/auth.ts
hongkiulam/vanguard-scraper
d3d8cf80213d5b1f4dfd5afed3627dc15766686b
[ "MIT" ]
null
null
null
src/utils/auth.ts
hongkiulam/vanguard-scraper
d3d8cf80213d5b1f4dfd5afed3627dc15766686b
[ "MIT" ]
null
null
null
import expressBasicAuth from "express-basic-auth"; import axios from "axios"; export const authorizer = ( username: string, password: string, authoriser: expressBasicAuth.AsyncAuthorizerCallback ) => { // authenticate against vanguard login api axios .post( "https://secure.vanguardinvestor.co.uk/en-GB/Api/Session/Login/Post", { request: { username, password } } ) .then((response) => { const loginResponse = response.data; if (loginResponse?.Result.NavigateTo === null) { return authoriser(null, false); } else { return authoriser(null, true); } }); };
26.416667
75
0.648265
fe9e3ff1840e154f6dc788d8411c56ea091e2d5e
1,836
swift
Swift
NewsHub/NewsSourceCell.swift
WatashiJ/NewsHub-iOS
0a4e6a0b5b5e58fd30b394feb8e58be1ec24f2c3
[ "Apache-2.0" ]
1
2016-07-29T12:34:08.000Z
2016-07-29T12:34:08.000Z
NewsHub/NewsSourceCell.swift
YaxinCheng/NewsHub-iOS
0a4e6a0b5b5e58fd30b394feb8e58be1ec24f2c3
[ "Apache-2.0" ]
null
null
null
NewsHub/NewsSourceCell.swift
YaxinCheng/NewsHub-iOS
0a4e6a0b5b5e58fd30b394feb8e58be1ec24f2c3
[ "Apache-2.0" ]
null
null
null
// // NewsSourceCell.swift // NewsHub // // Created by Yaxin Cheng on 2016-07-08. // Copyright © 2016 Yaxin Cheng. All rights reserved. // import UIKit class NewsSourceCell: UITableViewCell { @IBOutlet weak var collectionView: UICollectionView! weak var delegate: NewsViewDelegate? } extension NewsSourceCell: UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout { func numberOfSections(in collectionView: UICollectionView) -> Int { return 1 } func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int { return NewsSource.available.count } func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { if let cell = collectionView.dequeueReusableCell(withReuseIdentifier: Common.sourceCollectionCellIdentifier, for: indexPath) as? NewsSourceContentCell { cell.imageView.image = NewsSource.available[(indexPath as NSIndexPath).row].logo return cell } return UICollectionViewCell() } func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize { return CGSize(width: 231, height: 119) } func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, minimumLineSpacingForSectionAt section: Int) -> CGFloat { return 0 } func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, insetForSectionAt section: Int) -> UIEdgeInsets { return UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 0) } func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { delegate?.showCategoryView(at: (indexPath as NSIndexPath).row) } }
36
167
0.793028
70a3368a3d3a1cc801e184f54d8355c44725fd10
663
ps1
PowerShell
Tests/VTStylizer.Tests.ps1
SupernautFX/PowerShell.VTStylizer
1e5721f00ef13e5531bdf15253f23e982a2abcae
[ "Apache-2.0" ]
null
null
null
Tests/VTStylizer.Tests.ps1
SupernautFX/PowerShell.VTStylizer
1e5721f00ef13e5531bdf15253f23e982a2abcae
[ "Apache-2.0" ]
null
null
null
Tests/VTStylizer.Tests.ps1
SupernautFX/PowerShell.VTStylizer
1e5721f00ef13e5531bdf15253f23e982a2abcae
[ "Apache-2.0" ]
null
null
null
. $PSScriptRoot\_InitializeTests.ps1 Describe 'Module Manifest Tests' { It 'Passes Test-ModuleManifest' { Test-ModuleManifest -Path $Global:ModuleManifestPath | Should Not BeNullOrEmpty $? | Should Be $true } } Describe 'PSScriptAnalyzer Rules' -Tag 'Meta' { $analysis = Invoke-ScriptAnalyzer -Path $ProjectRoot -Recurse $scriptAnalyzerRules = Get-ScriptAnalyzerRule forEach ($rule in $scriptAnalyzerRules) { It "Should pass $rule" { If (($analysis) -and ($analysis.RuleName -contains $rule)) { $analysis | Where-Object RuleName -EQ $rule -OutVariable failures | Out-Default $failures.Count | Should Be 0 } } } }
28.826087
87
0.698341
90e87ba348531991a5a560eb8ab725c3bf5647d8
7,990
py
Python
analysis/stats.py
BAFurtado/PolicySpace2
d9a450e47651885ed103d3217dbedec484456d07
[ "MIT" ]
10
2020-03-12T23:18:44.000Z
2022-03-29T16:05:38.000Z
analysis/stats.py
BAFurtado/PolicySpace2
d9a450e47651885ed103d3217dbedec484456d07
[ "MIT" ]
null
null
null
analysis/stats.py
BAFurtado/PolicySpace2
d9a450e47651885ed103d3217dbedec484456d07
[ "MIT" ]
3
2021-05-14T12:42:45.000Z
2021-11-03T13:59:35.000Z
import conf import logging import numpy as np from collections import defaultdict logger = logging.getLogger('stats') if conf.RUN['PRINT_STATISTICS_AND_RESULTS_DURING_PROCESS']: logger.setLevel(logging.INFO) else: logger.setLevel(logging.ERROR) class Statistics(object): """ The statistics class is just a bundle of functions together without a permanent instance of data. Thus, every time it is called Statistics() it is initiated anew. The functions include average price of the firms, regional GDP - based on FIRMS' revenues, GDP per capita, unemployment, families' wealth, GINI, regional GINI and commuting information. """ def __init__(self): self.previous_month_price = 0 self.global_unemployment_rate = .05 def update_price(self, firms): """Compute average price and inflation""" dummy_average_price = 0 dummy_num_products = 0 for firm in firms: for key in list(firms[firm].inventory.keys()): if firms[firm].inventory[key].quantity == 0 or firms[firm].num_employees == 0: break dummy_average_price += firms[firm].inventory[key].price dummy_num_products += 1 if dummy_average_price == 0 or dummy_num_products == 0: average_price = 0 else: average_price = dummy_average_price / dummy_num_products # Use saved price to calculate inflation if self.previous_month_price != 0: inflation = (average_price - self.previous_month_price) / self.previous_month_price else: inflation = 0 logger.info('Price average: %.3f, Monthly inflation: %.3f' % (average_price, inflation)) # Save current prices to be used next month self.previous_month_price = average_price return average_price, inflation def calculate_region_GDP(self, firms, region): """GDP based on FIRMS' revenues""" # Added value for all firms in a given period region_GDP = np.sum([firms[firm].revenue for firm in firms.keys() if firms[firm].region_id == region.id]) region.gdp = region_GDP return region_GDP def calculate_avg_regional_house_price(self, regional_families): return np.average([f.house.price for f in regional_families if f.num_members > 0]) def calculate_house_vacancy(self, houses, log=True): vacants = np.sum([1 for h in houses if houses[h].family_id is None]) num_houses = len(houses) if log: logger.info(f'Vacant houses {vacants:,.0f}') logger.info(f'Total houses {num_houses:,.0f}') return vacants / num_houses def calculate_house_price(self, houses): return np.average([h.price for h in houses.values()]) def calculate_rent_price(self, houses): return np.average([h.rent_data[0] for h in houses.values() if h.rent_data is not None]) def calculate_affordable_rent(self, families): affordable = np.sum([1 if family.is_renting and family.get_permanent_income() != 0 and (family.house.rent_data[0] / family.get_permanent_income()) < .3 else 0 for family in families.values()]) renting = np.sum([family.is_renting for family in families.values()]) return affordable / renting def update_GDP_capita(self, firms, mun_id, mun_pop): dummy_gdp = np.sum([firms[firm].revenue for firm in firms.keys() if firms[firm].region_id[:7] == mun_id]) if mun_pop > 0: dummy_gdp_capita = dummy_gdp / mun_pop else: dummy_gdp_capita = dummy_gdp return dummy_gdp_capita def update_unemployment(self, agents, global_u=False): employable = [m for m in agents if 16 < m.age < 70] temp = len([m for m in employable if m.firm_id is None])/len(employable) if employable else 0 logger.info(f'Unemployment rate: {temp * 100:.2f}') if global_u: self.global_unemployment_rate = temp return temp def calculate_average_workers(self, firms): dummy_avg_workers = np.sum([firms[firm].num_employees for firm in firms.keys()]) return dummy_avg_workers / len(firms) # Calculate wealth: families, firms and profits def calculate_families_median_wealth(self, families): return np.median([family.get_permanent_income() for family in families.values()]) def calculate_families_wealth(self, families): dummy_wealth = np.sum([families[family].get_permanent_income() for family in families.keys()]) dummy_savings = np.sum([families[family].savings for family in families.keys()]) return dummy_wealth, dummy_savings def calculate_rent_default(self, families): return np.sum([1 for family in families.values() if family.rent_default == 1 and family.is_renting]) / \ np.sum([1 for family in families.values() if family.is_renting]) def calculate_firms_wealth(self, firms): return np.sum([firms[firm].total_balance for firm in firms.keys()]) def calculate_firms_median_wealth(self, firms): return np.median([firms[firm].total_balance for firm in firms.keys()]) def zero_consumption(self, families): return np.sum([1 for family in families.values() if family.average_utility == 0]) / len(families) def calculate_firms_profit(self, firms): return np.sum([firms[firm].profit for firm in firms.keys()]) # Calculate inequality (GINI) def calculate_utility(self, families): return np.average([families[family].average_utility for family in families.keys() if families[family].num_members > 0]) def calculate_GINI(self, families): family_data = [families[family].get_permanent_income() for family in families.keys()] # Sort smallest to largest cumm = np.sort(family_data) # Values cannot be 0 cumm += .0000001 # Find cumulative totals n = cumm.shape[0] index = np.arange(1, n + 1) gini = ((np.sum((2 * index - n - 1) * cumm)) / (n * np.sum(cumm))) logger.info(f'GINI: {gini:.3f}') return gini def calculate_regional_GINI(self, families): family_data = [family.get_permanent_income() for family in families] # Sort smallest to largest cumm = np.sort(family_data) # Values cannot be 0 cumm += .0000001 # Find cumulative totals n = cumm.shape[0] index = np.arange(1, n + 1) if n == 0: return 0 gini = ((np.sum((2 * index - n - 1) * cumm)) / (n * np.sum(cumm))) return gini def update_commuting(self, families): """Total commuting distance""" dummy_total = 0. for family in families: for member in family.members.values(): if member.is_employed: dummy_total += member.distance return dummy_total def average_qli(self, regions): # group by municipality mun_regions = defaultdict(list) for id, region in regions.items(): mun_code = id[:7] mun_regions[mun_code].append(region.index) average = 0 for indices in mun_regions.values(): mun_qli = sum(indices)/len(indices) average += mun_qli return average / len(mun_regions) def sum_region_gdp(self, firms, regions): gdp = 0 _gdp = 0 for region in regions.values(): _gdp += region.gdp region_gdp = self.calculate_region_GDP(firms, region) gdp += region_gdp if gdp == 0: gdp_growth = 1 else: gdp_growth = ((gdp - _gdp)/gdp) * 100 logger.info('GDP index variation: {:.2f}%'.format(gdp_growth)) return gdp, gdp_growth
40.353535
112
0.630413
8074fe839aa804676095041f11f4d6dcf264cc87
1,924
java
Java
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/profile/RestGetProfileAction.java
diwasjoshi/elasticsearch
58ce0f94a0bbdf2576e0a00a62abe1854ee7fe2f
[ "Apache-2.0" ]
null
null
null
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/profile/RestGetProfileAction.java
diwasjoshi/elasticsearch
58ce0f94a0bbdf2576e0a00a62abe1854ee7fe2f
[ "Apache-2.0" ]
null
null
null
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/profile/RestGetProfileAction.java
diwasjoshi/elasticsearch
58ce0f94a0bbdf2576e0a00a62abe1854ee7fe2f
[ "Apache-2.0" ]
null
null
null
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.security.rest.action.profile; import org.elasticsearch.client.internal.node.NodeClient; import org.elasticsearch.common.Strings; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.license.XPackLicenseState; import org.elasticsearch.rest.RestRequest; import org.elasticsearch.rest.action.RestStatusToXContentListener; import org.elasticsearch.xpack.core.security.action.profile.GetProfileAction; import org.elasticsearch.xpack.core.security.action.profile.GetProfileRequest; import org.elasticsearch.xpack.security.rest.action.SecurityBaseRestHandler; import java.io.IOException; import java.util.List; import java.util.Set; import static org.elasticsearch.rest.RestRequest.Method.GET; public class RestGetProfileAction extends SecurityBaseRestHandler { public RestGetProfileAction(Settings settings, XPackLicenseState licenseState) { super(settings, licenseState); } @Override public List<Route> routes() { return List.of(new Route(GET, "/_security/profile/{uid}")); } @Override public String getName() { return "xpack_security_get_profile"; } @Override protected RestChannelConsumer innerPrepareRequest(RestRequest request, NodeClient client) throws IOException { final String uid = request.param("uid"); final Set<String> dataKeys = Strings.tokenizeByCommaToSet(request.param("data", null)); final GetProfileRequest getProfileRequest = new GetProfileRequest(uid, dataKeys); return channel -> client.execute(GetProfileAction.INSTANCE, getProfileRequest, new RestStatusToXContentListener<>(channel)); } }
38.48
132
0.777027
dc0bb9903644fa8fc5b9ca5917d00a067eb896dd
6,112
py
Python
NetInfoImport.py
stnie/FrontDetection
742ebf9619dcde40d42891073739945a05631ea3
[ "MIT" ]
null
null
null
NetInfoImport.py
stnie/FrontDetection
742ebf9619dcde40d42891073739945a05631ea3
[ "MIT" ]
null
null
null
NetInfoImport.py
stnie/FrontDetection
742ebf9619dcde40d42891073739945a05631ea3
[ "MIT" ]
1
2022-01-17T04:58:10.000Z
2022-01-17T04:58:10.000Z
import os import numpy as np def getParamsFromInfo(folder): infoFiles = ["criterion", "test_criterion", "test_loader", "train_loader", "opimizer", "test_data_set", "train_data_set", "weight"] for idx, f in enumerate(infoFiles): infoFiles[i] = os.path.join(folder, f+"_info.txt") criterion = getCriterionFromInfo(infoFiles[0]) test_criterion = getCriterionFromInfo(infoFiles[1]) test_loader = getLoaderFromInfo(infoFiles[2]) train_loader = getLoaderFromInfo(infoFiles[3]) optimizer = getOptimizerFromInfo(infoFiles[4]) test_data_set = getDataSetFromInfo(infoFiles[5]) train_data_set = getDataSetFromInfo(infoFiles[6]) weight = getWeightFromInfo(infoFiles[7]) def getVariablesFromDataSetInfo(filename): variables = [] with open(filename, "r") as f: for line in f: if("variables" in line): parts = line.split("variables") parts2 = parts[1].split("[")[1].split("]")[0].split(",") for var in parts2: var = var.strip()[1:-1] variables.append(var) return variables def getNormTypeFromDataSetInfo(filename): with open(filename, "r") as f: for line in f: if("normalize_type" in line): parts = line.split("normalize_type") parts2 = parts[1].split(":")[1].split(",")[0] return parts2 def getLevelRangeFromDataSetInfo(filename): levelrange = [] with open(filename, "r") as f: for line in f: if("levelrange" in line): parts = line.split("levelrange") parts2 = parts[1].split("[")[1].split("]")[0].split(",") for var in parts2: var = var.strip() levelrange.append(int(var)) return np.array(levelrange) def getDataSetInformationFromInfo(filename): dataInfo = dict() with open(filename, "r") as f: datasetType = f.readline() print(datasetType) for line in f: parts = line.split(" :: ") try: key,datatype,value,end = parts[0], parts[1], parts[2:-1], parts[-1] dataInfo[key] = formatValue(datatype, value) except: print("wrongly formatted line. Potentially a multiline object") return dataInfo def formatValue(datatype, valueString): if(isinstance(valueString, list)): valueString = ' :: '.join(valueString) valueString = valueString.strip() datatype = datatype.strip() # handle basic datatypes if(datatype == 'str'): valueString = valueString.strip("'") valueString = valueString.strip() return valueString elif(datatype == 'int'): return int(valueString) elif(datatype == 'float'): return float(valueString) # handle more complex basic datatypes (lists, tuples, dictionaries) else: typeparts = datatype.split("(") if(len(typeparts) <= 1): print("Wrong format, exiting now") return "NonenoN" elif(len(typeparts) == 2): nested = False else: nested = True if(nested == False): if(typeparts[0] == "list"): values = valueString[1:-1].split(',') types = typeparts[1][:-1] return [formatValue(types, value) for value in values] elif(typeparts[0] == "tuple"): values = valueString[1:-1].split(',') types = typeparts[1][:-1].split(',') return tuple([formatValue(types[idx], value) for idx,value in enumerate(values)]) elif(typeparts[0] == "dict"): entries = valueString[1:-1].split(',') keys, values = list(zip([entry.split(':') for entry in entries])) keytype,valuetype = typeparts[1][:-1].split(': ') return {formatValue(keytype, keys[idx]): formatValue(valuetype, values[idx]) for idx in range(len(keys))} else: print("unknown Type encountered, line will be ignored") else: # a list nested with other complex types if(typeparts[0] == "list"): values = getValueListFromNested(valueString[1:-1]) # get the inner type types = "(".join(typeparts[1:])[:-1] return [formatValue(types, value) for value in values] # a tuple nested with other complex types elif(typeparts[0] == "tuple"): values = getValueListFromNested(valueString[1:-1]) typeList = "(".join(typeparts[1:])[:-1] types = getValueListFromNested(typeList) return tuple([formatValue(types[idx], value) for idx,value in enumerate(values)]) # a dict nested with other complex types as values elif(typeparts[0] == "dict"): entries = getValueListFromNested(valueString[1:-1]) print(entries) keys, values = list(zip(*[entry.split(': ') for entry in entries])) types = "(".join(typeparts[1:])[:-1] typeParts = types.split(': ') keytype = typeParts[0] valuetype = ":".join(typeParts[1:]) print(keytype, valuetype) print(values) return {formatValue(keytype, keys[idx]): formatValue(valuetype, values[idx]) for idx in range(len(keys))} else: print("unknown Type encountered, line will be ignored") return "NonenoN" def getValueListFromNested(valueString): AllLevelValues = valueString.split(',') values = [] level = 0 for value in AllLevelValues: if(level == 0): values.append(value) elif(level > 0): values[-1] += ","+value level+=value.count("(")+value.count("{")+value.count("[") level-=value.count(")")+value.count("}")+value.count("]") return values #getVariablesFromDataSetInfo(sys.argv[1])
38.929936
135
0.559555
2286228452326b3e61f1d04cd0fdb106957ab1f7
4,285
html
HTML
records-catalog-design/page_front.html
kbrubaker59/kbrubaker59.github.io
f3309cf94c5ec0ef8f2c14d2bbbe0ca2f02671ee
[ "MIT" ]
null
null
null
records-catalog-design/page_front.html
kbrubaker59/kbrubaker59.github.io
f3309cf94c5ec0ef8f2c14d2bbbe0ca2f02671ee
[ "MIT" ]
null
null
null
records-catalog-design/page_front.html
kbrubaker59/kbrubaker59.github.io
f3309cf94c5ec0ef8f2c14d2bbbe0ca2f02671ee
[ "MIT" ]
null
null
null
<!DOCTYPE HTML> <!--[if IE 7 ]> <html class="no-js ie ie7 lte7 lte8 lte9" lang="en-US"> <![endif]--> <!--[if IE 8 ]> <html class="no-js ie ie8 lte8 lte9" lang="en-US"> <![endif]--> <!--[if IE 9 ]> <html class="no-js ie ie9 lte9>" lang="en-US"> <![endif]--> <!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="en-US"> <!--<![endif]--> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="author" content="AUTHOR NAME"> <meta name="description" content="DESCRIPTION"> <meta name="viewport" content="width=device-width"> <title>SITE TITLE</title> <link rel="stylesheet" href="normalize.css"> <link rel="stylesheet" href="style.css"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <!--<script src="scripts/base/modernizr.custom.basic.js"></script>--> </head> <body> <div class="wrapper" id="wrapper-header"> <div class="container" id="container-header"> <!-- LARGE 1 COLUMN --> <div class="large_col"> <div class="box1 headline"> <h1>My Very Own Pretentious and Wildly Unimportant</h1> <h2>RECORD COLLECTION</h2> </div> </div> </div> </div> <div class="wrapper" id="wrapper-post-info"> <div class="container main"> <!-- LARGE 1 COLUMN --> <div class="large_col"> <span class="artist">The Flaming Lips</span> / <span class="record">Yoshimi Battles the Pink Robots</span> <div class="box3"> <span class="thoughts"><strong>Everything you need to know ...</strong></span> </div> </div> <!-- LARGE 1 COLUMN --> </div> <div class="container main"> <!-- LARGE 1 COLUMN --> <div class="large_col"> <span class="artist">The Flaming Lips</span> / <span class="record">Yoshimi Battles the Pink Robots</span> <div class="box3"> <span class="thoughts"><strong>Everything you need to know ...</strong></span> </div> </div> <!-- LARGE 1 COLUMN --> </div> <div class="container main"> <!-- LARGE 1 COLUMN --> <div class="large_col"> <span class="artist">The Flaming Lips</span> / <span class="record">Yoshimi Battles the Pink Robots</span> <div class="box3"> <span class="thoughts"><strong>Everything you need to know ...</strong></span> </div> </div> <!-- LARGE 1 COLUMN --> </div> <div class="container main"> <!-- LARGE 1 COLUMN --> <div class="large_col"> <span class="artist">The Flaming Lips</span> / <span class="record">Yoshimi Battles the Pink Robots</span> <div class="box3"> <span class="thoughts"><strong>Everything you need to know ...</strong></span> </div> </div> <!-- LARGE 1 COLUMN --> </div> <div class="container main"> <!-- LARGE 1 COLUMN --> <div class="large_col"> <span class="artist">The Flaming Lips</span> / <span class="record">Yoshimi Battles the Pink Robots</span> <div class="box3"> <span class="thoughts"><strong>Everything you need to know ...</strong></span> </div> </div> <!-- LARGE 1 COLUMN --> </div> <div class="container main"> <!-- LARGE 1 COLUMN --> <div class="large_col"> <span class="artist">The Flaming Lips</span> / <span class="record">Yoshimi Battles the Pink Robots</span> <div class="box3"> <span class="thoughts"><strong>Everything you need to know ...</strong></span> </div> </div> <!-- LARGE 1 COLUMN --> </div> </div> <div class="clr">&nbsp;</div> <div class="clr">&nbsp;</div> <div class="clr">&nbsp;</div> <footer> <div class="container" id="container-footer"> <!-- LARGE 1 COLUMN --> <div class="large_col"> <h3><a href="#">REVOLUTIONS</a></h3> <nav> <a href="#">Pre-Beatles Psychedelia</a><a href="#">Post-Beatles Psychedelia</a><a href="#">Punk</a><a href="#">Post-Punk</a><a href="#">Alternative</a><a href="#">Post-Boy Band</a> </nav> </div> <!-- LARGE 1 COLUMN --> </div> </footer> </body> </html>
30.827338
196
0.554959
06ba85ca6db9f2e5f6650ec87b4fb19edda555b2
215
cpp
C++
io/port_base.cpp
dalbeenet/vee3.0
0a78b5087be62c88aba77de1804eb9e2477164ed
[ "MIT" ]
2
2016-05-03T16:20:13.000Z
2016-08-17T07:44:00.000Z
io/port_base.cpp
dalbeenet/vee3.0
0a78b5087be62c88aba77de1804eb9e2477164ed
[ "MIT" ]
null
null
null
io/port_base.cpp
dalbeenet/vee3.0
0a78b5087be62c88aba77de1804eb9e2477164ed
[ "MIT" ]
null
null
null
#include <vee/io/port_base.h> namespace vee { namespace io { FILE* base_in = stdin; FILE* base_out = stdout; FILE* base_err = stderr; port_base::~port_base() noexcept { } } // !namespace io } // !namespace vee
12.647059
32
0.67907
c2706bb5d98579156c26786eadb478f303aa886b
593
sql
SQL
deployableItemDB.sql
abhijitjadeja/deployableItemsDB
b8fa81bdc9e37052df14502e6c66d3c0f9be7323
[ "MIT" ]
null
null
null
deployableItemDB.sql
abhijitjadeja/deployableItemsDB
b8fa81bdc9e37052df14502e6c66d3c0f9be7323
[ "MIT" ]
null
null
null
deployableItemDB.sql
abhijitjadeja/deployableItemsDB
b8fa81bdc9e37052df14502e6c66d3c0f9be7323
[ "MIT" ]
null
null
null
create table release(key varchar(26) primary key, name varchar(256) not null, description varchar(4000), release_date date, status char(1) not null default 'O'); create table deployment_item(id int primary key, name varchar(256) not null, description varchar(26) not null); create table item_version(id int primary key,item_key varchar(26), version varchar(256) not null, description varchar(4000), build_date timestamp not null,unique key(item_key,version)); create table deployment(id int primary key, version_id int not null, environment_key varchar(26) not null, release_key varchar(26));
118.6
185
0.795953
6ce58403c7d2db8e9b51b30327e552ee6e5e5369
2,989
go
Go
main.go
tansawit/aqi-daily-notify
a035666089de10e9e547f7be783599443bc7ddd5
[ "MIT" ]
null
null
null
main.go
tansawit/aqi-daily-notify
a035666089de10e9e547f7be783599443bc7ddd5
[ "MIT" ]
null
null
null
main.go
tansawit/aqi-daily-notify
a035666089de10e9e547f7be783599443bc7ddd5
[ "MIT" ]
null
null
null
package main import ( "encoding/json" "fmt" "net/http" "net/url" "strconv" "strings" "time" ) type airAQIResponse struct { Status string `json:"status"` Data struct { Aqi int `json:"aqi"` Idx int `json:"idx"` Attributions []struct { URL string `json:"url"` Name string `json:"name"` Logo string `json:"logo,omitempty"` } `json:"attributions"` City struct { Geo []float64 `json:"geo"` Name string `json:"name"` URL string `json:"url"` } `json:"city"` Dominentpol string `json:"dominentpol"` Iaqi struct { Co struct { V float64 `json:"v"` } `json:"co"` H struct { V int `json:"v"` } `json:"h"` No2 struct { V float64 `json:"v"` } `json:"no2"` O3 struct { V float64 `json:"v"` } `json:"o3"` P struct { V int `json:"v"` } `json:"p"` Pm10 struct { V int `json:"v"` } `json:"pm10"` Pm25 struct { V int `json:"v"` } `json:"pm25"` So2 struct { V float64 `json:"v"` } `json:"so2"` T struct { V float64 `json:"v"` } `json:"t"` W struct { V float64 `json:"v"` } `json:"w"` } `json:"iaqi"` Time struct { S string `json:"s"` Tz string `json:"tz"` V int `json:"v"` } `json:"time"` Debug struct { Sync time.Time `json:"sync"` } `json:"debug"` } `json:"data"` } type location struct { Name string `json:"name"` Lat float64 `json:"lat"` Long float64 `json:"long"` } func getAQI(lat float64, long float64) int { // Create client client := &http.Client{} // Create request req, err := http.NewRequest("GET", fmt.Sprintf("https://api.waqi.info/feed/geo:%f;%f/?token=c68f5c2d123625f3b476ae72b80601ab992fbdd0", lat, long), nil) if err != nil { panic(err) } parseFormErr := req.ParseForm() if parseFormErr != nil { fmt.Println(parseFormErr) } var AQIResponse airAQIResponse resp, err := client.Do(req) decoder := json.NewDecoder(resp.Body) err = decoder.Decode(&AQIResponse) if err != nil { panic(err) } return AQIResponse.Data.Iaqi.Pm25.V } func sendRequest(places []location) { apiURL := "https://notify-api.line.me/api/notify" data := url.Values{} message := "\nDaily AQI Update:" for _, loc := range places { message += fmt.Sprintf("\n- %s: %d", loc.Name, getAQI(loc.Lat, loc.Long)) } data.Set("message", message) u, _ := url.ParseRequestURI(apiURL) urlStr := u.String() client := &http.Client{} r, _ := http.NewRequest("POST", urlStr, strings.NewReader(data.Encode())) // URL-encoded payload r.Header.Add("Authorization", "Bearer xsx74pLcGF3OpPywOWflz9rJGyc8x94Y1iR8IQTE5SO") r.Header.Add("Content-Type", "application/x-www-form-urlencoded") r.Header.Add("Content-Length", strconv.Itoa(len(data.Encode()))) resp, _ := client.Do(r) fmt.Println(resp.Status) } func main() { var places = []location{location{"Condo", 13.722070, 100.534140}, location{"Work", 13.722590, 100.520400}, location{"Home", 13.794310, 100.397170}} sendRequest(places) }
23.170543
152
0.617598
943e3df8f45516eb55699d8ed588baee6f1e31c3
127
dart
Dart
example/graphql_builder_example.dart
Atiyeh-dot/graphql_builder
31fd3c1a3369c08d44e8ff14674d1dd4cf2ae0be
[ "MIT" ]
3
2021-10-06T19:43:10.000Z
2021-12-07T02:39:08.000Z
example/graphql_builder_example.dart
SahandAkbarzadeh/graphql_builder
ae6deff769dd52a5116ae432a34f75fe47a03c6f
[ "MIT" ]
null
null
null
example/graphql_builder_example.dart
SahandAkbarzadeh/graphql_builder
ae6deff769dd52a5116ae432a34f75fe47a03c6f
[ "MIT" ]
1
2021-11-02T15:56:33.000Z
2021-11-02T15:56:33.000Z
import 'package:graphql_builder/graphql_builder.dart'; main() { print(Document().add(Query().addSelection(Field("id")))); }
21.166667
59
0.716535
938aed0ae394717f8612b45ad05150d73ce1533e
51,791
swift
Swift
RealmSwift/Tests/MigrationTests.swift
explaineverything/realm-cocoa
f7b628c393b1eece9cf7e24d8120e4d7f7269acc
[ "Apache-2.0" ]
13,877
2015-01-02T02:30:33.000Z
2021-12-17T08:11:38.000Z
RealmSwift/Tests/MigrationTests.swift
explaineverything/realm-cocoa
f7b628c393b1eece9cf7e24d8120e4d7f7269acc
[ "Apache-2.0" ]
5,822
2015-01-01T01:23:39.000Z
2021-12-16T15:52:35.000Z
RealmSwift/Tests/MigrationTests.swift
explaineverything/realm-cocoa
f7b628c393b1eece9cf7e24d8120e4d7f7269acc
[ "Apache-2.0" ]
2,588
2015-01-01T08:39:57.000Z
2021-12-17T15:31:50.000Z
//////////////////////////////////////////////////////////////////////////// // // Copyright 2014 Realm Inc. // // 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. // //////////////////////////////////////////////////////////////////////////// import XCTest import RealmSwift import Realm import Realm.Dynamic import Foundation @discardableResult private func realmWithSingleClassProperties(_ fileURL: URL, className: String, properties: [AnyObject]) -> RLMRealm { let schema = RLMSchema() let objectSchema = RLMObjectSchema(className: className, objectClass: MigrationObject.self, properties: properties) schema.objectSchema = [objectSchema] let config = RLMRealmConfiguration() config.fileURL = fileURL config.customSchema = schema return try! RLMRealm(configuration: config) } private func dynamicRealm(_ fileURL: URL) -> RLMRealm { let config = RLMRealmConfiguration() config.fileURL = fileURL config.dynamic = true return try! RLMRealm(configuration: config) } class MigrationTests: TestCase { // MARK: Utility methods // create realm at path and test version is 0 private func createAndTestRealmAtURL(_ fileURL: URL) { autoreleasepool { _ = try! Realm(fileURL: fileURL) return } XCTAssertEqual(0, try! schemaVersionAtURL(fileURL), "Initial version should be 0") } // migrate realm at path and ensure migration private func migrateAndTestRealm(_ fileURL: URL, shouldRun: Bool = true, schemaVersion: UInt64 = 1, autoMigration: Bool = false, block: MigrationBlock? = nil) { var didRun = false let config = Realm.Configuration(fileURL: fileURL, schemaVersion: schemaVersion, migrationBlock: { migration, oldSchemaVersion in if let block = block { block(migration, oldSchemaVersion) } didRun = true return }) if autoMigration { autoreleasepool { _ = try! Realm(configuration: config) } } else { try! Realm.performMigration(for: config) } XCTAssertEqual(didRun, shouldRun) } private func migrateAndTestDefaultRealm(_ schemaVersion: UInt64 = 1, block: @escaping MigrationBlock) { migrateAndTestRealm(defaultRealmURL(), schemaVersion: schemaVersion, block: block) let config = Realm.Configuration(fileURL: defaultRealmURL(), schemaVersion: schemaVersion) Realm.Configuration.defaultConfiguration = config } // MARK: Test cases func testSetDefaultRealmSchemaVersion() { createAndTestRealmAtURL(defaultRealmURL()) var didRun = false let config = Realm.Configuration(fileURL: defaultRealmURL(), schemaVersion: 1, migrationBlock: { _, _ in didRun = true }) Realm.Configuration.defaultConfiguration = config try! Realm.performMigration() XCTAssertEqual(didRun, true) XCTAssertEqual(1, try! schemaVersionAtURL(defaultRealmURL())) } func testSetSchemaVersion() { createAndTestRealmAtURL(testRealmURL()) migrateAndTestRealm(testRealmURL()) XCTAssertEqual(1, try! schemaVersionAtURL(testRealmURL())) } func testSchemaVersionAtURL() { assertFails(.fail) { // Version should throw before Realm creation try schemaVersionAtURL(defaultRealmURL()) } _ = try! Realm() XCTAssertEqual(0, try! schemaVersionAtURL(defaultRealmURL()), "Initial version should be 0") do { _ = try schemaVersionAtURL(URL(fileURLWithPath: "/dev/null")) XCTFail("Expected .filePermissionDenied or .fileAccess, but no error was raised") } catch Realm.Error.filePermissionDenied { // Success! } catch Realm.Error.fileAccess { // Success! } catch { XCTFail("Expected .filePermissionDenied or .fileAccess, got \(error)") } } func testMigrateRealm() { createAndTestRealmAtURL(testRealmURL()) // manually migrate (autoMigration == false) migrateAndTestRealm(testRealmURL(), shouldRun: true, autoMigration: false) // calling again should be no-op migrateAndTestRealm(testRealmURL(), shouldRun: false, autoMigration: false) // test auto-migration migrateAndTestRealm(testRealmURL(), shouldRun: true, schemaVersion: 2, autoMigration: true) } func testMigrationProperties() { let prop = RLMProperty(name: "stringCol", type: RLMPropertyType.int, objectClassName: nil, linkOriginPropertyName: nil, indexed: false, optional: false) _ = autoreleasepool { realmWithSingleClassProperties(defaultRealmURL(), className: "SwiftStringObject", properties: [prop]) } migrateAndTestDefaultRealm { migration, _ in XCTAssertEqual(migration.oldSchema.objectSchema.count, 1) XCTAssertGreaterThan(migration.newSchema.objectSchema.count, 1) XCTAssertEqual(migration.oldSchema.objectSchema[0].properties.count, 1) XCTAssertEqual(migration.newSchema["SwiftStringObject"]!.properties.count, 1) XCTAssertEqual(migration.oldSchema["SwiftStringObject"]!.properties[0].type, PropertyType.int) XCTAssertEqual(migration.newSchema["SwiftStringObject"]!["stringCol"]!.type, PropertyType.string) } } func testEnumerate() { autoreleasepool { _ = try! Realm() } migrateAndTestDefaultRealm { migration, _ in migration.enumerateObjects(ofType: "SwiftStringObject", { _, _ in XCTFail("No objects to enumerate") }) migration.enumerateObjects(ofType: "NoSuchClass", { _, _ in }) // shouldn't throw } autoreleasepool { // add object try! Realm().write { try! Realm().create(SwiftStringObject.self, value: ["string"]) return } } migrateAndTestDefaultRealm(2) { migration, _ in var count = 0 migration.enumerateObjects(ofType: "SwiftStringObject", { oldObj, newObj in XCTAssertEqual(newObj!.objectSchema.className, "SwiftStringObject") XCTAssertEqual(oldObj!.objectSchema.className, "SwiftStringObject") XCTAssertEqual((newObj!["stringCol"] as! String), "string") XCTAssertEqual((oldObj!["stringCol"] as! String), "string") self.assertThrows(oldObj!["noSuchCol"] as! String) self.assertThrows(newObj!["noSuchCol"] as! String) count += 1 }) XCTAssertEqual(count, 1) } autoreleasepool { try! Realm().write { try! Realm().create(SwiftArrayPropertyObject.self, value: ["string", [["array"]], [[2]]]) try! Realm().create(SwiftMutableSetPropertyObject.self, value: ["string", [["set"]], [[2]]]) try! Realm().create(SwiftMapPropertyObject.self, value: ["string", ["key": ["value"]], [:]]) } } migrateAndTestDefaultRealm(3) { migration, _ in migration.enumerateObjects(ofType: "SwiftArrayPropertyObject") { oldObject, newObject in XCTAssertTrue(oldObject! as AnyObject is MigrationObject) XCTAssertTrue(newObject! as AnyObject is MigrationObject) XCTAssertTrue(oldObject!["array"]! is List<MigrationObject>) XCTAssertTrue(newObject!["array"]! is List<MigrationObject>) } migration.enumerateObjects(ofType: "SwiftMutableSetPropertyObject") { oldObject, newObject in XCTAssertTrue(oldObject! as AnyObject is MigrationObject) XCTAssertTrue(newObject! as AnyObject is MigrationObject) XCTAssertTrue(oldObject!["set"]! is MutableSet<MigrationObject>) XCTAssertTrue(newObject!["set"]! is MutableSet<MigrationObject>) } migration.enumerateObjects(ofType: "SwiftMapPropertyObject") { oldObject, newObject in XCTAssertTrue(oldObject! as AnyObject is MigrationObject) XCTAssertTrue(newObject! as AnyObject is MigrationObject) XCTAssertTrue(oldObject!["map"]! is Map<String, MigrationObject>) XCTAssertTrue(newObject!["map"]! is Map<String, MigrationObject>) } } } func testBasicTypesInEnumerate() { autoreleasepool { let realm = try! Realm() try! realm.write { realm.add(SwiftObject()) } } migrateAndTestDefaultRealm { migration, _ in migration.enumerateObjects(ofType: "SwiftObject") { oldObject, newObject in XCTAssertTrue(oldObject!.boolCol is Bool) XCTAssertTrue(newObject!.boolCol is Bool) XCTAssertTrue(oldObject!.intCol is Int) XCTAssertTrue(newObject!.intCol is Int) XCTAssertTrue(oldObject!.int8Col is Int) XCTAssertTrue(newObject!.int8Col is Int) XCTAssertTrue(oldObject!.int16Col is Int) XCTAssertTrue(newObject!.int16Col is Int) XCTAssertTrue(oldObject!.int32Col is Int) XCTAssertTrue(newObject!.int32Col is Int) XCTAssertTrue(oldObject!.int64Col is Int) XCTAssertTrue(newObject!.int64Col is Int) XCTAssertTrue(oldObject!.intEnumCol is Int) XCTAssertTrue(newObject!.intEnumCol is Int) XCTAssertTrue(oldObject!.floatCol is Float) XCTAssertTrue(newObject!.floatCol is Float) XCTAssertTrue(oldObject!.doubleCol is Double) XCTAssertTrue(newObject!.doubleCol is Double) XCTAssertTrue(oldObject!.stringCol is String) XCTAssertTrue(newObject!.stringCol is String) XCTAssertTrue(oldObject!.binaryCol is Data) XCTAssertTrue(newObject!.binaryCol is Data) XCTAssertTrue(oldObject!.dateCol is Date) XCTAssertTrue(newObject!.dateCol is Date) XCTAssertTrue(oldObject!.decimalCol is Decimal128) XCTAssertTrue(newObject!.decimalCol is Decimal128) XCTAssertTrue(oldObject!.objectIdCol is ObjectId) XCTAssertTrue(newObject!.objectIdCol is ObjectId) XCTAssertTrue(oldObject!.objectCol is DynamicObject) XCTAssertTrue(newObject!.objectCol is DynamicObject) XCTAssertTrue(oldObject!.uuidCol is UUID) XCTAssertTrue(newObject!.uuidCol is UUID) XCTAssertNil(oldObject!.anyCol) XCTAssertNil(newObject!.anyCol) } } } func testAnyInEnumerate() { autoreleasepool { let realm = try! Realm() try! realm.write { realm.add(SwiftObject()) } } var version = UInt64(1) func write(_ value: @autoclosure () -> AnyRealmValue, test: @escaping (Any?, Any?) -> Void) { autoreleasepool { let realm = try! Realm() try! realm.write { realm.objects(SwiftObject.self).first!.anyCol.value = value() } } migrateAndTestDefaultRealm(version) { migration, _ in migration.enumerateObjects(ofType: "SwiftObject") { oldObject, newObject in test(oldObject!.anyCol, newObject!.anyCol) } } version += 1 } write(.int(1)) { oldValue, newValue in XCTAssertTrue(oldValue is Int) XCTAssertTrue(newValue is Int) } write(.float(1)) { oldValue, newValue in XCTAssertTrue(oldValue is Float) XCTAssertTrue(newValue is Float) } write(.double(1)) { oldValue, newValue in XCTAssertTrue(oldValue is Double) XCTAssertTrue(newValue is Double) } write(.double(1)) { oldValue, newValue in XCTAssertTrue(oldValue is Double) XCTAssertTrue(newValue is Double) } write(.bool(true)) { oldValue, newValue in XCTAssertTrue(oldValue is Bool) XCTAssertTrue(newValue is Bool) } write(.string("")) { oldValue, newValue in XCTAssertTrue(oldValue is String) XCTAssertTrue(newValue is String) } write(.data(Data())) { oldValue, newValue in XCTAssertTrue(oldValue is Data) XCTAssertTrue(newValue is Data) } write(.date(Date())) { oldValue, newValue in XCTAssertTrue(oldValue is Date) XCTAssertTrue(newValue is Date) } write(.objectId(ObjectId())) { oldValue, newValue in XCTAssertTrue(oldValue is ObjectId) XCTAssertTrue(newValue is ObjectId) } write(.decimal128(Decimal128())) { oldValue, newValue in XCTAssertTrue(oldValue is Decimal128) XCTAssertTrue(newValue is Decimal128) } write(.uuid(UUID())) { oldValue, newValue in XCTAssertTrue(oldValue is UUID) XCTAssertTrue(newValue is UUID) } write(.object(SwiftIntObject())) { oldValue, newValue in XCTAssertTrue(oldValue! is DynamicObject) XCTAssertTrue(newValue! is DynamicObject) } } @available(*, deprecated) // Silence deprecation warnings for RealmOptional func testOptionalsInEnumerate() { autoreleasepool { let realm = try! Realm() try! realm.write { realm.add(SwiftOptionalObject()) } } migrateAndTestDefaultRealm { migration, _ in migration.enumerateObjects(ofType: "SwiftOptionalObject") { oldObject, newObject in XCTAssertTrue(oldObject! as AnyObject is MigrationObject) XCTAssertTrue(newObject! as AnyObject is MigrationObject) XCTAssertNil(oldObject!.optNSStringCol) XCTAssertNil(newObject!.optNSStringCol) XCTAssertNil(oldObject!.optStringCol) XCTAssertNil(newObject!.optStringCol) XCTAssertNil(oldObject!.optBinaryCol) XCTAssertNil(newObject!.optBinaryCol) XCTAssertNil(oldObject!.optDateCol) XCTAssertNil(newObject!.optDateCol) XCTAssertNil(oldObject!.optIntCol) XCTAssertNil(newObject!.optIntCol) XCTAssertNil(oldObject!.optInt8Col) XCTAssertNil(newObject!.optInt8Col) XCTAssertNil(oldObject!.optInt16Col) XCTAssertNil(newObject!.optInt16Col) XCTAssertNil(oldObject!.optInt32Col) XCTAssertNil(newObject!.optInt32Col) XCTAssertNil(oldObject!.optInt64Col) XCTAssertNil(newObject!.optInt64Col) XCTAssertNil(oldObject!.optFloatCol) XCTAssertNil(newObject!.optFloatCol) XCTAssertNil(oldObject!.optDoubleCol) XCTAssertNil(newObject!.optDoubleCol) XCTAssertNil(oldObject!.optBoolCol) XCTAssertNil(newObject!.optBoolCol) XCTAssertNil(oldObject!.optDecimalCol) XCTAssertNil(newObject!.optDecimalCol) XCTAssertNil(oldObject!.optObjectIdCol) XCTAssertNil(newObject!.optObjectIdCol) } } autoreleasepool { let realm = try! Realm() try! realm.write { let soo = realm.objects(SwiftOptionalObject.self).first! soo.optNSStringCol = "NSString" soo.optStringCol = "String" soo.optBinaryCol = Data() soo.optDateCol = Date() soo.optIntCol.value = 1 soo.optInt8Col.value = 2 soo.optInt16Col.value = 3 soo.optInt32Col.value = 4 soo.optInt64Col.value = 5 soo.optFloatCol.value = 6.1 soo.optDoubleCol.value = 7.2 soo.optDecimalCol = 8.3 soo.optObjectIdCol = ObjectId("1234567890bc1234567890bc") soo.optBoolCol.value = true } } migrateAndTestDefaultRealm(2) { migration, _ in migration.enumerateObjects(ofType: "SwiftOptionalObject") { oldObject, newObject in XCTAssertTrue(oldObject! as AnyObject is MigrationObject) XCTAssertTrue(newObject! as AnyObject is MigrationObject) XCTAssertTrue(oldObject!.optNSStringCol! is NSString) XCTAssertTrue(newObject!.optNSStringCol! is NSString) XCTAssertTrue(oldObject!.optStringCol! is String) XCTAssertTrue(newObject!.optStringCol! is String) XCTAssertTrue(oldObject!.optBinaryCol! is Data) XCTAssertTrue(newObject!.optBinaryCol! is Data) XCTAssertTrue(oldObject!.optDateCol! is Date) XCTAssertTrue(newObject!.optDateCol! is Date) XCTAssertTrue(oldObject!.optIntCol! is Int) XCTAssertTrue(newObject!.optIntCol! is Int) XCTAssertTrue(oldObject!.optInt8Col! is Int) XCTAssertTrue(newObject!.optInt8Col! is Int) XCTAssertTrue(oldObject!.optInt16Col! is Int) XCTAssertTrue(newObject!.optInt16Col! is Int) XCTAssertTrue(oldObject!.optInt32Col! is Int) XCTAssertTrue(newObject!.optInt32Col! is Int) XCTAssertTrue(oldObject!.optInt64Col! is Int) XCTAssertTrue(newObject!.optInt64Col! is Int) XCTAssertTrue(oldObject!.optFloatCol! is Float) XCTAssertTrue(newObject!.optFloatCol! is Float) XCTAssertTrue(oldObject!.optDoubleCol! is Double) XCTAssertTrue(newObject!.optDoubleCol! is Double) XCTAssertTrue(oldObject!.optBoolCol! is Bool) XCTAssertTrue(newObject!.optBoolCol! is Bool) XCTAssertTrue(oldObject!.optDecimalCol! is Decimal128) XCTAssertTrue(newObject!.optDecimalCol! is Decimal128) XCTAssertTrue(oldObject!.optObjectIdCol! is ObjectId) XCTAssertTrue(newObject!.optObjectIdCol! is ObjectId) } } } func testEnumerateObjectsAfterDeleteObjects() { autoreleasepool { // add object try! Realm().write { try! Realm().create(SwiftStringObject.self, value: ["1"]) try! Realm().create(SwiftStringObject.self, value: ["2"]) try! Realm().create(SwiftStringObject.self, value: ["3"]) try! Realm().create(SwiftIntObject.self, value: [1]) try! Realm().create(SwiftIntObject.self, value: [2]) try! Realm().create(SwiftIntObject.self, value: [3]) try! Realm().create(SwiftInt8Object.self, value: [Int8(1)]) try! Realm().create(SwiftInt8Object.self, value: [Int8(2)]) try! Realm().create(SwiftInt8Object.self, value: [Int8(3)]) try! Realm().create(SwiftInt16Object.self, value: [Int16(1)]) try! Realm().create(SwiftInt16Object.self, value: [Int16(2)]) try! Realm().create(SwiftInt16Object.self, value: [Int16(3)]) try! Realm().create(SwiftInt32Object.self, value: [Int32(1)]) try! Realm().create(SwiftInt32Object.self, value: [Int32(2)]) try! Realm().create(SwiftInt32Object.self, value: [Int32(3)]) try! Realm().create(SwiftInt64Object.self, value: [Int64(1)]) try! Realm().create(SwiftInt64Object.self, value: [Int64(2)]) try! Realm().create(SwiftInt64Object.self, value: [Int64(3)]) try! Realm().create(SwiftBoolObject.self, value: [true]) try! Realm().create(SwiftBoolObject.self, value: [false]) try! Realm().create(SwiftBoolObject.self, value: [true]) } } migrateAndTestDefaultRealm(1) { migration, _ in var count = 0 migration.enumerateObjects(ofType: "SwiftStringObject") { oldObj, newObj in XCTAssertEqual(newObj!["stringCol"] as! String, oldObj!["stringCol"] as! String) if oldObj!["stringCol"] as! String == "2" { migration.delete(newObj!) } } migration.enumerateObjects(ofType: "SwiftStringObject") { oldObj, newObj in XCTAssertEqual(newObj!["stringCol"] as! String, oldObj!["stringCol"] as! String) count += 1 } XCTAssertEqual(count, 2) count = 0 migration.enumerateObjects(ofType: "SwiftIntObject") { oldObj, newObj in XCTAssertEqual(newObj!["intCol"] as! Int, oldObj!["intCol"] as! Int) if oldObj!["intCol"] as! Int == 1 { migration.delete(newObj!) } } migration.enumerateObjects(ofType: "SwiftIntObject") { oldObj, newObj in XCTAssertEqual(newObj!["intCol"] as! Int, oldObj!["intCol"] as! Int) count += 1 } XCTAssertEqual(count, 2) count = 0 migration.enumerateObjects(ofType: "SwiftInt8Object") { oldObj, newObj in XCTAssertEqual(newObj!["int8Col"] as! Int8, oldObj!["int8Col"] as! Int8) if oldObj!["int8Col"] as! Int8 == 1 { migration.delete(newObj!) } } migration.enumerateObjects(ofType: "SwiftInt8Object") { oldObj, newObj in XCTAssertEqual(newObj!["int8Col"] as! Int8, oldObj!["int8Col"] as! Int8) count += 1 } XCTAssertEqual(count, 2) count = 0 migration.enumerateObjects(ofType: "SwiftInt16Object") { oldObj, newObj in XCTAssertEqual(newObj!["int16Col"] as! Int16, oldObj!["int16Col"] as! Int16) if oldObj!["int16Col"] as! Int16 == 1 { migration.delete(newObj!) } } migration.enumerateObjects(ofType: "SwiftInt16Object") { oldObj, newObj in XCTAssertEqual(newObj!["int16Col"] as! Int16, oldObj!["int16Col"] as! Int16) count += 1 } XCTAssertEqual(count, 2) count = 0 migration.enumerateObjects(ofType: "SwiftInt32Object") { oldObj, newObj in XCTAssertEqual(newObj!["int32Col"] as! Int32, oldObj!["int32Col"] as! Int32) if oldObj!["int32Col"] as! Int32 == 1 { migration.delete(newObj!) } } migration.enumerateObjects(ofType: "SwiftInt32Object") { oldObj, newObj in XCTAssertEqual(newObj!["int32Col"] as! Int32, oldObj!["int32Col"] as! Int32) count += 1 } XCTAssertEqual(count, 2) count = 0 migration.enumerateObjects(ofType: "SwiftInt64Object") { oldObj, newObj in XCTAssertEqual(newObj!["int64Col"] as! Int64, oldObj!["int64Col"] as! Int64) if oldObj!["int64Col"] as! Int64 == 1 { migration.delete(newObj!) } } migration.enumerateObjects(ofType: "SwiftInt64Object") { oldObj, newObj in XCTAssertEqual(newObj!["int64Col"] as! Int64, oldObj!["int64Col"] as! Int64) count += 1 } XCTAssertEqual(count, 2) migration.enumerateObjects(ofType: "SwiftBoolObject") { oldObj, newObj in XCTAssertEqual(newObj!["boolCol"] as! Bool, oldObj!["boolCol"] as! Bool) migration.delete(newObj!) } migration.enumerateObjects(ofType: "SwiftBoolObject") { _, _ in XCTFail("This line should not executed since all objects have been deleted.") } } } func testEnumerateObjectsAfterDeleteInsertObjects() { autoreleasepool { // add object try! Realm().write { try! Realm().create(SwiftStringObject.self, value: ["1"]) try! Realm().create(SwiftStringObject.self, value: ["2"]) try! Realm().create(SwiftStringObject.self, value: ["3"]) try! Realm().create(SwiftIntObject.self, value: [1]) try! Realm().create(SwiftIntObject.self, value: [2]) try! Realm().create(SwiftIntObject.self, value: [3]) try! Realm().create(SwiftInt8Object.self, value: [Int8(1)]) try! Realm().create(SwiftInt8Object.self, value: [Int8(2)]) try! Realm().create(SwiftInt8Object.self, value: [Int8(3)]) try! Realm().create(SwiftInt16Object.self, value: [Int16(1)]) try! Realm().create(SwiftInt16Object.self, value: [Int16(2)]) try! Realm().create(SwiftInt16Object.self, value: [Int16(3)]) try! Realm().create(SwiftInt32Object.self, value: [Int32(1)]) try! Realm().create(SwiftInt32Object.self, value: [Int32(2)]) try! Realm().create(SwiftInt32Object.self, value: [Int32(3)]) try! Realm().create(SwiftInt64Object.self, value: [Int64(1)]) try! Realm().create(SwiftInt64Object.self, value: [Int64(2)]) try! Realm().create(SwiftInt64Object.self, value: [Int64(3)]) try! Realm().create(SwiftBoolObject.self, value: [true]) try! Realm().create(SwiftBoolObject.self, value: [false]) try! Realm().create(SwiftBoolObject.self, value: [true]) } } migrateAndTestDefaultRealm(1) { migration, _ in var count = 0 migration.enumerateObjects(ofType: "SwiftStringObject") { oldObj, newObj in XCTAssertEqual(newObj!["stringCol"] as! String, oldObj!["stringCol"] as! String) if oldObj!["stringCol"] as! String == "2" { migration.delete(newObj!) migration.create("SwiftStringObject", value: ["A"]) } } migration.enumerateObjects(ofType: "SwiftStringObject") { oldObj, newObj in XCTAssertEqual(newObj!["stringCol"] as! String, oldObj!["stringCol"] as! String) count += 1 } XCTAssertEqual(count, 2) count = 0 migration.enumerateObjects(ofType: "SwiftIntObject") { oldObj, newObj in XCTAssertEqual(newObj!["intCol"] as! Int, oldObj!["intCol"] as! Int) if oldObj!["intCol"] as! Int == 1 { migration.delete(newObj!) migration.create("SwiftIntObject", value: [0]) } } migration.enumerateObjects(ofType: "SwiftIntObject") { oldObj, newObj in XCTAssertEqual(newObj!["intCol"] as! Int, oldObj!["intCol"] as! Int) count += 1 } XCTAssertEqual(count, 2) count = 0 migration.enumerateObjects(ofType: "SwiftInt8Object") { oldObj, newObj in XCTAssertEqual(newObj!["int8Col"] as! Int8, oldObj!["int8Col"] as! Int8) if oldObj!["int8Col"] as! Int8 == 1 { migration.delete(newObj!) migration.create("SwiftInt8Object", value: [0]) } } migration.enumerateObjects(ofType: "SwiftInt8Object") { oldObj, newObj in XCTAssertEqual(newObj!["int8Col"] as! Int8, oldObj!["int8Col"] as! Int8) count += 1 } XCTAssertEqual(count, 2) count = 0 migration.enumerateObjects(ofType: "SwiftInt16Object") { oldObj, newObj in XCTAssertEqual(newObj!["int16Col"] as! Int16, oldObj!["int16Col"] as! Int16) if oldObj!["int16Col"] as! Int16 == 1 { migration.delete(newObj!) migration.create("SwiftInt16Object", value: [0]) } } migration.enumerateObjects(ofType: "SwiftInt16Object") { oldObj, newObj in XCTAssertEqual(newObj!["int16Col"] as! Int16, oldObj!["int16Col"] as! Int16) count += 1 } XCTAssertEqual(count, 2) count = 0 migration.enumerateObjects(ofType: "SwiftInt32Object") { oldObj, newObj in XCTAssertEqual(newObj!["int32Col"] as! Int32, oldObj!["int32Col"] as! Int32) if oldObj!["int32Col"] as! Int32 == 1 { migration.delete(newObj!) migration.create("SwiftInt32Object", value: [0]) } } migration.enumerateObjects(ofType: "SwiftInt32Object") { oldObj, newObj in XCTAssertEqual(newObj!["int32Col"] as! Int32, oldObj!["int32Col"] as! Int32) count += 1 } XCTAssertEqual(count, 2) count = 0 migration.enumerateObjects(ofType: "SwiftInt64Object") { oldObj, newObj in XCTAssertEqual(newObj!["int64Col"] as! Int64, oldObj!["int64Col"] as! Int64) if oldObj!["int64Col"] as! Int64 == 1 { migration.delete(newObj!) migration.create("SwiftInt64Object", value: [0]) } } migration.enumerateObjects(ofType: "SwiftInt64Object") { oldObj, newObj in XCTAssertEqual(newObj!["int64Col"] as! Int64, oldObj!["int64Col"] as! Int64) count += 1 } XCTAssertEqual(count, 2) migration.enumerateObjects(ofType: "SwiftBoolObject") { oldObj, newObj in XCTAssertEqual(newObj!["boolCol"] as! Bool, oldObj!["boolCol"] as! Bool) migration.delete(newObj!) migration.create("SwiftBoolObject", value: [false]) } migration.enumerateObjects(ofType: "SwiftBoolObject") { _, _ in XCTFail("This line should not executed since all objects have been deleted.") } } } func testEnumerateObjectsAfterDeleteData() { autoreleasepool { // add object try! Realm().write { try! Realm().create(SwiftStringObject.self, value: ["1"]) try! Realm().create(SwiftStringObject.self, value: ["2"]) try! Realm().create(SwiftStringObject.self, value: ["3"]) } } migrateAndTestDefaultRealm(1) { migration, _ in var count = 0 migration.enumerateObjects(ofType: "SwiftStringObject") { _, _ in count += 1 } XCTAssertEqual(count, 3) migration.deleteData(forType: "SwiftStringObject") migration.create("SwiftStringObject", value: ["A"]) count = 0 migration.enumerateObjects(ofType: "SwiftStringObject") { _, _ in count += 1 } XCTAssertEqual(count, 0) } } func testCreate() { autoreleasepool { _ = try! Realm() } migrateAndTestDefaultRealm { migration, _ in migration.create("SwiftStringObject", value: ["string"]) migration.create("SwiftStringObject", value: ["stringCol": "string"]) migration.create("SwiftStringObject") self.assertThrows(migration.create("NoSuchObject", value: [])) } let objects = try! Realm().objects(SwiftStringObject.self) XCTAssertEqual(objects.count, 3) XCTAssertEqual(objects[0].stringCol, "string") XCTAssertEqual(objects[1].stringCol, "string") XCTAssertEqual(objects[2].stringCol, "") } func testDelete() { autoreleasepool { try! Realm().write { try! Realm().create(SwiftStringObject.self, value: ["string1"]) try! Realm().create(SwiftStringObject.self, value: ["string2"]) return } } migrateAndTestDefaultRealm { migration, _ in var deleted = false migration.enumerateObjects(ofType: "SwiftStringObject", { _, newObj in if deleted == false { migration.delete(newObj!) deleted = true } }) } XCTAssertEqual(try! Realm().objects(SwiftStringObject.self).count, 1) } func testDeleteData() { autoreleasepool { let prop = RLMProperty(name: "id", type: .int, objectClassName: nil, linkOriginPropertyName: nil, indexed: false, optional: false) let realm = realmWithSingleClassProperties(defaultRealmURL(), className: "DeletedClass", properties: [prop]) try! realm.transaction { realm.createObject("DeletedClass", withValue: [0]) } } migrateAndTestDefaultRealm { migration, oldSchemaVersion in XCTAssertEqual(oldSchemaVersion, 0, "Initial schema version should be 0") XCTAssertTrue(migration.deleteData(forType: "DeletedClass")) XCTAssertFalse(migration.deleteData(forType: "NoSuchClass")) migration.create(SwiftStringObject.className(), value: ["migration"]) XCTAssertTrue(migration.deleteData(forType: SwiftStringObject.className())) } let realm = dynamicRealm(defaultRealmURL()) XCTAssertNil(realm.schema.schema(forClassName: "DeletedClass")) XCTAssertEqual(0, realm.allObjects("SwiftStringObject").count) } func testRenameProperty() { autoreleasepool { let prop = RLMProperty(name: "before_stringCol", type: .string, objectClassName: nil, linkOriginPropertyName: nil, indexed: false, optional: false) autoreleasepool { let realm = realmWithSingleClassProperties(defaultRealmURL(), className: "SwiftStringObject", properties: [prop]) try! realm.transaction { realm.createObject("SwiftStringObject", withValue: ["a"]) } } migrateAndTestDefaultRealm { migration, _ in XCTAssertEqual(migration.oldSchema.objectSchema[0].properties.count, 1) migration.renameProperty(onType: "SwiftStringObject", from: "before_stringCol", to: "stringCol") } let realm = dynamicRealm(defaultRealmURL()) XCTAssertEqual(realm.schema.schema(forClassName: "SwiftStringObject")!.properties.count, 1) XCTAssertEqual(1, realm.allObjects("SwiftStringObject").count) XCTAssertEqual("a", realm.allObjects("SwiftStringObject").firstObject()?["stringCol"] as? String) } } // test getting/setting all property types func testMigrationObject() { autoreleasepool { try! Realm().write { let object = SwiftObject() object.anyCol.value = .string("hello!") object.boolCol = true object.objectCol = SwiftBoolObject(value: [true]) object.arrayCol.append(SwiftBoolObject(value: [false])) object.setCol.insert(SwiftBoolObject(value: [false])) object.mapCol["key"] = SwiftBoolObject(value: [false]) try! Realm().add(object) return } } migrateAndTestDefaultRealm { migration, _ in var enumerated = false migration.enumerateObjects(ofType: "SwiftObject", { oldObj, newObj in XCTAssertEqual((oldObj!["boolCol"] as! Bool), true) XCTAssertEqual((newObj!["boolCol"] as! Bool), true) XCTAssertEqual((oldObj!["intCol"] as! Int), 123) XCTAssertEqual((newObj!["intCol"] as! Int), 123) XCTAssertEqual((oldObj!["int8Col"] as! Int8), 123) XCTAssertEqual((newObj!["int8Col"] as! Int8), 123) XCTAssertEqual((oldObj!["int16Col"] as! Int16), 123) XCTAssertEqual((newObj!["int16Col"] as! Int16), 123) XCTAssertEqual((oldObj!["int32Col"] as! Int32), 123) XCTAssertEqual((newObj!["int32Col"] as! Int32), 123) XCTAssertEqual((oldObj!["int64Col"] as! Int64), 123) XCTAssertEqual((newObj!["int64Col"] as! Int64), 123) XCTAssertEqual((oldObj!["intEnumCol"] as! Int), 1) XCTAssertEqual((newObj!["intEnumCol"] as! Int), 1) XCTAssertEqual((oldObj!["floatCol"] as! Float), 1.23 as Float) XCTAssertEqual((newObj!["floatCol"] as! Float), 1.23 as Float) XCTAssertEqual((oldObj!["doubleCol"] as! Double), 12.3 as Double) XCTAssertEqual((newObj!["doubleCol"] as! Double), 12.3 as Double) XCTAssertEqual((oldObj!["decimalCol"] as! Decimal128), 123e4 as Decimal128) XCTAssertEqual((newObj!["decimalCol"] as! Decimal128), 123e4 as Decimal128) let binaryCol = "a".data(using: String.Encoding.utf8)! XCTAssertEqual((oldObj!["binaryCol"] as! Data), binaryCol) XCTAssertEqual((newObj!["binaryCol"] as! Data), binaryCol) let dateCol = Date(timeIntervalSince1970: 1) XCTAssertEqual((oldObj!["dateCol"] as! Date), dateCol) XCTAssertEqual((newObj!["dateCol"] as! Date), dateCol) let objectIdCol = ObjectId("1234567890ab1234567890ab") XCTAssertEqual((oldObj!["objectIdCol"] as! ObjectId), objectIdCol) XCTAssertEqual((newObj!["objectIdCol"] as! ObjectId), objectIdCol) // FIXME - test that casting to SwiftBoolObject throws XCTAssertEqual(((oldObj!["objectCol"] as! MigrationObject)["boolCol"] as! Bool), true) XCTAssertEqual(((newObj!["objectCol"] as! MigrationObject)["boolCol"] as! Bool), true) XCTAssertEqual((oldObj!["arrayCol"] as! List<MigrationObject>).count, 1) XCTAssertEqual(((oldObj!["arrayCol"] as! List<MigrationObject>)[0]["boolCol"] as! Bool), false) XCTAssertEqual((newObj!["arrayCol"] as! List<MigrationObject>).count, 1) XCTAssertEqual(((newObj!["arrayCol"] as! List<MigrationObject>)[0]["boolCol"] as! Bool), false) XCTAssertEqual(((newObj!["arrayCol"] as! List<MigrationObject>)[0]["boolCol"] as! Bool), false) XCTAssertEqual((oldObj!["setCol"] as! MutableSet<MigrationObject>).count, 1) XCTAssertEqual(((oldObj!["setCol"] as! MutableSet<MigrationObject>)[0]["boolCol"] as! Bool), false) XCTAssertEqual((newObj!["setCol"] as! MutableSet<MigrationObject>).count, 1) XCTAssertEqual(((newObj!["setCol"] as! MutableSet<MigrationObject>)[0]["boolCol"] as! Bool), false) XCTAssertEqual(((newObj!["setCol"] as! MutableSet<MigrationObject>)[0]["boolCol"] as! Bool), false) XCTAssertEqual((oldObj!["mapCol"] as! Map<String, MigrationObject>).count, 1) XCTAssertEqual(((oldObj!["mapCol"] as! Map<String, MigrationObject>)["key"]?["boolCol"] as! Bool), false) XCTAssertEqual((newObj!["mapCol"] as! Map<String, MigrationObject>).count, 1) XCTAssertEqual(((newObj!["mapCol"] as! Map<String, MigrationObject>)["key"]?["boolCol"] as! Bool), false) XCTAssertEqual(((newObj!["mapCol"] as! Map<String, MigrationObject>)["key"]?["boolCol"] as! Bool), false) let uuidCol: UUID = UUID(uuidString: "137decc8-b300-4954-a233-f89909f4fd89")! XCTAssertEqual((newObj!["uuidCol"] as! UUID), uuidCol) XCTAssertEqual((oldObj!["uuidCol"] as! UUID), uuidCol) let anyValue = AnyRealmValue.string("hello!") XCTAssertEqual(((newObj!["anyCol"] as! String)), anyValue.stringValue) XCTAssertEqual(((oldObj!["anyCol"] as! String)), anyValue.stringValue) // edit all values newObj!["boolCol"] = false newObj!["intCol"] = 1 newObj!["int8Col"] = Int8(1) newObj!["int16Col"] = Int16(1) newObj!["int32Col"] = Int32(1) newObj!["int64Col"] = Int64(1) newObj!["intEnumCol"] = IntEnum.value2.rawValue newObj!["floatCol"] = 1.0 newObj!["doubleCol"] = 10.0 newObj!["binaryCol"] = Data(bytes: "b", count: 1) newObj!["dateCol"] = Date(timeIntervalSince1970: 2) newObj!["decimalCol"] = Decimal128(number: 567e8) newObj!["objectIdCol"] = ObjectId("abcdef123456abcdef123456") newObj!["anyCol"] = 12345 let falseObj = SwiftBoolObject(value: [false]) newObj!["objectCol"] = falseObj var list = newObj!["arrayCol"] as! List<MigrationObject> list[0]["boolCol"] = true list.append(newObj!["objectCol"] as! MigrationObject) let trueObj = migration.create(SwiftBoolObject.className(), value: [true]) list.append(trueObj) var set = newObj!["setCol"] as! MutableSet<MigrationObject> set[0]["boolCol"] = true set.insert(newObj!["objectCol"] as! MigrationObject) set.insert(trueObj) // verify list property list = newObj!["arrayCol"] as! List<MigrationObject> XCTAssertEqual(list.count, 3) XCTAssertEqual((list[0]["boolCol"] as! Bool), true) XCTAssertEqual((list[1]["boolCol"] as! Bool), false) XCTAssertEqual((list[2]["boolCol"] as! Bool), true) list = newObj!.dynamicList("arrayCol") XCTAssertEqual(list.count, 3) XCTAssertEqual((list[0]["boolCol"] as! Bool), true) XCTAssertEqual((list[1]["boolCol"] as! Bool), false) XCTAssertEqual((list[2]["boolCol"] as! Bool), true) // verify set property set = newObj!["setCol"] as! MutableSet<MigrationObject> XCTAssertEqual(set.count, 3) XCTAssertEqual((set[0]["boolCol"] as! Bool), true) XCTAssertEqual((set[1]["boolCol"] as! Bool), false) XCTAssertEqual((set[2]["boolCol"] as! Bool), true) set = newObj!.dynamicMutableSet("setCol") XCTAssertEqual(set.count, 3) XCTAssertEqual((set[0]["boolCol"] as! Bool), true) XCTAssertEqual((set[1]["boolCol"] as! Bool), false) XCTAssertEqual((set[2]["boolCol"] as! Bool), true) // verify map property var map = newObj!["mapCol"] as! Map<String, MigrationObject> XCTAssertEqual(map["key"]!["boolCol"] as! Bool, false) XCTAssertEqual(map.count, 1) map["key"]!["boolCol"] = true map = newObj!.dynamicMap("mapCol") XCTAssertEqual(map.count, 1) XCTAssertEqual((map["key"]!["boolCol"] as! Bool), true) self.assertThrows(newObj!.value(forKey: "noSuchKey")) self.assertThrows(newObj!.setValue(1, forKey: "noSuchKey")) // set it again newObj!["arrayCol"] = [falseObj, trueObj] XCTAssertEqual(list.count, 2) newObj!["arrayCol"] = [SwiftBoolObject(value: [false])] XCTAssertEqual(list.count, 1) XCTAssertEqual((list[0]["boolCol"] as! Bool), false) newObj!["setCol"] = [falseObj, trueObj] XCTAssertEqual(set.count, 2) newObj!["setCol"] = [SwiftBoolObject(value: [false])] XCTAssertEqual(set.count, 1) XCTAssertEqual((set[0]["boolCol"] as! Bool), false) newObj!["mapCol"] = ["key": SwiftBoolObject(value: [false])] XCTAssertEqual(map.count, 1) XCTAssertEqual((map["key"]?["boolCol"] as! Bool), false) self.assertMatches(newObj!.description, "SwiftObject \\{\n\tboolCol = 0;\n\tintCol = 1;\n\tint8Col = 1;\n\tint16Col = 1;\n\tint32Col = 1;\n\tint64Col = 1;\n\tintEnumCol = 3;\n\tfloatCol = 1;\n\tdoubleCol = 10;\n\tstringCol = a;\n\tbinaryCol = <.*62.*>;\n\tdateCol = 1970-01-01 00:00:02 \\+0000;\n\tdecimalCol = 5.67E10;\n\tobjectIdCol = abcdef123456abcdef123456;\n\tobjectCol = SwiftBoolObject \\{\n\t\tboolCol = 0;\n\t\\};\n\tuuidCol = 137DECC8-B300-4954-A233-F89909F4FD89;\n\tanyCol = 12345;\n\tarrayCol = List<SwiftBoolObject> <0x[0-9a-f]+> \\(\n\t\t\\[0\\] SwiftBoolObject \\{\n\t\t\tboolCol = 0;\n\t\t\\}\n\t\\);\n\tsetCol = MutableSet<SwiftBoolObject> <0x[0-9a-f]+> \\(\n\t\t\\[0\\] SwiftBoolObject \\{\n\t\t\tboolCol = 0;\n\t\t\\}\n\t\\);\n\tmapCol = Map<string, SwiftBoolObject> <0x[0-9a-f]+> \\(\n\t\\[key\\]: SwiftBoolObject \\{\n\t\t\tboolCol = 0;\n\t\t\\}\n\t\\);\n\\}") enumerated = true }) XCTAssertEqual(enumerated, true) let newObj = migration.create(SwiftObject.className()) newObj["anyCol"] = "Some String" // swiftlint:next:disable line_length self.assertMatches(newObj.description, "SwiftObject \\{\n\tboolCol = 0;\n\tintCol = 123;\n\tint8Col = 123;\n\tint16Col = 123;\n\tint32Col = 123;\n\tint64Col = 123;\n\tintEnumCol = 1;\n\tfloatCol = 1\\.23;\n\tdoubleCol = 12\\.3;\n\tstringCol = a;\n\tbinaryCol = <.*61.*>;\n\tdateCol = 1970-01-01 00:00:01 \\+0000;\n\tdecimalCol = 1.23E6;\n\tobjectIdCol = 1234567890ab1234567890ab;\n\tobjectCol = SwiftBoolObject \\{\n\t\tboolCol = 0;\n\t\\};\n\tuuidCol = 137DECC8-B300-4954-A233-F89909F4FD89;\n\tanyCol = Some String;\n\tarrayCol = List<SwiftBoolObject> <0x[0-9a-f]+> \\(\n\t\n\t\\);\n\tsetCol = MutableSet<SwiftBoolObject> <0x[0-9a-f]+> \\(\n\t\n\t\\);\n\tmapCol = Map<string, SwiftBoolObject> <0x[0-9a-f]+> \\(\n\t\n\t\\);\n\\}") } // refresh to update realm try! Realm().refresh() // check edited values let object = try! Realm().objects(SwiftObject.self).first! XCTAssertEqual(object.boolCol, false) XCTAssertEqual(object.intCol, 1) XCTAssertEqual(object.int8Col, Int8(1)) XCTAssertEqual(object.int16Col, Int16(1)) XCTAssertEqual(object.int32Col, Int32(1)) XCTAssertEqual(object.int64Col, Int64(1)) XCTAssertEqual(object.floatCol, 1.0 as Float) XCTAssertEqual(object.doubleCol, 10.0) XCTAssertEqual(object.binaryCol, Data(bytes: "b", count: 1)) XCTAssertEqual(object.dateCol, Date(timeIntervalSince1970: 2)) XCTAssertEqual(object.objectCol!.boolCol, false) XCTAssertEqual(object.arrayCol.count, 1) XCTAssertEqual(object.arrayCol[0].boolCol, false) XCTAssertEqual(object.setCol.count, 1) XCTAssertEqual(object.setCol[0].boolCol, false) XCTAssertEqual(object.mapCol.count, 1) XCTAssertEqual(object.mapCol["key"]!?.boolCol, false) // make sure we added new bool objects as object property and in the list XCTAssertEqual(try! Realm().objects(SwiftBoolObject.self).count, 10) } func testFailOnSchemaMismatch() { let prop = RLMProperty(name: "name", type: RLMPropertyType.string, objectClassName: nil, linkOriginPropertyName: nil, indexed: false, optional: false) _ = autoreleasepool { realmWithSingleClassProperties(defaultRealmURL(), className: "SwiftEmployeeObject", properties: [prop]) } let config = Realm.Configuration(fileURL: defaultRealmURL(), objectTypes: [SwiftEmployeeObject.self]) autoreleasepool { assertFails(.schemaMismatch) { try Realm(configuration: config) } } } func testDeleteRealmIfMigrationNeededWithSetCustomSchema() { let prop = RLMProperty(name: "name", type: RLMPropertyType.string, objectClassName: nil, linkOriginPropertyName: nil, indexed: false, optional: false) _ = autoreleasepool { realmWithSingleClassProperties(defaultRealmURL(), className: "SwiftEmployeeObject", properties: [prop]) } var config = Realm.Configuration(fileURL: defaultRealmURL(), objectTypes: [SwiftEmployeeObject.self]) config.migrationBlock = { _, _ in XCTFail("Migration block should not be called") } config.deleteRealmIfMigrationNeeded = true autoreleasepool { assertSucceeds { _ = try Realm(configuration: config) } } } func testDeleteRealmIfMigrationNeeded() { autoreleasepool { _ = try! Realm(configuration: Realm.Configuration(fileURL: defaultRealmURL())) } let objectSchema = RLMObjectSchema(forObjectClass: SwiftEmployeeObject.self) objectSchema.properties = Array(objectSchema.properties[0..<1]) let metaClass: AnyClass = objc_getMetaClass("RLMSchema") as! AnyClass let imp = imp_implementationWithBlock(unsafeBitCast({ () -> RLMSchema in let schema = RLMSchema() schema.objectSchema = [objectSchema] return schema } as @convention(block)() -> (RLMSchema), to: AnyObject.self)) let originalImp = class_getMethodImplementation(metaClass, #selector(RLMObjectBase.sharedSchema)) class_replaceMethod(metaClass, #selector(RLMObjectBase.sharedSchema), imp, "@@:") autoreleasepool { assertFails(.schemaMismatch) { try Realm() } } let migrationBlock: MigrationBlock = { _, _ in XCTFail("Migration block should not be called") } let config = Realm.Configuration(fileURL: defaultRealmURL(), migrationBlock: migrationBlock, deleteRealmIfMigrationNeeded: true) assertSucceeds { _ = try Realm(configuration: config) } class_replaceMethod(metaClass, #selector(RLMObjectBase.sharedSchema), originalImp!, "@@:") } }
47.211486
898
0.57985
4c32cee4d6e62d8f60764064a3835f321c201b83
1,261
php
PHP
resources/views/masteradmin/form.blade.php
nirajannirajannirajannirajan/carpet
ef6dc21862c8bebc159fd137385e1f5be268b58f
[ "MIT" ]
null
null
null
resources/views/masteradmin/form.blade.php
nirajannirajannirajannirajan/carpet
ef6dc21862c8bebc159fd137385e1f5be268b58f
[ "MIT" ]
null
null
null
resources/views/masteradmin/form.blade.php
nirajannirajannirajannirajan/carpet
ef6dc21862c8bebc159fd137385e1f5be268b58f
[ "MIT" ]
null
null
null
<fieldset> <div class="form-group"> <label><b> NAME</b></label> {!! Form::text('name',null,array('class'=>'form-control','id'=>'ck')) !!} </div> <div class="form-group"> <label><b>EMAIL</b></label> {!! Form::text('email',null,array('class'=>'form-control','id'=>'ck')) !!} </div> <div class="form-group"> <label><b>BRANCH CODE</b></label> {!!Form::select('Branch_Code', $Branch_Code, $Branch_Code,['class'=>'form-control'])!!} </div> <div class="form-group"> <label><b>ROLE</b></label> {!!Form::select('role', array('Accountant'=>'Accountant','storekeeper'=>'storekeeper')) !!} </div> <div class="form-group"> <label><b>STATUS</b></label> {!!Form::select('status', array('','1'=>'Enable','0'=>'Disable')) !!} </div> <div class="form-group" style="width:100px;"> {!! form::submit($button,[' class'=>'btn btn-primary form-control'])!!} </div> </fieldset>
45.035714
123
0.415543
6f437b89c7d68784cb0cac65786c331dd5225517
317
lua
Lua
examples/personal/art.lua
LitxDev/freshfetch
0865f85f395710dcad185f67029abe82564d2c99
[ "MIT" ]
238
2020-09-04T19:09:33.000Z
2022-03-31T09:15:19.000Z
examples/personal/art.lua
LitxDev/freshfetch
0865f85f395710dcad185f67029abe82564d2c99
[ "MIT" ]
27
2020-09-04T19:07:28.000Z
2022-02-09T03:06:17.000Z
examples/personal/art.lua
LitxDev/freshfetch
0865f85f395710dcad185f67029abe82564d2c99
[ "MIT" ]
14
2020-10-02T00:31:12.000Z
2022-03-30T01:30:15.000Z
print(bold().."\n\n") print(white() ..[[ /\ ]]) print(cyanBright()..[[ / \ ]]) print(cyan() ..[[ /\ \ ]]) print(blueBright()..[[ / \ ]]) print(blue() ..[[ / ,, \ ]]) print( [[ / | | -\ ]]) print( [[/_-'' ''-_\]]) print(reset())
31.7
39
0.287066
83d85934884c5cf61eb45fafbf30be0a48c99e92
2,227
rs
Rust
src/mcuctrl/chipid1.rs
trembel/ambiq-apollo3p-pac
9c5179d7101fb6284d117b08d847e1fd83fe0c5d
[ "Apache-2.0", "MIT" ]
null
null
null
src/mcuctrl/chipid1.rs
trembel/ambiq-apollo3p-pac
9c5179d7101fb6284d117b08d847e1fd83fe0c5d
[ "Apache-2.0", "MIT" ]
null
null
null
src/mcuctrl/chipid1.rs
trembel/ambiq-apollo3p-pac
9c5179d7101fb6284d117b08d847e1fd83fe0c5d
[ "Apache-2.0", "MIT" ]
null
null
null
#[doc = "Reader of register CHIPID1"] pub type R = crate::R<u32, super::CHIPID1>; #[doc = "Writer for register CHIPID1"] pub type W = crate::W<u32, super::CHIPID1>; #[doc = "Register CHIPID1 `reset()`'s with value 0"] impl crate::ResetValue for super::CHIPID1 { type Type = u32; #[inline(always)] fn reset_value() -> Self::Type { 0 } } #[doc = "Unique chip ID 1.\n\nValue on reset: 0"] #[derive(Clone, Copy, Debug, PartialEq)] #[repr(u32)] pub enum CHIPID1_A { #[doc = "0: Apollo3 Blue Plus CHIPID1."] APOLLO3 = 0, } impl From<CHIPID1_A> for u32 { #[inline(always)] fn from(variant: CHIPID1_A) -> Self { variant as _ } } #[doc = "Reader of field `CHIPID1`"] pub type CHIPID1_R = crate::R<u32, CHIPID1_A>; impl CHIPID1_R { #[doc = r"Get enumerated values variant"] #[inline(always)] pub fn variant(&self) -> crate::Variant<u32, CHIPID1_A> { use crate::Variant::*; match self.bits { 0 => Val(CHIPID1_A::APOLLO3), i => Res(i), } } #[doc = "Checks if the value of the field is `APOLLO3`"] #[inline(always)] pub fn is_apollo3(&self) -> bool { *self == CHIPID1_A::APOLLO3 } } #[doc = "Write proxy for field `CHIPID1`"] pub struct CHIPID1_W<'a> { w: &'a mut W, } impl<'a> CHIPID1_W<'a> { #[doc = r"Writes `variant` to the field"] #[inline(always)] pub fn variant(self, variant: CHIPID1_A) -> &'a mut W { unsafe { self.bits(variant.into()) } } #[doc = "Apollo3 Blue Plus CHIPID1."] #[inline(always)] pub fn apollo3(self) -> &'a mut W { self.variant(CHIPID1_A::APOLLO3) } #[doc = r"Writes raw bits to the field"] #[inline(always)] pub unsafe fn bits(self, value: u32) -> &'a mut W { self.w.bits = (self.w.bits & !0xffff_ffff) | ((value as u32) & 0xffff_ffff); self.w } } impl R { #[doc = "Bits 0:31 - Unique chip ID 1."] #[inline(always)] pub fn chipid1(&self) -> CHIPID1_R { CHIPID1_R::new((self.bits & 0xffff_ffff) as u32) } } impl W { #[doc = "Bits 0:31 - Unique chip ID 1."] #[inline(always)] pub fn chipid1(&mut self) -> CHIPID1_W { CHIPID1_W { w: self } } }
27.8375
84
0.571621
64f052081ee109b69fa140b0a6e6b5235b234e2a
3,188
java
Java
sdk/timeseriesinsights/mgmt-v2017_11_15/src/main/java/com/microsoft/azure/management/timeseriesinsights/v2017_11_15/IoTHubEventSourceCommonProperties.java
ppartarr/azure-sdk-for-java
e3c832f87cf65219dd7b500ab25a998c38dab8a3
[ "MIT" ]
3
2021-09-15T16:25:19.000Z
2021-12-17T05:41:00.000Z
sdk/timeseriesinsights/mgmt-v2017_11_15/src/main/java/com/microsoft/azure/management/timeseriesinsights/v2017_11_15/IoTHubEventSourceCommonProperties.java
ppartarr/azure-sdk-for-java
e3c832f87cf65219dd7b500ab25a998c38dab8a3
[ "MIT" ]
306
2019-09-27T06:41:56.000Z
2019-10-14T08:19:57.000Z
sdk/timeseriesinsights/mgmt-v2017_11_15/src/main/java/com/microsoft/azure/management/timeseriesinsights/v2017_11_15/IoTHubEventSourceCommonProperties.java
ppartarr/azure-sdk-for-java
e3c832f87cf65219dd7b500ab25a998c38dab8a3
[ "MIT" ]
1
2020-08-12T02:32:01.000Z
2020-08-12T02:32:01.000Z
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.timeseriesinsights.v2017_11_15; import com.fasterxml.jackson.annotation.JsonProperty; /** * Properties of the IoTHub event source. */ public class IoTHubEventSourceCommonProperties extends AzureEventSourceProperties { /** * The name of the iot hub. */ @JsonProperty(value = "iotHubName", required = true) private String iotHubName; /** * The name of the iot hub's consumer group that holds the partitions from * which events will be read. */ @JsonProperty(value = "consumerGroupName", required = true) private String consumerGroupName; /** * The name of the Shared Access Policy key that grants the Time Series * Insights service access to the iot hub. This shared access policy key * must grant 'service connect' permissions to the iot hub. */ @JsonProperty(value = "keyName", required = true) private String keyName; /** * Get the name of the iot hub. * * @return the iotHubName value */ public String iotHubName() { return this.iotHubName; } /** * Set the name of the iot hub. * * @param iotHubName the iotHubName value to set * @return the IoTHubEventSourceCommonProperties object itself. */ public IoTHubEventSourceCommonProperties withIotHubName(String iotHubName) { this.iotHubName = iotHubName; return this; } /** * Get the name of the iot hub's consumer group that holds the partitions from which events will be read. * * @return the consumerGroupName value */ public String consumerGroupName() { return this.consumerGroupName; } /** * Set the name of the iot hub's consumer group that holds the partitions from which events will be read. * * @param consumerGroupName the consumerGroupName value to set * @return the IoTHubEventSourceCommonProperties object itself. */ public IoTHubEventSourceCommonProperties withConsumerGroupName(String consumerGroupName) { this.consumerGroupName = consumerGroupName; return this; } /** * Get the name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub. * * @return the keyName value */ public String keyName() { return this.keyName; } /** * Set the name of the Shared Access Policy key that grants the Time Series Insights service access to the iot hub. This shared access policy key must grant 'service connect' permissions to the iot hub. * * @param keyName the keyName value to set * @return the IoTHubEventSourceCommonProperties object itself. */ public IoTHubEventSourceCommonProperties withKeyName(String keyName) { this.keyName = keyName; return this; } }
32.20202
206
0.685069
9eb723e866767c0a24f0f42aec6e4339b8801394
2,782
sql
SQL
antricukur.sql
adityanurdin/preloved-shop
da567e47ff572c64cf75be3db9d472aee68579d2
[ "Apache-2.0" ]
null
null
null
antricukur.sql
adityanurdin/preloved-shop
da567e47ff572c64cf75be3db9d472aee68579d2
[ "Apache-2.0" ]
4
2018-11-06T12:10:26.000Z
2018-11-19T07:29:13.000Z
antricukur.sql
adityanurdin/preloved-shop
da567e47ff572c64cf75be3db9d472aee68579d2
[ "Apache-2.0" ]
1
2018-11-15T23:50:54.000Z
2018-11-15T23:50:54.000Z
-- phpMyAdmin SQL Dump -- version 4.0.4.1 -- http://www.phpmyadmin.net -- -- Host: 127.0.0.1 -- Generation Time: Nov 26, 2018 at 06:56 PM -- Server version: 5.5.32 -- PHP Version: 5.4.19 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; -- -- Database: `antricukur` -- CREATE DATABASE IF NOT EXISTS `antricukur` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `antricukur`; -- -------------------------------------------------------- -- -- Table structure for table `barbershop_list` -- CREATE TABLE IF NOT EXISTS `barbershop_list` ( `id_barbershop` int(11) NOT NULL AUTO_INCREMENT, `id_wilayah` int(11) NOT NULL, `nama_barbershop` varchar(25) NOT NULL, `alamat_barbershop` varchar(25) NOT NULL, `rate_barbershop` enum('1','2','3','4','5') NOT NULL, `detail_barbershop` varchar(25) NOT NULL, `status_barbershop` enum('buka','tutup') NOT NULL, `photo` int(11) NOT NULL, PRIMARY KEY (`id_barbershop`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `barbershop_list` -- INSERT INTO `barbershop_list` (`id_barbershop`, `id_wilayah`, `nama_barbershop`, `alamat_barbershop`, `rate_barbershop`, `detail_barbershop`, `status_barbershop`, `photo`) VALUES (1, 1, 'Jakarta Barbershop', 'jalan, jalan', '3', '', 'buka', 123); -- -------------------------------------------------------- -- -- Table structure for table `user` -- CREATE TABLE IF NOT EXISTS `user` ( `user_id` int(10) NOT NULL AUTO_INCREMENT, `level` varchar(30) NOT NULL, `nama` varchar(150) NOT NULL, `email` varchar(160) NOT NULL, `alamat` varchar(400) NOT NULL, `phone` varchar(15) NOT NULL, `password` varchar(300) NOT NULL, `status` enum('on','off') NOT NULL, PRIMARY KEY (`user_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `wilayah_barbershop` -- CREATE TABLE IF NOT EXISTS `wilayah_barbershop` ( `id_wilayah` int(11) NOT NULL AUTO_INCREMENT, `id_barbershop` int(11) NOT NULL, `nama_wilayah` varchar(25) NOT NULL, PRIMARY KEY (`id_wilayah`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ; -- -- Dumping data for table `wilayah_barbershop` -- INSERT INTO `wilayah_barbershop` (`id_wilayah`, `id_barbershop`, `nama_wilayah`) VALUES (1, 1, 'JAKARTA'); /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
30.571429
178
0.671819
fb78777010e4d74b9089cba1822940a8dc9fd548
890
c
C
PI/FinalExam/Leibniz/OMP.c
Camiloasc1/ParallelComputingUNAL
6d5867dfdaff53fbd107d21dc0283d5a84318341
[ "MIT" ]
null
null
null
PI/FinalExam/Leibniz/OMP.c
Camiloasc1/ParallelComputingUNAL
6d5867dfdaff53fbd107d21dc0283d5a84318341
[ "MIT" ]
null
null
null
PI/FinalExam/Leibniz/OMP.c
Camiloasc1/ParallelComputingUNAL
6d5867dfdaff53fbd107d21dc0283d5a84318341
[ "MIT" ]
null
null
null
#define CHUNK 1024*1024 // Run CHUNK iterations and check error #define LOG 1024 // Print progress each LOG iterations #define LIMIT 1024*1024 // LIMIT of iterations #include "../common.h" int main(int argc, char *argv[]) { unsigned int digits; unsigned int threads; double precision; getParams(argc, argv, &threads, &digits, &precision); double sum= 0.0, pi, error= 1.0; omp_set_num_threads(threads); unsigned long i = 0; while (error > precision && i < LIMIT) { #pragma omp parallel for reduction(+:sum) for (unsigned long n = i * CHUNK; n < (i + 1) * CHUNK; ++n) { if (n % 2 == 0) sum += 1.0 / ((n << 1) + 1); else sum -= 1.0 / ((n << 1) + 1); } pi = 4.0 * sum; error = getError(pi); printLog(precision, pi, error, ++i); } return EXIT_SUCCESS; }
27.8125
69
0.552809
10ffa4ad337dfc001fd8af56c6746a81827ad45b
6,193
java
Java
src/main/java/com/genability/client/types/Incentive.java
Genability/genability-java
c921fd6e6f05fdca5082571800459cdad6a55d35
[ "MIT" ]
2
2016-04-11T22:07:44.000Z
2020-10-15T03:00:04.000Z
src/main/java/com/genability/client/types/Incentive.java
Genability/genability-java
c921fd6e6f05fdca5082571800459cdad6a55d35
[ "MIT" ]
10
2016-04-13T09:11:12.000Z
2022-03-10T17:59:49.000Z
src/main/java/com/genability/client/types/Incentive.java
Genability/genability-java
c921fd6e6f05fdca5082571800459cdad6a55d35
[ "MIT" ]
5
2016-02-24T22:34:10.000Z
2021-06-18T00:50:19.000Z
package com.genability.client.types; import java.math.BigDecimal; import java.util.List; import org.joda.time.DateTime; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public final class Incentive { private Long incentiveId; private Long masterIncentiveId; private Eligibility eligibility; private List<IncentiveApplicability> requiredData; private String tariffCode; private String incentiveName; private Long lseId; private String lseName; private ServiceType serviceType; private CustomerClass customerClass; private DateTime startDate; private DateTime endDate; private Boolean isExhausted; private String projectType; private String incentiveType; private String summary; private String requirements; private String jurisdiction; private PropertyKey quantityKey; private String quantityKeyCap; private long paymentCap; private PropertyKey percentCostCapKey; private BigDecimal percentCostCap; private long paymentDuration; private String incentivePaidTo; private List<IncentiveApplicability> applicabilities; private Boolean projectTypeExclusive; private String state; private Long territoryId; private BigDecimal rate; private RateUnit rateUnit; public static enum Eligibility { ELIGIBLE, COULD_BE_ELIGIBLE, INELIGIBLE; } public Long getIncentiveId() { return incentiveId; } public void setIncentiveId(Long incentiveId) { this.incentiveId = incentiveId; } public Long getMasterIncentiveId() { return masterIncentiveId; } public void setMasterIncentiveId(Long masterIncentiveId) { this.masterIncentiveId = masterIncentiveId; } public Eligibility getEligibility() { return eligibility; } public void setEligibility(Eligibility eligibility) { this.eligibility = eligibility; } public List<IncentiveApplicability> getRequiredData() { return requiredData; } public void setRequiredData(List<IncentiveApplicability> requiredData) { this.requiredData = requiredData; } public String getTariffCode() { return tariffCode; } public void setTariffCode(String tariffCode) { this.tariffCode = tariffCode; } public String getIncentiveName() { return incentiveName; } public void setIncentiveName(String incentiveName) { this.incentiveName = incentiveName; } public Long getLseId() { return lseId; } public void setLseId(Long lseId) { this.lseId = lseId; } public String getLseName() { return lseName; } public void setLseName(String lseName) { this.lseName = lseName; } public ServiceType getServiceType() { return serviceType; } public void setServiceType(ServiceType serviceType) { this.serviceType = serviceType; } public CustomerClass getCustomerClass() { return customerClass; } public void setCustomerClass(CustomerClass customerClass) { this.customerClass = customerClass; } public DateTime getStartDate() { return startDate; } public void setStartDate(DateTime startDate) { this.startDate = startDate; } public DateTime getEndDate() { return endDate; } public void setEndDate(DateTime endDate) { this.endDate = endDate; } public Boolean getIsExhausted() { return isExhausted; } public void setIsExhausted(Boolean isExhausted) { this.isExhausted = isExhausted; } public String getProjectType() { return projectType; } public void setProjectType(String projectType) { this.projectType = projectType; } public String getIncentiveType() { return incentiveType; } public void setIncentiveType(String incentiveType) { this.incentiveType = incentiveType; } public String getSummary() { return summary; } public void setSummary(String summary) { this.summary = summary; } public String getRequirements() { return requirements; } public void setRequirements(String requirements) { this.requirements = requirements; } public String getJurisdiction() { return jurisdiction; } public void setJurisdiction(String jurisdiction) { this.jurisdiction = jurisdiction; } public PropertyKey getQuantityKey() { return quantityKey; } public void setQuantityKey(PropertyKey quantityKey) { this.quantityKey = quantityKey; } public String getQuantityKeyCap() { return quantityKeyCap; } public void setQuantityKeyCap(String quantityKeyCap) { this.quantityKeyCap = quantityKeyCap; } public long getPaymentCap() { return paymentCap; } public void setPaymentCap(long paymentCap) { this.paymentCap = paymentCap; } public PropertyKey getPercentCostCapKey() { return percentCostCapKey; } public void setPercentCostCapKey(PropertyKey percentCostCapKey) { this.percentCostCapKey = percentCostCapKey; } public BigDecimal getPercentCostCap() { return percentCostCap; } public void setPercentCostCap(BigDecimal percentCostCap) { this.percentCostCap = percentCostCap; } public long getPaymentDuration() { return paymentDuration; } public void setPaymentDuration(long paymentDuration) { this.paymentDuration = paymentDuration; } public String getIncentivePaidTo() { return incentivePaidTo; } public void setIncentivePaidTo(String incentivePaidTo) { this.incentivePaidTo = incentivePaidTo; } public List<IncentiveApplicability> getApplicabilities() { return applicabilities; } public void setApplicabilities(List<IncentiveApplicability> applicabilities) { this.applicabilities = applicabilities; } public Boolean getProjectTypeExclusive() { return projectTypeExclusive; } public void setProjectTypeExclusive(Boolean projectTypeExclusive) { this.projectTypeExclusive = projectTypeExclusive; } public String getState() { return state; } public void setState(String state) { this.state = state; } public Long getTerritoryId() { return territoryId; } public void setTerritoryId(Long territoryId) { this.territoryId = territoryId; } public BigDecimal getRate() { return rate; } public void setRate(BigDecimal rate) { this.rate = rate; } public RateUnit getRateUnit() { return rateUnit; } public void setRateUnit(RateUnit rateUnit) { this.rateUnit = rateUnit; } }
20.643333
79
0.761182
987f902575523315dfd1637acfd4fc749f4d6225
3,683
html
HTML
demo/index-fr.html
nico3333fr/van11y-accessible-simple-tooltip-aria
9b4c7f1691265f40beddfa580c14fd69d8661a37
[ "MIT" ]
23
2016-11-14T19:34:57.000Z
2021-11-16T11:49:29.000Z
demo/index-fr.html
nico3333fr/van11y-accessible-simple-tooltip-aria
9b4c7f1691265f40beddfa580c14fd69d8661a37
[ "MIT" ]
5
2017-12-15T17:15:51.000Z
2021-05-03T20:30:27.000Z
demo/index-fr.html
nico3333fr/van11y-accessible-simple-tooltip-aria
9b4c7f1691265f40beddfa580c14fd69d8661a37
[ "MIT" ]
2
2017-12-23T15:26:22.000Z
2020-01-10T16:07:01.000Z
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr"> <head> <meta charset="utf-8" /> <title>Démo : Infobulles (tooltips) accessibles utilisant ARIA et en Vanilla Javascript - Van11y </title> <link href="./styles.css" rel="stylesheet" media="all" /> <meta name="description" content="Ce script vous procure des infobulles accessibles (tooltips), utilisant ARIA" /> <meta name="keywords" content="collection, info-bulles, accessibilité, scripts, projets, onglets, accordéon, panneaux dépliants, paramétrable" /> <meta property="og:type" content="website" /> <!-- Open Graph Meta Data --> <meta property="og:title" content="Démo : Infobulles (tooltips) accessibles utilisant ARIA et en Vanilla Javascript - Van11y" /> <meta property="og:description" content="Ce script vous procure des infobulles accessibles (tooltips), utilisant ARIA" /> <meta property="og:image" content="https://van11y.net/apple-touch-icon_1471815930.png" /> <meta property="og:url" content="https://van11y.net/fr/infobulles-tooltips-accessibles/" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:url" content="https://van11y.net/fr/infobulles-tooltips-accessibles/" /> <meta name="twitter:title" content="Démo : Infobulles (tooltips) accessibles utilisant ARIA et en Vanilla Javascript - Van11y" /> <meta name="twitter:description" content="Ce script vous procure des infobulles accessibles (tooltips), utilisant ARIA" /> <meta name="twitter:image" content="https://van11y.net/apple-touch-icon_1471815930.png" /> <meta name="twitter:site" content="Van11y" /> <meta name="twitter:creator" content="Van11y" /> <meta name="robots" content="index, follow" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> </head> <body role="document"> <div id="page" class="mw960e" role="main"> <br> <div class="aligncenter"> <a href="https://van11y.net/fr/" class="logo-link"><img src="https://van11y.net/layout/images/logo-van11y_1491639888.svg" alt="Retour à la page d’accueil" width="267" height="90" class="logo" /></a> </div> <br> <h1 class="aligncenter">Démo&#160;: Infobulles (tooltips) accessibles utilisant <abbr title="Accessible Rich Internet Applications" lang="en" xml:lang="en">ARIA</abbr> en Vanilla <abbr title="JavaScript" lang="en" xml:lang="en">JS</abbr></h1> <p><button class="js-simple-tooltip button" data-simpletooltip-text="Super, ça marche&#8239;!">Survolez-moi ou focusez-moi pour afficher l’infobulle</button></p> <p><button class="js-simple-tooltip button" data-simpletooltip-content-id="tooltip-case_1"><span>Montrez-moi une autre infobulle</span></button></p> <div id="tooltip-case_1" class="hidden">Super, vous pouvez prendre le contenu d’un bloc caché.</div> <p class="aligncenter"><button class="js-simple-tooltip2 button" data-simpletooltip-prefix-class2="minimalist-left" data-simpletooltip-text="Oui, avec data-simpletooltip-prefix-class2 et un appel à config différente, si facile">Et un autre&#8239;?</button></p> <br><br> <div class="footer" role="contentinfo"><br>Cette démo est un exemple des <a href="https://van11y.net/fr/infobulles-tooltips-accessibles/" class="link">Infobulles (tooltips) accessibles du projet Van11y utilisant <abbr title="Accessible Rich Internet Applications" lang="en" xml:lang="en">ARIA</abbr></a>.<br></div> </div> <script src="../dist/van11y-accessible-simple-tooltip-aria.min.js"></script> <script> var other_tooltip = van11yAccessibleSimpleTooltipAria({ TOOLTIP_SIMPLE: 'js-simple-tooltip2', TOOLTIP_DATA_PREFIX_CLASS: 'data-simpletooltip-prefix-class2' }); other_tooltip.attach(); </script> </body> </html>
51.873239
314
0.729568
b94fcfc6e1d930c74088ac25c6293dc45763299d
1,206
lua
Lua
controls/toolbar.lua
airstruck/lps
be13e6964a21abc54c0fa3a25969f5c508a034b1
[ "MIT" ]
2
2017-02-09T22:58:01.000Z
2018-05-20T19:26:28.000Z
controls/toolbar.lua
airstruck/lps
be13e6964a21abc54c0fa3a25969f5c508a034b1
[ "MIT" ]
null
null
null
controls/toolbar.lua
airstruck/lps
be13e6964a21abc54c0fa3a25969f5c508a034b1
[ "MIT" ]
null
null
null
return function () return { { mode = 'mode.select', tip = 'Interact with objects' }, { mode = 'mode.shape.circle', tip = 'Create circle' }, { mode = 'mode.shape.rectangle', tip = 'Create rectangle' }, { mode = 'mode.shape.polygon', tip = 'Create polygon' }, { mode = 'mode.shape.edge', tip = 'Create edge' }, { mode = 'mode.shape.chain', tip = 'Create chain' }, { mode = 'mode.joint.distance', tip = 'Create distance joint' }, { mode = 'mode.joint.friction', tip = 'Create friction joint' }, --{ mode = 'mode.joint.gear', tip = 'Create gear joint' }, { mode = 'mode.joint.motor', tip = 'Create motor joint' }, --{ mode = 'mode.joint.mouse', tip = 'Create mouse joint' }, { mode = 'mode.joint.prismatic', tip = 'Create prismatic joint' }, { mode = 'mode.joint.pulley', tip = 'Create pulley joint' }, { mode = 'mode.joint.revolute', tip = 'Create revolute joint' }, { mode = 'mode.joint.rope', tip = 'Create rope joint' }, { mode = 'mode.joint.weld', tip = 'Create weld joint' }, { mode = 'mode.joint.wheel', tip = 'Create wheel joint' }, } end
48.24
74
0.547264
f7abf850dd834af165e4825023e8132ecbefe769
4,039
dart
Dart
lib/src/network/streetservice.dart
ChildrenOfUr/coUclient
10362e96cf306499aaa9342d3b79928e5359ee7d
[ "MIT" ]
53
2015-01-15T16:40:35.000Z
2021-09-03T17:12:22.000Z
lib/src/network/streetservice.dart
ChildrenOfUr/coUclient
10362e96cf306499aaa9342d3b79928e5359ee7d
[ "MIT" ]
57
2015-01-09T23:19:39.000Z
2018-06-03T23:42:13.000Z
lib/src/network/streetservice.dart
ChildrenOfUr/coUclient
10362e96cf306499aaa9342d3b79928e5359ee7d
[ "MIT" ]
16
2015-01-17T04:20:22.000Z
2018-07-14T05:48:54.000Z
part of couclient; class StreetService { StreetLoadingScreen streetLoadingScreen; List<String> _loading = []; void addToQueue(String tsid) { _loading.add(tsid.substring(1)); } void removeFromQueue(String tsid) { _loading.remove(tsid.substring(1)); } bool loadingCancelled(String tsid) { return !_loading.contains(tsid.substring(1)); } String _dataUrl; StreetService() { _dataUrl = '${Configs.http}//${Configs.utilServerAddress}'; } Future<bool> requestStreet(String StreetID) async { if (_loading.length > 0) { // Already loading something, tell it to stop _loading.clear(); } // Load this one addToQueue(StreetID); gpsIndicator.loadingNew = true; logmessage('[StreetService] Requesting street "$StreetID"...'); var tsid = Uri.encodeQueryComponent(StreetID); HttpRequest data = await HttpRequest.request(_dataUrl + "/getStreet?tsid=$tsid", requestHeaders: {"content-type": "application/json"}); Map streetJSON = jsonDecode(data.response); if (loadingCancelled(StreetID)) { logmessage('[StreetService] Loading of "$StreetID" was cancelled during download.'); return false; } logmessage('[StreetService] "$StreetID" loaded.'); await _prepareStreet(streetJSON); String playerList = ''; String playerListJson = await HttpRequest.getString( '${Configs.http}//${Configs.utilServerAddress}/listUsers?channel=${currentStreet.label}'); List<String> players = (jsonDecode(playerListJson) as List).cast<String>(); if (!players.contains(game.username)) { players.add(game.username); } // don't list if it's just you if (players.length > 1) { for (int i = 0; i != players.length; i++) { playerList += players[i]; if (i != players.length) { playerList += ', '; } } playerList = playerList.substring(0, playerList.length - 2); new Toast("Players on this street: " + playerList); } else { new Toast("You're the first one here!"); } return true; } Future<bool> _prepareStreet(Map streetJSON) async { // Tell the server we're leaving if (currentStreet != null && currentStreet.tsid != null) { try { sendGlobalAction('leaveStreet', { 'street': currentStreet.tsid }); } catch (e) { logmessage("Error sending last street to server: $e"); } } logmessage('[StreetService] Assembling Street...'); transmit('streetLoadStarted', streetJSON); if (streetJSON['tsid'] == null) { return false; } Map<String, dynamic> streetAsMap = streetJSON; String label = streetAsMap['label']; String tsid = streetAsMap['tsid']; String oldLabel = ''; String oldTsid = ''; if (currentStreet != null) { oldLabel = currentStreet.label; oldTsid = currentStreet.tsid; } if (loadingCancelled(tsid)) { logmessage('[StreetService] Loading of "$tsid" was cancelled during decoding.'); return false; } // TODO, this should happen automatically on the Server, since it'll know which street we're on. // Send changeStreet to chat server Map<String, dynamic> map = {}; map["statusMessage"] = "changeStreet"; map["username"] = game.username; map["newStreetLabel"] = label; map["newStreetTsid"] = tsid; map["oldStreetTsid"] = oldTsid; map["oldStreetLabel"] = oldLabel; transmit('outgoingChatEvent', map); if (!MapData.load.isCompleted) { await MapData.load.future; } // Display the loading screen streetLoadingScreen = new StreetLoadingScreen(currentStreet?.streetData, streetAsMap); // Load the street Street street = new Street(streetAsMap); if (loadingCancelled(tsid)) { logmessage('[StreetService] Loading of "$tsid" was cancelled during preparation.'); return false; } // Make street loading take at least 1 second so that the text can be read await Future.delayed(new Duration(seconds: 1), street.load); new Asset.fromMap(streetAsMap, label); logmessage('[StreetService] Street assembled.'); // Notify displays to update transmit('streetLoaded', streetAsMap); removeFromQueue(tsid); return true; } }
26.058065
98
0.687051
352726a3373a79b8c66fd00e7bfb180b9aa446d3
732
swift
Swift
DiemKit/DiemKit/Metadata/DiemCoinTradeMetadata/DiemCoinTradeMetadataV0.swift
palliums-developers/DiemKit
c689762a315471a96bf961fa0eac3103c0af6dd6
[ "MIT" ]
null
null
null
DiemKit/DiemKit/Metadata/DiemCoinTradeMetadata/DiemCoinTradeMetadataV0.swift
palliums-developers/DiemKit
c689762a315471a96bf961fa0eac3103c0af6dd6
[ "MIT" ]
null
null
null
DiemKit/DiemKit/Metadata/DiemCoinTradeMetadata/DiemCoinTradeMetadataV0.swift
palliums-developers/DiemKit
c689762a315471a96bf961fa0eac3103c0af6dd6
[ "MIT" ]
null
null
null
// // DiemCoinTradeMetadataV0.swift // LibraWallet // // Created by wangyingdong on 2021/4/2. // Copyright © 2021 palliums. All rights reserved. // import UIKit struct DiemCoinTradeMetadataV0 { fileprivate let trade_ids: [String] init(trade_ids: [String]) { self.trade_ids = trade_ids } func serialize() -> Data { var result = Data() result += DiemUtils.uleb128Format(length: self.trade_ids.count) for item in self.trade_ids { let tempData = item.data(using: .utf8)! // 追加code长度 result += DiemUtils.uleb128Format(length: tempData.count) // 追加code数据 result += tempData } return result } }
23.612903
71
0.596995
7e0c11829f805aba7181b8b8dbeaf4814e2461b7
817
css
CSS
Raptor.Presentation/Raptor.Web/wwwroot/admin-theme/overrides/override.css
humzakhan/RaptorCMS
63cc3708353c24b83b146578d9b59ee2d86860ce
[ "MIT" ]
1
2019-01-20T18:51:12.000Z
2019-01-20T18:51:12.000Z
Raptor.Presentation/Raptor.Web/wwwroot/admin-theme/overrides/override.css
humzakhan/RaptorCMS
63cc3708353c24b83b146578d9b59ee2d86860ce
[ "MIT" ]
null
null
null
Raptor.Presentation/Raptor.Web/wwwroot/admin-theme/overrides/override.css
humzakhan/RaptorCMS
63cc3708353c24b83b146578d9b59ee2d86860ce
[ "MIT" ]
3
2020-06-29T20:10:37.000Z
2020-09-03T03:43:12.000Z
.alert ul { text-align: left; list-style-type: none; } .navbar > .navbar-brand > img { height: auto; width: auto; } .card-header { padding: 8px 12px; } .btn { font-size: 12px; font-weight: bold; } body, input, textarea, button { font-family: "Lato", sans-serif; } .btn { position: relative; font-size: 0.8rem; margin: 2px; font-weight: 600; font-family: 'Raleway', sans-serif; } .form-group-sm { margin-bottom: 5px; } .card-title { margin-bottom: 30px !important; } .main-footer { background: #fff; padding: 15px; color: #444; border-top: 1px solid #d2d6de; position: absolute; bottom: 0; width: 100%; } @media(min-width: 420px) { .form-horizontal { text-align: left; vertical-align: middle; } }
14.086207
39
0.581395
1bf7d76ee53c595497973efb82b167bcd2a5e4fb
1,086
py
Python
packages/mccomponents/python/mccomponents/sample/sansmodel/SANSSphereModelKernel.py
mcvine/mcvine
42232534b0c6af729628009bed165cd7d833789d
[ "BSD-3-Clause" ]
5
2017-01-16T03:59:47.000Z
2020-06-23T02:54:19.000Z
packages/mccomponents/python/mccomponents/sample/sansmodel/SANSSphereModelKernel.py
mcvine/mcvine
42232534b0c6af729628009bed165cd7d833789d
[ "BSD-3-Clause" ]
293
2015-10-29T17:45:52.000Z
2022-01-07T16:31:09.000Z
packages/mccomponents/python/mccomponents/sample/sansmodel/SANSSphereModelKernel.py
mcvine/mcvine
42232534b0c6af729628009bed165cd7d833789d
[ "BSD-3-Clause" ]
1
2019-05-25T00:53:31.000Z
2019-05-25T00:53:31.000Z
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Jiao Lin # California Institute of Technology # (C) 2007 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # from .AbstractSANSKernel import AbstractSANSKernel as base class SANSSphereModelKernel(base): def __init__(self, scale, radius, contrast, background, absorption_cross_section, scattering_cross_section, Qmin, Qmax): self.scale = scale self.radius = radius self.contrast = contrast self.background = background self.absorption_cross_section = absorption_cross_section self.scattering_cross_section = scattering_cross_section self.Qmin = Qmin self.Qmax = Qmax return def identify(self, visitor): return visitor.onSANSSphereModelKernel( self ) # version __id__ = "$Id$" # End of file
25.255814
80
0.517495
dc4344072bb0637b67ab2729fa9d1a42dffb0c2d
947
dart
Dart
peering_policy_manager/lib/models/router.dart
frederic-loui/peering-policy-manager
87840d8132f208c9020ef10140ceb7317ec478a7
[ "Apache-2.0" ]
null
null
null
peering_policy_manager/lib/models/router.dart
frederic-loui/peering-policy-manager
87840d8132f208c9020ef10140ceb7317ec478a7
[ "Apache-2.0" ]
null
null
null
peering_policy_manager/lib/models/router.dart
frederic-loui/peering-policy-manager
87840d8132f208c9020ef10140ceb7317ec478a7
[ "Apache-2.0" ]
null
null
null
class Router { List<String> routers; Router({this.routers}); Router.fromJson(Map<String, dynamic> json) { routers = json['routers'].cast<String>(); } Map<String, dynamic> toJson() { final Map<String, dynamic> data = new Map<String, dynamic>(); data['routers'] = this.routers; return data; } String convertToName(String routershortname) { } // All fields are escaped with double quotes. This method deals with them static String unescapeString(dynamic value) { return null; } String vendor(String routershortname) { RegExp regExp = new RegExp( r"[0-9]{3}$", caseSensitive: false, multiLine: false, ); String vendorCode = regExp.stringMatch(routershortname).toString(); if (vendorCode == "131") { return "JUNIPER MX2010"; } else if (vendorCode == "091") { return "CISCO ASR 9K"; } else return "Unknown"; } }
19.326531
73
0.615628
d295436872205919e294c016164942c86612f032
630
php
PHP
src/OutputFormatter/Model/Method/MethodOutputFormatter.php
LeoVie/php-dry
84956cf16f43410909752e14facc0d616a7e61a6
[ "BSD-3-Clause" ]
4
2022-03-23T07:27:07.000Z
2022-03-31T11:52:35.000Z
src/OutputFormatter/Model/Method/MethodOutputFormatter.php
LeoVie/php-dry
84956cf16f43410909752e14facc0d616a7e61a6
[ "BSD-3-Clause" ]
12
2022-03-30T08:15:38.000Z
2022-03-31T09:17:11.000Z
src/OutputFormatter/Model/Method/MethodOutputFormatter.php
LeoVie/php-dry
84956cf16f43410909752e14facc0d616a7e61a6
[ "BSD-3-Clause" ]
null
null
null
<?php declare(strict_types=1); namespace App\OutputFormatter\Model\Method; use App\Model\Method\Method; use App\OutputFormatter\Model\CodePosition\CodePositionRangeOutputFormatter; class MethodOutputFormatter { public function __construct(private CodePositionRangeOutputFormatter $codePositionRangeOutputFormatter) { } public function format(Method $method): string { return \Safe\sprintf( '%s: %s (%s)', $method->getFilepath(), $method->getName(), $this->codePositionRangeOutputFormatter->format($method->getCodePositionRange()) ); } }
24.230769
107
0.685714
750c879509cc7c92c19072f54190da25330b71a0
691
h
C
TBCacao/TBContext.h
qvacua/tbcacao
f6c1fa6d23ec29bafbcdfb91963dd12ec066ef45
[ "Apache-2.0" ]
4
2015-04-08T08:28:46.000Z
2021-06-03T18:41:06.000Z
TBCacao/TBContext.h
qvacua/tbcacao
f6c1fa6d23ec29bafbcdfb91963dd12ec066ef45
[ "Apache-2.0" ]
null
null
null
TBCacao/TBContext.h
qvacua/tbcacao
f6c1fa6d23ec29bafbcdfb91963dd12ec066ef45
[ "Apache-2.0" ]
1
2019-01-18T02:17:19.000Z
2019-01-18T02:17:19.000Z
/** * Tae Won Ha * http://qvacua.com * https://github.com/qvacua * * See LICENSE */ #import <Foundation/Foundation.h> @class TBBeanContainer; @interface TBContext : NSObject @property (readonly) NSArray *beanContainers; - (void)reautowireBeans; - (id)init; + (TBContext *)sharedContext; - (void)initContext; - (void)addBeanContainer:(TBBeanContainer *)beanContainer; - (TBBeanContainer *)beanContainerWithIdentifier:(NSString *)identifier; - (id)beanWithClass:(Class)clazz; - (id)beanWithIdentifier:(NSString *)identifier; - (NSString *)identifierForBean:(id)bean; - (void)autowireSeed:(id)seed; - (void)replaceBeanWithIdentifier:(NSString *)identifier withBean:(id)aBean; @end
18.675676
76
0.740955
2bbe8759b692d1c014a1c0fbe53cf4307c0f2462
805
asm
Assembly
Anul 1/Semestrul I/Arhitectura sistemelor de calcul/Curs 6/Exemple/ex1.asm
ArmynC/ArminC-UTM-Info
d48d256d46c8a88993f24d5c86b66e6c99267a8c
[ "CC0-1.0" ]
null
null
null
Anul 1/Semestrul I/Arhitectura sistemelor de calcul/Curs 6/Exemple/ex1.asm
ArmynC/ArminC-UTM-Info
d48d256d46c8a88993f24d5c86b66e6c99267a8c
[ "CC0-1.0" ]
null
null
null
Anul 1/Semestrul I/Arhitectura sistemelor de calcul/Curs 6/Exemple/ex1.asm
ArmynC/ArminC-UTM-Info
d48d256d46c8a88993f24d5c86b66e6c99267a8c
[ "CC0-1.0" ]
null
null
null
; Exercitiu1.ASM - Afiseaza mesajul "Invatam ASSEMBLER !!" ; .MODEL small .STACK 100h .DATA PrimulMesaj DB 'Am inceput sa invatam ASSEMBLER !!',13,10,'$' MesajDoi DB 'Greu dar interesant!',13,10,'$' .CODE .startup mov ax,@data ; cu debug mergeti la adresa data ; si cu offset-ul respectiv ; inspectati sirul ; este implicit adus de asamblor! mov ds,ax ;set DS to point to the data segment mov ah,9 ;DOS print string function mov dx,OFFSET MesajDoi ;point to "Am inceput sa invatam ASSEMBLER !!" int 21h ;display "Am inceput sa invatam ASSEMBLER !!" mov ah,4ch ;DOS terminate program function int 21h ;terminate the program END
30.961538
77
0.582609
40f3142cecc17da655157f13441df89c4ec21537
1,827
dart
Dart
lib_core/test/data/models/movie_response_model_test.dart
gatewan/flutter-cicd
1517bf98ab1f66a712d4f775782e8cc3cc5993ac
[ "MIT" ]
null
null
null
lib_core/test/data/models/movie_response_model_test.dart
gatewan/flutter-cicd
1517bf98ab1f66a712d4f775782e8cc3cc5993ac
[ "MIT" ]
null
null
null
lib_core/test/data/models/movie_response_model_test.dart
gatewan/flutter-cicd
1517bf98ab1f66a712d4f775782e8cc3cc5993ac
[ "MIT" ]
null
null
null
import 'dart:convert'; import 'package:flutter_test/flutter_test.dart'; import 'package:lib_core/data/models/movie_model.dart'; import 'package:lib_core/data/models/movie_response.dart'; import '../../json_reader.dart'; void main() { final tMovieModel = MovieModel( adult: false, backdropPath: "/path.jpg", genreIds: const [1, 2, 3, 4], id: 1, originalTitle: "Original Title", overview: "Overview", popularity: 1.0, posterPath: "/path.jpg", releaseDate: "2020-05-05", title: "Title", video: false, voteAverage: 1.0, voteCount: 1, isMovie: true, ); final tMovieResponseModel = MovieResponse(movieList: <MovieModel>[tMovieModel]); group('fromJson', () { test('should return a valid model from JSON', () async { // arrange final Map<String, dynamic> jsonMap = json.decode(readJson('xtra_dummy/now_playing.json')); // act final result = MovieResponse.fromJson(jsonMap); // assert expect(result, tMovieResponseModel); }); }); group('toJson', () { test('should return a JSON map containing proper data', () async { // arrange // act final result = tMovieResponseModel.toJson(); // assert final expectedJsonMap = { "results": [ { "adult": false, "backdrop_path": "/path.jpg", "genre_ids": [1, 2, 3, 4], "id": 1, "original_title": "Original Title", "overview": "Overview", "popularity": 1.0, "poster_path": "/path.jpg", "release_date": "2020-05-05", "title": "Title", "video": false, "vote_average": 1.0, "vote_count": 1 } ], }; expect(result, expectedJsonMap); }); }); }
26.1
96
0.562671
cde9a7355baa56c3a1de7831c323fa69ba525c4b
767
sql
SQL
models/stitch/segmented/transform/fb_insights_age.sql
la-colombe/facebook-ads
7b6f58fd9dfcb382c20431b1bf2fd9d3fe387ec0
[ "Apache-2.0" ]
null
null
null
models/stitch/segmented/transform/fb_insights_age.sql
la-colombe/facebook-ads
7b6f58fd9dfcb382c20431b1bf2fd9d3fe387ec0
[ "Apache-2.0" ]
null
null
null
models/stitch/segmented/transform/fb_insights_age.sql
la-colombe/facebook-ads
7b6f58fd9dfcb382c20431b1bf2fd9d3fe387ec0
[ "Apache-2.0" ]
null
null
null
with age_gender as ( select * from {{ref('fb_ads_insights_age_gender')}} ) select date_day, account_id, account_name, ad_id, adset_id, campaign_id, objective, 'age' as segment_type, age as segment, sum(impressions) as impressions, sum(clicks) as clicks, sum(spend) as spend, sum(app_store_clicks) as app_store_clicks, sum(call_to_action_clicks) as call_to_action_clicks, sum(deeplink_clicks) as deeplink_clicks, sum(inline_link_clicks) as inline_link_clicks, sum(social_clicks) as social_clicks, sum(social_impressions) as social_impressions, sum(total_action_value) as total_action_value, sum(total_actions) as total_actions, sum(website_clicks) as website_clicks from age_gender group by 1, 2, 3, 4, 5, 6, 7, 8, 9
23.242424
54
0.754889
afc9b956998c68a5897967532014b43d8f48ce00
106
sql
SQL
MS_SQL.sql
Xorsiphus/BackEnd-Dotnet-Practice
3ce2a3fe75f260fdcd28463e91da60f632a186e2
[ "Apache-2.0" ]
null
null
null
MS_SQL.sql
Xorsiphus/BackEnd-Dotnet-Practice
3ce2a3fe75f260fdcd28463e91da60f632a186e2
[ "Apache-2.0" ]
null
null
null
MS_SQL.sql
Xorsiphus/BackEnd-Dotnet-Practice
3ce2a3fe75f260fdcd28463e91da60f632a186e2
[ "Apache-2.0" ]
null
null
null
SELECT Name, CategoryName FROM Products LEFT JOIN Categories on Categories.Id = Products.Category ;
35.333333
63
0.773585
2a4b04d89a85ab0fa060ab6462f6d15e905bb517
746
dart
Dart
bmi-calculator-flutter/lib/componenets/submit_button.dart
statios/flutter_study
80a63d106edb99931366d8b95b3ad98bd1b8344e
[ "MIT" ]
null
null
null
bmi-calculator-flutter/lib/componenets/submit_button.dart
statios/flutter_study
80a63d106edb99931366d8b95b3ad98bd1b8344e
[ "MIT" ]
null
null
null
bmi-calculator-flutter/lib/componenets/submit_button.dart
statios/flutter_study
80a63d106edb99931366d8b95b3ad98bd1b8344e
[ "MIT" ]
null
null
null
import 'package:flutter/material.dart'; import 'package:bmi_calculator/constants.dart'; class SubmitButton extends StatelessWidget { final String title; final Function onPressed; SubmitButton({this.title, @required this.onPressed}); @override Widget build(BuildContext context) { return GestureDetector( child: Container( color: kBottomContainerColor, margin: EdgeInsets.only(top: 10.0), width: double.infinity, height: kBottomContainerHeight, child: Center( child: Text( title, style: kLargeButtonTextStyle, ), ), padding: EdgeInsets.only(bottom: 20.0), ), onTap: onPressed); } }
25.724138
55
0.613941
682f173505f69305b3ca46d3af046b4e759fc8d0
1,047
html
HTML
manuscript/page-63/body.html
marvindanig/shasta-of-the-wolves
5bfea030d7bb9138d093e93c551a8b13deb8b2e9
[ "BlueOak-1.0.0", "CC-BY-4.0", "Unlicense" ]
null
null
null
manuscript/page-63/body.html
marvindanig/shasta-of-the-wolves
5bfea030d7bb9138d093e93c551a8b13deb8b2e9
[ "BlueOak-1.0.0", "CC-BY-4.0", "Unlicense" ]
null
null
null
manuscript/page-63/body.html
marvindanig/shasta-of-the-wolves
5bfea030d7bb9138d093e93c551a8b13deb8b2e9
[ "BlueOak-1.0.0", "CC-BY-4.0", "Unlicense" ]
null
null
null
<div class="leaf flex"><div class="inner justify"><p class="no-indent ">too steep for any foothold on the outer face of it, and between its inner side and the open mountain stood the bear. Then, in some odd way which he did not understand, the fear passed, and he knew that this time he was in no danger at all, and that the newcomer with the black robe would do him no harm.</p><p class=" stretch-last-line ">Gomposh waited for a while, observing Shasta with his little wise eyes and making notes of him inside his big wise head. Then, very deliberately and slowly, he came down the slope towards Shasta and sat down on his haunches before him on the rock. For a minute or two neither of them spoke, except in that secret language of eye and nose which makes unnecessary so much of the jabber that we humans call speech. But presently Shasta began to ask questions in wolf-language and Gomposh made answers in the same. And the sense of what they said was as follows, though the actual words were not our human words at all, but</p></div> </div>
1,047
1,047
0.772684
cc812eabfab28a33cefe34e753cffbabc0416f12
3,514
dart
Dart
lib/src/shared/string_transformer.dart
mobilemindtec/logging_handlers
852564575176fb46d1e750108d7730e965e7eb7b
[ "MIT" ]
3
2015-02-01T22:31:45.000Z
2016-04-21T09:38:53.000Z
lib/src/shared/string_transformer.dart
mobilemindtec/logging_handlers
852564575176fb46d1e750108d7730e965e7eb7b
[ "MIT" ]
4
2015-02-25T15:54:22.000Z
2020-03-20T19:04:33.000Z
lib/src/shared/string_transformer.dart
mobilemindtec/logging_handlers
852564575176fb46d1e750108d7730e965e7eb7b
[ "MIT" ]
5
2015-08-30T00:11:08.000Z
2019-06-22T17:27:56.000Z
part of logging_handlers_shared; /** * Format a log record according to a string pattern */ class StringTransformer implements LogRecordTransformer { /// Outputs [LogRecord.level] static const LEVEL = "%p"; /// Outputs [LogRecord.message] static const MESSAGE = "%m"; /// Outputs the [Logger.name] static const NAME = "%n"; /// Outputs the timestamp according to the Date Time Format specified in /// [timestampFormatString] static const TIME = "%t"; // logger date timestamp. Format using /// Outputs the logger sequence static const SEQ = "%s"; // logger sequence static const EXCEPTION = "%x"; // logger exception static const EXCEPTION_TEXT = "%e"; // logger exception message static const TAB = "\t"; static const NEW_LINE = "\n"; /// Default format for a log message that does not contain an exception. static const DEFAULT_MESSAGE_FORMAT = "%t\t%n\t[%p]:\t%m"; /// Default format for a log message the contains an exception /// This is appended onto the message format if there is an exception static const DEFAULT_EXCEPTION_FORMAT = "\n%e\n%x"; /// Default date time format for log messages static const DEFAULT_DATE_TIME_FORMAT = "yyyy.mm.dd HH:mm:ss.SSS"; /// Contains the standard message format string final String messageFormat; /// Contains the exception format string final String exceptionFormatSuffix; /// Contains the timestamp format string final String timestampFormat; /// Contains the date format instance DateFormat dateFormat; /// Contains the regexp pattern static final _regexp = new RegExp("($LEVEL|$MESSAGE|$NAME|$TIME|$SEQ|$EXCEPTION|$EXCEPTION_TEXT)"); StringTransformer({ String this.messageFormat : StringTransformer.DEFAULT_MESSAGE_FORMAT, String this.exceptionFormatSuffix : StringTransformer.DEFAULT_EXCEPTION_FORMAT, String this.timestampFormat : StringTransformer.DEFAULT_DATE_TIME_FORMAT}) { dateFormat = new DateFormat(this.timestampFormat); } /** * Transform the log record into a string according to the [messageFormat], * [exceptionFormatSuffix] and [timestampFormat] pattern. */ String transform(LogRecord logRecord) { var formatString = logRecord.error == null ? messageFormat : messageFormat+exceptionFormatSuffix; // build the log string and return return formatString.replaceAllMapped(_regexp, (match) { if (match.groupCount == 1) { switch (match.group(0)) { case LEVEL: return logRecord.level.name; case MESSAGE: return logRecord.message; case NAME: return logRecord.loggerName; case TIME: if (logRecord.time != null) { try { return dateFormat.format(logRecord.time); } on UnimplementedError catch (e) { // at time of writing, dateFormat.format seems to be unimplemented. // so just return the time.toString() return logRecord.time.toString(); } } break; case SEQ: return logRecord.sequenceNumber.toString(); case EXCEPTION: case EXCEPTION_TEXT: if (logRecord.error != null) return logRecord.error.toString(); break; } } return ""; // empty string }); } }
32.537037
101
0.632043
717f60a16a70837f552ca7b4eb457af561013278
3,859
tsx
TypeScript
src/window/workspace/drawer/DrawerCanvas.tsx
urpflanze-org/editor
fbfe9a1f078cd1378309c65194d4d68f70763657
[ "MIT" ]
4
2021-02-28T10:11:54.000Z
2022-01-21T16:32:20.000Z
src/window/workspace/drawer/DrawerCanvas.tsx
genbs/urpflanze-gui
fbfe9a1f078cd1378309c65194d4d68f70763657
[ "MIT" ]
1
2021-10-30T14:47:22.000Z
2021-10-30T14:47:22.000Z
src/window/workspace/drawer/DrawerCanvas.tsx
urpflanze-org/editor
fbfe9a1f078cd1378309c65194d4d68f70763657
[ "MIT" ]
null
null
null
import * as React from 'react' import executor from '@redux-store/executor' import useRef from '@hooks/useRef' import useRect from '@hooks/useRect' import useMouseWheel from '@hooks/useWheel' import { clamp } from 'urpflanze/dist/Utilites' import useDraggable from '@hooks/useDraggable' import { DrawerOffsets } from '@window/workspace/drawer/DrawerOffsetsViewer' import Storage from '@ui-services/storage/Storage' interface DrawerCanvasProps { offsets: DrawerOffsets ratio: number setSize: (size: number) => void // updateResolution: (resolution: number) => void setOffsets: (offsets: DrawerOffsets) => void } const DrawerCanvas: React.FunctionComponent<DrawerCanvasProps> = ({ offsets, ratio, setSize, setOffsets, }: DrawerCanvasProps) => { const [initialTranslate, setInitialTranslate] = React.useState<[number, number]>([0, 0]) const [canvasRef] = useRef<HTMLCanvasElement>() const containerRef = React.useRef(null) const wrapperRef = useDraggable<HTMLDivElement>({ onDrag: coords => { offsets.translate = [ // clamp(-1.5, 1.5, initialTranslate[0] + coords.x / -100 / offsets.scale), // clamp(-1.5, 1.5, initialTranslate[1] + coords.y / -100 / offsets.scale), clamp(-1, 1, initialTranslate[0] + coords.x / -100 / offsets.scale), clamp(-1, 1, initialTranslate[1] + coords.y / -100 / offsets.scale), ] if (offsets.scale == 1) offsets.translate = [0, 0] // if (offsets.scale != 1 || (offsets.translate[0] != 0 && offsets.translate[1] != 0)) executor.ask('set-drawer-offsets', offsets) setOffsets({ ...offsets }) }, onDragEnd: () => { setInitialTranslate([...offsets.translate]) }, }) const containerRect = useRect(containerRef) const canvas_size = Math.floor(Math.min(containerRect.width, containerRect.height)) useMouseWheel(wrapperRef, (dy, e) => { e.preventDefault() const currentScale = offsets.scale offsets.scale = clamp(1, 10, currentScale + Math.sign(dy) * -1 * (e.shiftKey ? 1 : e.altKey ? 0.01 : 0.1)) if (offsets.scale == 1) offsets.translate = [0, 0] // if (offsets.scale != 1 || (offsets.translate[0] != 0 && offsets.translate[1] != 0)) executor.ask('set-drawer-offsets', offsets) setOffsets({ ...offsets }) }) React.useEffect(() => { if (wrapperRef.current && canvasRef.current && canvas_size > 0) { setOffsets({ ...offsets, size: canvas_size }) executor.setDrawer(canvasRef.current, canvas_size, ratio, Storage.get('resolution', 'high')) wrapperRef.current.style.width = canvas_size + 'px' wrapperRef.current.style.height = canvas_size + 'px' setSize(canvas_size) } }, [canvas_size]) React.useEffect(() => { if (canvasRef.current && canvas_size > 0) { let width = ratio >= 1 ? canvas_size : canvas_size * ratio let height = ratio >= 1 ? canvas_size / ratio : canvas_size if (width > canvas_size) { const ratio = width / height width = canvas_size height = canvas_size / ratio } else if (height > canvas_size) { const ratio = height / width height = canvas_size width = canvas_size / ratio } canvasRef.current.style.width = width + 'px' canvasRef.current.style.height = height + 'px' canvasRef.current.style.maxWidth = width + 'px' canvasRef.current.style.maxHeight = height + 'px' canvasRef.current.style.minWidth = width + 'px' canvasRef.current.style.minHeight = height + 'px' } }, [canvas_size, ratio]) return ( <div ref={containerRef} style={{ width: '100%', height: '100%', overflow: 'hidden', display: 'flex', justifyContent: 'center' }} > <div ref={wrapperRef} style={{ background: '#000', display: 'flex', justifyContent: 'center', alignItems: 'center' }} > <canvas ref={canvasRef} style={{ pointerEvents: 'none', maxWidth: '100%', maxHeight: '100%' }} /> </div> </div> ) } export default React.memo(DrawerCanvas)
31.120968
108
0.672713
df9b08141f9549ea32f56791e19614b890975921
1,552
ts
TypeScript
src/js/lib/card-nicknames/c20.ts
crookedneighbor/scryfall-extend
d0bed8025e6a89c6590f078b487fd8adc65e9d80
[ "MIT" ]
3
2020-11-03T00:04:18.000Z
2020-12-03T23:45:38.000Z
src/js/lib/card-nicknames/c20.ts
crookedneighbor/shambleshark
a4c353ea473566d0a9e2e20bd0726ace37de78d5
[ "MIT" ]
90
2020-02-07T03:32:17.000Z
2022-02-18T07:54:33.000Z
src/js/lib/card-nicknames/c20.ts
crookedneighbor/scryfall-deckbuilder-helper
d0bed8025e6a89c6590f078b487fd8adc65e9d80
[ "MIT" ]
1
2020-02-29T12:55:47.000Z
2020-02-29T12:55:47.000Z
// Commander 2020 (C20) export default [ { // https://scryfall.com/card/c20/52/menacing-politics setCode: "c20", collectorNumber: "52", realName: ["Frontier Warmonger"], nickname: ["Menacing Politics"], source: "Scryfall Preview Name", }, { // https://scryfall.com/card/c20/56/cycla-bird setCode: "c20", collectorNumber: "56", realName: ["Spellpyre Phoenix"], nickname: ["Cycla-bird"], source: "Scryfall Preview Name", }, { // https://scryfall.com/card/c20/58/capthreecorn setCode: "c20", collectorNumber: "58", realName: ["Capricopian"], nickname: ["Capthreecorn"], source: "Scryfall Preview Name", }, { // https://scryfall.com/card/c20/42/no-capes! setCode: "c20", collectorNumber: "42", realName: ["Deadly Rollick"], nickname: ["No Capes!"], source: "Scryfall Preview Name", }, { // https://scryfall.com/card/c20/34/ethereal-forager setCode: "c20", collectorNumber: "34", realName: ["Ethereal Forager"], nickname: ["Eater of Clouds"], source: "Scryfall Preview Name", }, { // https://scryfall.com/card/c20/48/jane-the-ripper setCode: "c20", collectorNumber: "48", realName: ["Titan Hunter"], nickname: ["Jane the Ripper"], source: "Scryfall Preview Name", }, { // https://scryfall.com/card/c20/64/beast-without setCode: "c20", collectorNumber: "64", realName: ["Sawtusk Demolisher"], nickname: ["Beast Without"], source: "Scryfall Preview Name", }, ];
25.442623
57
0.609536
3448f401c4bde666cbc4aa9b7fc484d60264685e
3,646
lua
Lua
bin/src/base/class.lua
CarlZhongZ/cocos_editor
e7ed85e42f5eb100d73b59ad70ab75cfd47dd186
[ "MIT" ]
20
2018-06-14T14:15:24.000Z
2021-01-07T18:24:47.000Z
tools/project_template/src/base/class.lua
StevenCoober/cocos_editor
e7ed85e42f5eb100d73b59ad70ab75cfd47dd186
[ "MIT" ]
null
null
null
tools/project_template/src/base/class.lua
StevenCoober/cocos_editor
e7ed85e42f5eb100d73b59ad70ab75cfd47dd186
[ "MIT" ]
7
2018-09-24T09:05:00.000Z
2022-01-16T15:06:56.000Z
--[[==================================== = = class = ========================================]] -- @author: -- Carl Zhong -- @desc: -- lua 面向对象解决方案, 类机制实现 -- 类实现不会用到 metatable --class id generator local s_nClassID = 0 local function _genClassID() s_nClassID = s_nClassID + 1 return s_nClassID end --metatable for class local s_clsmt = { __newindex = function(t, key, value) assert(type(value) == 'function') rawset(t, key, value) end, __index = function(t, k) return nil end, __add = function(t1, t2) assert(false) end, __sub = function(t1, t2) assert(false) end, __mul = function(t1, t2) assert(false) end, __div = function(t1, t2) assert(false) end, __mod = function(t1, t2) assert(false) end, __pow = function(t1, t2) assert(false) end, __lt = function(t1, t2) assert(false) end, __le = function(t1, t2) assert(false) end, __concat = function(t1, t2) assert(false) end, __call = function(t, ...) assert(false) end, __unm = function(t) assert(false) end, __len = function(t) assert(false) end, -- __eq = function(t1, t2) assert(false) end, 使用地址相等 -- __gc = function(t)end --__gc is for userdata, } function isclass(cls) return getmetatable(cls) == s_clsmt end function isobject(obj) local mt = getmetatable(obj) return mt and isclass(mt.__index) or false end function isinstance(obj, cls) return obj:IsInstance(cls) end function issubclass(subCls, parentCls) assert(isclass(subCls)) assert(isclass(parentCls)) while subCls do if subCls == parentCls then return true end subCls = subCls.__clsBase end return false end -- function superclass(cls) -- return cls.__clsBase -- end -- function super(cls, obj) -- end local _clsInfo = {} --key:clsID, value:{clsName, clsTemplate} -- @desc: -- 产生一个类模板 -- @param baseClass: -- 基类模板, if baseClass == nil then 返回的类模板无基类 -- @return: -- 返回新建类的模板 function CreateClass(baseClass) local definedMoudule = import_get_self_evn(3, 4) if definedMoudule == nil then error_msg('must call CreateClass in moudule') end local clsID = _genClassID() local subClass if baseClass then assert(isclass(baseClass)) subClass = table.copy(baseClass) --浅拷贝 else subClass = {} end --read only subClass.__clsID = clsID subClass.__clsBase = baseClass subClass.__definedMoudule = definedMoudule --class has metatable setmetatable(subClass, s_clsmt) _clsInfo[clsID] = subClass --default functions: if baseClass == nil then -- @desc: -- class method -- return the object of the class, the returned object has no metatable function subClass:New(...) local ret = {} setmetatable(ret, {__index = self}) --obj 函数引用 class ret.__objCls = self --auto init ret:__init__(...) return ret end -- @desc: -- Called when obj is constructed function subClass:__init__() assert(false, 'not implemented') end -- @desc: -- check wether obj / cls is a kind of class function subClass:IsInstance(class) return issubclass(self.__objCls, class) end function subClass:GetClsID() return self.__clsID end function subClass:Super() return self.__clsBase end end return subClass, baseClass end function GetClassInfo() return _clsInfo end
23.371795
83
0.59819
c312d5859e6e6556d4541578af41c31746c4540b
1,684
swift
Swift
Tests/SwiftDuxTests/PerformanceTests.swift
kamilpowalowski/SwiftDux
3b0693d7c4bd5ee8d1cdcab86fbcbbc75ddd14a2
[ "MIT" ]
154
2019-06-10T21:45:02.000Z
2022-03-21T20:55:22.000Z
Tests/SwiftDuxTests/PerformanceTests.swift
kamilpowalowski/SwiftDux
3b0693d7c4bd5ee8d1cdcab86fbcbbc75ddd14a2
[ "MIT" ]
36
2019-09-18T00:51:32.000Z
2021-09-27T00:44:48.000Z
Tests/SwiftDuxTests/PerformanceTests.swift
kamilpowalowski/SwiftDux
3b0693d7c4bd5ee8d1cdcab86fbcbbc75ddd14a2
[ "MIT" ]
14
2019-09-29T23:27:29.000Z
2021-11-08T14:50:22.000Z
import XCTest import Combine @testable import SwiftDux final class PerformanceTests: XCTestCase { func testOrderedStatePerformance() { measure { let store = configureStore() for i in 0...10000 { store.send(TodosAction.addTodo(toList: "123", withText: "Todo item \(i)")) } XCTAssertEqual(10004, store.state.todoLists["123"]?.todos.count) let firstMoveItem = store.state.todoLists["123"]?.todos.values[300] store.send(TodosAction.moveTodos(inList: "123", from: IndexSet(300...5000), to: 8000)) XCTAssertEqual(firstMoveItem?.id, store.state.todoLists["123"]?.todos.values[3299].id) let firstUndeletedItem = store.state.todoLists["123"]?.todos.values[3001] store.send(TodosAction.removeTodos(fromList: "123", at: IndexSet(100...3000))) XCTAssertEqual(firstUndeletedItem?.id, store.state.todoLists["123"]?.todos.values[100].id) } } func testStoreUpdatePerformance() { let subsriberCount = 1000 let sendCount = 1000 var updateCounts = 0 var sinks = [Cancellable]() let store = configureStore() for _ in 1...subsriberCount { sinks.append(store.didChange.sink { _ in updateCounts += 1 }) } measure { updateCounts = 0 for _ in 1...sendCount { store.send(TodosAction.doNothing) } XCTAssertEqual(updateCounts, subsriberCount * sendCount) } // Needed so it doesn't get optimized away. XCTAssertEqual(sinks.count, subsriberCount) } static var allTests = [ ("testOrderedStatePerformance", testOrderedStatePerformance), ("testStoreUpdatePerformance", testStoreUpdatePerformance), ] }
31.773585
96
0.669834
3ef90cd532c559b08bf3a014e7d516ab9055b696
760
asm
Assembly
src/utils/subprograms.asm
raulpy271/snake-game-gameboy
7ccd91a1638f6625b615574960de04e8921f3c9d
[ "MIT" ]
null
null
null
src/utils/subprograms.asm
raulpy271/snake-game-gameboy
7ccd91a1638f6625b615574960de04e8921f3c9d
[ "MIT" ]
null
null
null
src/utils/subprograms.asm
raulpy271/snake-game-gameboy
7ccd91a1638f6625b615574960de04e8921f3c9d
[ "MIT" ]
null
null
null
SECTION "Utility Methods", ROM0 LCDOff: LD HL, rLCDC LD [HL], 0 RET Sleep: HALT JR Sleep ; DE - Origin ; HL - Destination ; BC - Size MEMCOPY:: LD A, [DE] LD [HL+], A INC DE DEC BC LD A, B CP 0 JR NZ, MEMCOPY LD A, C CP 0 JR NZ, MEMCOPY RET EnableVBlank: LD HL, rSTAT SET 4, [HL] LD HL, rIE SET 0, [HL] LD HL, rIF RES 1, [HL] RET EnableKeypad: LD HL, rIE SET 4, [HL] RET EnableTime: LD A, %00000100 LD [rTAC], A LD A, 0 LD [rTMA], A RET ; B is larger than A? If yes set Carry Flag BLargerThanA: SUB A, B RET LD_A_RandomNumber: LD B, 7 LD A, [rTIMA] BIT 0, A JP Z, TwoInstructions LD B, 11 TwoInstructions: ADD A, B RR A RET
11.515152
43
0.548684
2f302eab69ea84f7196254312de8bcf368587705
3,859
php
PHP
app/client/utils/LimitPageUtil.php
maizijun2019/zhongpu
d9bcaa5782a5fc27cc791cd32cf0afce2116d3b6
[ "MIT" ]
null
null
null
app/client/utils/LimitPageUtil.php
maizijun2019/zhongpu
d9bcaa5782a5fc27cc791cd32cf0afce2116d3b6
[ "MIT" ]
null
null
null
app/client/utils/LimitPageUtil.php
maizijun2019/zhongpu
d9bcaa5782a5fc27cc791cd32cf0afce2116d3b6
[ "MIT" ]
null
null
null
<?php /** * Created by PhpStorm. * User: w * Date: 2020/6/30 * Time: 16:06 */ namespace app\client\utils; use Exception; use think\facade\Db; class LimitPageUtil { /** * 限制分页 * @param int $page 当前页数 * @param int $sum 当前条数 * @param int $count 总条数 * @param array $list 数据 * @return array */ public static function limitPage(int $page,int $sum,int $count,array $list){ $data = array( "page" => $page, "sum" => $sum, "list" => $list, "count" => $count, "total_page" => ceil($count / $sum) ); $data["next_page"] = $data["total_page"] > $page ? true : false; return $data; } /** * 分页查询 * @param int $page 当前页数 * @param int $sum 当前条数 * @param string $table_name 首表名 * @param string $alias 首表别名 * @param array $next_json 关联条件 * @param array $where 查询条件 * @param array $wherein in查询条件 * @param array $field 查询字段 * @param string $order_field 排序字段 * @param string $order 排序条件 * @return array * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException */ public static function limitQuery(int $page,int $sum,string $table_name,string $alias = "a",array $next_json = array(), array $where = array(),$wherein = array(),array $field = array(),string $order_field = "",string $order = "DESC"){ $sql = Db::table($table_name); if(strlen($alias) > 0){ $sql = $sql -> alias($alias); } if(sizeof($next_json) > 0){ foreach ($next_json as $key => $next){ if(!empty($next["join"]) && is_string($next["join"]) && !empty($next["table_name"]) && is_string($next["table_name"]) && !empty($next["on"]) && is_string($next["on"])){ switch (strtoupper($next["join"])){ case "JOIN": $sql = $sql -> join($next["table_name"],$next["on"]); break; case "LEFTJOIN": $sql = $sql -> leftJoin($next["table_name"],$next["on"]); break; case "RIGHTJOIN": $sql = $sql -> rightJoin($next["table_name"],$next["on"]); break; case "FULLJOIN": $sql = $sql -> fullJoin($next["table_name"],$next["on"]); break; case "WITHJOIN": $sql = $sql -> withJoin($next["table_name"],$next["on"]); break; default: throw new Exception("SQL关联条件不正确"); } continue; } throw new Exception("SQL关联条件不正确"); } } if(sizeof($where) > 0){ $sql = $sql -> where($where); } if(sizeof($wherein) == 2){ $sql = $sql -> whereIn($wherein[0],$wherein[1]); } if(sizeof($field) > 0){ $sql = $sql -> field($field); } $count = $sql -> count(); if(strlen($order_field) > 0){ switch (strtoupper($order)){ case "ASC": case "DESC": $sql = $sql -> order($order_field,$order); break; default: throw new Exception("SQL排序条件不正确"); } } $list = $sql -> limit(($page - 1) * $sum,$sum) -> select() -> toArray(); return self::limitPage($page,$sum,$count,$list); } }
34.765766
152
0.443897
6836b2ddf0efffd825b21d8a68a1fcb6b00e75b3
964
html
HTML
manuscript/page-550/body.html
marvindanig/the-iliad
3982f687b6808a6db81d484cd85930ba4f0c4b97
[ "BlueOak-1.0.0", "MIT" ]
null
null
null
manuscript/page-550/body.html
marvindanig/the-iliad
3982f687b6808a6db81d484cd85930ba4f0c4b97
[ "BlueOak-1.0.0", "MIT" ]
null
null
null
manuscript/page-550/body.html
marvindanig/the-iliad
3982f687b6808a6db81d484cd85930ba4f0c4b97
[ "BlueOak-1.0.0", "MIT" ]
null
null
null
<div class="leaf flex"><div class="inner justify"><p>Rest undetermined till the dawning day."</p><p>He ceased; then order'd for the sage's bed</p><p>A warmer couch with numerous carpets spread.</p><p>With that, stern Ajax his long silence broke,</p><p>And thus, impatient, to Ulysses spoke:</p><p>"Hence let us go—why waste we time in vain?</p><p>See what effect our low submissions gain!</p><p>Liked or not liked, his words we must relate,</p><p>The Greeks expect them, and our heroes wait.</p><p>Proud as he is, that iron heart retains</p><p>Its stubborn purpose, and his friends disdains.</p><p>Stern and unpitying! if a brother bleed,</p><p>On just atonement, we remit the deed;</p><p>A sire the slaughter of his son forgives;</p><p>The price of blood discharged, the murderer lives:</p><p>The haughtiest hearts at length their rage resign,</p><p>And gifts can conquer every soul but thine.</p><p>The gods that unrelenting breast have steel'd,</p></div> </div>
964
964
0.728216
1a987af3187a30687754471484c324f079c7e60a
833
sql
SQL
StudentWork/Lama Alyousef/SQL/exercise 2.sql
mickknutson/SITE_BOOTCAMP_QA
adbd8014bcbbd5363e61eaad80b8eea002dd42ee
[ "MIT" ]
12
2020-02-25T07:49:49.000Z
2021-11-16T12:20:17.000Z
StudentWork/Lama Alyousef/SQL/exercise 2.sql
mickknutson/SITE_BOOTCAMP_QA
adbd8014bcbbd5363e61eaad80b8eea002dd42ee
[ "MIT" ]
null
null
null
StudentWork/Lama Alyousef/SQL/exercise 2.sql
mickknutson/SITE_BOOTCAMP_QA
adbd8014bcbbd5363e61eaad80b8eea002dd42ee
[ "MIT" ]
11
2020-02-25T08:34:28.000Z
2021-07-05T20:56:16.000Z
CREATE TABLE person( ID SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, NAME VARCHAR (60) NOT NULL, PRIMARY KEY (ID)); CREATE TABLE shirt( ID SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT, STYLE ENUM('t-SHIRT','POLO','DRESS')NOT NULL, COLOR ENUM('RED','BLUE','ORANGE','WHITE','BLACK')NOT NULL, OWNER SMALLINT UNSIGNED NOT NULL REFERENCES PERSON (ID), PRIMARY KEY(ID)); INSERT INTO PERSON VALUES (NULL, 'LILLIANA ANGELOVSKA'); SELECT @LAST := LAST_INSERT_ID(); INSERT INTO shirt VALUES (NULL,'dress','orange',@LAST), (NULL,'polo','red',@LAST), (NULL,'dress','blue',@LAST), (NULL,'t-shirt','white',@LAST); -- Find out person names containing “Lilliana” as a string and having a shirt of any color but not white: SELECT s.* FROM person p INNER JOIN shirt s ON s.owner = p.id WHERE p.name LIKE '%Lilliana%' AND s.color <> 'white';
26.870968
107
0.709484
1b82aea1fb4ebc82538856ee9349d512f693a2d8
9,734
swift
Swift
Source/JustPhotoPicker/Scenes/PhotoPreview/PhotoPreviewViewController.swift
igooor-bb/JustPhotoPicker
f1d5186b0edafcda4c12f403a9ce51bdde94c1b3
[ "MIT" ]
4
2021-07-19T16:05:03.000Z
2021-09-27T20:06:35.000Z
Source/JustPhotoPicker/Scenes/PhotoPreview/PhotoPreviewViewController.swift
igooor-bb/JustPhotoPicker
f1d5186b0edafcda4c12f403a9ce51bdde94c1b3
[ "MIT" ]
null
null
null
Source/JustPhotoPicker/Scenes/PhotoPreview/PhotoPreviewViewController.swift
igooor-bb/JustPhotoPicker
f1d5186b0edafcda4c12f403a9ce51bdde94c1b3
[ "MIT" ]
2
2021-08-12T13:25:42.000Z
2022-03-02T14:49:46.000Z
// // PhotoPreviewViewController.swift // PhotoPicker // // Created by Igor Belov on 12.07.2021. // import UIKit import PhotosUI internal final class PhotoPreviewViewController: UIViewController { // MARK: - Interface properties public lazy var imageView: UIImageView = { let imageView = UIImageView() imageView.contentMode = .scaleAspectFill imageView.translatesAutoresizingMaskIntoConstraints = false imageView.setContentHuggingPriority(.defaultLow, for: .horizontal) imageView.setContentCompressionResistancePriority(.defaultLow, for: .horizontal) imageView.setContentHuggingPriority(.defaultLow, for: .vertical) imageView.setContentCompressionResistancePriority(.defaultLow, for: .vertical) return imageView }() private lazy var scrollView: UIScrollView = { let scrollView = UIScrollView() scrollView.translatesAutoresizingMaskIntoConstraints = false scrollView.showsVerticalScrollIndicator = false scrollView.showsHorizontalScrollIndicator = false if JustConfig.allowsPhotoPreviewZoom { scrollView.delegate = self let doubleTap = UITapGestureRecognizer( target: self, action: #selector(scrollViewDoubleTapped(_:))) doubleTap.numberOfTapsRequired = 2 scrollView.addGestureRecognizer(doubleTap) scrollView.maximumZoomScale = 5.0 } return scrollView }() // MARK: - Public properties public var asset: PHAsset! public var image: UIImage! public var imageInitialPortraitHeight: CGFloat! public var imageInitialLandscapeWidth: CGFloat! // MARK: - Properties private var imageSizeConstraints: [NSLayoutConstraint] = [] private var imageInitialConstraints: [NSLayoutConstraint] = [] // MARK: - Default methods override func viewDidLoad() { super.viewDidLoad() configureToolbar() // The separation of the interface configuration into initial and final is required // because the imageview cannot be centered inside scrollview before the main view appears. // Therefore, initially the imageview is centered inside the main view to // correctly complete with transition. configureScrollview() setInitialImageConfiguration() fetchImage() // Add observer to update constraints right after device rotation occurs. NotificationCenter.default.addObserver( self, selector: #selector(rotationOccured), name: UIDevice.orientationDidChangeNotification, object: nil) } deinit { // When deinitializing, rotation observer should be // removed as it is no longer needed. NotificationCenter.default.removeObserver( self, name: UIDevice.orientationDidChangeNotification, object: nil) } override func viewDidAppear(_ animated: Bool) { super.viewDidAppear(animated) // When the view appears apply final interface configuration to center the imageview // inside the scrollview. finalImageConfiguration() setZoomScale() } // MARK: - Interface configuration private func configureToolbar() { navigationController?.isToolbarHidden = false toolbarItems = navigationController?.toolbarItems } private func configureScrollview() { view.addSubview(scrollView) let guide = view.safeAreaLayoutGuide NSLayoutConstraint.activate([ scrollView.topAnchor.constraint(equalTo: guide.topAnchor), scrollView.leftAnchor.constraint(equalTo: view.leftAnchor), view.rightAnchor.constraint(equalTo: scrollView.rightAnchor), guide.bottomAnchor.constraint(equalTo: scrollView.bottomAnchor) ]) } private func setInitialImageConfiguration() { view.addSubview(imageView) let guide = view.safeAreaLayoutGuide if UIWindow.isLandscape { imageInitialConstraints = [ imageView.topAnchor.constraint(equalTo: guide.topAnchor), imageView.bottomAnchor.constraint(equalTo: guide.bottomAnchor), imageView.centerXAnchor.constraint(equalTo: view.centerXAnchor), imageView.widthAnchor.constraint(equalToConstant: imageInitialLandscapeWidth) ] } else { imageInitialConstraints = [ imageView.centerYAnchor.constraint(equalTo: view.safeAreaLayoutGuide.centerYAnchor), imageView.centerXAnchor.constraint(equalTo: view.centerXAnchor), imageView.widthAnchor.constraint(equalTo: view.widthAnchor), imageView.heightAnchor.constraint(equalToConstant: imageInitialPortraitHeight) ] } NSLayoutConstraint.activate(imageInitialConstraints) } private func finalImageConfiguration() { NSLayoutConstraint.deactivate(imageInitialConstraints) imageView.removeFromSuperview() scrollView.addSubview(imageView) // Check exitance of an image in case the high quality // version has already been fetched. if imageView.image == nil { imageView.image = image } NSLayoutConstraint.activate([ imageView.topAnchor.constraint(equalTo: scrollView.topAnchor), imageView.leftAnchor.constraint(equalTo: scrollView.leftAnchor), scrollView.rightAnchor.constraint(equalTo: imageView.rightAnchor), scrollView.bottomAnchor.constraint(equalTo: imageView.bottomAnchor) ]) updateSizeConstraints() } private func updateSizeConstraints() { NSLayoutConstraint.deactivate(imageSizeConstraints) let viewWidth = view.frame.size.width let viewHeight = view.safeAreaLayoutGuide.layoutFrame.height let ratio = image.size.width / image.size.height var verticalPadding: CGFloat var horizontalPadding: CGFloat if UIWindow.isLandscape { let imageViewLandscapeWidth = viewHeight * ratio imageSizeConstraints = [ imageView.widthAnchor.constraint(equalToConstant: imageViewLandscapeWidth), imageView.heightAnchor.constraint(equalTo: view.safeAreaLayoutGuide.heightAnchor) ] verticalPadding = 0 horizontalPadding = (viewWidth - imageViewLandscapeWidth) / 2 } else { let imageViewPortraitHeight = viewWidth / ratio imageSizeConstraints = [ imageView.widthAnchor.constraint(equalTo: view.widthAnchor), imageView.heightAnchor.constraint(equalToConstant: imageViewPortraitHeight) ] verticalPadding = (viewHeight - imageViewPortraitHeight) / 2 horizontalPadding = 0 } scrollView.contentInset = UIEdgeInsets( top: verticalPadding, left: horizontalPadding, bottom: verticalPadding, right: horizontalPadding) NSLayoutConstraint.activate(imageSizeConstraints) } // MARK: - Data configuration private func fetchImage() { let manager = PhotoManager() manager.getImage(for: asset, size: imageView.frame.size) { [weak self] image in guard let image = image else { return } self?.imageView.image = image } } // MARK: - Actions @objc func rotationOccured() { updateSizeConstraints() } @objc func scrollViewDoubleTapped(_ sender: UIGestureRecognizer) { if scrollView.zoomScale >= scrollView.maximumZoomScale / 2.0 { scrollView.setZoomScale(scrollView.minimumZoomScale, animated: true) } else { let center = sender.location(in: sender.view) let zoomRect = scrollView.zoomRectForScale(3 * scrollView.minimumZoomScale, center: center) scrollView.zoom(to: zoomRect, animated: true) } } } // MARK: - ZoomingViewController extension PhotoPreviewViewController: ZoomingViewController { func zoomingImageView(for transition: ZoomTransitioningDelegate) -> UIImageView? { return imageView } } // MARK: - UIScrollViewDelegate extension PhotoPreviewViewController: UIScrollViewDelegate { func viewForZooming(in scrollView: UIScrollView) -> UIView? { return imageView } func setZoomScale() { let imageViewSize = imageView.bounds.size let scrollViewSize = scrollView.bounds.size let widthScale = scrollViewSize.width / imageViewSize.width let heightScale = scrollViewSize.height / imageViewSize.height scrollView.minimumZoomScale = min(widthScale, heightScale) scrollView.zoomScale = 1.0 } func scrollViewDidZoom(_ scrollView: UIScrollView) { let imageViewSize = imageView.frame.size let scrollViewSize = scrollView.bounds.size let verticalPadding = imageViewSize.height < scrollViewSize.height ? (scrollViewSize.height - imageViewSize.height) / 2 : 0 let horizontalPadding = imageViewSize.width < scrollViewSize.width ? (scrollViewSize.width - imageViewSize.width) / 2 : 0 scrollView.contentInset = UIEdgeInsets( top: verticalPadding, left: horizontalPadding, bottom: verticalPadding, right: horizontalPadding) } }
38.474308
103
0.656359
3ff84c1527b36330fe09d313bc184d40cfa450eb
469
sql
SQL
src/main/resources/db/migration/V0001__init.sql
mbogner/invoicing
40c23a337e94a5002e457c0e1f1c960030f02579
[ "MIT" ]
1
2021-12-06T09:50:12.000Z
2021-12-06T09:50:12.000Z
src/main/resources/db/migration/V0001__init.sql
mbogner/invoicing
40c23a337e94a5002e457c0e1f1c960030f02579
[ "MIT" ]
null
null
null
src/main/resources/db/migration/V0001__init.sql
mbogner/invoicing
40c23a337e94a5002e457c0e1f1c960030f02579
[ "MIT" ]
null
null
null
-- we are using uuids as default id values create extension if not exists "uuid-ossp"; -- let's use utc for sure DROP FUNCTION IF EXISTS now_utc; create or replace function now_utc() returns timestamp as $$ select now() at time zone 'utc'; $$ language sql; -- increment lock_version if not done DROP FUNCTION IF EXISTS unknown_enum_value; CREATE OR REPLACE FUNCTION unknown_enum_value() RETURNS varchar AS $$ BEGIN RETURN 'UNKNOWN'; END; $$ language plpgsql;
23.45
57
0.750533
9b2d35a89474a21c3865c015229828ee36166e51
1,401
dart
Dart
bin/test/generate_test.dart
Renzo-Olivares/assets-for-api-docs
b3acf74b33481ccebb4f15b2a2bd5a2f326c9ac8
[ "BSD-3-Clause" ]
null
null
null
bin/test/generate_test.dart
Renzo-Olivares/assets-for-api-docs
b3acf74b33481ccebb4f15b2a2bd5a2f326c9ac8
[ "BSD-3-Clause" ]
null
null
null
bin/test/generate_test.dart
Renzo-Olivares/assets-for-api-docs
b3acf74b33481ccebb4f15b2a2bd5a2f326c9ac8
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2017 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. import 'dart:io'; import 'package:test/test.dart'; import 'package:path/path.dart' as path; import 'package:process_runner/process_runner.dart'; import '../generate.dart'; import 'fake_process_manager.dart'; final String repoRoot = path.dirname(path.dirname(path.dirname(path.fromUri(Platform.script)))); void main() { group('DiagramGenerator', () { DiagramGenerator generator; Directory temporaryDirectory; FakeProcessManager processManager; setUp(() { processManager = FakeProcessManager(); temporaryDirectory = Directory.systemTemp.createTempSync(); generator = DiagramGenerator( processRunner: ProcessRunner(processManager: processManager), temporaryDirectory: temporaryDirectory, cleanup: false, ); }); test('make sure generate generates', () async { final Map<String, List<ProcessResult>> calls = <String, List<ProcessResult>>{ 'flutter run': null, 'adb exec-out run-as io.flutter.api.diagramgenerator tar c -C app_flutter/diagrams .': null, }; processManager.fakeResults = calls; await generator.generateDiagrams(<String>[], <String>[]); processManager.verifyCalls(calls.keys.toList()); }); }); }
33.357143
100
0.700214
75f0b05227a6cc0b2d5a62e59349a0636a43a9e7
153
php
PHP
app/helpers.php
sheenazien8/kasiertansi
b9e1eda5caed9228337d5a71565393e210899eef
[ "MIT" ]
1
2021-03-05T06:26:10.000Z
2021-03-05T06:26:10.000Z
app/helpers.php
sheenazien8/kasiertansi
b9e1eda5caed9228337d5a71565393e210899eef
[ "MIT" ]
5
2020-07-20T18:14:21.000Z
2022-02-27T04:53:53.000Z
app/helpers.php
sheenazien8/kasiertansi
b9e1eda5caed9228337d5a71565393e210899eef
[ "MIT" ]
1
2021-03-05T06:26:12.000Z
2021-03-05T06:26:12.000Z
<?php if (!function_exists('auth_cache')) { function auth_cache() { return Illuminate\Support\Facades\Cache::get('owner-cache'); } }
19.125
68
0.627451
1ce631d86867225d0745d64a70d1967a5b396c2e
3,716
lua
Lua
game/controller/BotController.lua
matanui159/game_light
fb171abc8bb505f04cf5d83471cd0f6703f4f85b
[ "MIT" ]
null
null
null
game/controller/BotController.lua
matanui159/game_light
fb171abc8bb505f04cf5d83471cd0f6703f4f85b
[ "MIT" ]
null
null
null
game/controller/BotController.lua
matanui159/game_light
fb171abc8bb505f04cf5d83471cd0f6703f4f85b
[ "MIT" ]
null
null
null
local Controller = require("game.controller.Controller") local BotController = Controller:extend() function BotController:new(world, map, all_players, player) BotController.super.new(self) self.world = world self.map = map self.all_players = all_players self.player = player self.timer = 0 self.pos = { x = math.floor(player.lerp.x), y = math.floor(player.lerp.y) } self:bot() end function BotController:sign(val) if val < 0 then return -1 else return 1 end end function BotController:getPlayers(callback) for i, player in ipairs(self.all_players) do if player ~= self.player and player.lerp.health > 0 then callback(player) end end end function BotController:getClosest() local close = {} self:getPlayers(function(player) local dx = player.lerp.x - self.player.lerp.x local dy = player.lerp.y - self.player.lerp.y local dist = math.sqrt(dx * dx + dy * dy) if not close.dist or dist < close.dist then close.dist = dist close.dx = dx close.dy = dy end end) return close end function BotController:setMove(x, y) if x == -self.move.x and y == -self.move.y then return false elseif self.map:getTile(self.pos.x + x, self.pos.y + y) then return false else self.move.x = x self.move.y = y return true end end function BotController:update() local x = math.floor(self.player.lerp.x) local y = math.floor(self.player.lerp.y) if x ~= self.pos.x or y ~= self.pos.y then self.pos.x = x self.pos.y = y self:bot() end self.timer = self.timer + 1 if self.timer == 10 then local close = {} self:getPlayers(function(player) local hit = true self.world:rayCast( self.player.lerp.x, self.player.lerp.y, player.lerp.x, player.lerp.y, function(fixture) if fixture:getUserData() ~= player then hit = false end return -1 end ) if hit then local dx = player.lerp.x - self.player.lerp.x local dy = player.lerp.y - self.player.lerp.y local dist = math.sqrt(dx * dx + dy * dy) if not close.dist or dist < close.dist then close.dist = dist close.dx = dx close.dy = dy close.player = player end end end) if close.player then local angle = math.atan2(close.dy, close.dx) + math.random() / 5 - 0.1 self.attack.x = math.cos(angle) self.attack.y = math.sin(angle) else self.attack.x = 0 self.attack.y = 0 end self.timer = 0 end end function BotController:damage(x, y) self:bot(x, y) end function BotController:bot(x, y) local mx, my = self:randomBot() if x == nil or y == nil then local count = 0 self:getPlayers(function() count = count + 1 end) if count == 1 then if math.random(2) == 1 then mx, my = self:attackBot() end elseif count > 0 then if self.player.index <= 2 then mx, my = self:attackBot() elseif self.player.index == 3 then mx, my = self:defendBot() end end else self:setMove(0, 0) mx = self.player.lerp.x - x my = self.player.lerp.y - y end local use_x = math.random() * (mx + my) < my mx = self:sign(mx) my = self:sign(my) if use_x and self:setMove(mx, 0) then elseif self:setMove(0, my) then elseif not use_x and self:setMove(mx, 0) then elseif use_x and self:setMove(0, -my) then elseif self:setMove(-mx, 0) then elseif not use_x and self:setMove(0, -my) then else self.move.x = -self.move.x self.move.y = -self.move.y end end function BotController:attackBot() local close = self:getClosest() return close.dx, close.dy end function BotController:defendBot() local close = self:getClosest() return -close.dx, -close.dy end function BotController:randomBot() return math.random() - 0.5, math.random() - 0.5 end return BotController
21.356322
73
0.666308
dd7ffb0103f4971c44689fbb2235634092c0d406
2,908
php
PHP
about.php
dangluyen20/Web_fashion_men
b0ce126a598a3d2b865a7fbc2d666b8324b70420
[ "MIT" ]
null
null
null
about.php
dangluyen20/Web_fashion_men
b0ce126a598a3d2b865a7fbc2d666b8324b70420
[ "MIT" ]
null
null
null
about.php
dangluyen20/Web_fashion_men
b0ce126a598a3d2b865a7fbc2d666b8324b70420
[ "MIT" ]
null
null
null
<?php require ("includes/common.php"); session_start(); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Planet Shopify</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"> <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> <link href='https://fonts.googleapis.com/css?family=Delius Swash Caps' rel='stylesheet'> <link href='https://fonts.googleapis.com/css?family=Andika' rel='stylesheet'> <link rel="stylesheet" href="style.css"> </head> <body style="overflow-x:hidden; padding-bottom:100px;"> <?php include 'includes/header_menu.php'; ?> <div> <div class="container mt-5 "> <div class="row justify-content-around"> <div class="col-md-5 mt-3"> <h3 class="text-warning pt-3 title">Who I am ?</h3> <hr /> <img src="images/about.jpg" class="img-fluid d-block rounded mx-auto image-thumbnail"> <p class="mt-2"></p> </div> <div class="col-md-5 mt-3"> <span class="text-warning pt-3"> <h1 class="title">THÔNG TIN CÁ NHÂN</h1> </span> <hr> <p>Đặng Ngọc Luyến </p> <p>Sinh viên năm 4 </p> <p>Đại học Nha trang </p> <p>Lập trình viên Back-end </p> <p>SĐT: 0977715564 </p> <p>EMAIL: luyen.dn.60cntt@ntu.edu.vn </p> </div> </div> </div> </div> </div> <!--footer --> <?php include 'includes/footer.php'?> <!--footer end--> </body> <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script> <script> $(document).ready(function () { $('[data-toggle="popover"]').popover(); }); $(document).ready(function () { if (window.location.href.indexOf('#login') != -1) { $('#login').modal('show'); } }); </script> <?php if(isset($_GET['error'])){ $z=$_GET['error']; echo "<script type='text/javascript'> $(document).ready(function(){ $('#signup').modal('show'); }); </script>"; echo " <script type='text/javascript'>alert('".$z."')</script>";} ?> <?php if(isset($_GET['errorl'])){ $z=$_GET['errorl']; echo "<script type='text/javascript'> $(document).ready(function(){ $('#login').modal('show'); }); </script>"; echo " <script type='text/javascript'>alert('".$z."')</script>";} ?> </html>
31.608696
111
0.586657
76ff7951b2e251c6a5d35f1d2126b4a067a29c1c
6,163
c
C
server.c
William-Mou/minos
497c31c87b988aef14d583e16ea27940edbbee19
[ "BSD-2-Clause" ]
9
2019-09-07T00:55:07.000Z
2021-05-15T10:40:38.000Z
server.c
William-Mou/minos
497c31c87b988aef14d583e16ea27940edbbee19
[ "BSD-2-Clause" ]
4
2019-12-18T08:10:59.000Z
2021-04-08T15:24:50.000Z
server.c
William-Mou/minos
497c31c87b988aef14d583e16ea27940edbbee19
[ "BSD-2-Clause" ]
3
2019-12-19T06:32:42.000Z
2021-04-08T06:40:43.000Z
#define _GNU_SOURCE #include <stdlib.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <grp.h> #include <pwd.h> #include <shadow.h> #include <zmq.h> #include "common.h" struct Snapshot { char* buf; size_t len; }; const int timeoutms = 4000; int read_system_pwd_spwd( struct Snapshot* psnap, struct Snapshot* spsnap, const struct EntOptions* user_conf) { FILE* out = open_memstream(&psnap->buf, &psnap->len); if (out == NULL) { perror("unexpected error during open_memstream"); return 1; } FILE* sout = open_memstream(&spsnap->buf, &spsnap->len); if (sout == NULL) { perror("unexpected error during open_memstream"); fclose(out); return 1; } int rc = 0; setpwent(); while (1) { errno = 0; struct passwd* pwd = getpwent(); if (pwd == NULL) { if (errno == 0) { break; } perror("warning: unexpected error in getpwent()"); break; } if (should_skip_ent(user_conf, pwd->pw_uid, pwd->pw_name)) { continue; } if (-1 == putpwent(pwd, out)) { perror("unexpected error in putpwent()"); rc = 1; goto cleanup; } struct spwd* shadow = getspnam(pwd->pw_name); if (shadow == NULL) { perror("warning: unexpected error in getspnam()"); } else { if (-1 == putspent(shadow, sout)) { perror("unexpected error in putspent()"); rc = 1; goto cleanup; } } } cleanup: if (0 != fclose(out)) { perror("unexpected error during fclose"); rc = 1; } if (0 != fclose(sout)) { perror("unexpected error during fclose"); rc = 1; } endpwent(); return rc; } int read_system_grp(struct Snapshot* gsnap, const struct EntOptions* group_conf) { FILE* out = open_memstream(&gsnap->buf, &gsnap->len); if (out == NULL) { perror("unexpected error during open_memstream"); return 1; } setgrent(); int rc = 0; while (1) { errno = 0; struct group* grp = getgrent(); if (grp == NULL) { if (errno == 0) { break; } perror("warning: unexpected error in getgrent()"); break; } if (should_skip_ent(group_conf, grp->gr_gid, grp->gr_name)) { continue; } if (-1 == putgrent(grp, out)) { perror("unexpected error putgrent()"); rc = 1; goto cleanup; } } cleanup: endgrent(); if (0 != fclose(out)) { perror("unexpected error during fclose"); rc = 1; } return rc; } int main(int argc, char** argv) { struct Args args; if (parse_args(&args, argc, argv)) { return 1; } printf("Config file: %s\n", args.config_file); g_autoptr(GError) error = NULL; g_autoptr(GKeyFile) key_file = g_key_file_new(); if (!g_key_file_load_from_file(key_file, args.config_file, G_KEY_FILE_NONE, &error)) { fprintf(stderr, "Error loading config file %s: %s\n", args.config_file, error->message); return 1; } struct MinosOptions minos_conf = {0}; if (parse_minos_options(&minos_conf, key_file)) { return 1; } struct EntOptions user_conf = {0}; struct EntOptions group_conf = {0}; if (parse_ent_options(&user_conf, key_file, "User")) { return 1; } if (parse_ent_options(&group_conf, key_file, "Group")) { return 1; } void* zctx = zmq_ctx_new(); if (zctx == NULL) { perror("Cannot create 0MQ context"); return 1; } void* zsock = zmq_socket(zctx, ZMQ_XPUB); if (zsock == NULL) { perror("Cannot create 0MQ socket"); return 1; } if (0 != zmq_bind(zsock, minos_conf.address)) { perror("Cannot bind 0MQ socket"); return 1; } int xpub_verbose = 1; if (0 != zmq_setsockopt(zsock, ZMQ_XPUB_VERBOSE, &xpub_verbose, sizeof xpub_verbose)) { fprintf(stderr, "zmq_setsockopt: %s\n", zmq_strerror(errno)); return 1; } while (1) { zmq_pollitem_t items[] = {{zsock, 0, ZMQ_POLLIN, 0}}; int poll = zmq_poll(items, 1, timeoutms); if (poll == -1) { fprintf(stderr, "internal error in zmq_poll: %s\n", strerror(errno)); return 1; } int send = 0; if (poll == 0) { send = 1; } if (items[0].revents & ZMQ_POLLIN) { char buf[1]; if (-1 == zmq_recv(zsock, buf, sizeof buf, 0)) { fprintf(stderr, "internal error in zmq_recv: %s\n", strerror(errno)); return 1; } if (buf[0] == 1) { puts("Subscription"); send = 1; } else { puts("Unsubscription"); send = 1; } } if (send) { struct Snapshot psnap = {0}; struct Snapshot spsnap = {0}; if (read_system_pwd_spwd(&psnap, &spsnap, &user_conf)) { goto cleanup; } struct Snapshot gsnap = {0}; if (read_system_grp(&gsnap, &group_conf)) { goto cleanup; } if (psnap.len != zmq_send(zsock, psnap.buf, psnap.len, ZMQ_SNDMORE)) { fprintf(stderr, "failed to send psnap: %s\n", zmq_strerror(errno)); return 1; } if (gsnap.len != zmq_send(zsock, gsnap.buf, gsnap.len, ZMQ_SNDMORE)) { fprintf(stderr, "failed to send gsnap: %s\n", zmq_strerror(errno)); return 1; } if (spsnap.len != zmq_send(zsock, spsnap.buf, spsnap.len, 0)) { fprintf(stderr, "failed to send spsnap: %s\n", zmq_strerror(errno)); return 1; } cleanup: free(psnap.buf); free(gsnap.buf); free(spsnap.buf); } } }
28.934272
96
0.5129
5994126ef337bfcc692ca8d6144fbade3fe50ced
1,108
cpp
C++
qmf/utils/Util.cpp
ddtuan99/qmf
ec1e6e8d399101f4e1915d354007a6fc576623d6
[ "Apache-2.0" ]
485
2016-04-15T03:32:37.000Z
2022-01-31T23:12:01.000Z
qmf/utils/Util.cpp
Seanpm2001-Quora/qmf
c36330e97604cdd69805365e297590c293962b77
[ "Apache-2.0" ]
29
2016-04-19T20:06:51.000Z
2021-02-04T06:26:36.000Z
qmf/utils/Util.cpp
Seanpm2001-Quora/qmf
c36330e97604cdd69805365e297590c293962b77
[ "Apache-2.0" ]
104
2016-04-19T17:54:59.000Z
2022-01-31T23:15:09.000Z
/* * Copyright 2016 Quora, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include <qmf/utils/Util.h> namespace qmf { std::vector<std::string> split(const std::string& str, const char delim) { std::vector<std::string> pieces; if (str.empty()) { return pieces; } std::string::size_type prevPos = 0; std::string::size_type pos = str.find(delim); while (pos != std::string::npos) { pieces.push_back(str.substr(prevPos, pos - prevPos)); prevPos = pos + 1; pos = str.find(delim, prevPos); } pieces.push_back(str.substr(prevPos, pos)); return pieces; } }
27.7
75
0.694043
f1b008900604c955d6211ed176ddc80e95326006
299
rb
Ruby
db/migrate/20160719184610_user_audits.rb
telegnom/mete
0edbc6fd33086c64cd6b4e88150598abd53f112a
[ "MIT" ]
18
2015-01-06T19:51:35.000Z
2021-12-10T23:49:06.000Z
db/migrate/20160719184610_user_audits.rb
telegnom/mete
0edbc6fd33086c64cd6b4e88150598abd53f112a
[ "MIT" ]
71
2016-03-05T19:40:10.000Z
2022-03-10T18:51:13.000Z
db/migrate/20160719184610_user_audits.rb
sotgasotga/mete
2a3682823d24edacc927e9cf77aea9f01c7a3164
[ "MIT" ]
26
2015-03-15T19:31:25.000Z
2021-12-28T23:35:53.000Z
class UserAudits < ActiveRecord::Migration[4.2] #via http://api.rubyonrails.org/classes/ActiveRecord/Migration.html def up add_column :audits, :user, :int add_column :users, :audit, :boolean, default: false end def down remove_column :audits, :user remove_column :users, :audit end end
23
67
0.745819
ac9ae783a2912f34f06cc27226f49f408f04f300
1,255
cpp
C++
src/device/net.cpp
rnascunha/agro_daemon
061e9c3ad16b6cebed64a9554dff97481e28f26d
[ "MIT" ]
null
null
null
src/device/net.cpp
rnascunha/agro_daemon
061e9c3ad16b6cebed64a9554dff97481e28f26d
[ "MIT" ]
null
null
null
src/device/net.cpp
rnascunha/agro_daemon
061e9c3ad16b6cebed64a9554dff97481e28f26d
[ "MIT" ]
1
2022-01-13T19:06:32.000Z
2022-01-13T19:06:32.000Z
#include "net.hpp" #include <algorithm> namespace Agro{ namespace Device{ Net::Net(net_id id, mesh_addr_t const& number, std::string const& name /* = "" */) : id_(id), net_addr_(number), name_(name){} net_id Net::id() const noexcept { return id_; } mesh_addr_t const& Net::net_addr() const noexcept { return net_addr_; } std::string const& Net::name() const noexcept { return name_; } Net_List::Net_List(){} Net* Net_List::add(Net&& net) noexcept { auto n = list_.find(net.id()); if(n != list_.end()) { return nullptr; } return &list_.emplace(net.id(), net).first->second; } Net const* Net_List::get(net_id id) const noexcept { auto n = list_.find(id); if(n == list_.end()) { return nullptr; } return &n->second; } Net* Net_List::get(net_id id) noexcept { auto n = list_.find(id); if(n == list_.end()) { return nullptr; } return &n->second; } Net const* Net_List::get(mesh_addr_t const& number) const noexcept { for(auto const& n : list_) { if(n.second.net_addr() == number) { return &n.second; } } return nullptr; } Net* Net_List::get(mesh_addr_t const& number) noexcept { for(auto& n : list_) { if(n.second.net_addr() == number) { return &n.second; } } return nullptr; } }//Device }//Agro
14.940476
82
0.645418
e287306043288cbd6c2a3f62aee53d475b106f87
1,941
ps1
PowerShell
sfdx.ps1
surajp/psfunctions
08104085f4fff825f6eb34b996aba474a18dbaed
[ "MIT" ]
null
null
null
sfdx.ps1
surajp/psfunctions
08104085f4fff825f6eb34b996aba474a18dbaed
[ "MIT" ]
null
null
null
sfdx.ps1
surajp/psfunctions
08104085f4fff825f6eb34b996aba474a18dbaed
[ "MIT" ]
null
null
null
Function IIf($If, $Right, $Wrong) {If ($If) {$Right} Else {$Wrong}} function query { param($q) return sfdx force:data:soql:query -q $q} function push {return sfdx force:source:push} function pull {return sfdx force:source:pull} function open {param ($u) return sfdx force:org:open -p /lightning/page/home (IIf $u "-u$($u -Replace('\n',''))" "")} function openr {param ($u) return sfdx force:org:open -p /lightning/page/home -r (IIf $u "-u$($u -Replace('\n',''))" "")} function create {return sfdx force:org:create -f config\project-scratch-def.json -w 10 $args} function newclass {param ($classname) return sfdx force:apex:class:create -n $classname -d .\force-app\main\default\classes\ } function newaura {param ($compname) return sfdx force:lightning:component:create -n $compname --type aura -d .\force-app\main\default\aura\ } function newlwc {param ($compname) return sfdx force:lightning:component:create -n $compname --type lwc -d .\force-app\main\default\lwc\ } function newtrigger {param($trname,$objname) return sfdx force:apex:trigger:create -n $trname -d .\force-app\main\default\triggers -s $objname -e "after insert"} function stest {param($testclass) return sfdx force:apex:test:run -n $testclass -y -c -r human --wait 10} function gco{param($branchname)git checkout $branchname} function gcon{param($branchname)git checkout -b $branchname} function gcleanall{git reset --hard HEAD; git clean -df} function glog{git log --all --graph --decorate --format=medium | Out-GridView} function orgs{sfdx force:org:list --all} function aliases{sfdx force:alias:list} [Net.ServicePointManager]::SecurityProtocol = "Tls12, Tls11" $PSDefaultParameterValues['Out-File:Encoding'] = 'utf8' Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete function createables{ param ($s,$u) return sfdx force:schema:sobject:describe -s $s (IIf $u "-u$($u -Replace('\n',''))" "") --json | jq '.result.fields[] | select (.createable==true) | .name' }
88.227273
193
0.727975
dde4715dd288cff9cfe855e251d5c4d6c9819dab
130
php
PHP
config/environment/production.php
nesbert/creovel
5eaf44dd2421929ebd8417e173dcc89bad9967d5
[ "MIT" ]
null
null
null
config/environment/production.php
nesbert/creovel
5eaf44dd2421929ebd8417e173dcc89bad9967d5
[ "MIT" ]
null
null
null
config/environment/production.php
nesbert/creovel
5eaf44dd2421929ebd8417e173dcc89bad9967d5
[ "MIT" ]
null
null
null
<?php /** * Environment specific code here while in "production" mode. * * @package Application * @subpackage Config */
16.25
61
0.653846
ea72b30e989abf4ed7ca11fd88c5c9d4b66d6d67
252
lua
Lua
home/.config/nvim/.bkup/ftplugin/typescriptReact.lua
freebebe/vgtop
e03bdc8ab48025746d1e31a7133bc0255620ca55
[ "MIT" ]
223
2015-01-20T20:19:08.000Z
2022-03-15T06:00:30.000Z
home/.config/nvim/.bkup/ftplugin/typescriptReact.lua
freebebe/vgtop
e03bdc8ab48025746d1e31a7133bc0255620ca55
[ "MIT" ]
16
2015-02-22T10:55:58.000Z
2021-01-12T21:34:47.000Z
nvim/after/ftplugin/typescriptreact.lua
AhmedAbdulrahman/dotfiles
48cef01ba3661a5123e960c7d1a5a6d3bb5922e1
[ "MIT" ]
32
2016-01-17T13:00:48.000Z
2022-01-10T16:29:19.000Z
-- Work around filetype that landed in upstream Vim here: -- https://github.com/vim/vim/issues/4830 vim.fn.execute( string.format( 'noautocmd set filetype=%s', vim.fn.substitute(vim.bo.filetype, 'typescriptreact', 'typescript.tsx', '') ) )
28
79
0.698413
7bd8c2440ab6493a6fec9df586a9250775a71807
3,972
lua
Lua
resources/[PSZMTA]/[community]/[shadery]/shader_blur/c_blur.lua
XJMLN/Project
123cf0313acdcf0c45fa878fe9d6c988a5d012b2
[ "MIT" ]
7
2017-09-05T20:18:07.000Z
2020-05-10T09:57:22.000Z
resources/[PSZMTA]/[community]/[shadery]/shader_blur/c_blur.lua
XJMLN/Project
123cf0313acdcf0c45fa878fe9d6c988a5d012b2
[ "MIT" ]
null
null
null
resources/[PSZMTA]/[community]/[shadery]/shader_blur/c_blur.lua
XJMLN/Project
123cf0313acdcf0c45fa878fe9d6c988a5d012b2
[ "MIT" ]
2
2019-09-30T18:07:51.000Z
2020-02-16T17:00:24.000Z
--[[ Ourlife: RPG This program is free software; you can redistribute it and/or modify it under the terms of the GNU (General Public License) as puslisched by the free software fundation; either version 3 of the license, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. (c) 2014 OurLife. All rights reserved. ]] -- Variables local screenW, screenH=guiGetScreenSize() local blurData={} local blurPool={} blurPool.list={} blurData.showed=false blurData.actived=false blurData.state=nil blurData.fxShaderBlurV=nil blurData.fxShaderBlurH=nil blurData.fxScreen=nil blurData.fxBloom=1 blurData.fxPower=1.88 blurData.startTick=0 -- Functions function blurPool.start() for i,v in pairs(blurPool.list) do v.using=false end end function blurPool.getUnused(sx, sy) for i,v in pairs(blurPool.list) do if not v.using and v.x==sx and v.y==sy then v.using=true return i end end local render=dxCreateRenderTarget(sx, sy) if render then blurPool.list[render]={using=true, x=sx, y=sy} end return render end function blurPool.applyDownSample(src, val) val=val or 2 local x,y=dxGetMaterialSize(src) x=x/val y=y/val local newPool=blurPool.getUnused(x,y) dxSetRenderTarget(newPool) dxDrawImage(0, 0, x, y, src) return newPool end function blurPool.applyV(src, val) local x,y=dxGetMaterialSize(src) local newPool=blurPool.getUnused(x,y) dxSetRenderTarget(newPool, true) dxSetShaderValue(blurData.fxShaderBlurV, "tex0", src) dxSetShaderValue(blurData.fxShaderBlurV, "tex0size", x, y) dxSetShaderValue(blurData.fxShaderBlurV, "bloom", val) dxDrawImage(0, 0, x, y, blurData.fxShaderBlurV) return newPool end function blurPool.applyH(src, val) local x,y=dxGetMaterialSize(src) local newPool=blurPool.getUnused(x,y) dxSetRenderTarget(newPool, true) dxSetShaderValue(blurData.fxShaderBlurH, "tex0", src) dxSetShaderValue(blurData.fxShaderBlurH, "tex0size", x, y) dxSetShaderValue(blurData.fxShaderBlurH, "bloom", val) dxDrawImage(0, 0, x, y, blurData.fxShaderBlurH) return newPool end local function onFXBlur() if blurData.showed and blurData.actived then local progress=(getTickCount()-blurData.startTick)/500 if blurData.state=="in" then alpha=interpolateBetween(0, 0, 0, 255, 0, 0, progress, "InQuad") elseif blurData.state=="out" then alpha=interpolateBetween(255, 0, 0, 0, 0, 0, progress, "OutQuad") end blurPool.start() dxUpdateScreenSource(blurData.fxScreen) local cur=blurData.fxScreen cur=blurPool.applyDownSample(cur) cur=blurPool.applyV(cur, blurData.fxBloom) cur=blurPool.applyH(cur, blurData.fxBloom) dxSetRenderTarget() dxDrawImage(0, 0, screenW+1, screenH+5, cur, 0, 0, 0, tocolor(255, 255, 255, alpha/blurData.fxPower)) end end function showBlur() if not blurData.actived then addEventHandler("onClientRender", root, onFXBlur) blurData.fxShaderBlurV=dxCreateShader("shader/blurV.fx") blurData.fxShaderBlurH=dxCreateShader("shader/blurH.fx") blurData.fxScreen=dxCreateScreenSource(screenW/2, screenH/2) blurData.actived=true blurData.showed=true blurData.startTick=getTickCount() blurData.state="in" else hideBlur() end end function hideBlur() blurData.state="out" blurData.startTick=getTickCount() setTimer(function() blurData.actived=false if isElement(blurData.fxShaderBlurV) then destroyElement(blurData.fxShaderBlurV) end if isElement(blurData.fxShaderBlurH) then destroyElement(blurData.fxShaderBlurH) end if isElement(blurData.fxScreen) then destroyElement(blurData.fxScreen) end removeEventHandler("onClientRender", root, onFXBlur) blurData.showed=false end, 500, 1) end
28.782609
103
0.769386
e51fb6d1ebd950984732a39d2ca9341825d1b9ab
213
ts
TypeScript
dist/Commands/transpile.d.ts
JonathanWilbur/preql-to-mariadb
54f2243236a696ffce6c272df77df975c6055c37
[ "MIT" ]
null
null
null
dist/Commands/transpile.d.ts
JonathanWilbur/preql-to-mariadb
54f2243236a696ffce6c272df77df975c6055c37
[ "MIT" ]
3
2021-03-09T18:12:42.000Z
2021-05-10T14:55:25.000Z
dist/Commands/transpile.d.ts
JonathanWilbur/preql-to-mariadb
54f2243236a696ffce6c272df77df975c6055c37
[ "MIT" ]
null
null
null
import { APIObjectDatabase, Logger } from "preql-core"; declare const transpile: (etcd: APIObjectDatabase, logger: Logger) => Promise<string[]>; export default transpile; //# sourceMappingURL=transpile.d.ts.map
53.25
89
0.760563
fc6fa7ad0d03a07c1f1cf5a2e0505a795dfbd847
1,355
swift
Swift
SwiftBilibili/Sources/Modulars/Home/Views/Recommend/TogetherSpecialCellReactor.swift
nevercgoodbye/SwiftBilibili
d6d0197dba285485af1b8c7a3024452895bb3ca7
[ "MIT" ]
3
2020-11-23T01:38:12.000Z
2021-06-09T12:20:14.000Z
SwiftBilibili/Sources/Modulars/Home/Views/Recommend/TogetherSpecialCellReactor.swift
nevercgoodbye/SwiftBilibili
d6d0197dba285485af1b8c7a3024452895bb3ca7
[ "MIT" ]
null
null
null
SwiftBilibili/Sources/Modulars/Home/Views/Recommend/TogetherSpecialCellReactor.swift
nevercgoodbye/SwiftBilibili
d6d0197dba285485af1b8c7a3024452895bb3ca7
[ "MIT" ]
1
2020-12-14T01:57:07.000Z
2020-12-14T01:57:07.000Z
// // TogetherSpecialCellReactor.swift // SwiftBilibili // // Created by 罗文 on 2018/3/8. // Copyright © 2018年 罗文. All rights reserved. // import ReactorKit final class TogetherSpecialCellReactor: Reactor { typealias Action = NoAction struct State { var coverURL: URL? var title: String? var desc: String? var badge: String? var badgeSize: CGSize var cellSize: CGSize } let initialState: State let together: RecommendTogetherModel init(together: RecommendTogetherModel) { self.together = together let coverURL = URL(string: together.cover ?? "") let desc = together.desc let badgeSize = (together.badge ?? "").size(thatFits: CGSize(width: CGFloat.greatestFiniteMagnitude, height: CGFloat.greatestFiniteMagnitude), font: Font.SysFont.sys_11) self.initialState = State(coverURL: coverURL, title: together.title, desc: desc, badge:together.badge, badgeSize:badgeSize, cellSize:CGSize(width: (kScreenWidth - 3*kCollectionItemPadding)/2, height: kNormalItemHeight)) _ = self.state } }
27.653061
177
0.560886
43f7b0e71635e2e1300b00e0b32e52ee321627b6
1,035
asm
Assembly
libsrc/_DEVELOPMENT/arch/zxn/esxdos/z80/asm_esx_ide_bank_free.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/arch/zxn/esxdos/z80/asm_esx_ide_bank_free.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/arch/zxn/esxdos/z80/asm_esx_ide_bank_free.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; unsigned char esx_ide_bank_free(unsigned char banktype, unsigned char page) INCLUDE "config_private.inc" SECTION code_esxdos PUBLIC asm_esx_ide_bank_free PUBLIC l0_asm_esx_ide_bank_free EXTERN error_znc, __esxdos_error_mc IF __ZXNEXT asm_esx_ide_bank_free: ; deallocate page ; ; enter : l = 0 (rc_banktype_zx) ; 1 (rc_banktype_mmc) ; h = page number ; ; exit : success ; ; hl = 0 ; carry reset ; ; fail ; ; hl = -1 ; carry set, errno set ; ; uses : all except iy ld e,h ld h,l ld l,__nextos_rc_bank_free l0_asm_esx_ide_bank_free: IF __SDCC_IY push hl pop iy ELSE push hl pop ix ENDIF exx ld de,__NEXTOS_IDE_BANK ld c,7 rst __ESX_RST_SYS defb __ESX_M_P3DOS jp c, error_znc ; if no error jp __esxdos_error_mc ELSE asm_esx_ide_bank_free: l0_asm_esx_ide_bank_free: ld a,__ESX_ENONSENSE jp __esxdos_error_mc ENDIF
14.178082
77
0.619324
e056e5f5d50138bad323b6ed85302c5d653b10d4
1,095
dart
Dart
packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel_field_value_factory.dart
spielgestalt/flutterfire
b09cd242d1479d47e84b31265b6722f6ff35b95c
[ "BSD-3-Clause" ]
null
null
null
packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel_field_value_factory.dart
spielgestalt/flutterfire
b09cd242d1479d47e84b31265b6722f6ff35b95c
[ "BSD-3-Clause" ]
null
null
null
packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel_field_value_factory.dart
spielgestalt/flutterfire
b09cd242d1479d47e84b31265b6722f6ff35b95c
[ "BSD-3-Clause" ]
null
null
null
part of cloud_firestore_platform_interface; /// An implementation of [FieldValueFactory] that is suitable to be used /// on mobile where communication relies on [MethodChannel] class MethodChannelFieldValueFactory implements FieldValueFactory { @override FieldValue arrayRemove(List elements) => FieldValue._(FieldValueType.arrayRemove, elements); @override FieldValue arrayUnion(List elements) => FieldValue._(FieldValueType.arrayUnion, elements); @override FieldValue delete() => FieldValue._(FieldValueType.delete, null); @override FieldValue increment(num value) { // It is a compile-time error for any type other than `int` or `double` to // attempt to extend or implement `num`. assert(value is int || value is double); if (value is double) { return FieldValue._(FieldValueType.incrementDouble, value); } else if (value is int) { return FieldValue._(FieldValueType.incrementInteger, value); } return null; } @override FieldValue serverTimestamp() => FieldValue._(FieldValueType.serverTimestamp, null); }
32.205882
78
0.730594
04d3b19ec6d53947a352bf46f900bdacdedc2911
1,199
java
Java
src/controller/PointsManagerTest.java
CristianAbrante/SplineInterpolator
95fb527830c2a21f15f4a626bb52f5bc8860ad8c
[ "MIT" ]
2
2018-09-24T07:58:23.000Z
2021-08-19T15:23:02.000Z
src/controller/PointsManagerTest.java
CristianAbrante/SplineInterpolator
95fb527830c2a21f15f4a626bb52f5bc8860ad8c
[ "MIT" ]
null
null
null
src/controller/PointsManagerTest.java
CristianAbrante/SplineInterpolator
95fb527830c2a21f15f4a626bb52f5bc8860ad8c
[ "MIT" ]
null
null
null
/** * */ package controller; import static org.junit.Assert.*; import java.awt.geom.Point2D; import java.util.ArrayList; import org.junit.Before; import org.junit.Test; /** * <h2>PointsManagerTest</h2> * * @author Cristian Abrante Dorta * @company University Of La Laguna * @date 13/05/2018 * @version 1.0.0 */ public class PointsManagerTest { ArrayList<Point2D> points; PointsManager manager; /** * @throws java.lang.Exception */ @Before public void setUp() throws Exception { manager = new PointsManager(); } @Test public void firstTest() { points = new ArrayList<Point2D>(); points.add(new Point2D.Double(1.0, 2.0)); points.add(new Point2D.Double(5.0, 3.0)); points.add(new Point2D.Double(9.0, 3.0)); points.add(new Point2D.Double(15.0, 8.0)); manager.setPoints(points); assertTrue(manager.addPoint(new Point2D.Double(12, 9), 1.0)); assertTrue(manager.addPoint(new Point2D.Double(3, 9), 1.0)); assertTrue(manager.addPoint(new Point2D.Double(7, 9), 1.0)); assertTrue(manager.addPoint(new Point2D.Double(21, 9), 1.0)); assertFalse(manager.addPoint(new Point2D.Double(6, 3), 1.0)); } }
23.057692
65
0.659716
512d7c8b0b223d382e5eb1781aff7cc2ce14bcda
953
dart
Dart
lib/Validation.dart
ShareghYusefi/Email-Client-Application
fa1957df9edeebc6a425161c5c4718a9537f7cd7
[ "MIT" ]
null
null
null
lib/Validation.dart
ShareghYusefi/Email-Client-Application
fa1957df9edeebc6a425161c5c4718a9537f7cd7
[ "MIT" ]
null
null
null
lib/Validation.dart
ShareghYusefi/Email-Client-Application
fa1957df9edeebc6a425161c5c4718a9537f7cd7
[ "MIT" ]
1
2021-06-21T23:21:33.000Z
2021-06-21T23:21:33.000Z
// Module meant to add feature and functionality to other classes - Mixins // mixin key work ensures we wont be able to create an instance of this entity import 'dart:async'; mixin Validation { // Simple validation for email field, will replace with an elaborate library in future static bool isEmail(String email) => email.contains('@'); final validateEmail = StreamTransformer<String, String>.fromHandlers( // handle data receive a value and pass to the provided sink handleData: (value, sink){ if( isEmail(value)){ sink.add(value); } else { sink.addError("Our message error"); } }); final validateSubject = StreamTransformer<String, String>.fromHandlers( // handle data receive a value and pass to the provided sink handleData: (value, sink){ value.length == 0 ? sink.addError("'Subject' Field is required") : sink.add(value); }); }
34.035714
88
0.658972
9159645791ff03ea384e455978d6a9ee5bc073f1
6,790
html
HTML
js/drawings.html
dapangchi/stampcircles
a70b0ff9b8484b7cfcd3b5482d2206d7a4d9338e
[ "MIT" ]
null
null
null
js/drawings.html
dapangchi/stampcircles
a70b0ff9b8484b7cfcd3b5482d2206d7a4d9338e
[ "MIT" ]
null
null
null
js/drawings.html
dapangchi/stampcircles
a70b0ff9b8484b7cfcd3b5482d2206d7a4d9338e
[ "MIT" ]
null
null
null
<!-- To change this template, choose Tools | Templates and open the template in the editor. --> <style type="text/css"> .pink{background-color:pink;width:100%;display:block} .green{background-color:lightgreen;width:100%;display:block} .small{font-size:10px;margin:0px;line-height:1.2} p.pos_fixed { position:fixed; bottom:0px; left:10px; background-color:#555; width:100%; margin:0; font-size:12px; } .date{font-size:12pt;font-weight:bold;font-family:arial;color:#555;margin-bottom:2px} span.date{display:block;float:none;margin:0px auto;} </style> <h3>Drawings Work Flow View</h3> <script> $(function() { $( "ul.droptrue, div.droptrue" ).sortable({ connectWith: "ul,div", placeholder: "ui-state-highlight" }); $( "ul.dropfalse").sortable({ connectWith: "ul", dropOnEmpty: false, placeholder: "ui-state-highlight" }); $( "#sortable1, #sortable2, #sortable3, #sortable4,#sortable5,#sortable6,#sortable7,#sortable8,#sortable9, #sortable10,#sortable11,#sortable12").disableSelection(); }); </script> <p class="pos_fixed">Some more text</p> <div id="drawings_view" class="clearfix bordered" style="width:97%;height:auto;min-height:300px"> <!-- Activities Container Holds information on all the activities accumulating for a user. This in reality is another way of presenting todo lists. --> <div id="accumulator" class="accumulator clearfix bordered" style="width:160px;float:left;margin-right:10px"> <div style="font-size:11px;width:140px;float:left"><img src="/codeigniter/images/users/george_clooney_2007.jpg" style="width:30px;float:left;padding:2px;display:block">Backlog Que</div> <div id="sortable1" class='droptrue' style="margin: 0 auto; padding: 0; background: #eee; padding: 5px; width: 143px;font-size:11px"> </div> </div> <!-- End of activities container--> <!-- In Progress Holds information on all the activities accumulating for a user. This in reality is another way of presenting todo lists. --> <div id="accumulator1" class="accumulator clearfix bordered" style="width:160px;float:left;margin-right:10px"> <div style="font-size:11px;width:140px;float:left;"><img src="/codeigniter/images/users/george_clooney_2007.jpg" style="width:30px;float:left;padding:2px">In progress que</div> <div id="sortable2" class='droptrue' style="margin: 0; padding: 0; float: left; margin-right: 10px; background: #eee; padding: 5px; width: 143px;font-size:11px"> </div> </div> <!-- End of activities container--> <!-- On Review Holds information on all the activities accumulating for a user. This in reality is another way of presenting todo lists. --> <div id="accumulator2" class="accumulator clearfix bordered" style="width:160px;float:left;margin-right:10px"> <div style="font-size:11px;width:140px;float:left;"><img src="/codeigniter/images/users/john_mcenroe_2006.jpg" style="width:30px;float:left;padding:2px">For Internal Review</div> <div id="sortable3" class='droptrue' style="margin: 0; padding: 0; float: left; margin-right: 10px; background: #eee; padding: 5px; width: 143px;font-size:11px"> </div> </div> <!-- End of activities container--> <!-- Issued for Approval Holds information on all the activities accumulating for a user. This in reality is another way of presenting todo lists. --> <div id="accumulator3" class="accumulator clearfix bordered" style="width:160px;float:left;margin-right:10px"> <div style="font-size:11px;width:140px;float:left;"><img src="/codeigniter/images/users/valentino_2006.jpg" style="width:30px;float:left;padding:2px">Approval Que</div> <div id="sortable4" class='droptrue' style="margin: 0; padding: 0; float: left; margin-right: 10px; background: #eee; padding: 5px; width: 143px;font-size:11px"> </div> </div> <!-- End of activities container--> <!-- returned to be internally Approval Holds information on all the activities accumulating for a user. This in reality is another way of presenting todo lists. --> <div id="accumulator3" class="accumulator clearfix bordered" style="width:160px;float:left;margin-right:10px"> <div style="font-size:11px;width:140px;float:left;"><img src="/codeigniter/images/users/george_clooney_2007.jpg" style="width:30px;float:left;padding:2px">Received and being internally reviewed</div> <div id="sortable5" class='droptrue' style="margin: 0; padding: 0; float: left; margin-right: 10px; background: #eee; padding: 5px; width: 143px;font-size:11px"> </div> </div> <!-- End of activities container--> </div><!-- main container --> <div id="statistics" class='dropfalse bordered' style="list-style-type: none; margin: 0; padding: 0; float: left; margin-right: 10px; background: #eee; padding: 5px; width: 70%;font-size:11px" > <div class="small">Average Productivity: 5 drgs/day</div> <div class="small">Lost Time: 5 hrs</div> <div class="small">Target Completion Date: 13 Aug 2011</div> <div class="small">Expected Completion Date: 19 Aug 2011</div> <div class="small">Delta: 9 days</div> </div> <hr/> <script type="text/javascript"> $(document).ready(function() { $('#left-menu').css({'width':'0px','display':'none'}); $('#left').css({'width':'1100px'}).addClass('bordered, clearfix'); $('div#pagehead-spacer').css({'height':'23px'}); $('.span-17, .content-row').css({'width':'980px'}).addClass('bordered, clearfix'); //mock-up for ajax calls for (var i = 1; i < 8; i++) { $('#sortable1').prepend('<div class="ui-state-default small">DRG HVAC-01'+i+ '/0 Podium details for hot water</div>'); } for (var i = 1; i < 13; i++) { $('#sortable2').prepend('<div class="ui-state-default small">DRG HVAC-01'+i+ '/0 Podium details for hot water</div>'); } for (var i = 1; i < 9; i++) { $('#sortable3').prepend('<div class="ui-state-default small">DRG HVAC-01'+i+ '/0 Podium details for hot water</div>'); } for (var i = 1; i < 8; i++) { $('#sortable4').prepend('<div class="ui-state-default small">DRG HVAC-01'+i+ '/0 Podium details for hot water</div>'); } for (var i = 1; i < 7; i++) { $('#sortable5').prepend('<div class="ui-state-default small">DRG HVAC-01'+i+ '/0 Podium details for hot water</div>'); } // basic activity class is shown below // as a jSON object // factory Class is shown later var activity={ id:'123456', name:'Drafting', activityCode:'Drg No:12567', showButtons:['enabled','cancel','save','edit'], currentStatus: ['onQue','forApproval','onHold','other'], estimatedDuration:'13:00:01', actualDuration:'18:30', owner:'@Indra', currentLocation:["For Review"], predecessors:['activity1256'], successor:['activity1388'], criticalPath:true, onHoldReason:'Drawing is being revised by Architect' } var s=JSON.stringify(activity); var t=$('#pagehead >h1>span').html('killPrimavera<sup style="font-size:12px">&copy;</sup>'); });//document ready </script>
34.467005
199
0.705744
76219d37fa954bc3370eb50c49b73669d8da1a2f
12,347
go
Go
api/api_dll.go
msiner/sdrplay-go
e1df7f89c013f1ced201ab2d1e3b147a730df518
[ "MIT" ]
3
2021-09-12T10:20:19.000Z
2022-01-22T16:49:27.000Z
api/api_dll.go
msiner/sdrplay-go
e1df7f89c013f1ced201ab2d1e3b147a730df518
[ "MIT" ]
null
null
null
api/api_dll.go
msiner/sdrplay-go
e1df7f89c013f1ced201ab2d1e3b147a730df518
[ "MIT" ]
1
2021-09-12T10:20:23.000Z
2021-09-12T10:20:23.000Z
// Copyright 2021 Mark Siner. All rights reserved. // Use of this source code is governed by a MIT-style // license that can be found in the LICENSE file. // +build windows,!cgo windows,dll package api import ( "errors" "fmt" "path/filepath" "sync" "unsafe" "golang.org/x/sys/windows" ) // Handle is a session handle provided by the C API. Using the // windows package DLL loading, we are generally stuck with // uintptr as a representation for data passed to and returned // from functions. type Handle uintptr // Proc is an interface that is implemented by both windows.LazyProc // and windows.Proc. The adaptive DLL loading implemented in the // init() function means that we might be using either implementation // at run-time. type Proc interface { Call(a ...uintptr) (r1, r2 uintptr, lastErr error) } // References to C API functions are loaded in init(). var ( sdrplay_api_Open Proc sdrplay_api_Close Proc sdrplay_api_ApiVersion Proc sdrplay_api_LockDeviceApi Proc sdrplay_api_UnlockDeviceApi Proc sdrplay_api_GetDevices Proc sdrplay_api_SelectDevice Proc sdrplay_api_ReleaseDevice Proc sdrplay_api_GetLastError Proc sdrplay_api_DisableHeartbeat Proc sdrplay_api_DebugEnable Proc sdrplay_api_GetDeviceParams Proc sdrplay_api_Init Proc sdrplay_api_Uninit Proc sdrplay_api_Update Proc sdrplay_api_SwapRspDuoActiveTuner Proc sdrplay_api_SwapRspDuoDualTunerModeSampleRate Proc ) var apiMutex sync.Mutex // Impl is an implementation of API. type Impl struct{} // Verify that Impl implements API. var _ API = Impl{} // Wrap the static callback handler functions so they can // be called from code inside the DLL. var ( streamACallbackWin = windows.NewCallback(streamACallback) streamBCallbackWin = windows.NewCallback(streamBCallback) eventCallbackWin = windows.NewCallback(eventCallback) ) // GetAPI returns an implementation of the API interface. func GetAPI() Impl { return Impl{} } // Open implements API. func (Impl) Open() error { apiMutex.Lock() defer apiMutex.Unlock() e, _, _ := sdrplay_api_Open.Call() et := ErrT(e) if et != Success { return et } return nil } // Close implements API. func (Impl) Close() error { apiMutex.Lock() defer apiMutex.Unlock() e, _, _ := sdrplay_api_Close.Call() et := ErrT(e) if et != Success { return et } return nil } // ApiVersion implements API. func (Impl) ApiVersion() (float32, error) { apiMutex.Lock() defer apiMutex.Unlock() var v float32 e, _, _ := sdrplay_api_ApiVersion.Call( uintptr(unsafe.Pointer(&v)), ) et := ErrT(e) if et != Success { return 0, et } return v, nil } // LockDeviceApi implements API. func (Impl) LockDeviceApi() error { apiMutex.Lock() defer apiMutex.Unlock() e, _, _ := sdrplay_api_LockDeviceApi.Call() et := ErrT(e) if et != Success { return et } return nil } // UnlockDeviceApi implements API. func (Impl) UnlockDeviceApi() error { apiMutex.Lock() defer apiMutex.Unlock() e, _, _ := sdrplay_api_UnlockDeviceApi.Call() et := ErrT(e) if et != Success { return et } return nil } // GetDevices implements API. Unlike the C function, // sdrplay_api_GetDevices, GetDevices will do all necessary // allocation. func (Impl) GetDevices() ([]*DeviceT, error) { apiMutex.Lock() defer apiMutex.Unlock() devs := make([]DeviceT, MAX_DEVICES) var numDevs uint32 e, _, _ := sdrplay_api_GetDevices.Call( uintptr(unsafe.Pointer(&devs[0])), uintptr(unsafe.Pointer(&numDevs)), uintptr(uint32(len(devs))), ) et := ErrT(e) if et != Success { return nil, et } res := make([]*DeviceT, numDevs) for i := range res { cpy := devs[i] res[i] = &cpy } return res, nil } // SelectDevice implements API. func (Impl) SelectDevice(dev *DeviceT) error { apiMutex.Lock() defer apiMutex.Unlock() e, _, _ := sdrplay_api_SelectDevice.Call( uintptr(unsafe.Pointer(dev)), ) et := ErrT(e) if et != Success { return et } return nil } // ReleaseDevice implements API. func (Impl) ReleaseDevice(dev *DeviceT) error { apiMutex.Lock() defer apiMutex.Unlock() e, _, _ := sdrplay_api_ReleaseDevice.Call( uintptr(unsafe.Pointer(dev)), ) et := ErrT(e) if et != Success { return et } return nil } // GetLastError implements API. func (Impl) GetLastError(dev *DeviceT) ErrorInfoT { apiMutex.Lock() defer apiMutex.Unlock() e, _, _ := sdrplay_api_GetLastError.Call( uintptr(unsafe.Pointer(dev)), ) if e == 0 { return ErrorInfoT{} } // go vet doesn't like this, but it is the only way we can do // this since sdrplay_api_GetLastError actually returns a // pointer, but Proc returns uintptr. return *(*ErrorInfoT)(unsafe.Pointer(e)) } // DisableHeartbeat implements API. func (Impl) DisableHeartbeat() error { apiMutex.Lock() defer apiMutex.Unlock() e, _, _ := sdrplay_api_DisableHeartbeat.Call() et := ErrT(e) if et != Success { return et } return nil } // DebugEnable implements API. func (Impl) DebugEnable(dev Handle, enable DbgLvlT) error { apiMutex.Lock() defer apiMutex.Unlock() e, _, _ := sdrplay_api_DebugEnable.Call( uintptr(dev), uintptr(enable), ) et := ErrT(e) if et != Success { return et } return nil } // LoadDeviceParams implements API. func (Impl) LoadDeviceParams(dev Handle) (*DeviceParamsT, error) { apiMutex.Lock() defer apiMutex.Unlock() res := DeviceParamsT{} var ptr unsafe.Pointer e, _, _ := sdrplay_api_GetDeviceParams.Call( uintptr(dev), uintptr(unsafe.Pointer(&ptr)), ) et := ErrT(e) if et != Success { return nil, et } if ptr == nil { return nil, errors.New("got nil pointer from GetDeviceParams") } params := *(*DeviceParamsT)(ptr) if params.DevParams != nil { // Need to create a copy first because the compiler will // optimize away the seemingly redundant &*foo. cpy := *params.DevParams res.DevParams = &cpy } if params.RxChannelA != nil { // Need to create a copy first because the compiler will // optimize away the seemingly redundant &*foo. cpy := *params.RxChannelA res.RxChannelA = &cpy } if params.RxChannelB != nil { // Need to create a copy first because the compiler will // optimize away the seemingly redundant &*foo. cpy := *params.RxChannelB res.RxChannelB = &cpy } return &res, nil } // StoreDeviceParams implements API. func (Impl) StoreDeviceParams(dev Handle, newParams *DeviceParamsT) error { apiMutex.Lock() defer apiMutex.Unlock() var ptr unsafe.Pointer e, _, _ := sdrplay_api_GetDeviceParams.Call( uintptr(dev), uintptr(unsafe.Pointer(&ptr)), ) et := ErrT(e) if et != Success { return et } if ptr == nil { return errors.New("got nil pointer from GetDeviceParams") } params := (*DeviceParamsT)(unsafe.Pointer(ptr)) if params.DevParams != nil && newParams.DevParams != nil { *params.DevParams = *newParams.DevParams } if params.RxChannelA != nil && newParams.RxChannelA != nil { *params.RxChannelA = *newParams.RxChannelA } if params.RxChannelB != nil && newParams.RxChannelB != nil { *params.RxChannelB = *newParams.RxChannelB } return nil } // Init implements API. func (Impl) Init(dev Handle, callbacks CallbackFnsT) error { apiMutex.Lock() defer apiMutex.Unlock() registerCallbacks(dev, callbacks) // Create an anonymous version of the CallbackFnsT struct. cCallbacks := struct { cbA uintptr cbB uintptr cbE uintptr }{ streamACallbackWin, streamBCallbackWin, eventCallbackWin, } e, _, _ := sdrplay_api_Init.Call( uintptr(dev), uintptr(unsafe.Pointer(&cCallbacks)), uintptr(dev), ) et := ErrT(e) if et != Success { unregisterCallbacks(dev) return et } return nil } // Uninit implements API. func (Impl) Uninit(dev Handle) error { apiMutex.Lock() defer apiMutex.Unlock() unregisterCallbacks(dev) e, _, _ := sdrplay_api_Uninit.Call(uintptr(dev)) et := ErrT(e) if et != Success { return et } return nil } // Update implements API. func (Impl) Update(dev Handle, tuner TunerSelectT, reasonForUpdate ReasonForUpdateT, reasonForUpdateExt1 ReasonForUpdateExtension1T) error { apiMutex.Lock() defer apiMutex.Unlock() e, _, _ := sdrplay_api_Update.Call( uintptr(dev), uintptr(tuner), uintptr(reasonForUpdate), uintptr(reasonForUpdateExt1), ) et := ErrT(e) if et != Success { return et } return nil } // SwapRspDuoActiveTuner implements API. func (Impl) SwapRspDuoActiveTuner(dev Handle, currentTuner *TunerSelectT, tuner1AmPortSel RspDuo_AmPortSelectT) error { apiMutex.Lock() defer apiMutex.Unlock() e, _, _ := sdrplay_api_SwapRspDuoActiveTuner.Call( uintptr(dev), uintptr(unsafe.Pointer(currentTuner)), uintptr(tuner1AmPortSel), ) et := ErrT(e) if et != Success { return et } return nil } // SwapRspDuoDualTunerModeSampleRate implements API. func (Impl) SwapRspDuoDualTunerModeSampleRate(dev Handle, currentSampleRate *float64) error { apiMutex.Lock() defer apiMutex.Unlock() e, _, _ := sdrplay_api_SwapRspDuoDualTunerModeSampleRate.Call( uintptr(dev), uintptr(unsafe.Pointer(currentSampleRate)), ) et := ErrT(e) if et != Success { return et } return nil } func init() { // First try to load the DLL by name using standard WIndows // library path resolution. This should find sdrplay_api.dll if // it is in one of the following locations. // // 1. Current working directory. // 2. Same directory as executable. // 3. A directory included in the Path environment variable. // // Unlike Linux, where libraries are grouped into common directories // like /usr/lib or /usr/local/lib. It is less likely that a Windows user // has modified their environment variables to include random library // directories in "C:\Program Files". lazy := windows.NewLazyDLL("sdrplay_api") newProc := func(name string) Proc { return lazy.NewProc(name) } if err := lazy.Load(); err != nil { // We couldn't find sdrplay_api.dll through normal path resolution. // As a backup plan, we will try to load from an absolute path that // points to the standard location for the SDRPlay API installer to // install sdrplay_api.dll. DLL_PATH is different for 32-bit and // 64-bit architectures. // // For security reasons, the LoadDLL function should only be used // with absolute paths. if !filepath.IsAbs(DLL_PATH) { panic(fmt.Sprintf("DLL_PATH is not absolute, refusing to load DLL; %s", DLL_PATH)) } direct, err := windows.LoadDLL(DLL_PATH) if err != nil { // There is nothing else we can do at this point. panic(fmt.Sprintf("sdrplay_api.dll not found in Path or %s", DLL_PATH)) } newProc = func(name string) Proc { // Ignore the error because that produces the same behavior // as if we were using the lazy loaded DLL. Specifically, // we will panic when a missing Proc is used. The Swap* // functions don't appear in older API versions, so this // is also a somewhat graceful way of being backwards // compatible. proc, _ := direct.FindProc(name) return proc } } sdrplay_api_Open = newProc("sdrplay_api_Open") sdrplay_api_Close = newProc("sdrplay_api_Open") sdrplay_api_ApiVersion = newProc("sdrplay_api_ApiVersion") sdrplay_api_LockDeviceApi = newProc("sdrplay_api_LockDeviceApi") sdrplay_api_UnlockDeviceApi = newProc("sdrplay_api_UnlockDeviceApi") sdrplay_api_GetDevices = newProc("sdrplay_api_GetDevices") sdrplay_api_SelectDevice = newProc("sdrplay_api_SelectDevice") sdrplay_api_ReleaseDevice = newProc("sdrplay_api_ReleaseDevice") sdrplay_api_GetLastError = newProc("sdrplay_api_GetLastError") sdrplay_api_DisableHeartbeat = newProc("sdrplay_api_DisableHeartbeat") sdrplay_api_DebugEnable = newProc("sdrplay_api_DebugEnable") sdrplay_api_GetDeviceParams = newProc("sdrplay_api_GetDeviceParams") sdrplay_api_Init = newProc("sdrplay_api_Init") sdrplay_api_Uninit = newProc("sdrplay_api_Uninit") sdrplay_api_Update = newProc("sdrplay_api_Update") sdrplay_api_SwapRspDuoActiveTuner = newProc("sdrplay_api_SwapRspDuoActiveTuner") sdrplay_api_SwapRspDuoDualTunerModeSampleRate = newProc("sdrplay_api_SwapRspDuoDualTunerModeSampleRate") }
24.943434
140
0.705111
60715c0a0cffdcc7cea1789492593793f5ea04b4
6,585
dart
Dart
scripts/fxtest/lib/arg_parser.dart
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
5
2022-01-10T20:22:17.000Z
2022-01-21T20:14:17.000Z
scripts/fxtest/lib/arg_parser.dart
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
null
null
null
scripts/fxtest/lib/arg_parser.dart
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2020 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:args/args.dart'; import 'package:fxutils/fxutils.dart'; /// Test-friendly wrapper so unit tests can use `fxTestArgParser` without /// having its environment-aware print statements blow up. String getFriendlyBuildDir() { var buildDir = '//out/default'; try { buildDir = FxEnv( envReader: EnvReader.fromEnvironment(), ).userFriendlyOutputDir ?? buildDir; // ignore: avoid_catching_errors } on RangeError { // pass } return buildDir; } final ArgParser fxTestArgParser = ArgParser() ..addFlag('help', abbr: 'h', defaultsTo: false, negatable: false) ..addFlag('host', defaultsTo: false, negatable: false, help: 'only run host tests. The opposite of `--device`') ..addFlag('device', abbr: 'd', defaultsTo: false, negatable: false, help: 'only run device tests. The opposite of `--host`') ..addMultiOption('package', abbr: 'p', help: 'match tests against their Fuchsia package Name', splitCommas: false) ..addMultiOption('component', abbr: 'c', help: '''match tests against their Fuchsia component Name. When --package is also specified, results are filtered both by package and component.''', splitCommas: false) ..addMultiOption('and', abbr: 'a', help: '''add additional requirements to the preceding `testName` filter''') ..addFlag('printtests', defaultsTo: false, negatable: false, help: 'print the contents of ' '`${getFriendlyBuildDir()}/tests.json`') ..addFlag('build', defaultsTo: true, negatable: true, help: 'invoke `fx build` before running the test suite') ..addFlag('restrict-logs', defaultsTo: true, negatable: true, help: 'pass a flag of the same name to the component test ' 'runner') ..addFlag('updateifinbase', defaultsTo: true, negatable: true, help: 'invoke `fx update-if-in-base` before running device tests') ..addFlag('use-package-hash', defaultsTo: true, negatable: true, help: '''use the package Merkle root hash from the build artifacts when executing device tests''') ..addFlag('info', defaultsTo: false, negatable: false, help: 'print the test specification in key:value format, ' 'and exits') ..addFlag('random', abbr: 'r', defaultsTo: false, negatable: false, help: 'randomize test execution order') ..addOption('fuzzy', defaultsTo: '3', help: 'the Levenshtein distance threshold to use ' 'when generating suggestions') ..addFlag('dry', defaultsTo: false, negatable: false, help: 'do not invoke any tests') ..addFlag('fail', abbr: 'f', defaultsTo: false, negatable: false, help: 'halt test suite execution after the first failed test suite') ..addFlag('log', defaultsTo: false, negatable: true, help: '''emit all output from all tests to a file. Turned on when running real tests unless `--no-log` is passed.''') ..addOption('logpath', defaultsTo: null, help: '''if passed and if --no-log is not passed, customizes the destination of the log artifact. Defaults to a timestamped file at the root of ${getFriendlyBuildDir()}.''') ..addOption('limit', defaultsTo: null, help: 'End test suite execution after N tests') ..addOption('slow', defaultsTo: '2', abbr: 's', help: '''when set to a non-zero value, triggers output for any test that takes longer than N seconds to execute Note: This has no impact if the -o flag is also set. Note: The -s flag used to be an abbreviation for --simple.''') ..addOption('realm', abbr: 'R', defaultsTo: null, help: '''run tests in a named realm instead of a randomized one.''') ..addOption('min-severity-logs', help: '''filter log output to only messages with this for device tests. Valid severities: TRACE, DEBUG, INFO, WARN, ERROR, FATAL.''') ..addFlag('exact', defaultsTo: false, help: 'do not perform any fuzzy-matching on tests') ..addFlag('e2e', defaultsTo: false, help: '''allow execution of host tests that require a connected device or emulator, such as end-to-end tests.''') ..addFlag('only-e2e', defaultsTo: false, help: 'skip all non-e2e tests. The `--e2e` flag is redundant ' 'when passing this flag.') ..addFlag('skipped', defaultsTo: false, negatable: false, help: '''print a debug statement about each skipped test. Note: The old `-s` abbreviation now applies to `--simple`.''') ..addFlag('simple', defaultsTo: false, negatable: false, help: 'remove any color or decoration from output') ..addFlag('output', abbr: 'o', defaultsTo: false, negatable: false, help: '''display the output from passing tests. Test arguments may be needed, see 'Print help for a test' example below.''') ..addFlag('silenceunsupported', abbr: 'u', defaultsTo: false, negatable: false, help: '''reduce unsupported tests to a warning and continue executing. This is dangerous outside of the local development cycle, as "unsupported" tests are likely a problem with this command and not the tests.''') ..addMultiOption('test-filter', help: '''run specific test cases in v2 suite. Can be specified multiple times to pass in multiple patterns. example: --test-filter glob1 --test-filter glob2''', splitCommas: false) ..addOption('count', defaultsTo: null, help: '''number of times to run the test. By default run 1 time. If an iteration of test times out, no further iterations will be executed.''') ..addOption('parallel', defaultsTo: null, help: '''maximum number of test cases to run in parallel. Overrides any parallel option set in test specs.''') ..addFlag('also-run-disabled-tests', defaultsTo: false, help: '''run tests that have been marked disabled/ignored by the test author.''') ..addFlag('use-run-test-suite', defaultsTo: false, help: '''fallback to using run-test-suite instead of ffx test. This option is a temporary escape hatch.''') ..addOption('timeout', defaultsTo: '0', help: '''test timeout in seconds. The test is killed if not completed when the timeout has elapsed.''') ..addFlag('verbose', abbr: 'v', defaultsTo: false, negatable: false);
35.983607
80
0.656036
917036af91fe1ec66ca5aa705269382f3e1d7efc
1,075
sql
SQL
VIEW.sql
chrisdyansyah/cmssekolahku.v.1.4.7
f72a17be236533b083c0211fe49e5f6efd617ba0
[ "MIT" ]
null
null
null
VIEW.sql
chrisdyansyah/cmssekolahku.v.1.4.7
f72a17be236533b083c0211fe49e5f6efd617ba0
[ "MIT" ]
null
null
null
VIEW.sql
chrisdyansyah/cmssekolahku.v.1.4.7
f72a17be236533b083c0211fe49e5f6efd617ba0
[ "MIT" ]
null
null
null
-- VIEW KELAS CREATE OR REPLACE VIEW view_kelas AS select x1.kelas_id , CONCAT(x1.kelas, IF((x2.nama_singkat <> ''), CONCAT(' ',x2.nama_singkat),''),IF((x1.sub_kelas <> ''),CONCAT(' - ',x1.sub_kelas),'')) AS kelas FROM kelas x1 LEFT JOIN jurusan x2 ON x1.jurusan_id = x2.jurusan_id; -- VIEW SISWA CREATE OR REPLACE VIEW view_siswa AS SELECT x1.* , x2.jalur_pendaftaran AS jalur_pendaftaran , x3.jurusan AS pilihan_satu , x4.jurusan AS pilihan_dua , x5.kelas , x6.kelas AS dikelas FROM siswa x1 LEFT JOIN jalur_pendaftaran x2 ON x2.jalur_pendaftaran_id = x1.jalur_pendaftaran_id LEFT JOIN jurusan x3 ON x3.jurusan_id = x1.pilihan_1 LEFT JOIN jurusan x4 ON x4.jurusan_id = x1.pilihan_2 LEFT JOIN view_kelas x5 ON x1.kelas_id = x5.kelas_id LEFT JOIN view_kelas x6 ON x1.diterima_dikelas = x6.kelas_id; -- VIEW POOLING CREATE OR REPLACE VIEW view_polling AS SELECT x1.id , x1.jawaban_id , x1.ip_address , x1.tanggal , x2.pertanyaan_id , x2.jawaban FROM polling x1 LEFT JOIN jawaban x2 ON x2.jawaban_id = x1.jawaban_id;
27.564103
143
0.722791
746043ef1c24598cef22a79a79ef38b1462dd551
1,347
h
C
include/dheng/engine-api.h
septag/darkhammer
dd7e32737059ce6dba0aa79f1ae4a59137db06a7
[ "BSD-2-Clause" ]
68
2015-01-06T08:38:32.000Z
2022-01-20T15:26:17.000Z
include/dheng/engine-api.h
septag/darkhammer
dd7e32737059ce6dba0aa79f1ae4a59137db06a7
[ "BSD-2-Clause" ]
null
null
null
include/dheng/engine-api.h
septag/darkhammer
dd7e32737059ce6dba0aa79f1ae4a59137db06a7
[ "BSD-2-Clause" ]
12
2015-10-31T11:30:15.000Z
2020-04-13T18:31:17.000Z
/*********************************************************************************** * Copyright (c) 2012, Sepehr Taghdisian * 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. * ***********************************************************************************/ #include "dhcore/types.h" #ifndef __ENGINEAPI_H__ #define __ENGINEAPI_H__ #if defined(_ENGINE_EXPORT_) #if defined(_MSVC_) #define ENGINE_API _EXTERN_EXPORT_ __declspec(dllexport) #elif defined(_GNUC_) #define ENGINE_API _EXTERN_EXPORT_ __attribute__((visibility("protected"))) #endif #else #if defined(_MSVC_) #define ENGINE_API _EXTERN_EXPORT_ __declspec(dllimport) #elif defined(_GNUC_) #define ENGINE_API _EXTERN_EXPORT_ __attribute__((visibility("default"))) #endif #endif /* defined(_ENGINE_EXPORT) */ #if defined(SWIG) #define ENGINE_API #endif #endif /* __ENGINEAPI_H__ */
33.675
85
0.675575
92666a3a1b68f09352642f113ad2b020ea4b8f53
1,531
kt
Kotlin
cli/src/test/kotlin/cli/calculculationsCLI/PageRankCalculationCLITest.kt
vorabrijesh/tnm
e999ae06f15f1e40f305ede31a63ee3f4cd07219
[ "MIT" ]
5
2021-07-19T16:22:35.000Z
2022-02-03T07:36:44.000Z
cli/src/test/kotlin/cli/calculculationsCLI/PageRankCalculationCLITest.kt
hsanchez/tnm
3c4f1317099b5ccd9177c2a9ae1e988bdf10f7f5
[ "MIT" ]
1
2021-04-26T10:29:02.000Z
2021-04-26T10:29:02.000Z
cli/src/test/kotlin/cli/calculculationsCLI/PageRankCalculationCLITest.kt
hsanchez/tnm
3c4f1317099b5ccd9177c2a9ae1e988bdf10f7f5
[ "MIT" ]
5
2021-03-24T12:45:49.000Z
2022-02-03T07:36:46.000Z
package cli.calculculationsCLI import TestConfig.branch import TestConfig.gitDir import calculations.PageRankCalculation import cli.AbstractCLI import cli.AbstractCLITest import kotlinx.serialization.decodeFromString import kotlinx.serialization.json.Json import org.junit.Assert.assertTrue import org.junit.Test import util.ProjectConfig import java.io.File class PageRankCalculationCLITest : AbstractCLITest(testFolder) { companion object { private val testFolder = File(tmpCLITestFolder, "PageRankCalculationTest/") } private val pageRankJsonFile = File(testFolder, "PR") private val requiredOptions = listOf( AbstractCLI.LONGNAME_REPOSITORY to gitDir.absolutePath ) private val nonRequiredOptions = listOf( PageRankCalculationCLI.LONGNAME_ALPHA to PageRankCalculation.DEFAULT_ALPHA.toString(), PageRankCalculationCLI.LONGNAME_PAGE_RANK to pageRankJsonFile.absolutePath, AbstractCLI.LONGNAME_NUM_THREADS to ProjectConfig.DEFAULT_NUM_THREADS.toString(), AbstractCLI.LONGNAME_ID_TO_COMMIT to idToCommitJsonFile.absolutePath, ) private val arguments = listOf( branch ) @Test fun `test json files after run`() { val input = createInput(requiredOptions, nonRequiredOptions, arguments) PageRankCalculationCLI().parse(input) checkIdToEntity(idToCommitJsonFile) val pageRank = Json.decodeFromString<Map<Int, Double>>(pageRankJsonFile.readText()) assertTrue(pageRank.isNotEmpty()) } }
32.574468
94
0.765513
d38b926d4a6fe6737dca9a833d9153a0bb4b8733
5,508
sql
SQL
Documentation/diagrama de Entidade Relacional/ER Diagram0.sql
ltdagabriel/MyHobby
642e01cf3bc65bf9eec373583f766400cb98842c
[ "MIT" ]
null
null
null
Documentation/diagrama de Entidade Relacional/ER Diagram0.sql
ltdagabriel/MyHobby
642e01cf3bc65bf9eec373583f766400cb98842c
[ "MIT" ]
null
null
null
Documentation/diagrama de Entidade Relacional/ER Diagram0.sql
ltdagabriel/MyHobby
642e01cf3bc65bf9eec373583f766400cb98842c
[ "MIT" ]
null
null
null
CREATE TABLE Estudio ( codigo INT NOT NULL, nome TEXT ); ALTER TABLE Estudio ADD CONSTRAINT PK_Estudio PRIMARY KEY (codigo); CREATE TABLE Foto ( codigo INT NOT NULL, url TEXT, legenda TEXT ); ALTER TABLE Foto ADD CONSTRAINT PK_Foto PRIMARY KEY (codigo); CREATE TABLE Genero ( codigo INT NOT NULL, nome TEXT NOT NULL ); ALTER TABLE Genero ADD CONSTRAINT PK_Genero PRIMARY KEY (codigo); CREATE TABLE Idioma ( codigo INT NOT NULL, lingua VARCHAR(20), pais VARCHAR(20) ); ALTER TABLE Idioma ADD CONSTRAINT PK_Idioma PRIMARY KEY (codigo); CREATE TABLE Legenda ( codigo INT NOT NULL, lingua VARCHAR(20), pais VARCHAR(20) ); ALTER TABLE Legenda ADD CONSTRAINT PK_Legenda PRIMARY KEY (codigo); CREATE TABLE Obra ( codigo INT NOT NULL, validacao VARCHAR(5) DEFAULT 'false', titulo TEXT, titulo_oficial TEXT ); ALTER TABLE Obra ADD CONSTRAINT PK_Obra PRIMARY KEY (codigo); CREATE TABLE usuario ( codigo INT NOT NULL, login CHAR(32) NOT NULL, password CHAR(16) NOT NULL ); ALTER TABLE usuario ADD CONSTRAINT PK_usuario PRIMARY KEY (codigo); CREATE TABLE Video ( codigo INT NOT NULL, url TEXT, duracao DOUBLE PRECISION, qualidade CHAR(16), legenda INT, audio INT ); ALTER TABLE Video ADD CONSTRAINT PK_Video PRIMARY KEY (codigo); CREATE TABLE Adicionado_obra ( codigo_usuario INT NOT NULL, codigo_obra INT NOT NULL, data DATETIME NOT NULL ); ALTER TABLE Adicionado_obra ADD CONSTRAINT PK_Adicionado_obra PRIMARY KEY (codigo_usuario,codigo_obra); CREATE TABLE Anime ( codigo INT NOT NULL, numero_temporada INT ); ALTER TABLE Anime ADD CONSTRAINT PK_Anime PRIMARY KEY (codigo); CREATE TABLE Comentario ( data DATETIME NOT NULL, obra_codigo INT NOT NULL, usuario_codigo INT NOT NULL, texto TEXT, data_update DATETIME ); ALTER TABLE Comentario ADD CONSTRAINT PK_Comentario PRIMARY KEY (data,obra_codigo,usuario_codigo); CREATE TABLE Episodio ( codigo INT NOT NULL, codigo_video INT NOT NULL, numero_episodio INT NOT NULL, lancado DATE, data_update DATETIME ); ALTER TABLE Episodio ADD CONSTRAINT PK_Episodio PRIMARY KEY (codigo); CREATE TABLE Especificacao ( codigo_obra INT NOT NULL, lancamento DATETIME, auto_increment_0 INT, trailer INT, auto_increment_1 INT, sinopse TEXT ); ALTER TABLE Especificacao ADD CONSTRAINT PK_Especificacao PRIMARY KEY (codigo_obra); CREATE TABLE ListEpisodio ( codigo_episodio INT NOT NULL, codigo_anime INT NOT NULL ); ALTER TABLE ListEpisodio ADD CONSTRAINT PK_ListEpisodio PRIMARY KEY (codigo_episodio,codigo_anime); CREATE TABLE ListGenero ( codigo_genero INT NOT NULL, codigo_obra INT NOT NULL ); ALTER TABLE ListGenero ADD CONSTRAINT PK_ListGenero PRIMARY KEY (codigo_genero,codigo_obra); CREATE TABLE Perfil ( codigo INT NOT NULL, nome VARCHAR(50), foto INT ); ALTER TABLE Perfil ADD CONSTRAINT PK_Perfil PRIMARY KEY (codigo); CREATE TABLE Adicionado_episodio ( codigo_episodio INT NOT NULL, codigo_usuario INT NOT NULL, data DATETIME ); ALTER TABLE Adicionado_episodio ADD CONSTRAINT PK_Adicionado_episodio PRIMARY KEY (codigo_episodio,codigo_usuario); ALTER TABLE Video ADD CONSTRAINT FK_Video_0 FOREIGN KEY (legenda) REFERENCES Legenda (codigo); ALTER TABLE Video ADD CONSTRAINT FK_Video_1 FOREIGN KEY (audio) REFERENCES Idioma (codigo); ALTER TABLE Adicionado_obra ADD CONSTRAINT FK_Adicionado_obra_0 FOREIGN KEY (codigo_usuario) REFERENCES usuario (codigo); ALTER TABLE Adicionado_obra ADD CONSTRAINT FK_Adicionado_obra_1 FOREIGN KEY (codigo_obra) REFERENCES Obra (codigo); ALTER TABLE Anime ADD CONSTRAINT FK_Anime_0 FOREIGN KEY (codigo) REFERENCES Obra (codigo); ALTER TABLE Comentario ADD CONSTRAINT FK_Comentario_0 FOREIGN KEY (obra_codigo) REFERENCES Obra (codigo); ALTER TABLE Comentario ADD CONSTRAINT FK_Comentario_1 FOREIGN KEY (usuario_codigo) REFERENCES usuario (codigo); ALTER TABLE Episodio ADD CONSTRAINT FK_Episodio_0 FOREIGN KEY (codigo_video) REFERENCES Video (codigo); ALTER TABLE Especificacao ADD CONSTRAINT FK_Especificacao_0 FOREIGN KEY (codigo_obra) REFERENCES Obra (codigo); ALTER TABLE Especificacao ADD CONSTRAINT FK_Especificacao_1 FOREIGN KEY (auto_increment_0) REFERENCES Foto (codigo); ALTER TABLE Especificacao ADD CONSTRAINT FK_Especificacao_2 FOREIGN KEY (trailer) REFERENCES Video (codigo); ALTER TABLE Especificacao ADD CONSTRAINT FK_Especificacao_3 FOREIGN KEY (auto_increment_1) REFERENCES Estudio (codigo); ALTER TABLE ListEpisodio ADD CONSTRAINT FK_ListEpisodio_0 FOREIGN KEY (codigo_episodio) REFERENCES Episodio (codigo); ALTER TABLE ListEpisodio ADD CONSTRAINT FK_ListEpisodio_1 FOREIGN KEY (codigo_anime) REFERENCES Anime (codigo); ALTER TABLE ListGenero ADD CONSTRAINT FK_ListGenero_0 FOREIGN KEY (codigo_genero) REFERENCES Genero (codigo); ALTER TABLE ListGenero ADD CONSTRAINT FK_ListGenero_1 FOREIGN KEY (codigo_obra) REFERENCES Especificacao (codigo_obra); ALTER TABLE Perfil ADD CONSTRAINT FK_Perfil_0 FOREIGN KEY (codigo) REFERENCES usuario (codigo); ALTER TABLE Perfil ADD CONSTRAINT FK_Perfil_1 FOREIGN KEY (foto) REFERENCES Foto (codigo); ALTER TABLE Adicionado_episodio ADD CONSTRAINT FK_Adicionado_episodio_0 FOREIGN KEY (codigo_episodio) REFERENCES Episodio (codigo); ALTER TABLE Adicionado_episodio ADD CONSTRAINT FK_Adicionado_episodio_1 FOREIGN KEY (codigo_usuario) REFERENCES usuario (codigo);
27.54
132
0.77342
c0409a1d5f737e9bd6a476b8b9bbf3fa0ec2c1d4
255
kt
Kotlin
yetutil/src/main/java/yet/ui/page/select/StringSelectPage.kt
yangentao/ble
c2e1330ab9cd2c57c069970628863d6a4778ed4d
[ "Apache-2.0" ]
null
null
null
yetutil/src/main/java/yet/ui/page/select/StringSelectPage.kt
yangentao/ble
c2e1330ab9cd2c57c069970628863d6a4778ed4d
[ "Apache-2.0" ]
null
null
null
yetutil/src/main/java/yet/ui/page/select/StringSelectPage.kt
yangentao/ble
c2e1330ab9cd2c57c069970628863d6a4778ed4d
[ "Apache-2.0" ]
null
null
null
package yet.ui.page.select import yet.ui.widget.listview.itemview.TextItemView /** * 简单字符串选择 */ open class StringSelectPage : TextSelectPage<String>() { override fun onBindItemView(itemView: TextItemView, item: String) { itemView.text = item } }
18.214286
68
0.745098
743fb3a9998321ba9d26b9f89913a429407475da
20,922
html
HTML
projectLibrary/doc/javadoc/bb/util/Benchmark.UnitTest.html
nschlimm/playground
ff5895969118fd2c47061dd35880f3e98f82842f
[ "MIT" ]
18
2015-02-10T09:25:22.000Z
2020-06-05T07:30:07.000Z
projectLibrary/doc/javadoc/bb/util/Benchmark.UnitTest.html
nschlimm/playground
ff5895969118fd2c47061dd35880f3e98f82842f
[ "MIT" ]
null
null
null
projectLibrary/doc/javadoc/bb/util/Benchmark.UnitTest.html
nschlimm/playground
ff5895969118fd2c47061dd35880f3e98f82842f
[ "MIT" ]
11
2015-01-25T18:29:16.000Z
2021-09-29T04:12:43.000Z
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_20) on Tue Jun 01 22:47:30 EDT 2010 --> <TITLE> Benchmark.UnitTest </TITLE> <META NAME="date" CONTENT="2010-06-01"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Benchmark.UnitTest"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Benchmark.UnitTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../bb/util/Benchmark.Stats.html" title="class in bb.util"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../bb/util/BidirectionalMap.html" title="class in bb.util"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?bb/util/Benchmark.UnitTest.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="Benchmark.UnitTest.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> bb.util</FONT> <BR> Class Benchmark.UnitTest</H2> <PRE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>bb.util.Benchmark.UnitTest</B> </PRE> <DL> <DT><B>Enclosing class:</B><DD><A HREF="../../bb/util/Benchmark.html" title="class in bb.util">Benchmark</A></DD> </DL> <HR> <DL> <DT><PRE>public static class <B>Benchmark.UnitTest</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL> </PRE> <P> See the Overview page of the project's javadocs for a general description of this unit test class. <P> <P> <HR> <P> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../bb/util/Benchmark.UnitTest.html#Benchmark.UnitTest()">Benchmark.UnitTest</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD> </TR> </TABLE> &nbsp; <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../bb/util/Benchmark.UnitTest.html#benchmark_System_currentTimeMillis()">benchmark_System_currentTimeMillis</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Results on 2009-08-27 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_16 server jvm): <code> System.currentTimeMillis: first = 25.889 ns, mean = 21.924 ns (CI deltas: -6.716 ps, +18.038 ps), sd = 322.107 ns (CI deltas: -169.332 ns, +353.907 ns) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, SD VALUES MAY BE INACCURATE </code></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../bb/util/Benchmark.UnitTest.html#benchmark_System_nanoTime()">benchmark_System_nanoTime</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Results on 2009-08-27 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_16 server jvm): <code> System.nanoTime: first = 203.424 ns, mean = 199.469 ns (CI deltas: -120.862 ps, +110.777 ps), sd = 1.298 us (CI deltas: -199.032 ns, +286.868 ns) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE </code></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../bb/util/Benchmark.UnitTest.html#test_Benchmark()">test_Benchmark</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Results on 2009-08-07 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): <code> Thread.sleep: first = 100.549 ms, mean = 100.575 ms (CI deltas: -31.408 us, +8.119 us), sd = 74.747 us (CI deltas: -72.195 us, +48.902 us) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, execution times may have serial correlation, SD VALUES MAY BE INACCURATE Benchmark correctly measured a known execution time task.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../bb/util/Benchmark.UnitTest.html#test_diagnoseOutliers()">test_diagnoseOutliers</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Results on 2009-04-09 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): <code> Benchmark correctly detected the following outlier issues: --EXECUTION TIMES APPEAR TO HAVE OUTLIERS --this was determined using the boxplot algorithm with median = 2.565 s, interquantileRange = 458.222 ms --1 are EXTREME (on the low side): #0 = 0.0 s --1 are mild (on the low side): #1 = 1.25 s --1 are EXTREME (on the high side): #59 = 5.0 s --1 are mild (on the high side): #58 = 3.75 s </code></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../bb/util/Benchmark.UnitTest.html#test_diagnoseSerialCorrelation()">test_diagnoseSerialCorrelation</A></B>()</CODE> <BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Results on 2009-04-09 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): <code> Benchmark correctly detected the following serial correlation issues: --EXECUTION TIMES HAVE SERIAL CORRELATION --1 of the 15 autocorrelation function coefficients (r[k]) that were computed are expected to fall outside their 95% CI --but found these 3: r[1] is 3.7109230528011716 sigma above its mean, r[3] is 2.4956492069489786 sigma above its mean, r[4] is 2.2879399503263147 sigma above its mean --the 95% CI for the r[k] was calculated as mean +- 1.96 sigma (i.e. a Gaussian distribution was assumed) </code></TD> </TR> </TABLE> &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> &nbsp; <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="Benchmark.UnitTest()"><!-- --></A><H3> Benchmark.UnitTest</H3> <PRE> public <B>Benchmark.UnitTest</B>()</PRE> <DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="test_diagnoseOutliers()"><!-- --></A><H3> test_diagnoseOutliers</H3> <PRE> public void <B>test_diagnoseOutliers</B>() throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> <DL> <DD>Results on 2009-04-09 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): <pre><code> Benchmark correctly detected the following outlier issues: --EXECUTION TIMES APPEAR TO HAVE OUTLIERS --this was determined using the boxplot algorithm with median = 2.565 s, interquantileRange = 458.222 ms --1 are EXTREME (on the low side): #0 = 0.0 s --1 are mild (on the low side): #1 = 1.25 s --1 are EXTREME (on the high side): #59 = 5.0 s --1 are mild (on the high side): #58 = 3.75 s </code></pre> <P> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> </DD> </DL> <HR> <A NAME="test_diagnoseSerialCorrelation()"><!-- --></A><H3> test_diagnoseSerialCorrelation</H3> <PRE> public void <B>test_diagnoseSerialCorrelation</B>() throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> <DL> <DD>Results on 2009-04-09 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): <pre><code> Benchmark correctly detected the following serial correlation issues: --EXECUTION TIMES HAVE SERIAL CORRELATION --1 of the 15 autocorrelation function coefficients (r[k]) that were computed are expected to fall outside their 95% CI --but found these 3: r[1] is 3.7109230528011716 sigma above its mean, r[3] is 2.4956492069489786 sigma above its mean, r[4] is 2.2879399503263147 sigma above its mean --the 95% CI for the r[k] was calculated as mean +- 1.96 sigma (i.e. a Gaussian distribution was assumed) </code></pre> <P> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> </DD> </DL> <HR> <A NAME="test_Benchmark()"><!-- --></A><H3> test_Benchmark</H3> <PRE> public void <B>test_Benchmark</B>() throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> <DL> <DD>Results on 2009-08-07 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_11 server jvm): <pre><code> Thread.sleep: first = 100.549 ms, mean = 100.575 ms (CI deltas: -31.408 us, +8.119 us), sd = 74.747 us (CI deltas: -72.195 us, +48.902 us) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, execution times may have serial correlation, SD VALUES MAY BE INACCURATE Benchmark correctly measured a known execution time task. </code></pre> <P> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> </DD> </DL> <HR> <A NAME="benchmark_System_currentTimeMillis()"><!-- --></A><H3> benchmark_System_currentTimeMillis</H3> <PRE> public void <B>benchmark_System_currentTimeMillis</B>() throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> <DL> <DD>Results on 2009-08-27 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_16 server jvm): <pre><code> System.currentTimeMillis: first = 25.889 ns, mean = 21.924 ns (CI deltas: -6.716 ps, +18.038 ps), sd = 322.107 ns (CI deltas: -169.332 ns, +353.907 ns) WARNING: EXECUTION TIMES HAVE EXTREME OUTLIERS, SD VALUES MAY BE INACCURATE </code></pre> <P> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> </DD> </DL> <HR> <A NAME="benchmark_System_nanoTime()"><!-- --></A><H3> benchmark_System_nanoTime</H3> <PRE> public void <B>benchmark_System_nanoTime</B>() throws <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> <DL> <DD>Results on 2009-08-27 (2.5 GHz Xeon E5420 desktop, jdk 1.6.0_16 server jvm): <pre><code> System.nanoTime: first = 203.424 ns, mean = 199.469 ns (CI deltas: -120.862 ps, +110.777 ps), sd = 1.298 us (CI deltas: -199.032 ns, +286.868 ns) WARNING: execution times have mild outliers, SD VALUES MAY BE INACCURATE </code></pre> <P> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Benchmark.UnitTest.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="../../bb/util/Benchmark.Stats.html" title="class in bb.util"><B>PREV CLASS</B></A>&nbsp; &nbsp;<A HREF="../../bb/util/BidirectionalMap.html" title="class in bb.util"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html?bb/util/Benchmark.UnitTest.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="Benchmark.UnitTest.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
50.781553
1,685
0.638992
5eedc307d92c741c3370986faf9e69c9760e9039
1,616
kt
Kotlin
app/src/main/java/org/covidwatch/android/data/pref/FakePreferenceStorage.kt
covidwatchorg/covidwatch-android-en
a9d6fe16427f131fb8e5a5044db34cedb760c56e
[ "Apache-2.0" ]
8
2020-07-16T04:40:28.000Z
2020-10-12T18:42:45.000Z
app/src/main/java/org/covidwatch/android/data/pref/FakePreferenceStorage.kt
covid19risk/covidwatch-android-en
a9d6fe16427f131fb8e5a5044db34cedb760c56e
[ "Apache-2.0" ]
97
2020-05-07T09:26:26.000Z
2020-06-30T23:49:57.000Z
app/src/main/java/org/covidwatch/android/data/pref/FakePreferenceStorage.kt
covidwatchorg/covidwatch-android-en
a9d6fe16427f131fb8e5a5044db34cedb760c56e
[ "Apache-2.0" ]
6
2020-07-10T19:05:49.000Z
2020-12-10T18:40:31.000Z
package org.covidwatch.android.data.pref import androidx.lifecycle.LiveData import org.covidwatch.android.data.ArizonaRiskModelConfiguration import org.covidwatch.android.data.model.* import java.time.Instant @Suppress("UNUSED_PARAMETER", "unused") class FakePreferenceStorage : PreferenceStorage { override var lastFetchDate: Long get() = 0 set(value) {} override var onboardingFinished: Boolean get() = true set(value) {} override var showOnboardingHomeAnimation: Boolean get() = true set(value) {} override var lastCheckedForExposures: Instant get() = TODO("not implemented") set(value) {} override val observableLastCheckedForExposures: LiveData<Instant> get() = TODO("not implemented") override var riskMetrics: RiskMetrics? = null override val observableRiskMetrics: LiveData<RiskMetrics?> get() = TODO("not implemented") override var regions: Regions get() = TODO("not implemented") set(value) {} override val observableRegions: LiveData<Regions> get() = TODO("not implemented") override val region: Region get() = TODO("not implemented") override val riskModelConfiguration: RiskModelConfiguration get() = ArizonaRiskModelConfiguration() override var selectedRegion: Int get() = TODO("not implemented") set(value) {} override val observableRegion: LiveData<Region> get() = TODO("not implemented") override val exposureConfiguration: CovidExposureConfiguration get() = TODO("not implemented") }
33.666667
69
0.6875
d77ca50201415ee27cf42357b41ee1efd2891d71
9,978
swift
Swift
HappyTime/View/Main/MainViewModel.swift
wlo1561411/HappyTime
b1073b375da7196b14a1cc9690faf91792a52c8c
[ "Apache-2.0" ]
null
null
null
HappyTime/View/Main/MainViewModel.swift
wlo1561411/HappyTime
b1073b375da7196b14a1cc9690faf91792a52c8c
[ "Apache-2.0" ]
null
null
null
HappyTime/View/Main/MainViewModel.swift
wlo1561411/HappyTime
b1073b375da7196b14a1cc9690faf91792a52c8c
[ "Apache-2.0" ]
null
null
null
// // MainViewModel.swift // HappyTime // // Created by Finn Wu on 2021/8/19. // import Foundation import SwiftUI import Combine class MainViewModel: ObservableObject { enum AlertType { enum RemindType { case delete case clock(type: ClockType) var title: String { return "提醒您!" } var message: String { switch self { case .delete: return "你確定要刪除已儲存的帳號密碼嗎?" case .clock(let type): return "你確定要\(type.chinese)嗎?" } } } enum ApiType { case login(success: Bool?) case clock(type: ClockType, success: Bool?, message: String?) var title: String { switch self { case .login(let success): if let success = success { return "登入\(success ? "成功" : "失敗")" } else { return "咦!" } case .clock(let type, let success, _): if let success = success { return "\(type.chinese)\(success ? "成功" : "失敗")" } else { return "咦!" } } } var message: String? { switch self { case .login(let success): if let success = success { return success ? nil : "請稍後再次嘗試或重新登入。" } else { return "請檢查輸入欄位。" } case .clock(_, let success, let message): if success != nil { return message } else { return "請稍後再次嘗試或重新登入。" } } } } case remind(remindType: RemindType) case response(apiType: ApiType) var title: String { switch self { case .remind(let remindType): return remindType.title case .response(let apiType): return apiType.title } } var message: String? { switch self { case .remind(let remindType): return remindType.message case .response(let apiType): return apiType.message } } } private let codeKey = "code_key" private let accountKey = "account_key" private let passwordKey = "password_key" private let minLatitude = 25.080149 private let maxLatitude = 25.081812 private let minlongitude = 121.564843 private let maxlongitude = 121.565335 private var cancellables = Set<AnyCancellable>() private var token: String? private var isSavedAccount = false @Published var code = "" @Published var account = "" @Published var password = "" @Published var isPopAlert = false var alertType: AlertType = .remind(remindType: .delete) } // MARK: - API private extension MainViewModel { func login() { if !isCompleteInput() { configAlert( alertType: .response(apiType: .login(success: nil)) ) return } WebService .shareInstance .login(code: code, account: account, password: password) { [weak self] success, token in if success { self?.token = token if !(self?.isSavedAccount ?? false) { self?.saveUserInfo() } } DispatchQueue.main.async { self?.configAlert( alertType: .response(apiType: .login(success: success)) ) } } } func clock(_ type: ClockType) { let coordinate = generateCoordinate() WebService .shareInstance .clock(type, token: token, latitude: coordinate.latitude, longitude: coordinate.longitude) { [weak self] success, message in DispatchQueue.main.async { self?.configAlert( alertType: .response(apiType: .clock(type: type, success: success, message: message)) ) } } } } // MARK: - Combine API private extension MainViewModel { func loginByCombine() { guard isCompleteInput() else { configAlert(alertType: .response(apiType: .login(success: nil))) return } WebService .shareInstance .login(code: code, account: account, password: password)? // .replaceError(with: nil) .sink(receiveCompletion: { [weak self] completion in switch completion { case .finished: break case .failure(_) : self?.configAlert( alertType: .response(apiType: .login(success: false)) ) } }, receiveValue: { [weak self] token in guard let self = self else { return } if let token = token { self.token = token WebService .shareInstance .getAttendance()? .sink(receiveCompletion: { _ in}, receiveValue: { string in print(string) }) .store(in: &self.cancellables) if !self.isSavedAccount { self.saveUserInfo() } } self.configAlert( alertType: .response(apiType: .login(success: self.token != nil)) ) }) .store(in: &cancellables) } func clockByCombine(_ type: ClockType) { let coordinate = generateCoordinate() WebService .shareInstance .clock(type, token: token ?? "", latitude: coordinate.latitude, longitude: coordinate.longitude)? .sink(receiveCompletion: { [weak self] completion in guard let self = self else { return } switch completion { case .finished: break case .failure(_) : self.configAlert( alertType: .response(apiType: .clock(type: type, success: nil, message: nil)) ) } }, receiveValue: { [weak self] response in self?.configAlert( alertType: .response(apiType: .clock(type: type, success: response.isSuccess, message: response.message)) ) }) .store(in: &cancellables) } } // MARK: - Keychain private extension MainViewModel { func saveUserInfo() { if !isCompleteInput() { return } KeychainUtility.shareInstance.save(code, for: codeKey) KeychainUtility.shareInstance.save(account, for: accountKey) KeychainUtility.shareInstance.save(password, for: passwordKey) } func deleteUserInfo() { KeychainUtility.shareInstance.delete(for: codeKey) KeychainUtility.shareInstance.delete(for: accountKey) KeychainUtility.shareInstance.delete(for: passwordKey) code = "" account = "" password = "" } } // MARK: - Action extension MainViewModel { func loginAction() { token = nil // login() loginByCombine() } func clockAction(_ type: ClockType) { // clock() clockByCombine(type) } func remindAction() { switch alertType { case .remind(let remindType): switch remindType { case .delete: deleteUserInfo() case .clock(let type): clockAction(type) } /// Should not happen case .response(_): break } } } // MARK: - Other extension MainViewModel { func queryUserInfo() { if let code = KeychainUtility.shareInstance.query(for: codeKey), let account = KeychainUtility.shareInstance.query(for: accountKey), let password = KeychainUtility.shareInstance.query(for: passwordKey) { isSavedAccount = true self.code = code self.account = account self.password = password } else { isSavedAccount = false } } func configAlert(alertType: AlertType) { self.alertType = alertType self.isPopAlert = true } func prepareForClock(_ type: ClockType) { configAlert(alertType: .remind(remindType: .clock(type: type))) } func prepareForDelete() { configAlert(alertType: .remind(remindType: .delete)) } func isCompleteInput() -> Bool { return !code.isEmpty && !account.isEmpty && !password.isEmpty } func generateCoordinate() -> (latitude: Double, longitude: Double) { let latitude = Double.random(in: minLatitude...maxLatitude).decimal(6) let longitude = Double.random(in: minlongitude...maxlongitude).decimal(6) return (latitude, longitude) } }
28.508571
125
0.472339
b379a42ae28cf45559953fd5322f9bf6540ff48b
520
dart
Dart
flutter/aoe_flutter_plugin/lib/src/AoeDeviceInfo.dart
didichuxing/AoE
2b4ddd38462eca4ca3a6e939067187504084d1fa
[ "Apache-2.0" ]
844
2019-07-29T12:15:55.000Z
2022-03-29T07:24:16.000Z
flutter/aoe_flutter_plugin/lib/src/AoeDeviceInfo.dart
didichuxing/AoE
2b4ddd38462eca4ca3a6e939067187504084d1fa
[ "Apache-2.0" ]
32
2019-08-10T09:32:35.000Z
2021-12-28T08:13:43.000Z
flutter/aoe_flutter_plugin/lib/src/AoeDeviceInfo.dart
didichuxing/AoE
2b4ddd38462eca4ca3a6e939067187504084d1fa
[ "Apache-2.0" ]
139
2019-07-29T12:56:28.000Z
2022-01-27T08:29:14.000Z
import 'package:json_annotation/json_annotation.dart'; part 'AoeDeviceInfo.g.dart'; @JsonSerializable(explicitToJson: true, anyMap: true) class AoeDeviceInfo { AoeDeviceInfo(); String uuid; String name; String model; String system; String version; String cpu; String disk; String memory; String ip; String macAddress; Map<String, dynamic> extInfo; factory AoeDeviceInfo.fromJson(Map json) => _$AoeDeviceInfoFromJson(json); Map<String, dynamic> toJson() => _$AoeDeviceInfoToJson(this); }
20.8
76
0.740385
506824471be8f72e710e63b88f19bd63c4d5f8cf
332
html
HTML
laserpony/templates/project_create_edit.html
JackRamey/LaserPony
ac2ba0aad3c8ab6a53964e8ce4d685813132ab3d
[ "MIT" ]
null
null
null
laserpony/templates/project_create_edit.html
JackRamey/LaserPony
ac2ba0aad3c8ab6a53964e8ce4d685813132ab3d
[ "MIT" ]
null
null
null
laserpony/templates/project_create_edit.html
JackRamey/LaserPony
ac2ba0aad3c8ab6a53964e8ce4d685813132ab3d
[ "MIT" ]
null
null
null
{% extends extends_with %} {% block body %} <br /> <br /> <form class="form-horizontal" role="form" method="POST"> {{ form.hidden_tag() }} {{ form.name.label }} {{ form.name(size=20) }} {{ form.slug.label }} {{ form.slug(size=20) }} <button type="submit" class="btn btn-default">Save</button> </form> {% endblock %}
27.666667
63
0.593373
d8085cc3edd4ea617cee1901f1be458b34403329
35
sql
SQL
src/gateway/sql/static/ansi/accounts/delete.sql
DavidBenko/gateway
31c98a35e4f14b7bea419c24ef5dc18aab6abf6a
[ "Apache-2.0" ]
5
2017-06-09T14:08:00.000Z
2021-02-20T03:22:38.000Z
src/gateway/sql/static/ansi/accounts/delete.sql
DavidBenko/gateway
31c98a35e4f14b7bea419c24ef5dc18aab6abf6a
[ "Apache-2.0" ]
null
null
null
src/gateway/sql/static/ansi/accounts/delete.sql
DavidBenko/gateway
31c98a35e4f14b7bea419c24ef5dc18aab6abf6a
[ "Apache-2.0" ]
3
2017-05-31T02:27:58.000Z
2019-12-20T09:54:03.000Z
DELETE FROM accounts WHERE id = ?;
11.666667
20
0.714286
fd8d38283c50a349414dbc70b856fe056ad64780
3,540
swift
Swift
MVX & VIPER patterns/Viper_Materials/final/Viper/TripDetailModule/TripDetailPresenter.swift
FicowShen/iOS-Demo-Snippets
c54fc767fcbc35c9d37aa6ba3ac4865d551ac69c
[ "MIT" ]
null
null
null
MVX & VIPER patterns/Viper_Materials/final/Viper/TripDetailModule/TripDetailPresenter.swift
FicowShen/iOS-Demo-Snippets
c54fc767fcbc35c9d37aa6ba3ac4865d551ac69c
[ "MIT" ]
null
null
null
MVX & VIPER patterns/Viper_Materials/final/Viper/TripDetailModule/TripDetailPresenter.swift
FicowShen/iOS-Demo-Snippets
c54fc767fcbc35c9d37aa6ba3ac4865d551ac69c
[ "MIT" ]
null
null
null
/// Copyright (c) 2020 Razeware LLC /// /// 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. /// /// Notwithstanding the foregoing, you may not use, copy, modify, merge, publish, /// distribute, sublicense, create a derivative work, and/or sell copies of the /// Software in any work that is designed, intended, or marketed for pedagogical or /// instructional purposes related to programming, coding, application development, /// or information technology. Permission for such use, copying, modification, /// merger, publication, distribution, sublicensing, creation of derivative works, /// or sale is expressly withheld. /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN /// THE SOFTWARE. import SwiftUI import Combine class TripDetailPresenter: ObservableObject { private let interactor: TripDetailInteractor private let router: TripDetailRouter private var cancellables = Set<AnyCancellable>() @Published var tripName: String = "No name" let setTripName: Binding<String> @Published var distanceLabel: String = "Calculating..." @Published var waypoints: [Waypoint] = [] init(interactor: TripDetailInteractor) { self.interactor = interactor self.router = TripDetailRouter(mapProvider: interactor.mapInfoProvider) // 1 setTripName = Binding<String>( get: { interactor.tripName }, set: { interactor.setTripName($0) } ) // 2 interactor.tripNamePublisher .assign(to: \.tripName, on: self) .store(in: &cancellables) interactor.$totalDistance .map { "Total Distance: " + MeasurementFormatter().string(from: $0) } .replaceNil(with: "Calculating...") .assign(to: \.distanceLabel, on: self) .store(in: &cancellables) interactor.$waypoints .assign(to: \.waypoints, on: self) .store(in: &cancellables) } func save() { interactor.save() } func makeMapView() -> some View { TripMapView(presenter: TripMapViewPresenter(interactor: interactor)) } // MARK: - Waypoints func addWaypoint() { interactor.addWaypoint() } func didMoveWaypoint(fromOffsets: IndexSet, toOffset: Int) { interactor.moveWaypoint(fromOffsets: fromOffsets, toOffset: toOffset) } func didDeleteWaypoint(_ atOffsets: IndexSet) { interactor.deleteWaypoint(atOffsets: atOffsets) } func cell(for waypoint: Waypoint) -> some View { let destination = router.makeWaypointView(for: waypoint) .onDisappear(perform: interactor.updateWaypoints) return NavigationLink(destination: destination) { Text(waypoint.name) } } }
35.757576
83
0.722034
05403eb9411038e6c74fe2b09a87be176fbad50f
451
dart
Dart
clients/dart-dio-next/generated/test/favorite_impllinks_test.dart
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/dart-dio-next/generated/test/favorite_impllinks_test.dart
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
clients/dart-dio-next/generated/test/favorite_impllinks_test.dart
cliffano/jenkins-api-clients-generator
522d02b3a130a29471df5ec1d3d22c822b3d0813
[ "MIT" ]
null
null
null
import 'package:test/test.dart'; import 'package:openapi/openapi.dart'; // tests for FavoriteImpllinks void main() { final instance = FavoriteImpllinksBuilder(); // TODO add properties to the builder and call build() group(FavoriteImpllinks, () { // Link self test('to test the property `self`', () async { // TODO }); // String class_ test('to test the property `class_`', () async { // TODO }); }); }
20.5
56
0.618625
db3ed9cfd4ee433812573c62d067c4573ac9688a
2,955
asm
Assembly
LKS/variable.asm
Kannagi/Super-Kannagi-Sound
d3b078f6501717d67d1d3c5ed2fdb9c89491df0d
[ "MIT" ]
11
2016-10-26T19:32:05.000Z
2020-11-20T11:11:43.000Z
LKS/variable.asm
KungFuFurby/Super-Kannagi-Sound
bf6696cc7d0bd7843fb0a036a07dcd3ff39ca75e
[ "MIT" ]
null
null
null
LKS/variable.asm
KungFuFurby/Super-Kannagi-Sound
bf6696cc7d0bd7843fb0a036a07dcd3ff39ca75e
[ "MIT" ]
1
2018-02-17T10:41:14.000Z
2018-02-17T10:41:14.000Z
.DEFINE MEM_TEMP $0 .DEFINE MEM_TEMPFUNC $10 .DEFINE LKS_TMP_ARGS $20 .DEFINE LKS_TMP $26 .DEFINE LKS_TMP_RETURN $36 .DEFINE LKS_TEMPVBL $38 .DEFINE LKS_VBLANK $40 .DEFINE LKS_PRINTPL $4B .DEFINE LKS_CPU $4C .DEFINE LKS_VCPU $4D .DEFINE LKS_DMAT $4E .DEFINE LKS_OAM $50 .DEFINE LKS_FADE $80 .DEFINE LKS_BG $90 .DEFINE s_lks $F0 ;s_lks .DEFINE _lks_tmpbg3 $00 .DEFINE s_palette $200 .DEFINE MEM_OAML $D80 .DEFINE MEM_OAMH $F80 ;FA0-FB0 free .DEFINE LKS_STDCTRL $FB0 .DEFINE LKS_SPC_VAR $7E2000 .DEFINE MODE7S $1100 .DEFINE MODE7A $1400 .DEFINE MODE7D $1700 .DEFINE MODE7B $1A00 .DEFINE MODE7C $1D00 .DEFINE LKS_BUF_MODE7 $7E5000 /* .DEFINE MODE7S $0100+$7E5000 .DEFINE MODE7A $0400+$7E5000 .DEFINE MODE7D $0700+$7E5000 .DEFINE MODE7B $0A00+$7E5000 .DEFINE MODE7C $0D00+$7E5000 */ .DEFINE LKS_DMA $7E6700 .DEFINE LKS_BUF_OAM $7E7000 .DEFINE LKS_BUF_OAML $7E7000 .DEFINE LKS_BUF_OAMH $7E7200 .DEFINE LKS_BUF_BGS1 $7E7300 .DEFINE LKS_BUF_BGS2 $7E7400 .DEFINE LKS_BUF_PAL $7E7600 .DEFINE LKS_BUF_BG3 $7E7800 .DEFINE LKS_BUF_COL $7E8000 .DEFINE LKS_BUF_BG1 $7F0000 .DEFINE LKS_BUF_BG2 $7F8000 ;----------------------- ;LKS_DMA .DEFINE _dmaEnable $00 .DEFINE _dmaBank $01 .DEFINE _dmaSrcR $02 .DEFINE _dmaSrc1 $04 .DEFINE _dmaDst1 $06 .DEFINE _dmaSize1 $08 .DEFINE _dmaSrc2 $0A .DEFINE _dmaDst2 $0C .DEFINE _dmaSize2 $0E .DEFINE _dmaSrc3 $10 .DEFINE _dmaDst3 $12 .DEFINE _dmaSize3 $14 .DEFINE _dmaFunc $16 .DEFINE _dmat $18 ;LKS_FADE .DEFINE _fdbrg $00 .DEFINE _fdtimer $01 .DEFINE _fdphase $03 .DEFINE _fdvin $04 .DEFINE _fdvout $05 ;LKS_VBLANK .DEFINE _vblset $00 .DEFINE _vblenable $01 .DEFINE _vbltime $02 .DEFINE _vbltimemin $04 ;LKS_BG .DEFINE _bg1x $00 .DEFINE _bg1y $02 .DEFINE _bg2x $04 .DEFINE _bg2y $06 .DEFINE _bg3x $08 .DEFINE _bg3y $0A .DEFINE _bg4x $0C .DEFINE _bg4y $0E .DEFINE _bg2Haddsc $10 .DEFINE _bg2Vaddsc $12 .DEFINE _bg2add1 $14 .DEFINE _bg2add2 $16 .DEFINE _bg1Haddsc $18 .DEFINE _bg1Vaddsc $1A .DEFINE _bg1add1 $1C .DEFINE _bg1add2 $1E .DEFINE _bgH $20 .DEFINE _bgV $22 .DEFINE _bgEnableX $24 .DEFINE _bgEnableY $25 .DEFINE _bgaddyr $26 .DEFINE _bgaddy $28 .DEFINE _bglimitex $2A .DEFINE _bglimitey $2C ;LKS_OAM .DEFINE _zorderadr $0 .DEFINE _sprn1 $2 .DEFINE _sprn2 $3 .DEFINE _sprx $4 .DEFINE _spry $6 .DEFINE _sprtile $8 .DEFINE _sprext $9 .DEFINE _sprsz $A .DEFINE _sprtmp1 $C .DEFINE _sprtmp2 $E .DEFINE _zorder $10 ;$10-$2F .DEFINE _nperso1 $2E .DEFINE _nperso2 $2F ;s_palette .DEFINE _pleffect $00 .DEFINE _pltype $01 .DEFINE _pli $02 ;2-3 .DEFINE _pll $04 .DEFINE _bgpl1 $10 .DEFINE _bgpl2 $13 .DEFINE _bgpl3 $16 .DEFINE _bgpl4 $19 .DEFINE _bgpl5 $1C .DEFINE _bgpl6 $1F .DEFINE _bgpl7 $22 .DEFINE _bgpl8 $25 .DEFINE _spl1 $28 .DEFINE _spl2 $2B .DEFINE _spl3 $2E .DEFINE _spl4 $31 .DEFINE _spl5 $34 .DEFINE _spl6 $37 .DEFINE _spl7 $3A .DEFINE _spl8 $3D
17.694611
32
0.709645