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
740ee5ff68fc1b396ab6fd9098cc1a43071221ab
1,718
c
C
d/standard/old/yard.c
Dbevan/SunderingShadows
6c15ec56cef43c36361899bae6dc08d0ee907304
[ "MIT" ]
13
2019-07-19T05:24:44.000Z
2021-11-18T04:08:19.000Z
d/standard/old/yard.c
Dbevan/SunderingShadows
6c15ec56cef43c36361899bae6dc08d0ee907304
[ "MIT" ]
4
2021-03-15T18:56:39.000Z
2021-08-17T17:08:22.000Z
d/standard/old/yard.c
Dbevan/SunderingShadows
6c15ec56cef43c36361899bae6dc08d0ee907304
[ "MIT" ]
13
2019-09-12T06:22:38.000Z
2022-01-31T01:15:12.000Z
#include <std.h> inherit VAULT; void create() { ::create(); set_property("light", 3); set_property("night light", 2); set_property("no castle", 1); set("short", "A small yard"); set("day long", "In all weathers, daytime makes this beautiful yard at the end " "of a small alley glow with peace. Quaint houses surround the yard " "on all flanks except to the west where the alley intersects " "Centre Path. There is a manhole where the alley meets the yard." ); set("night long", "Very little stirs at the end of this small alley in the dark of " "the night. Some light illuminates the area from the lamps " "which are posted in front of the houses which surround the yard " "at the end of the alley." ); set_door("manhole","/d/standard/sewer_ent","down",0); set_string("manhole","open","You open the manhole cover to the sewers.\n"); set_open("manhole", 0); "/d/standard/sewer_ent"->set_open("manhole", 0); set_exits( (["west" : "/d/standard/s_centre2", "down" : "/d/standard/sewer_ent"]) ); set_items( (["alley" : "It looks beautiful here.", "manhole" : (: this_object(), "look_at_manhole" :) ]) ); } void reset() { ::reset(); if(!find_living("beggar") || !environment(find_living("beggar"))) new("/d/standard/obj/mon/beggar")->move(this_object()); if(query_reset_number() != 1) { set_open("manhole", 0); "/d/standard/sewer_ent"->set_open("manhole", 0); } } void look_at_manhole() { if(query_open("manhole")) write("You can see a hole leading down into the sewers by it."); else write("It is covering up an entrance into the sewer."); }
33.686275
79
0.625146
c6c1755147299b7b9da9177b87bb6c2ed3bcd229
873
rb
Ruby
app/jobs/life_monitor_status_job.rb
ChristophB/seek
6e988d9c922c15aa6d20ed436f4959b521746428
[ "BSD-3-Clause" ]
55
2015-08-31T13:15:47.000Z
2022-02-21T15:03:34.000Z
app/jobs/life_monitor_status_job.rb
ChristophB/seek
6e988d9c922c15aa6d20ed436f4959b521746428
[ "BSD-3-Clause" ]
855
2015-09-22T08:05:52.000Z
2022-03-31T16:50:31.000Z
app/jobs/life_monitor_status_job.rb
knoppiks/n4h-lap-seek
80668a1bd992a16c89065acb552288410449e3d2
[ "BSD-3-Clause" ]
43
2015-03-07T19:23:34.000Z
2022-03-15T12:35:22.000Z
class LifeMonitorStatusJob < ApplicationJob PERIOD = 1.day.freeze BATCH_SIZE = 20 def perform(offset = 0) return unless Seek::Config.life_monitor_enabled versions = Workflow::Version.where(monitored: true).offset(offset).limit(BATCH_SIZE) if versions.any? token = LifeMonitor::Oauth2::Client.new.get_token client = LifeMonitor::Rest::Client.new(token) versions.find_each do |workflow_version| response = client.status(workflow_version) if response['aggregate_test_status'].present? disable_authorization_checks do workflow_version.workflow.update_test_status(response['aggregate_test_status'], workflow_version.version) end end end end offset += BATCH_SIZE self.class.perform_later(offset) if offset < Workflow::Version.where(monitored: true).count end end
32.333333
117
0.713631
39dfb35ce6dc60bd96d0fb6434997dc05e3d8efd
3,628
java
Java
LineCursor/src/java/example/MainPanel.java
Manudoma/java-swing-tips
f6e9328dd7265728b8fe38ffe1a9b0c6c2a9097e
[ "MIT" ]
3
2021-02-08T13:23:31.000Z
2021-03-12T22:33:32.000Z
LineCursor/src/java/example/MainPanel.java
Manudoma/java-swing-tips
f6e9328dd7265728b8fe38ffe1a9b0c6c2a9097e
[ "MIT" ]
null
null
null
LineCursor/src/java/example/MainPanel.java
Manudoma/java-swing-tips
f6e9328dd7265728b8fe38ffe1a9b0c6c2a9097e
[ "MIT" ]
1
2021-02-07T20:28:39.000Z
2021-02-07T20:28:39.000Z
// -*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: // @homepage@ package example; import java.awt.*; import java.util.Objects; import javax.swing.*; import javax.swing.text.Caret; import javax.swing.text.DefaultCaret; import javax.swing.text.Document; import javax.swing.text.JTextComponent; public final class MainPanel extends JPanel { private MainPanel() { super(new BorderLayout()); JTextArea textArea = new LineCursorTextArea("Line Cursor Test\n\n*******"); JCheckBox check = new JCheckBox("LineWrap"); check.addActionListener(e -> { textArea.setLineWrap(((JCheckBox) e.getSource()).isSelected()); textArea.requestFocusInWindow(); }); add(check, BorderLayout.NORTH); add(new JScrollPane(textArea)); setPreferredSize(new Dimension(320, 240)); } public static void main(String[] args) { EventQueue.invokeLater(MainPanel::createAndShowGui); } private static void createAndShowGui() { try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException ex) { ex.printStackTrace(); Toolkit.getDefaultToolkit().beep(); } JFrame frame = new JFrame("@title@"); frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); frame.getContentPane().add(new MainPanel()); frame.pack(); frame.setLocationRelativeTo(null); frame.setVisible(true); } } class LineCursorTextArea extends JTextArea { private static final Color LINE_COLOR = Color.BLUE; protected LineCursorTextArea() { super(); } protected LineCursorTextArea(Document doc) { super(doc); } protected LineCursorTextArea(Document doc, String text, int rows, int columns) { super(doc, text, rows, columns); } protected LineCursorTextArea(int rows, int columns) { super(rows, columns); } protected LineCursorTextArea(String text) { super(text); } protected LineCursorTextArea(String text, int rows, int columns) { super(text, rows, columns); } @Override public void updateUI() { super.updateUI(); Caret caret = new DefaultCaret() { // [UnsynchronizedOverridesSynchronized] // Unsynchronized method damage overrides synchronized method in DefaultCaret @SuppressWarnings("PMD.AvoidSynchronizedAtMethodLevel") @Override protected synchronized void damage(Rectangle r) { if (Objects.nonNull(r)) { JTextComponent c = getComponent(); x = 0; y = r.y; width = c.getSize().width; height = r.height; c.repaint(); } } }; // caret.setBlinkRate(getCaret().getBlinkRate()); caret.setBlinkRate(UIManager.getInt("TextArea.caretBlinkRate")); setCaret(caret); } @Override protected void paintComponent(Graphics g) { super.paintComponent(g); Caret c = getCaret(); if (c instanceof DefaultCaret) { Graphics2D g2 = (Graphics2D) g.create(); Insets i = getInsets(); // int y = g2.getFontMetrics().getHeight() * getLineAtCaret(this) + i.top; DefaultCaret caret = (DefaultCaret) c; int y = caret.y + caret.height - 1; g2.setPaint(LINE_COLOR); g2.drawLine(i.left, y, getSize().width - i.left - i.right, y); g2.dispose(); } } // public static int getLineAtCaret(JTextComponent component) { // int caretPosition = component.getCaretPosition(); // Element root = component.getDocument().getDefaultRootElement(); // return root.getElementIndex(caretPosition) + 1; // } }
30.233333
125
0.678335
52ea2ce33da36e4832c7132b9962240541fd7b9e
202
sql
SQL
DB/ddl/reports.sql
sandipnahak/QuickFabric
1010fb40235254c7a5e8d225e7d34d1abd6ec543
[ "Apache-2.0" ]
22
2020-03-10T20:55:26.000Z
2022-02-03T04:03:09.000Z
DB/ddl/reports.sql
sandipnahak/QuickFabric
1010fb40235254c7a5e8d225e7d34d1abd6ec543
[ "Apache-2.0" ]
13
2020-03-30T09:28:14.000Z
2021-10-06T05:53:40.000Z
DB/ddl/reports.sql
sandipnahak/QuickFabric
1010fb40235254c7a5e8d225e7d34d1abd6ec543
[ "Apache-2.0" ]
15
2020-03-30T09:12:22.000Z
2022-02-24T08:05:47.000Z
-- -- Table structure for table `reports` -- CREATE TABLE IF NOT EXISTS `reports` ( `report_id` int(11) NOT NULL AUTO_INCREMENT, `report_name` varchar(256) NOT NULL, PRIMARY KEY (`report_id`) );
20.2
46
0.693069
ae4f13de3839863b737c3eb96fcb0a975c657b8c
891
rs
Rust
src/main.rs
panickal/rust-tryout
0b1d7a39a482813f60f5c298cfa2b7dd858b9c00
[ "Apache-2.0" ]
null
null
null
src/main.rs
panickal/rust-tryout
0b1d7a39a482813f60f5c298cfa2b7dd858b9c00
[ "Apache-2.0" ]
null
null
null
src/main.rs
panickal/rust-tryout
0b1d7a39a482813f60f5c298cfa2b7dd858b9c00
[ "Apache-2.0" ]
null
null
null
// import loops module which is loops.rs mod loops; mod functions; fn hello_world() { println!("Hello World!"); } fn main() { hello_world(); // call public function loops in loops module loops::loops(); functions::functions(); // both expressions are valid // type doesn't have to be mentioned, compiler can decipher let _i = 10; let _k : i32 = 10; // i is immutable // i = 11; let mut ii = 10; println!("Hello, World! {}", ii); assert_eq!(ii, 10); println!("{} {}", disp(&mut ii), ii); let arr = [10,20,30,40]; for i in 0..4 { println!("{}", arr[i]); } let _slice1 = &arr[1..]; println!("{:?}, {:?}", arr[3], _slice1.get(5)); } fn disp(x: &mut i32) -> f64 { if *x > 1 { *x = 50; std::f64::consts::PI + 10 as f64 } else { *x = 20; std::f64::consts::PI } }
17.82
63
0.512907
d98ce45a2d1bbd34f1d9b602aa4cc374f005d938
338
swift
Swift
NDTestFrameWorkCalculate/Classes/Calculate.swift
nuwan5454/NDTestFrameWorkCalculate
b97d83e265df21b331ed8b2509f2a00ab73c0b1f
[ "MIT" ]
null
null
null
NDTestFrameWorkCalculate/Classes/Calculate.swift
nuwan5454/NDTestFrameWorkCalculate
b97d83e265df21b331ed8b2509f2a00ab73c0b1f
[ "MIT" ]
null
null
null
NDTestFrameWorkCalculate/Classes/Calculate.swift
nuwan5454/NDTestFrameWorkCalculate
b97d83e265df21b331ed8b2509f2a00ab73c0b1f
[ "MIT" ]
null
null
null
// // Calculate.swift // Pods // // Created by Nuwan Edirisinghe on 17/11/2016. // // import Foundation public class Calculate { public init() { //Needs to create this as public so other classes can create referance of this } public func add(a: Int, b: Int) -> Int { return (a + b) } }
15.363636
86
0.573964
964b56bca3cfb2cda755cde841f6a78892aa207a
2,220
php
PHP
plugins/box/pages/languages/nl.lang.php
jessicaGithub/portfolio2016
c066b7cc520597ddfafe62ef0a8fe5233179c97b
[ "MIT" ]
188
2015-10-17T12:29:26.000Z
2022-01-15T21:17:57.000Z
plugins/box/pages/languages/nl.lang.php
jessicaGithub/portfolio2016
c066b7cc520597ddfafe62ef0a8fe5233179c97b
[ "MIT" ]
78
2015-10-31T23:29:29.000Z
2022-01-28T03:28:41.000Z
plugins/box/pages/languages/nl.lang.php
jessicaGithub/portfolio2016
c066b7cc520597ddfafe62ef0a8fe5233179c97b
[ "MIT" ]
92
2015-10-22T11:49:01.000Z
2022-01-18T09:18:16.000Z
<?php return array( 'pages' => array( 'Pages' => 'Pagina\'s', 'Pages manager' => 'Pagina beheer', 'Content' => 'Inhoud', 'Create New Page' => 'Nieuwe pagina', 'New Page' => 'Nieuwe pagina', 'Edit Page' => 'Bewerk pagina', 'Date' => 'Datum', 'Clone' => 'Kopieren', 'Edit' => 'Bewerken', 'Delete' => 'Verwijderen', 'Delete page: :page' => 'Verwijder pagina: :page', 'Title' => 'Titel', 'Name' => 'Naam', 'Author' => 'Auteur', 'Name (slug)' => 'Naam (alias)', 'Description' => 'Beschrijving', 'Keywords' => 'Trefwoorden', 'Parent' => 'Root', 'Template' => 'Template', 'Year' => 'Jaar', 'Day' => 'Dag', 'Month' => 'Maand', 'Hour' => 'Uur', 'Minute' => 'Minuut', 'Second' => 'Seconde', 'This field should not be empty' => 'Dit veld mag niet leeg zijn', 'This page already exists' => 'Deze pagina bestaat al', 'Extra' => 'Extra', 'Save' => 'Opslaan', 'Save and Exit' => 'Opslaan en Terug', 'Your changes to the page <i>:page</i> have been saved.' => 'De wijzigingen aan <i> :page </i> zijn opgeslagen.', 'The page <i>:page</i> cloned.' => 'De pagina <i>:page</i> is gekopieerd.', 'Status' => 'Status', 'Actions' => 'Acties', 'Add' => 'Toevoegen', 'Published' => 'Gepubliceerd', 'Draft' => 'Concept', 'Published on' => 'Gepubliceerd op', 'Edit 404 Page' => 'Bewerk 404 pagina', 'Page <i>:page</i> deleted' => 'Pagina <i>:page</i> is verwijderd', 'Search Engines Robots' => 'Zoekmachine Robots ', 'Page' => 'Pagina', 'Metadata' => 'Metadata', 'Settings' => 'Instellingen', 'Required field' => 'Vereist veld', 'Access' => 'Toegang', 'Public' => 'Publiek', 'Registered' => 'Geregistreerd', 'Cancel' => 'Cancel', ) );
39.642857
125
0.438739
406082b1a0eb7c0edeb83793f334bb861a0e79b1
870
py
Python
pykeys.py
palsayantan/PyKeys
b7e42e9a3a61c470a072096227656179440f1497
[ "MIT" ]
1
2020-03-25T17:55:25.000Z
2020-03-25T17:55:25.000Z
pykeys.py
palsayantan/PyKeys
b7e42e9a3a61c470a072096227656179440f1497
[ "MIT" ]
null
null
null
pykeys.py
palsayantan/PyKeys
b7e42e9a3a61c470a072096227656179440f1497
[ "MIT" ]
null
null
null
import serial #Serial imported for Serial communication import time #Required to use delay functions import pyautogui ArduinoSerial = serial.Serial('COM11',9600) #Create Serial port object called arduinoSerialData time.sleep(2) #wait for 2 seconds for the communication to get established # a(2) | up # e(6) b(3) d(5) | left enter right # c(4) | down while 1: incoming = ArduinoSerial.readline() #read the serial data and print it as line #print incoming if 'b' in incoming: pyautogui.typewrite(['space'], 0.2) if 'e' in incoming: pyautogui.hotkey('left') if 'd' in incoming: pyautogui.hotkey('right') if 'a' in incoming: pyautogui.hotkey('up') if 'c' in incoming: pyautogui.hotkey('down')
27.1875
96
0.591954
72f04a9f081f3e8e3aa946640080c5653494e206
164
kt
Kotlin
kotlin2js-reflection-api/src/main/kotlin/org/decembrist/model/MethodInfo.kt
decembrist-revolt/decembrist-kotlin2js-reflection
167548dcd9c5aa27b22d3e6d3135c8d06d56ee7d
[ "Apache-2.0" ]
21
2018-11-06T14:34:28.000Z
2021-07-09T10:49:55.000Z
kotlin2js-reflection-api/src/main/kotlin/org/decembrist/model/MethodInfo.kt
decembrist-revolt/decembrist-kotlin2js-reflection
167548dcd9c5aa27b22d3e6d3135c8d06d56ee7d
[ "Apache-2.0" ]
3
2019-03-07T13:27:30.000Z
2019-05-09T11:29:56.000Z
kotlin2js-reflection-api/src/main/kotlin/org/decembrist/model/MethodInfo.kt
decembrist-revolt/decembrist-kotlin2js-reflection
167548dcd9c5aa27b22d3e6d3135c8d06d56ee7d
[ "Apache-2.0" ]
3
2019-03-07T13:57:14.000Z
2019-08-16T06:20:39.000Z
package org.decembrist.model /** * Method reflection info */ class MethodInfo(val method: FunctionIdentifier, val annotations: List<Annotation>)
23.428571
51
0.70122
e5519285a2a1edc0ed1464a03609cc49974268c8
279
ts
TypeScript
src/app/commons/models/role-feature.model.ts
wearperfectnow/wearperfect-web-ui
5913a8006ca93d0eb959bce7828d7cfc80d71797
[ "Apache-2.0" ]
null
null
null
src/app/commons/models/role-feature.model.ts
wearperfectnow/wearperfect-web-ui
5913a8006ca93d0eb959bce7828d7cfc80d71797
[ "Apache-2.0" ]
null
null
null
src/app/commons/models/role-feature.model.ts
wearperfectnow/wearperfect-web-ui
5913a8006ca93d0eb959bce7828d7cfc80d71797
[ "Apache-2.0" ]
null
null
null
import Feature from "./feature.model"; interface RoleFeature { id: number, roleId: number, featureId: number, createdBy?: number, createdOn?: number, lastUpdatedBy?: number, lastUpdatedOn?: number, active: boolean, feature?: Feature } export default RoleFeature;
18.6
38
0.727599
0baf19f452a01f04d8ce602f2eb96049866a20fd
373
js
JavaScript
web/tpl/jade/list.js
17koa/source
d3530de4f38893b7996da6ec3f681f8eed025c54
[ "MIT" ]
null
null
null
web/tpl/jade/list.js
17koa/source
d3530de4f38893b7996da6ec3f681f8eed025c54
[ "MIT" ]
null
null
null
web/tpl/jade/list.js
17koa/source
d3530de4f38893b7996da6ec3f681f8eed025c54
[ "MIT" ]
null
null
null
var fs = require('fs') var pug = require('pug'); // 读取模板文件,放到user_tpl_str变量中 var user_tpl_str = fs.readFileSync('./list.jade').toString(); console.log(user_tpl_str) // 通过jade的render方法,对user_tpl_str和数据进行编译 var html = pug.render(user_tpl_str, { users:[ { name: '朴灵' }, { name: 'alsotang' },{ name: 'i5ting' } ] }); console.log(html)
16.217391
61
0.616622
d02fba8e1e64090aa8b7e5debfe26c5a5b5b7000
3,661
swift
Swift
FaceTube/Shelf/FTTabbarContrller.swift
LongPF/FaceTube
4965664396de4e91d97f0cea83b03f974414acc2
[ "MIT" ]
1
2017-06-14T10:03:40.000Z
2017-06-14T10:03:40.000Z
FaceTube/Shelf/FTTabbarContrller.swift
LongPF/FaceTube
4965664396de4e91d97f0cea83b03f974414acc2
[ "MIT" ]
null
null
null
FaceTube/Shelf/FTTabbarContrller.swift
LongPF/FaceTube
4965664396de4e91d97f0cea83b03f974414acc2
[ "MIT" ]
null
null
null
// // FTTabbarContrller.swift // FaceTube // // Created by 龙鹏飞 on 2017/3/1. // Copyright © 2017年 https://github.com/LongPF/FaceTube. All rights reserved. // import UIKit import AMScrollingNavbar class FTTabbarContrller: UITabBarController { //MARK: ************************ life cycle ************************ override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. self.addChildViewControllers() } //MARK: ************************ interface methods *************** open func showTabBar(show: Bool , aniamtie: Bool){ if show { if aniamtie{ UIView.transition(with: tabBar, duration: 0.3, options: .curveLinear, animations: { self.tabBar.layer.transform = CATransform3DMakeTranslation(0, 0, 0) }, completion: nil) }else{ self.tabBar.layer.transform = CATransform3DMakeTranslation(0, 0, 0) } }else{ tabBar.layer.removeAllAnimations() if aniamtie{ UIView.transition(with: tabBar, duration: 0.3, options: .curveLinear, animations: { self.tabBar.layer.transform = CATransform3DMakeTranslation(0, 60, 0) }, completion: nil) }else{ self.tabBar.layer.transform = CATransform3DMakeTranslation(0, 60, 0) } } } //MARK:private methods fileprivate func addChildViewControllers(){ //home let homeViewController = FTHomeViewController() homeViewController.view.backgroundColor = UIColor.backgroundColor() let homeTabBarItem: UITabBarItem = UITabBarItem.init(title: nil, image: UIImage.init(named: "ft_tabbar_live"), selectedImage: UIImage.init(named: "ft_tabbar_live_hl")) homeTabBarItem.imageInsets = UIEdgeInsetsMake(5, 0, -5, 0) homeViewController.tabBarItem = homeTabBarItem let homeNav: ScrollingNavigationController = ScrollingNavigationController.init(rootViewController: homeViewController) /* //record let recordViewController = FTVideoCaptureViewController() recordViewController.view.backgroundColor = UIColor.backgroundColor() let recordTabBarItem: UITabBarItem = UITabBarItem.init(title: nil, image: UIImage.init(named: "ft_tabbar_record"), selectedImage: UIImage.init(named: "ft_tabbar_record_hl")) recordTabBarItem.imageInsets = UIEdgeInsetsMake(6, 0, -6, 0) recordViewController.tabBarItem = recordTabBarItem let recordNav: ScrollingNavigationController = ScrollingNavigationController.init(rootViewController: recordViewController) */ //capture let captureViewController = FTCaptureViewController() captureViewController.view.backgroundColor = UIColor.backgroundColor() let captureTabBarItem: UITabBarItem = UITabBarItem.init(title: nil, image: UIImage.init(named: "ft_tabbar_record"), selectedImage: UIImage.init(named: "ft_tabbar_record_hl")) captureTabBarItem.imageInsets = UIEdgeInsetsMake(6, 0, -6, 0) captureViewController.tabBarItem = captureTabBarItem let captureNav: ScrollingNavigationController = ScrollingNavigationController.init(rootViewController: captureViewController) let controllers = NSArray.init(array:[homeNav,captureNav]) self.viewControllers = controllers as? [UIViewController] } }
38.536842
182
0.632887
75226b9a635f1e5acd4cf722d1e50d9d1f8ad616
21
h
C
release/src/linux/linux/include/config/net.h
enfoTek/tomato.linksys.e2000.nvram-mod
2ce3a5217def49d6df7348522e2bfda702b56029
[ "FSFAP" ]
80
2015-01-02T10:14:04.000Z
2021-06-07T06:29:49.000Z
release/src/linux/linux/include/config/net.h
unforgiven512/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
9
2015-05-14T11:03:12.000Z
2018-01-04T07:12:58.000Z
release/src/linux/linux/include/config/net.h
unforgiven512/tomato
96f09fab4929c6ddde5c9113f1b2476ad37133c4
[ "FSFAP" ]
69
2015-01-02T10:45:56.000Z
2021-09-06T07:52:13.000Z
#define CONFIG_NET 1
10.5
20
0.809524
56bfe482b3ccbb8fd8b9b4ebe2387c91337e4622
1,839
ts
TypeScript
src/lib/source-utils.spec.ts
Hypercubed/lit-regex
2a50271545aa735685435a7e77e8a6d4d0ba9d11
[ "MIT" ]
3
2020-12-07T13:51:00.000Z
2022-02-05T04:33:53.000Z
src/lib/source-utils.spec.ts
Hypercubed/lit-regex
2a50271545aa735685435a7e77e8a6d4d0ba9d11
[ "MIT" ]
null
null
null
src/lib/source-utils.spec.ts
Hypercubed/lit-regex
2a50271545aa735685435a7e77e8a6d4d0ba9d11
[ "MIT" ]
null
null
null
import { s_guaranteeAtomic, s_ignoreCase, s_isAtomic } from './source-utils'; test(`atomic`, () => { expect(s_isAtomic('(what)')).toBe(true); expect(s_isAtomic('[what]')).toBe(true); expect(s_isAtomic('(who(what)when)')).toBe(true); expect(s_isAtomic('([what])')).toBe(true); expect(s_isAtomic('[(what)]')).toBe(true); expect(s_isAtomic('(?:what)')).toBe(true); expect(s_isAtomic('a')).toBe(true); expect(s_isAtomic('\\a')).toBe(true); expect(s_isAtomic('\\^')).toBe(true); expect(s_isAtomic('^')).toBe(true); // ?? expect(s_isAtomic('$')).toBe(true); // ?? }); test(`non-atomic`, () => { expect(s_isAtomic('(what)*')).toBe(false); expect(s_isAtomic('[what][who]')).toBe(false); expect(s_isAtomic('when(who(what))')).toBe(false); expect(s_isAtomic('(ok)([what])')).toBe(false); expect(s_isAtomic('(?:what)(?:what)')).toBe(false); expect(s_isAtomic('aa')).toBe(false); expect(s_isAtomic('a(?:)a')).toBe(false); expect(s_isAtomic('a|b')).toBe(false); expect(s_isAtomic('what|who')).toBe(false); expect(s_isAtomic('\\\\a')).toBe(false); }); test(`guaranteeAtomic`, () => { expect(s_guaranteeAtomic('what')).toBe('(?:what)'); expect(s_guaranteeAtomic('(what)')).toBe('(what)'); expect(s_guaranteeAtomic('[what]')).toBe('[what]'); expect(s_guaranteeAtomic('(what)*')).toBe('(?:(what)*)'); expect(s_guaranteeAtomic('[what][who]')).toBe('(?:[what][who])'); }); test(`ignoreCase`, () => { expect(s_ignoreCase('what')).toBe('[Ww][Hh][Aa][Tt]'); expect(s_ignoreCase('wHaT')).toBe('[Ww][Hh][Aa][Tt]'); expect(s_ignoreCase('(what)')).toBe('([Ww][Hh][Aa][Tt])'); expect(s_ignoreCase('[what]')).toBe('[[Ww][Hh][Aa][Tt]]'); // ?? expect(s_ignoreCase('(what)*')).toBe('([Ww][Hh][Aa][Tt])*'); expect(s_ignoreCase('[what][who]')).toBe('[[Ww][Hh][Aa][Tt]][[Ww][Hh][Oo]]'); // ?? });
34.698113
85
0.601958
12697e64b8ba220a50bebc67f8aa98fff8e755da
113
kts
Kotlin
settings.gradle.kts
callnet/callblog
8bb73358d952778d6acebd67ed4e054a46a53c43
[ "MIT" ]
null
null
null
settings.gradle.kts
callnet/callblog
8bb73358d952778d6acebd67ed4e054a46a53c43
[ "MIT" ]
1
2021-08-17T07:07:41.000Z
2021-08-17T07:07:41.000Z
settings.gradle.kts
callnet/callblog
8bb73358d952778d6acebd67ed4e054a46a53c43
[ "MIT" ]
null
null
null
rootProject.name = "callblog" include ("callblog-api") include ("callblog-domain") include ("callblog-lostark")
18.833333
29
0.743363
93c0c13b51f75dcdca4806a6f2b130c08d521642
978
rs
Rust
components/resource_metering/src/reporter/collector_impl.rs
mapbased/tikv
ed7e1aa945d9ada9dc3ad3bd6420a9879d49ed44
[ "Apache-2.0" ]
5
2022-01-09T15:02:29.000Z
2022-01-10T01:08:02.000Z
components/resource_metering/src/reporter/collector_impl.rs
mapbased/tikv
ed7e1aa945d9ada9dc3ad3bd6420a9879d49ed44
[ "Apache-2.0" ]
4
2021-12-03T04:21:25.000Z
2022-03-14T04:32:43.000Z
components/resource_metering/src/reporter/collector_impl.rs
mapbased/tikv
ed7e1aa945d9ada9dc3ad3bd6420a9879d49ed44
[ "Apache-2.0" ]
2
2022-01-20T13:19:31.000Z
2022-03-14T04:31:49.000Z
// Copyright 2021 TiKV Project Authors. Licensed under Apache-2.0. use crate::metrics::IGNORED_DATA_COUNTER; use crate::{Collector, RawRecords, Task}; use std::sync::Arc; use tikv_util::warn; use tikv_util::worker::Scheduler; /// A [Collector] implementation for scheduling [RawRecords]. /// /// See [Collector] for more relevant designs. /// /// [RawRecords]: crate::model::RawRecords pub struct CollectorImpl { scheduler: Scheduler<Task>, } impl Collector for CollectorImpl { fn collect(&self, records: Arc<RawRecords>) { let record_cnt = records.records.len(); if let Err(err) = self.scheduler.schedule(Task::Records(records)) { IGNORED_DATA_COUNTER .with_label_values(&["collect"]) .inc_by(record_cnt as _); warn!("failed to collect records"; "error" => ?err); } } } impl CollectorImpl { pub fn new(scheduler: Scheduler<Task>) -> Self { Self { scheduler } } }
26.432432
75
0.646217
92b1b2ed7c21aaf71c6f9a6b41a8cfcb0a5ac828
1,435
c
C
test/testarray.c
jix/kissat_extras
37d68ed29e6c0b12eefc970801a89aee1f86efe2
[ "MIT" ]
2
2022-02-23T19:34:00.000Z
2022-02-24T01:48:05.000Z
test/testarray.c
jix/kissat_extras
37d68ed29e6c0b12eefc970801a89aee1f86efe2
[ "MIT" ]
null
null
null
test/testarray.c
jix/kissat_extras
37d68ed29e6c0b12eefc970801a89aee1f86efe2
[ "MIT" ]
null
null
null
#include "test.h" #include "../src/array.h" typedef struct pair pair; struct pair { unsigned first; unsigned second; }; static void test_array_basic(void) { DECLARE_AND_INIT_SOLVER(solver); ARRAY(pair) array; memset(&array, 0, sizeof array); assert(EMPTY_ARRAY(array)); size_t size = 0; unsigned sum = 0; for (unsigned l = 0; l <= 10; l++) { size_t new_size = 1u << l; REALLOCATE_ARRAY(array, size, new_size); for (unsigned i = 0; i < size; i++) { pair pair = PEEK_ARRAY(array, i); assert(pair.first == i); assert(pair.second == ~i); } for (unsigned i = size; i < new_size; i++) { pair pair; pair.first = i; pair.second = ~i; PUSH_ARRAY(array, pair); sum += i; } assert(!EMPTY_ARRAY(array)); assert(SIZE_ARRAY(array) == new_size); size = new_size; } pair *a = BEGIN_ARRAY(array); for (unsigned i = 0; i < size; i++) { pair *p = &a[i]; SWAP(unsigned, p->first, p->second); } for (all_stack(pair, pair, array)) { sum -= pair.second; } assert(!sum); for (unsigned expect = size - 1; !EMPTY_ARRAY(array); expect--) { pair pair = POP_ARRAY(array); assert(pair.first == ~expect); assert(pair.second == expect); } RELEASE_ARRAY(array, size); #ifdef METRICS assert(!solver->statistics.allocated_current); #endif } void tissat_schedule_array(void) { SCHEDULE_FUNCTION(test_array_basic); }
23.52459
67
0.612544
2f3288ce72188c11d401258f1eac0f6bf96941ae
4,026
php
PHP
application/views/kepegawaian/kepegawaian.php
henmusta/kepegawaian
1a32eb7fc6622e256a4d646f3d3cf452bd986fbc
[ "MIT" ]
null
null
null
application/views/kepegawaian/kepegawaian.php
henmusta/kepegawaian
1a32eb7fc6622e256a4d646f3d3cf452bd986fbc
[ "MIT" ]
null
null
null
application/views/kepegawaian/kepegawaian.php
henmusta/kepegawaian
1a32eb7fc6622e256a4d646f3d3cf452bd986fbc
[ "MIT" ]
null
null
null
<div class="main-content"> <section class="section"> <div class="section-header"> <h1><?php echo $title; ?></h1> <div class="section-header-breadcrumb"> <div class="breadcrumb-item active"> <a href="#">Dashboard</a> </div> <div class="breadcrumb-item"> <a href="#"><?php echo $title; ?></a> </div> </div> </div> <div class="section-body"> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header d-flex justify-content-between align-items-center"> <h4>Table Pegawai</h4> <a href="kepegawaian/form" class="btn btn-primary">Tambah Pegawai</a> </div> <div class="card-body"> <div class="table-responsive"> <table class="table table-striped" id="tabelpegawai" style="width:100%;"> <thead> <tr> <th>No</th> <th>Nip</th> <th>NAMA LENGKAP</th> <th>TMT PANGKAT</th> <th>NAIK PANGKAT</th> <th class="text-center">AKSI</th> </tr> </thead> <tbody></tbody> </table> </div> </div> </div> </div> </section> </div> <script> $('.datepicker').daterangepicker({ locale: { format: 'YYYY-MM-DD' }, drops: 'down', opens: 'right' }); $(document).ready(function() { $('.select2form').select2(); //datatables table =$("#tabelpegawai").DataTable({ // "autoWidth": true, "language": { "sEmptyTable": "Data Pengguna Belum Ada" }, "processing": true, //Feature control the processing indicator. "serverSide": true, //Feature control DataTables' server-side processing mode. "order": [], //Initial no order. // Load data for the table's content from an Ajax source "ajax": { "url": "<?php echo site_url('kepegawaian/ajax_list')?>", "type": "POST" }, //Set column definition initialisation properties. "columnDefs": [ { "className": "dt-center", "targets": [ 0 ], "orderable": false }, // <span class="badge badge-danger">Danger</span> { "class": 'text-center', //last column "targets": [ -1 ], //last column "render": function ( data, type, row ) { return "<div class=\"dropdown\"><button class=\"btn btn-primary dropdown-toggle\" type=\"button\" id=\"dropdownMenuButton\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">Aksi</button><div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenuButton\"><a class=\"dropdown-item\" href='<?php echo base_url("riwayat/update/");?>"+row[5]+"' type=\"button\"><i class=\"far fa-eye\"></i> Preview</a><a class=\"dropdown-item\" type=\"button\"><i class=\"fas fa-print\"></i> Cetak</a><a class=\"dropdown-item\" type=\"button\"><i class=\"fas fa-trash\"></i> Hapus</a></div></div>" }, "orderable": false, //set not orderable }, ], }); }); </script>
40.666667
615
0.41232
e581920c5536a58e4b9e0861d6d2b9d00eee1ba3
1,229
ts
TypeScript
src/common/middlewares/operator-auth.middleware.ts
Melonorm/promzone-back
4843d32b4abbc6ade7d45d37242c5636703686b5
[ "MIT" ]
null
null
null
src/common/middlewares/operator-auth.middleware.ts
Melonorm/promzone-back
4843d32b4abbc6ade7d45d37242c5636703686b5
[ "MIT" ]
null
null
null
src/common/middlewares/operator-auth.middleware.ts
Melonorm/promzone-back
4843d32b4abbc6ade7d45d37242c5636703686b5
[ "MIT" ]
null
null
null
import { Injectable, NestMiddleware } from "@nestjs/common"; import { NextFunction } from "express"; import { RequestWithOperator } from "../types/requestWithOperator.interface"; import { verify } from "jsonwebtoken"; import { ConfigService } from "@nestjs/config"; import { OperatorEntity } from "../entities/operator.entity"; import { OperatorService } from "../../api/operator/operator.service"; @Injectable() export class OperatorAuthMiddleware implements NestMiddleware { constructor(private readonly configService: ConfigService, private readonly operatorService: OperatorService) { } async use(request: RequestWithOperator, res: Response, next: NextFunction) { if (!request.headers.authorization) { request.operator = null; next(); return; } const jwt = request.headers.authorization.split(" ")[1]; try { const secretKey: string = this.configService.get('JWT_SECRET'); const decode: any = verify(jwt, secretKey, { complete: false }); const operator: OperatorEntity = await this.operatorService.findById(decode.id); request.operator = operator; } catch (e) { request.operator = null; } finally { next(); } } }
35.114286
86
0.687551
13595e8cfa8918b866a4d3aa4de0a9f77d4222b6
316
h
C
src/mavlink/mavlink_handler_cmd.h
inu1997/RPilot
26e79fbe25b1ed7bc42bda57a29d4fdf6a164531
[ "MIT" ]
1
2021-11-02T03:01:25.000Z
2021-11-02T03:01:25.000Z
src/mavlink/mavlink_handler_cmd.h
inu1997/raspi-pilot
26e79fbe25b1ed7bc42bda57a29d4fdf6a164531
[ "MIT" ]
null
null
null
src/mavlink/mavlink_handler_cmd.h
inu1997/raspi-pilot
26e79fbe25b1ed7bc42bda57a29d4fdf6a164531
[ "MIT" ]
null
null
null
/** * @file mavlink_handler_cmd.h * @author LIN * @brief MAVLink CMD_REQUEST_* handler. * * * * @version 0.1 * @date 2021-09-03 * * @copyright Copyright (c) 2021 * */ #ifndef _MAVLINK_HANDLER_CMD_H_ #define _MAVLINK_HANDLER_CMD_H_ int mavlink_handle_cmd_long(); #endif // _MAVLINK_HANDLER_CMD_H_
15.8
40
0.696203
17ea3df4f329e111558b8edc6eb5b6fa74b45f2b
1,859
lua
Lua
volume/data/npc/scripts/Maris.lua
patsadow2/Tibia
b3aebbc5aea78cc2a238584c767c5c7315bab4dd
[ "MIT" ]
2
2021-07-16T00:21:26.000Z
2022-01-28T02:08:22.000Z
volume/data/npc/scripts/Maris.lua
patsadow2/Tibia
b3aebbc5aea78cc2a238584c767c5c7315bab4dd
[ "MIT" ]
1
2019-04-05T18:53:52.000Z
2019-04-10T10:53:04.000Z
volume/data/npc/scripts/Maris.lua
patsadow2/Tibia
b3aebbc5aea78cc2a238584c767c5c7315bab4dd
[ "MIT" ]
2
2019-12-11T04:13:15.000Z
2020-02-15T14:42:13.000Z
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end -- Travel local function addTravelKeyword(keyword, cost, destination) local travelKeyword = keywordHandler:addKeyword({keyword}, StdModule.say, {npcHandler = npcHandler, text = 'Do you want go to the ' .. keyword:titleCase() .. ' for |TRAVELCOST|?', cost = cost}) travelKeyword:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = true, cost = cost, destination = destination}) travelKeyword:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, text = 'Alright then!', reset = true}) end addTravelKeyword('fenrock', 100, Position(32563, 31313, 7)) addTravelKeyword('mistrock', 100, Position(32640, 31439, 7)) -- Basic keywordHandler:addKeyword({'offer'}, StdModule.say, {npcHandler = npcHandler, text = 'I can take you to {Fenrock} and {Mistrock}!'}) keywordHandler:addKeyword({'passage'}, StdModule.say, {npcHandler = npcHandler, text = 'I can take you to {Fenrock} and {Mistrock}!'}) keywordHandler:addKeyword({'job'}, StdModule.say, {npcHandler = npcHandler, text = 'I am Maris, Captain of this ship.'}) keywordHandler:addKeyword({'captain'}, StdModule.say, {npcHandler = npcHandler, text = 'I am Maris, Captain of this ship.'}) npcHandler:setMessage(MESSAGE_GREET, "I hope you have a good reason to step near my ship, |PLAYERNAME|.") npcHandler:setMessage(MESSAGE_FAREWELL, "Yeah, bye or whatever.") npcHandler:setMessage(MESSAGE_WALKAWAY, "Bye.") npcHandler:addModule(FocusModule:new())
59.967742
194
0.756321
e453fb3d1f0c7d61c871ec0653cd6062c0edc179
377
asm
Assembly
oeis/086/A086351.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/086/A086351.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/086/A086351.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A086351: T(n,3) of A086350. ; Submitted by Jon Maiga ; 1,4,17,74,325,1432,6317,27878,123049,543148,2397545,10583234,46716589,206216896,910285253,4018193246,17737162705,78295623508,345613602113,1525612248122,6734378273941,29726983906792,131221255523165 lpb $0 sub $0,1 mul $1,3 add $3,2 add $1,$3 add $2,$3 sub $2,1 mov $3,$1 add $3,$2 lpe mov $0,$3 add $0,1
22.176471
198
0.713528
4188bb80fe59f28d8a6294e238473f49897bb2ff
2,171
h
C
graph.h
logisticAKB/graph-inspector
e491c5bd6ea5d80b7829e7c676e27caab0ae0ed8
[ "MIT" ]
null
null
null
graph.h
logisticAKB/graph-inspector
e491c5bd6ea5d80b7829e7c676e27caab0ae0ed8
[ "MIT" ]
null
null
null
graph.h
logisticAKB/graph-inspector
e491c5bd6ea5d80b7829e7c676e27caab0ae0ed8
[ "MIT" ]
null
null
null
// // Created by alexey on 08.02.2020. // #ifndef GRAPH_INSPECTOR_GRAPH_H #define GRAPH_INSPECTOR_GRAPH_H #include <string> #include <vector> #include <set> #include <map> class Graph { public: Graph(); Graph(int n); Graph(int n, bool flag); void read_graph(const std::string& file_name); void write_graph(const std::string& file_name); void add_edge(int from, int to, int weight); void remove_edge(int from, int to); int change_edge(int from, int to, int new_weight); void transform_to_adj_list(); void transform_to_adj_matrix(); void transform_to_list_of_edges(); Graph get_spanning_tree_prima(); Graph get_spanning_tree_kruscal(); Graph get_spanning_tree_boruvka(); int check_euler(bool &circle_exist); std::vector<int> get_eulerian_tour_fleri(); std::vector<int> get_eulerian_tour_effective(); int check_bipart(std::vector<char> &marks); std::vector<std::pair<int, int>> get_max_matching_bipart(); Graph flow_ford_fulkerson(int source, int sink); Graph flow_dinitz(int source, int sink); private: int n, m; char view; bool is_weighted; bool is_directed; std::vector<std::vector<int>> adj_matrix; std::vector<std::set<int>> unweighted_adj_list; std::vector<std::map<int, int>> adj_list; std::set<std::pair<int, int>> unweighted_list_of_edges; std::map<std::pair<int, int>, int> list_of_edges; void release_memory(char view_to_release); void dfs(int u, int p, int time, std::vector<char> &used, std::vector<std::set<int>> &edges, std::vector<int> &enter, std::vector<int> &ret, std::vector<std::pair<int, int>> &bridges); void dfs2(int v, char c, std::vector<char> &marks, int &res); bool dfs3(int v, std::vector<char> &used, std::vector<int> &parent); bool bfs(int source, int sink, std::vector<std::map<int, int>> &edges, std::vector<char> &used, std::vector<std::pair<int, int>> &parent); bool bfs2(int source, int sink, std::vector<std::map<int, int>> &edges, std::vector<std::set<int>> &layer_net); bool is_bridge(int u, int v, std::vector<std::set<int>> &edges); }; #endif //GRAPH_INSPECTOR_GRAPH_H
31.926471
188
0.68632
41cf4657cf5459d38a914b198657920f30fe2bf7
2,115
h
C
third_party/gst-plugins-bad/sys/winks/gstksclock.h
isabella232/aistreams
209f4385425405676a581a749bb915e257dbc1c1
[ "Apache-2.0" ]
6
2020-09-22T18:07:15.000Z
2021-10-21T01:34:04.000Z
third_party/gst-plugins-bad/sys/winks/gstksclock.h
isabella232/aistreams
209f4385425405676a581a749bb915e257dbc1c1
[ "Apache-2.0" ]
2
2020-11-10T13:17:39.000Z
2022-03-30T11:22:14.000Z
third_party/gst-plugins-bad/sys/winks/gstksclock.h
isabella232/aistreams
209f4385425405676a581a749bb915e257dbc1c1
[ "Apache-2.0" ]
3
2020-09-26T08:40:35.000Z
2021-10-21T01:33:56.000Z
/* * Copyright (C) 2008 Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, * Boston, MA 02110-1301, USA. */ #ifndef __GST_KS_CLOCK_H__ #define __GST_KS_CLOCK_H__ #include <gst/gst.h> #include <windows.h> #include "ksvideohelpers.h" G_BEGIN_DECLS #define GST_TYPE_KS_CLOCK \ (gst_ks_clock_get_type ()) #define GST_KS_CLOCK(obj) \ (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_KS_CLOCK, GstKsClock)) #define GST_KS_CLOCK_CLASS(klass) \ (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_KS_CLOCK, GstKsClockClass)) #define GST_IS_KS_CLOCK(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_KS_CLOCK)) #define GST_IS_KS_CLOCK_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_KS_CLOCK)) typedef struct _GstKsClock GstKsClock; typedef struct _GstKsClockClass GstKsClockClass; typedef struct _GstKsClockPrivate GstKsClockPrivate; struct _GstKsClock { GObject parent; GstKsClockPrivate *priv; }; struct _GstKsClockClass { GObjectClass parent_class; }; GType gst_ks_clock_get_type (void); gboolean gst_ks_clock_open (GstKsClock * self); void gst_ks_clock_close (GstKsClock * self); HANDLE gst_ks_clock_get_handle (GstKsClock * self); void gst_ks_clock_prepare (GstKsClock * self); void gst_ks_clock_start (GstKsClock * self); void gst_ks_clock_provide_master_clock (GstKsClock * self, GstClock * master_clock); G_END_DECLS #endif /* __GST_KS_CLOCK_H__ */
28.972603
76
0.773995
4632fec3c72f7d0e182e035733cb4ce1c1b79c1a
726
kt
Kotlin
TicketBookingService/src/main/kotlin/com/github/saboteur/ticketbookingsystem/ticketbookingservice/config/properties/AppProperties.kt
5aboteur/ticket-booking-system
a8ecf2160c3d33a15b4912ad4d8fb5eed677c107
[ "MIT" ]
null
null
null
TicketBookingService/src/main/kotlin/com/github/saboteur/ticketbookingsystem/ticketbookingservice/config/properties/AppProperties.kt
5aboteur/ticket-booking-system
a8ecf2160c3d33a15b4912ad4d8fb5eed677c107
[ "MIT" ]
null
null
null
TicketBookingService/src/main/kotlin/com/github/saboteur/ticketbookingsystem/ticketbookingservice/config/properties/AppProperties.kt
5aboteur/ticket-booking-system
a8ecf2160c3d33a15b4912ad4d8fb5eed677c107
[ "MIT" ]
null
null
null
package com.github.saboteur.ticketbookingsystem.ticketbookingservice.config.properties import org.springframework.boot.context.properties.ConfigurationProperties import org.springframework.context.annotation.Primary import org.springframework.stereotype.Component @Primary @Component @ConfigurationProperties(prefix = "app") class AppProperties( var socialBenefits: Boolean = true, var standardCategoryBookingTimeout: Int = 0, var occupancyTimeout: Int = 0, var occupancyMinRate: Int = 0, var occupancyMaxRate: Int = 0, var occupancyCheckerCron: String = "-", var socialOneDiscountPercentage: Int = 0, var socialTwoDiscountPercentage: Int = 0, var socialThreeDiscountPercentage: Int = 0 )
36.3
86
0.786501
af542669d4a2e8903a57c8451e4976d1b89d0fe6
891
kt
Kotlin
compiler/testData/codegen/box/callableReference/optimizedSuperclasses_after.kt
Sathawale27/kotlin
9dd201aaf243cf9198cf129b22d3aa38fcff182c
[ "ECL-2.0", "Apache-2.0" ]
1
2021-07-07T15:17:43.000Z
2021-07-07T15:17:43.000Z
compiler/testData/codegen/box/callableReference/optimizedSuperclasses_after.kt
Sathawale27/kotlin
9dd201aaf243cf9198cf129b22d3aa38fcff182c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
compiler/testData/codegen/box/callableReference/optimizedSuperclasses_after.kt
Sathawale27/kotlin
9dd201aaf243cf9198cf129b22d3aa38fcff182c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
// TARGET_BACKEND: JVM // IGNORE_BACKEND_FIR: JVM_IR // IGNORE_BACKEND: JVM_IR // WITH_RUNTIME class A { fun memberFunction() {} val memberProperty: String = "" } val topLevelProperty: Int = 0 fun check(reference: Any, expected: String, message: String) { val actual = reference.javaClass.declaredMethods.map { it.name }.sorted().toString() if (expected != actual) { throw AssertionError("Fail on $message. Expected: $expected. Actual: $actual") } } fun box(): String { check(A::memberFunction, "[invoke, invoke]", "unbound function reference") check(A()::memberFunction, "[invoke, invoke]", "bound function reference") check(::topLevelProperty, "[get]", "unbound property reference 0") check(A::memberProperty, "[get]", "unbound property reference 1") check(A()::memberProperty, "[get]", "bound property reference 1") return "OK" }
29.7
88
0.676768
9c7c36aa7be47b16d1e4c6d7d2fc331d550b41cf
584
js
JavaScript
examples/basic.js
doowb/logme
c11b21b0471b6f63e2b091b121c5341559a30701
[ "MIT" ]
null
null
null
examples/basic.js
doowb/logme
c11b21b0471b6f63e2b091b121c5341559a30701
[ "MIT" ]
null
null
null
examples/basic.js
doowb/logme
c11b21b0471b6f63e2b091b121c5341559a30701
[ "MIT" ]
null
null
null
/** * Logme - Minimalistic logging. * * Author: Veselin Todorov <hi@vesln.com> * Licensed under the MIT License. */ var logme = require('../'); /** * Different levels. */ logme.debug('Lol, coffescript.'); logme.info('Logme is sexy.'); logme.warning('Danger!'); logme.error('Ooops, something went wrong.'); logme.critical('The base is under attack.'); // or... logme.log('debug', 'Lol, coffescript.'); logme.log('info', 'Logme is sexy.'); logme.log('warning', 'Danger!'); logme.log('error', 'Ooops, something went wrong.'); logme.log('critical', 'The base is under atack.');
24.333333
51
0.65411
5709111414173c45180aa5531b550bf6f88eea79
2,276
c
C
examples/tiny.c
baagaard-usgs/euclid-etree
85c3f2fa6cd6a410496183abd03ff17d7dc996b8
[ "BSD-3-Clause" ]
null
null
null
examples/tiny.c
baagaard-usgs/euclid-etree
85c3f2fa6cd6a410496183abd03ff17d7dc996b8
[ "BSD-3-Clause" ]
2
2022-01-06T04:47:45.000Z
2022-01-06T16:07:24.000Z
examples/tiny.c
baagaard-usgs/euclid-etree
85c3f2fa6cd6a410496183abd03ff17d7dc996b8
[ "BSD-3-Clause" ]
null
null
null
/* * tiny - The first etree program */ #include <stdio.h> #include <stdlib.h> #include "etree.h" typedef struct _test_payload_t { int32_t val; char tag; } test_payload_t; /* main */ int main(int argc, char **argv) { etree_t* ep; etree_addr_t parent, child, res_addr; etree_tick_t edge_len, level; int i, j, k, len, count; test_payload_t parent_val, res_val; char buf[ETREE_MAXBUF]; if (argc != 2) { fprintf(stderr, "usage: %s etree\n", argv[0]); exit(0); } /* if */ /* Create an empty 3d etree where each record is an int */ ep = etree_open (argv[1], O_RDWR|O_CREAT|O_TRUNC, 0, sizeof (test_payload_t), 3); if (ep == NULL) { fprintf(stderr, "Could not open %s\n", argv[1]); exit(1); } /* if */ /* Register schema for the etree to make it portable */ const char* schema = "int32_t val; " "char tag; "; if (etree_registerschema(ep, schema) != 0) { fprintf(stderr, "%s\n", etree_strerror(etree_errno(ep))); exit(1); } /* if */ level = 2; edge_len = 0x80000000 >> level; count = 0; len = 1 << level; /* 2^level */ for (k = 0; k < len; k++) { for (j = 0; j < len; j++) { for (i = 0; i < len; i++) { /* Insert a parent octant that spans 1 / (len) of the domain */ parent.level = level; parent.x = i * edge_len; parent.y = j * edge_len; parent.z = k * edge_len; parent.type = ETREE_LEAF; parent_val.val = count + 1; parent_val.tag = 'A' + count; if (etree_insert(ep, parent, &parent_val) != 0) { fprintf(stderr, "%s\n", etree_strerror(etree_errno(ep))); exit(1); } /* if */ count++; } } } printf ("created %d octants\n", count); /* Search for non-existent child of the octant we just inserted */ child.x = child.y = child.z = 0; child.level = ETREE_MAXLEVEL; if (etree_search(ep, child, &res_addr, "*", &res_val) != 0) { fprintf(stderr, "%s\n", etree_strerror(etree_errno(ep))); exit(1); } /* if */ printf("Query : %s\n", etree_straddr(ep, buf, child)); printf("Result: %s =\n", etree_straddr(ep, buf, res_addr)); printf ("\tval=%d, tag=%c\n", res_val.val, res_val.tag); etree_close(ep); return 0; } /* main */
22.989899
70
0.569859
38c903cde8d0cab037fe9bdf73ba15453a4c515b
5,522
h
C
cpi_compare/src/gtsam/JPLNavState.h
JzHuai0108/cpi
5dbb128fdd182f2b415142f7a0556e6c785b5961
[ "MIT" ]
null
null
null
cpi_compare/src/gtsam/JPLNavState.h
JzHuai0108/cpi
5dbb128fdd182f2b415142f7a0556e6c785b5961
[ "MIT" ]
null
null
null
cpi_compare/src/gtsam/JPLNavState.h
JzHuai0108/cpi
5dbb128fdd182f2b415142f7a0556e6c785b5961
[ "MIT" ]
null
null
null
/** * MIT License * Copyright (c) 2018 Kevin Eckenhoff * Copyright (c) 2018 Patrick Geneva * Copyright (c) 2018 Guoquan Huang * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ #ifndef GTSAM_JPLNAVSTATE_H #define GTSAM_JPLNAVSTATE_H #include <Eigen/Eigen> #include <Eigen/Dense> #include <gtsam/base/Vector.h> #include <gtsam/base/Manifold.h> #include <gtsam/geometry/Pose3.h> #include <gtsam/nonlinear/NonlinearFactor.h> #include "utils/quat_ops.h" namespace gtsam { /// Bias for a sensor is currently typedef'd to Vector3 typedef Eigen::Matrix<double,4,1> JPLQuaternion; /// Velocity is currently typedef'd to Vector3 typedef Eigen::Vector3d Velocity3; /// Bias for a sensor is currently typedef'd to Vector3 typedef Eigen::Vector3d Bias3; // Define a large 15 vector as this is the size of our correction vector typedef Eigen::Matrix<double,15,1> Vector15; /** * \brief JPL Navigation State * Contains orientation, position, velocity, and biases */ class JPLNavState { public: EIGEN_MAKE_ALIGNED_OPERATOR_NEW JPLQuaternion q_GtoI; ///< Rotation from global to IMU Bias3 biasg; ///< Bias of the gyroscope Velocity3 v_IinG; ///< Velocity of IMU in global Bias3 biasa; ///< Bias of the accelerometer Vector3 p_IinG; ///< Position of IMU in global public: enum { dimension = 15 }; /// Default constructor JPLNavState() : q_GtoI(0,0,0,1), biasg(0,0,0), v_IinG(0,0,0), biasa(0,0,0), p_IinG(0,0,0) { } /// Construct from JPLNavState directly JPLNavState(const JPLNavState& navstate) { this->q_GtoI = navstate.q_GtoI; this->biasg = navstate.biasg; this->v_IinG = navstate.v_IinG; this->biasa = navstate.biasa; this->p_IinG = navstate.p_IinG; } /// Construct from orientation, position, velocity, and biases JPLNavState(const JPLQuaternion& q, const Bias3& bgi, const Velocity3& v, const Bias3& bai, const Vector3& p) : q_GtoI(q), biasg(bgi), v_IinG(v), biasa(bai), p_IinG(p) { } /// Return rotation quaternion. JPLQuaternion q() const { return q_GtoI; } /// Return position as Vector3 Vector3 p() const { return p_IinG; } /// Return velocity as Vector3 Vector3 v() const { return v_IinG; } /// Return ba as Vector3 Vector3 ba() const { return biasa; } /// Return bg as Vector3 Vector3 bg() const { return biasg; } /// Retract with optional derivatives (given correction, change this navstate) JPLNavState retract(const Vector15& xi) const; /// Converting function from our overparameterization to the local representation Vector15 localCoordinates(const JPLNavState& state) const; /// How this node gets printed in the ostream GTSAM_EXPORT friend std::ostream &operator<<(std::ostream &os, const JPLNavState& state) { os << "q:[" << state.q()(0) << ", " << state.q()(1) << ", " << state.q()(2) << ", " << state.q()(3) << "]'" << endl; os << "bg:[" << state.bg()(0) << ", " << state.bg()(1) << ", " << state.bg()(2) << "]'" << endl; os << "v:[" << state.v()(0) << ", " << state.v()(1) << ", " << state.v()(2) << "]'" << endl; os << "ba:[" << state.ba()(0) << ", " << state.ba()(1) << ", " << state.ba()(2) << "]'" << endl; os << "p:[" << state.p()(0) << ", " << state.p()(1) << ", " << state.p()(2) << "]'" << endl; return os; } /// Print function for this node void print(const std::string& s = "") const { cout << s << *this << endl; } /// Equals function to compare this and another JPLNavState bool equals(const JPLNavState& other, double tol = 1e-8) const { return gtsam::equal(q_GtoI, other.q_GtoI, tol) && gtsam::equal(biasg, other.biasg, tol) && gtsam::equal(v_IinG, other.v_IinG, tol) && gtsam::equal(biasa, other.biasa, tol) && gtsam::equal(p_IinG, other.p_IinG, tol); } }; template<> struct traits<JPLNavState> : internal::Manifold<JPLNavState> { }; } // namespace gtsam #endif /* GTSAM_JPLNAVSTATE_H */
35.171975
128
0.601413
406721924c6dbe3e1a2e2b00ea7e7c6730d6fcf7
1,196
py
Python
testpy3/test.py
quchunguang/test
dd1dde14a69d9e8b2c9ed3efbf536df7840f0487
[ "MIT" ]
1
2021-05-06T02:02:59.000Z
2021-05-06T02:02:59.000Z
testpy3/test.py
SrikanthParsha14/test
8cee69e09c8557d53d8d30382cec8ea5c1f82f6e
[ "MIT" ]
null
null
null
testpy3/test.py
SrikanthParsha14/test
8cee69e09c8557d53d8d30382cec8ea5c1f82f6e
[ "MIT" ]
1
2019-06-17T13:20:39.000Z
2019-06-17T13:20:39.000Z
#!/usr/bin/env python3 """ Created on 2012-12-11 @author: qcg """ import sys import warnings if sys.version_info.major < 3: warnings.warn("Need Python 3.0 for this program to run", RuntimeWarning) else: print('Proceed as normal') age = 20 name = 'quchunguang' print("Hi, {}. You are {} years old.".format(name, age)) l = [1, 2, 3, 4, 5] m = l[:] print(l[::-1]) n = ["aa", "bb", "cc", ] print("-*-".join(n)) print("--".join([str(i) for i in l])) for i in l: print("i=", i, end=' ') ab = {'Swaroop': 'swaroop@swaroopch.com', 'Larry': 'larry@wall.org', 'Matsumoto': 'matz@ruby-lang.org', 'Spammer': 'spammer@hotmail.com' } del ab['Spammer'] for name, address in ab.items(): print('Contact {0} at {1}'.format(name, address)) bri = {'brazil', 'russia', 'india'} if 'india' in bri: print(''''india' in bri''') bric = bri.copy() bric.add('china') print(bric.issuperset(bri)) bri.remove('russia') print(bri & bric) # print(bri.intersection(bric)) with open('poem.txt') as f: for line in f: print(line, end='') aa = 7 def test(): print(aa) test() print(list(map(str, [1, 2, 3]))) print("=".join(map(str, [1, 2, 3])))
20.62069
60
0.579431
16cd738568191c1e8feb8d005c85b6bf338564c5
184
ts
TypeScript
dist/components/Avatar/index.d.ts
RVFractal/Fractal-UI
6836784a98e55e243b310530e185cb08646410a4
[ "MIT" ]
null
null
null
dist/components/Avatar/index.d.ts
RVFractal/Fractal-UI
6836784a98e55e243b310530e185cb08646410a4
[ "MIT" ]
null
null
null
dist/components/Avatar/index.d.ts
RVFractal/Fractal-UI
6836784a98e55e243b310530e185cb08646410a4
[ "MIT" ]
null
null
null
import React from 'react'; import { AvatarProps } from './types'; declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<unknown>>; export { Avatar };
36.8
98
0.771739
90b39abb5e0491ca6561d07c8cb85cd1c7d1abea
1,338
py
Python
examples/tiago_pnp/run_execute_bt.py
dgerod/behavior_tree_learning
71da80c91ecd48fd5da377f83604b62112ba9629
[ "Apache-2.0" ]
7
2022-02-09T12:51:51.000Z
2022-03-19T14:40:16.000Z
examples/tiago_pnp/run_execute_bt.py
dgerod/bt_learning_using_gp
ac1fb6ba4dbd6d18b5d002c7ad2647771f8b0fb9
[ "Apache-2.0" ]
6
2021-12-12T15:38:40.000Z
2022-01-31T11:02:12.000Z
examples/tiago_pnp/run_execute_bt.py
dgerod/bt_learning_using_gp
ac1fb6ba4dbd6d18b5d002c7ad2647771f8b0fb9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import paths paths.add_modules_to_path() import os from behavior_tree_learning.sbt import BehaviorNodeFactory, BehaviorTreeExecutor, ExecutionParameters from tiago_pnp.paths import get_log_directory from tiago_pnp import bt_collection from tiago_pnp.execution_nodes import get_behaviors from tiago_pnp.world import ApplicationWorld def run(): scenario = 'scenario_1' deterministic = False node_factory_1 = BehaviorNodeFactory(get_behaviors(scenario)) sbt_1 = bt_collection.select_bt(scenario) trials = [(sbt_1, node_factory_1)] for tdx, trial in zip(range(0, len(trials)), trials): print("Trial: %d" % tdx) sbt = list(trial[0]) node_factory = trial[1] print("SBT: ", sbt) simulated_world = ApplicationWorld(scenario, deterministic) bt_executor = BehaviorTreeExecutor(node_factory, simulated_world) success, ticks, tree = bt_executor.run(sbt, ExecutionParameters(successes_required=1), verbose=True) try: os.mkdir(get_log_directory()) except OSError: pass file_name = 'trial_%d' % (tdx + 1) tree.save_figure(get_log_directory(), name=file_name) print("Succeed: ", success) if __name__ == "__main__": run()
27.306122
101
0.674141
13a12d1180674958d22b36a2ec70f2947b72f17f
737
swift
Swift
ios/Tsuccomu/Sample/sample/AVAudioPlayerUtil.swift
planningdev/tsuccomu
a497c15c9699107975c7754f2919640779b9f9e0
[ "MIT" ]
null
null
null
ios/Tsuccomu/Sample/sample/AVAudioPlayerUtil.swift
planningdev/tsuccomu
a497c15c9699107975c7754f2919640779b9f9e0
[ "MIT" ]
null
null
null
ios/Tsuccomu/Sample/sample/AVAudioPlayerUtil.swift
planningdev/tsuccomu
a497c15c9699107975c7754f2919640779b9f9e0
[ "MIT" ]
null
null
null
// // AVAudioPlayerUtil.swift // Tsuccomu // // Created by kazuma maekawa on 2015/12/07. // Copyright © 2015年 speechrec. All rights reserved. // import Foundation import AVFoundation class AVAudioPlayerUtil:NSObject { var audioPlayer:AVAudioPlayer = AVAudioPlayer(); var sound_data:NSURL = NSURL(); func setURL(nsurl:NSURL){ self.sound_data = nsurl; do{ self.audioPlayer = try AVAudioPlayer(contentsOfURL: self.sound_data) self.audioPlayer.prepareToPlay() }catch let error as NSError { print(error) } } func play(){ self.audioPlayer.play(); //sleep(1) } }
18.425
80
0.571235
395a3470fdc4076937f2d7c8fd73e44e52419aaa
68,550
html
HTML
src/content/engine/devel/apidocs/org/apache/velocity/runtime/class-use/RuntimeServices.html
smoothreggae/velocity-site
68e894df2ca924044d62793108336eaacb43573d
[ "Apache-2.0" ]
4
2020-12-25T15:32:03.000Z
2021-11-09T22:18:37.000Z
src/content/engine/devel/apidocs/org/apache/velocity/runtime/class-use/RuntimeServices.html
smoothreggae/velocity-site
68e894df2ca924044d62793108336eaacb43573d
[ "Apache-2.0" ]
3
2021-01-13T13:48:04.000Z
2021-01-29T14:01:20.000Z
src/content/engine/devel/apidocs/org/apache/velocity/runtime/class-use/RuntimeServices.html
smoothreggae/velocity-site
68e894df2ca924044d62793108336eaacb43573d
[ "Apache-2.0" ]
4
2021-01-13T13:26:55.000Z
2021-12-17T01:24:07.000Z
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_191) on Mon Mar 08 21:10:12 CET 2021 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.apache.velocity.runtime.RuntimeServices (Apache Velocity 2.4-SNAPSHOT API)</title> <meta name="date" content="2021-03-08"> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="Uses of Interface org.apache.velocity.runtime.RuntimeServices (Apache Velocity 2.4-SNAPSHOT API)"; } } catch(err) { } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/velocity/runtime/class-use/RuntimeServices.html" target="_top">Frames</a></li> <li><a href="RuntimeServices.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <div class="header"> <h2 title="Uses of Interface org.apache.velocity.runtime.RuntimeServices" class="title">Uses of Interface<br>org.apache.velocity.runtime.RuntimeServices</h2> </div> <div class="classUseContainer"> <ul class="blockList"> <li class="blockList"> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> <caption><span>Packages that use <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Package</th> <th class="colLast" scope="col">Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><a href="#org.apache.velocity.app.event">org.apache.velocity.app.event</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="#org.apache.velocity.app.event.implement">org.apache.velocity.app.event.implement</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="#org.apache.velocity.runtime">org.apache.velocity.runtime</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="#org.apache.velocity.runtime.directive">org.apache.velocity.runtime.directive</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="#org.apache.velocity.runtime.directive.contrib">org.apache.velocity.runtime.directive.contrib</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="#org.apache.velocity.runtime.parser">org.apache.velocity.runtime.parser</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="#org.apache.velocity.runtime.parser.node">org.apache.velocity.runtime.parser.node</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="#org.apache.velocity.runtime.resource">org.apache.velocity.runtime.resource</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="#org.apache.velocity.runtime.resource.loader">org.apache.velocity.runtime.resource.loader</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><a href="#org.apache.velocity.util">org.apache.velocity.util</a></td> <td class="colLast">&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><a href="#org.apache.velocity.util.introspection">org.apache.velocity.util.introspection</a></td> <td class="colLast">&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"> <ul class="blockList"> <li class="blockList"><a name="org.apache.velocity.app.event"> <!-- --> </a> <h3>Uses of <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a> in <a href="../../../../../org/apache/velocity/app/event/package-summary.html">org.apache.velocity.app.event</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation"> <caption><span>Fields in <a href="../../../../../org/apache/velocity/app/event/package-summary.html">org.apache.velocity.app.event</a> declared as <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></code></td> <td class="colLast"><span class="typeNameLabel">EventCartridge.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/app/event/EventCartridge.html#rsvc">rsvc</a></span></code>&nbsp;</td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/velocity/app/event/package-summary.html">org.apache.velocity.app.event</a> with parameters of type <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><span class="typeNameLabel">EventHandlerUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/app/event/EventHandlerUtil.html#includeEvent-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-java.lang.String-java.lang.String-java.lang.String-">includeEvent</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rsvc, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;includeResourcePath, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;currentResourcePath, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;directiveName)</code> <div class="block">Called when an include-type directive is encountered (#include or #parse).</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><span class="typeNameLabel">EventHandlerUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/app/event/EventHandlerUtil.html#invalidGetMethod-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-java.lang.String-java.lang.Object-java.lang.String-org.apache.velocity.util.introspection.Info-">invalidGetMethod</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rsvc, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;reference, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;property, <a href="../../../../../org/apache/velocity/util/introspection/Info.html" title="class in org.apache.velocity.util.introspection">Info</a>&nbsp;info)</code> <div class="block">Called when an invalid get method is encountered.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><span class="typeNameLabel">EventHandlerUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/app/event/EventHandlerUtil.html#invalidMethod-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-java.lang.String-java.lang.Object-java.lang.String-org.apache.velocity.util.introspection.Info-">invalidMethod</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rsvc, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;reference, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;method, <a href="../../../../../org/apache/velocity/util/introspection/Info.html" title="class in org.apache.velocity.util.introspection">Info</a>&nbsp;info)</code> <div class="block">Called when an invalid method is encountered.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static void</code></td> <td class="colLast"><span class="typeNameLabel">EventHandlerUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/app/event/EventHandlerUtil.html#invalidSetMethod-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-java.lang.String-java.lang.String-org.apache.velocity.util.introspection.Info-">invalidSetMethod</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rsvc, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;leftreference, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;rightreference, <a href="../../../../../org/apache/velocity/util/introspection/Info.html" title="class in org.apache.velocity.util.introspection">Info</a>&nbsp;info)</code> <div class="block">Called when an invalid set method is encountered.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><span class="typeNameLabel">EventHandlerUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/app/event/EventHandlerUtil.html#methodException-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-java.lang.Class-java.lang.String-java.lang.Exception-org.apache.velocity.util.introspection.Info-">methodException</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rsvc, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;claz, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;method, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a>&nbsp;e, <a href="../../../../../org/apache/velocity/util/introspection/Info.html" title="class in org.apache.velocity.util.introspection">Info</a>&nbsp;info)</code> <div class="block">Called when a method exception is generated during Velocity merge.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> <td class="colLast"><span class="typeNameLabel">EventHandlerUtil.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/app/event/EventHandlerUtil.html#referenceInsert-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-java.lang.String-java.lang.Object-">referenceInsert</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rsvc, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;reference, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code> <div class="block">Called before a reference is inserted.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">EventCartridge.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/app/event/EventCartridge.html#setRuntimeServices-org.apache.velocity.runtime.RuntimeServices-">setRuntimeServices</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code> <div class="block">runtime services setter, called during initialization</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.velocity.app.event.implement"> <!-- --> </a> <h3>Uses of <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a> in <a href="../../../../../org/apache/velocity/app/event/implement/package-summary.html">org.apache.velocity.app.event.implement</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/velocity/app/event/implement/package-summary.html">org.apache.velocity.app.event.implement</a> that return <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></code></td> <td class="colLast"><span class="typeNameLabel">EscapeReference.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/app/event/implement/EscapeReference.html#getRuntimeServices--">getRuntimeServices</a></span>()</code> <div class="block">Retrieve a reference to RuntimeServices.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/velocity/app/event/implement/package-summary.html">org.apache.velocity.app.event.implement</a> with parameters of type <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">ReportInvalidReferences.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/app/event/implement/ReportInvalidReferences.html#setRuntimeServices-org.apache.velocity.runtime.RuntimeServices-">setRuntimeServices</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code> <div class="block">Called automatically when event cartridge is initialized.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">PrintExceptions.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/app/event/implement/PrintExceptions.html#setRuntimeServices-org.apache.velocity.runtime.RuntimeServices-">setRuntimeServices</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">IncludeNotFound.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/app/event/implement/IncludeNotFound.html#setRuntimeServices-org.apache.velocity.runtime.RuntimeServices-">setRuntimeServices</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">EscapeReference.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/app/event/implement/EscapeReference.html#setRuntimeServices-org.apache.velocity.runtime.RuntimeServices-">setRuntimeServices</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code> <div class="block">Called automatically when event cartridge is initialized.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.velocity.runtime"> <!-- --> </a> <h3>Uses of <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a> in <a href="../../../../../org/apache/velocity/runtime/package-summary.html">org.apache.velocity.runtime</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> <caption><span>Classes in <a href="../../../../../org/apache/velocity/runtime/package-summary.html">org.apache.velocity.runtime</a> that implement <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Class and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>class&nbsp;</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/RuntimeInstance.html" title="class in org.apache.velocity.runtime">RuntimeInstance</a></span></code> <div class="block">This is the Runtime system for Velocity.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/velocity/runtime/package-summary.html">org.apache.velocity.runtime</a> that return <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></code></td> <td class="colLast"><span class="typeNameLabel">RuntimeSingleton.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/RuntimeSingleton.html#getRuntimeServices--">getRuntimeServices</a></span>()</code> <div class="block">Returns the RuntimeServices Instance used by this wrapper.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/velocity/runtime/package-summary.html">org.apache.velocity.runtime</a> with parameters of type <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">ParserPoolImpl.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/ParserPoolImpl.html#initialize-org.apache.velocity.runtime.RuntimeServices-">initialize</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rsvc)</code> <div class="block">Create the underlying "pool".</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">ParserPool.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/ParserPool.html#initialize-org.apache.velocity.runtime.RuntimeServices-">initialize</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;svc)</code> <div class="block">Initialize the pool so that it can begin serving parser instances.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> <caption><span>Constructors in <a href="../../../../../org/apache/velocity/runtime/package-summary.html">org.apache.velocity.runtime</a> with parameters of type <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/VelocimacroFactory.html#VelocimacroFactory-org.apache.velocity.runtime.RuntimeServices-">VelocimacroFactory</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rsvc)</code> <div class="block">C'tor for the VelociMacro factory.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.velocity.runtime.directive"> <!-- --> </a> <h3>Uses of <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a> in <a href="../../../../../org/apache/velocity/runtime/directive/package-summary.html">org.apache.velocity.runtime.directive</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation"> <caption><span>Fields in <a href="../../../../../org/apache/velocity/runtime/directive/package-summary.html">org.apache.velocity.runtime.directive</a> declared as <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></code></td> <td class="colLast"><span class="typeNameLabel">Directive.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/Directive.html#rsvc">rsvc</a></span></code>&nbsp;</td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/velocity/runtime/directive/package-summary.html">org.apache.velocity.runtime.directive</a> with parameters of type <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">VelocimacroProxy.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/VelocimacroProxy.html#init-org.apache.velocity.runtime.RuntimeServices-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code> <div class="block">Initialize members of VelocimacroProxy.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Stop.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/Stop.html#init-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-org.apache.velocity.runtime.parser.node.Node-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="../../../../../org/apache/velocity/runtime/parser/node/Node.html" title="interface in org.apache.velocity.runtime.parser.node">Node</a>&nbsp;node)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Parse.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/Parse.html#init-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-org.apache.velocity.runtime.parser.node.Node-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="../../../../../org/apache/velocity/runtime/parser/node/Node.html" title="interface in org.apache.velocity.runtime.parser.node">Node</a>&nbsp;node)</code> <div class="block">Init's the #parse directive.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Macro.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/Macro.html#init-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-org.apache.velocity.runtime.parser.node.Node-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="../../../../../org/apache/velocity/runtime/parser/node/Node.html" title="interface in org.apache.velocity.runtime.parser.node">Node</a>&nbsp;node)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Include.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/Include.html#init-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-org.apache.velocity.runtime.parser.node.Node-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="../../../../../org/apache/velocity/runtime/parser/node/Node.html" title="interface in org.apache.velocity.runtime.parser.node">Node</a>&nbsp;node)</code> <div class="block">simple init - init the tree and get the elementKey from the AST</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Foreach.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/Foreach.html#init-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-org.apache.velocity.runtime.parser.node.Node-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="../../../../../org/apache/velocity/runtime/parser/node/Node.html" title="interface in org.apache.velocity.runtime.parser.node">Node</a>&nbsp;node)</code> <div class="block">simple init - init the tree and get the elementKey from the AST</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Evaluate.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/Evaluate.html#init-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-org.apache.velocity.runtime.parser.node.Node-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="../../../../../org/apache/velocity/runtime/parser/node/Node.html" title="interface in org.apache.velocity.runtime.parser.node">Node</a>&nbsp;node)</code> <div class="block">Initialize and check arguments.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Directive.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/Directive.html#init-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-org.apache.velocity.runtime.parser.node.Node-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="../../../../../org/apache/velocity/runtime/parser/node/Node.html" title="interface in org.apache.velocity.runtime.parser.node">Node</a>&nbsp;node)</code> <div class="block">How this directive is to be initialized.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Define.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/Define.html#init-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-org.apache.velocity.runtime.parser.node.Node-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="../../../../../org/apache/velocity/runtime/parser/node/Node.html" title="interface in org.apache.velocity.runtime.parser.node">Node</a>&nbsp;node)</code> <div class="block">simple init - get the key</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Break.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/Break.html#init-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-org.apache.velocity.runtime.parser.node.Node-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="../../../../../org/apache/velocity/runtime/parser/node/Node.html" title="interface in org.apache.velocity.runtime.parser.node">Node</a>&nbsp;node)</code>&nbsp;</td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Block.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/Block.html#init-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-org.apache.velocity.runtime.parser.node.Node-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="../../../../../org/apache/velocity/runtime/parser/node/Node.html" title="interface in org.apache.velocity.runtime.parser.node">Node</a>&nbsp;node)</code> <div class="block">simple init - get the key</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">RuntimeMacro.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/RuntimeMacro.html#init-org.apache.velocity.runtime.RuntimeServices-java.lang.String-org.apache.velocity.context.InternalContextAdapter-org.apache.velocity.runtime.parser.node.Node-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="../../../../../org/apache/velocity/runtime/parser/node/Node.html" title="interface in org.apache.velocity.runtime.parser.node">Node</a>&nbsp;node)</code> <div class="block">Initialize the Runtime macro.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">BlockMacro.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/BlockMacro.html#init-org.apache.velocity.runtime.RuntimeServices-java.lang.String-org.apache.velocity.context.InternalContextAdapter-org.apache.velocity.runtime.parser.node.Node-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;macroName, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="../../../../../org/apache/velocity/runtime/parser/node/Node.html" title="interface in org.apache.velocity.runtime.parser.node">Node</a>&nbsp;node)</code> <div class="block">Initializes the directive.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a></code></td> <td class="colLast"><span class="typeNameLabel">Macro.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/Macro.html#macroToString-java.lang.StringBuilder-java.util.List-org.apache.velocity.runtime.RuntimeServices-">macroToString</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;buf, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/velocity/runtime/directive/Macro.MacroArg.html" title="class in org.apache.velocity.runtime.directive">Macro.MacroArg</a>&gt;&nbsp;macroArgs, <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rsvc)</code> <div class="block">For debugging purposes.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.velocity.runtime.directive.contrib"> <!-- --> </a> <h3>Uses of <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a> in <a href="../../../../../org/apache/velocity/runtime/directive/contrib/package-summary.html">org.apache.velocity.runtime.directive.contrib</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/velocity/runtime/directive/contrib/package-summary.html">org.apache.velocity.runtime.directive.contrib</a> with parameters of type <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">For.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/directive/contrib/For.html#init-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.context.InternalContextAdapter-org.apache.velocity.runtime.parser.node.Node-">init</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="../../../../../org/apache/velocity/context/InternalContextAdapter.html" title="interface in org.apache.velocity.context">InternalContextAdapter</a>&nbsp;context, <a href="../../../../../org/apache/velocity/runtime/parser/node/Node.html" title="interface in org.apache.velocity.runtime.parser.node">Node</a>&nbsp;node)</code>&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.velocity.runtime.parser"> <!-- --> </a> <h3>Uses of <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a> in <a href="../../../../../org/apache/velocity/runtime/parser/package-summary.html">org.apache.velocity.runtime.parser</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/velocity/runtime/parser/package-summary.html">org.apache.velocity.runtime.parser</a> that return <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></code></td> <td class="colLast"><span class="typeNameLabel">StandardParser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/parser/StandardParser.html#getRuntimeServices--">getRuntimeServices</a></span>()</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></code></td> <td class="colLast"><span class="typeNameLabel">Parser.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/parser/Parser.html#getRuntimeServices--">getRuntimeServices</a></span>()</code>&nbsp;</td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> <caption><span>Constructors in <a href="../../../../../org/apache/velocity/runtime/parser/package-summary.html">org.apache.velocity.runtime.parser</a> with parameters of type <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/parser/StandardParser.html#StandardParser-org.apache.velocity.runtime.RuntimeServices-">StandardParser</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code> <div class="block">This constructor was added to allow the re-use of parsers.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.velocity.runtime.parser.node"> <!-- --> </a> <h3>Uses of <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a> in <a href="../../../../../org/apache/velocity/runtime/parser/node/package-summary.html">org.apache.velocity.runtime.parser.node</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation"> <caption><span>Fields in <a href="../../../../../org/apache/velocity/runtime/parser/node/package-summary.html">org.apache.velocity.runtime.parser.node</a> declared as <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></code></td> <td class="colLast"><span class="typeNameLabel">SimpleNode.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/parser/node/SimpleNode.html#rsvc">rsvc</a></span></code>&nbsp;</td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/velocity/runtime/parser/node/package-summary.html">org.apache.velocity.runtime.parser.node</a> that return <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></code></td> <td class="colLast"><span class="typeNameLabel">SimpleNode.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/parser/node/SimpleNode.html#getRuntimeServices--">getRuntimeServices</a></span>()</code>&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.velocity.runtime.resource"> <!-- --> </a> <h3>Uses of <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a> in <a href="../../../../../org/apache/velocity/runtime/resource/package-summary.html">org.apache.velocity.runtime.resource</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation"> <caption><span>Fields in <a href="../../../../../org/apache/velocity/runtime/resource/package-summary.html">org.apache.velocity.runtime.resource</a> declared as <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></code></td> <td class="colLast"><span class="typeNameLabel">ResourceManagerImpl.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/resource/ResourceManagerImpl.html#rsvc">rsvc</a></span></code> <div class="block">The internal RuntimeServices object.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></code></td> <td class="colLast"><span class="typeNameLabel">ResourceCacheImpl.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/resource/ResourceCacheImpl.html#rsvc">rsvc</a></span></code> <div class="block">Runtime services, generally initialized by the <code>initialize()</code> method.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></code></td> <td class="colLast"><span class="typeNameLabel">Resource.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/resource/Resource.html#rsvc">rsvc</a></span></code>&nbsp;</td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/velocity/runtime/resource/package-summary.html">org.apache.velocity.runtime.resource</a> with parameters of type <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">ResourceManagerImpl.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/resource/ResourceManagerImpl.html#initialize-org.apache.velocity.runtime.RuntimeServices-">initialize</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code> <div class="block">Initialize the ResourceManager.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">ResourceManager.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/resource/ResourceManager.html#initialize-org.apache.velocity.runtime.RuntimeServices-">initialize</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code> <div class="block">Initialize the ResourceManager.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">ResourceCacheImpl.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/resource/ResourceCacheImpl.html#initialize-org.apache.velocity.runtime.RuntimeServices-">initialize</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">ResourceCache.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/resource/ResourceCache.html#initialize-org.apache.velocity.runtime.RuntimeServices-">initialize</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code> <div class="block">initializes the ResourceCache.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">Resource.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/resource/Resource.html#setRuntimeServices-org.apache.velocity.runtime.RuntimeServices-">setRuntimeServices</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code>&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.velocity.runtime.resource.loader"> <!-- --> </a> <h3>Uses of <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a> in <a href="../../../../../org/apache/velocity/runtime/resource/loader/package-summary.html">org.apache.velocity.runtime.resource.loader</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation"> <caption><span>Fields in <a href="../../../../../org/apache/velocity/runtime/resource/loader/package-summary.html">org.apache.velocity.runtime.resource.loader</a> declared as <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></code></td> <td class="colLast"><span class="typeNameLabel">ResourceLoader.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/resource/loader/ResourceLoader.html#rsvc">rsvc</a></span></code>&nbsp;</td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/velocity/runtime/resource/loader/package-summary.html">org.apache.velocity.runtime.resource.loader</a> with parameters of type <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">ResourceLoader.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/resource/loader/ResourceLoader.html#commonInit-org.apache.velocity.runtime.RuntimeServices-org.apache.velocity.util.ExtProperties-">commonInit</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="../../../../../org/apache/velocity/util/ExtProperties.html" title="class in org.apache.velocity.util">ExtProperties</a>&nbsp;configuration)</code> <div class="block">This initialization is used by all resource loaders and must be called to set up common properties shared by all resource loaders</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>static <a href="../../../../../org/apache/velocity/runtime/resource/loader/ResourceLoader.html" title="class in org.apache.velocity.runtime.resource.loader">ResourceLoader</a></code></td> <td class="colLast"><span class="typeNameLabel">ResourceLoaderFactory.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/resource/loader/ResourceLoaderFactory.html#getLoader-org.apache.velocity.runtime.RuntimeServices-java.lang.String-">getLoader</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;loaderClassName)</code> <div class="block">Gets the loader specified in the configuration file.</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation"> <caption><span>Constructors in <a href="../../../../../org/apache/velocity/runtime/resource/loader/package-summary.html">org.apache.velocity.runtime.resource.loader</a> with parameters of type <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/runtime/resource/loader/JarHolder.html#JarHolder-org.apache.velocity.runtime.RuntimeServices-java.lang.String-org.slf4j.Logger-">JarHolder</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;urlpath, org.slf4j.Logger&nbsp;log)</code>&nbsp;</td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.velocity.util"> <!-- --> </a> <h3>Uses of <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a> in <a href="../../../../../org/apache/velocity/util/package-summary.html">org.apache.velocity.util</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/velocity/util/package-summary.html">org.apache.velocity.util</a> with parameters of type <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">RuntimeServicesAware.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/util/RuntimeServicesAware.html#setRuntimeServices-org.apache.velocity.runtime.RuntimeServices-">setRuntimeServices</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code> <div class="block">Called automatically when event cartridge is initialized.</div> </td> </tr> </tbody> </table> </li> <li class="blockList"><a name="org.apache.velocity.util.introspection"> <!-- --> </a> <h3>Uses of <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a> in <a href="../../../../../org/apache/velocity/util/introspection/package-summary.html">org.apache.velocity.util.introspection</a></h3> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation"> <caption><span>Fields in <a href="../../../../../org/apache/velocity/util/introspection/package-summary.html">org.apache.velocity.util.introspection</a> declared as <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Field and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></code></td> <td class="colLast"><span class="typeNameLabel">UberspectImpl.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/util/introspection/UberspectImpl.html#rsvc">rsvc</a></span></code> <div class="block">runtime services</div> </td> </tr> </tbody> </table> <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> <caption><span>Methods in <a href="../../../../../org/apache/velocity/util/introspection/package-summary.html">org.apache.velocity.util.introspection</a> with parameters of type <a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a></span><span class="tabEnd">&nbsp;</span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tbody> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">UberspectPublicFields.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/util/introspection/UberspectPublicFields.html#setRuntimeServices-org.apache.velocity.runtime.RuntimeServices-">setRuntimeServices</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code>&nbsp;</td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><span class="typeNameLabel">UberspectImpl.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/velocity/util/introspection/UberspectImpl.html#setRuntimeServices-org.apache.velocity.runtime.RuntimeServices-">setRuntimeServices</a></span>(<a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">RuntimeServices</a>&nbsp;rs)</code> <div class="block">sets the runtime services</div> </td> </tr> </tbody> </table> </li> </ul> </li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="../package-summary.html">Package</a></li> <li><a href="../../../../../org/apache/velocity/runtime/RuntimeServices.html" title="interface in org.apache.velocity.runtime">Class</a></li> <li class="navBarCell1Rev">Use</li> <li><a href="../package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev</li> <li>Next</li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?org/apache/velocity/runtime/class-use/RuntimeServices.html" target="_top">Frames</a></li> <li><a href="RuntimeServices.html" target="_top">No&nbsp;Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright &#169; 2000&#x2013;2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> </body> </html>
85.15528
573
0.712371
141a9752d4320fc984bbb44ab2a1200b3a2dc977
981
swift
Swift
PickerButton/Internal/UIPickerViewDelegateProxy.swift
rursache/PickerButton
4673bc6eb5d20ab45b22c9795bcf5a6ce33a901f
[ "MIT" ]
1
2020-09-27T16:57:38.000Z
2020-09-27T16:57:38.000Z
PickerButton/Internal/UIPickerViewDelegateProxy.swift
rursache/PickerButton
4673bc6eb5d20ab45b22c9795bcf5a6ce33a901f
[ "MIT" ]
null
null
null
PickerButton/Internal/UIPickerViewDelegateProxy.swift
rursache/PickerButton
4673bc6eb5d20ab45b22c9795bcf5a6ce33a901f
[ "MIT" ]
null
null
null
// // UIPickerViewDelegateProxy.swift // PickerButton // // Created by marty-suzuki on 2019/02/18. // Copyright © 2019 marty-suzuki. All rights reserved. // import Foundation import UIKit final class UIPickerViewDelegateProxy: DelegateProxy<UIPickerViewDelegate>, UIPickerViewDelegate { var titleChanged: ((TitleChangedInfo) -> Void)? func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) { if let title = delegate?.pickerView?(pickerView, titleForRow: row, forComponent: component) { titleChanged?(TitleChangedInfo(title: title, row: row, component: component) ) } delegate?.pickerView?(pickerView, didSelectRow: row, inComponent: component) } } extension UIPickerViewDelegateProxy { struct TitleChangedInfo { let title: String let row: Int let component: Int } }
29.727273
101
0.64526
99f361a8b50496e0e01caaaea43487d91f904168
912
kt
Kotlin
timer/src/main/java/ru/ischenko/roman/focustimer/domain/CreatePomodoroUseCase.kt
djamba/FocusTimer
48569bb7fbd3be529a8b537e394f2774975c713a
[ "MIT" ]
3
2018-05-28T08:03:03.000Z
2020-10-27T00:30:21.000Z
timer/src/main/java/ru/ischenko/roman/focustimer/domain/CreatePomodoroUseCase.kt
djamba/FocusTimer
48569bb7fbd3be529a8b537e394f2774975c713a
[ "MIT" ]
null
null
null
timer/src/main/java/ru/ischenko/roman/focustimer/domain/CreatePomodoroUseCase.kt
djamba/FocusTimer
48569bb7fbd3be529a8b537e394f2774975c713a
[ "MIT" ]
1
2020-10-27T00:29:19.000Z
2020-10-27T00:29:19.000Z
package ru.ischenko.roman.focustimer.domain import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import ru.ischenko.roman.focustimer.data.model.Pomodoro import ru.ischenko.roman.focustimer.data.model.Task import ru.ischenko.roman.focustimer.data.repository.PomodoroRepository import ru.ischenko.roman.focustimer.domain.error.CreatePomodoroException import java.util.* class CreatePomodoroUseCase(private val repository: PomodoroRepository) { @Throws(CreatePomodoroException::class) suspend operator fun invoke(task: Task, pomodoroTime: Long): Pomodoro = withContext(Dispatchers.IO) { try { val pomodoro = Pomodoro(task, Date(), pomodoroTime) repository.createPomodoro(pomodoro) return@withContext pomodoro } catch (e: Throwable) { throw CreatePomodoroException("Can't create pomodoro", e) } } }
38
105
0.744518
3455c69b64fc56cc95022f9e212d8284e297944b
559
rs
Rust
src/election.rs
sile/rrsm
7a055dcbd38cd089c59c43cdbf7983cbd4d3a0a1
[ "MIT" ]
9
2016-07-20T14:21:36.000Z
2018-12-23T13:21:00.000Z
src/election.rs
sile/rrsm
7a055dcbd38cd089c59c43cdbf7983cbd4d3a0a1
[ "MIT" ]
null
null
null
src/election.rs
sile/rrsm
7a055dcbd38cd089c59c43cdbf7983cbd4d3a0a1
[ "MIT" ]
1
2018-12-17T12:33:11.000Z
2018-12-17T12:33:11.000Z
use super::*; pub type Term = u64; pub enum Role { Follower { voted_for: Option<NodeId>, }, Candidate, Leader, } #[derive(Clone)] pub struct Ballot { pub term: Term, pub voted_for: Option<NodeId>, } impl Ballot { pub fn new(term: Term) -> Self { Ballot { term: term, voted_for: None, } } pub fn increment_term(&mut self) { self.term = self.term.checked_add(1).unwrap(); } pub fn vote(&mut self, node: NodeId) { self.voted_for = Some(node); } }
17.46875
54
0.54025
74e0f3ee5d87982d3dbc8d469add6c7c78f9e1b6
441
swift
Swift
Mage/MaterialComponents/PassThroughStackView.swift
ngageoint/mage-ios
eafce56ac10dc1652a76d9d0d5e08c487eb6c4d9
[ "Apache-2.0" ]
40
2015-09-11T22:31:02.000Z
2022-03-10T04:59:25.000Z
Mage/MaterialComponents/PassThroughStackView.swift
ngageoint/mage-ios
eafce56ac10dc1652a76d9d0d5e08c487eb6c4d9
[ "Apache-2.0" ]
49
2015-09-30T14:16:56.000Z
2018-08-09T17:05:50.000Z
Mage/MaterialComponents/PassThroughStackView.swift
ngageoint/mage-ios
eafce56ac10dc1652a76d9d0d5e08c487eb6c4d9
[ "Apache-2.0" ]
17
2015-10-01T22:09:47.000Z
2021-12-07T05:55:09.000Z
// // PassThroughStackView.swift // MAGE // // Created by Daniel Barela on 1/25/21. // Copyright © 2021 National Geospatial Intelligence Agency. All rights reserved. // import Foundation class PassThroughStackView : UIStackView { override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { let result = super.hitTest(point, with: event) if result == self { return nil } return result } }
24.5
82
0.673469
929bad4e2ff1d011905cf2e57c006079f24fcd38
251
h
C
ZXJExtension/SourceEditorExtension.h
MissSword/ZXJSourceEditor
65cbbc72cf3765c2c2ac6a6a53dca1cf7bcfdb9d
[ "MIT" ]
null
null
null
ZXJExtension/SourceEditorExtension.h
MissSword/ZXJSourceEditor
65cbbc72cf3765c2c2ac6a6a53dca1cf7bcfdb9d
[ "MIT" ]
null
null
null
ZXJExtension/SourceEditorExtension.h
MissSword/ZXJSourceEditor
65cbbc72cf3765c2c2ac6a6a53dca1cf7bcfdb9d
[ "MIT" ]
null
null
null
// // SourceEditorExtension.h // ZXJExtension // // Created by zhuxingjian on 2017/5/26. // Copyright © 2017年 ZXJ. All rights reserved. // #import <XcodeKit/XcodeKit.h> @interface SourceEditorExtension : NSObject <XCSourceEditorExtension> @end
17.928571
69
0.733068
4080a400eaa59efe73a00bc5143ee8a6b409b6ce
7,095
py
Python
staff_manage_sdk/model/container/persistent_volume_claim_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
webshell_sdk/model/container/persistent_volume_claim_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
webshell_sdk/model/container/persistent_volume_claim_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: persistent_volume_claim.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( name='persistent_volume_claim.proto', package='container', syntax='proto3', serialized_options=_b('ZCgo.easyops.local/contracts/protorepo-models/easyops/model/container'), serialized_pb=_b('\n\x1dpersistent_volume_claim.proto\x12\tcontainer\"\x84\x02\n\x15PersistentVolumeClaim\x12\x12\n\ninstanceId\x18\x01 \x01(\t\x12\x0c\n\x04kind\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x14\n\x0cresourceName\x18\x04 \x01(\t\x12\x14\n\x0cresourceSpec\x18\x05 \x01(\t\x12\x0f\n\x07storage\x18\x06 \x01(\t\x12\x13\n\x0b\x61\x63\x63\x65ssModes\x18\x07 \x03(\t\x12\x11\n\tnamespace\x18\x08 \x01(\t\x12\x14\n\x0cstorageClass\x18\t \x01(\t\x12\x16\n\x0estorageClassId\x18\n \x01(\t\x12\x19\n\x11\x63reationTimestamp\x18\x0b \x01(\t\x12\r\n\x05phase\x18\x0c \x01(\tBEZCgo.easyops.local/contracts/protorepo-models/easyops/model/containerb\x06proto3') ) _PERSISTENTVOLUMECLAIM = _descriptor.Descriptor( name='PersistentVolumeClaim', full_name='container.PersistentVolumeClaim', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='instanceId', full_name='container.PersistentVolumeClaim.instanceId', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='kind', full_name='container.PersistentVolumeClaim.kind', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='name', full_name='container.PersistentVolumeClaim.name', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='resourceName', full_name='container.PersistentVolumeClaim.resourceName', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='resourceSpec', full_name='container.PersistentVolumeClaim.resourceSpec', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='storage', full_name='container.PersistentVolumeClaim.storage', index=5, number=6, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='accessModes', full_name='container.PersistentVolumeClaim.accessModes', index=6, number=7, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='namespace', full_name='container.PersistentVolumeClaim.namespace', index=7, number=8, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='storageClass', full_name='container.PersistentVolumeClaim.storageClass', index=8, number=9, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='storageClassId', full_name='container.PersistentVolumeClaim.storageClassId', index=9, number=10, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='creationTimestamp', full_name='container.PersistentVolumeClaim.creationTimestamp', index=10, number=11, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='phase', full_name='container.PersistentVolumeClaim.phase', index=11, number=12, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=45, serialized_end=305, ) DESCRIPTOR.message_types_by_name['PersistentVolumeClaim'] = _PERSISTENTVOLUMECLAIM _sym_db.RegisterFileDescriptor(DESCRIPTOR) PersistentVolumeClaim = _reflection.GeneratedProtocolMessageType('PersistentVolumeClaim', (_message.Message,), { 'DESCRIPTOR' : _PERSISTENTVOLUMECLAIM, '__module__' : 'persistent_volume_claim_pb2' # @@protoc_insertion_point(class_scope:container.PersistentVolumeClaim) }) _sym_db.RegisterMessage(PersistentVolumeClaim) DESCRIPTOR._options = None # @@protoc_insertion_point(module_scope)
47.61745
673
0.745877
1295b838ca9435e5991c841b70403559d99560c5
23,668
c
C
include/amio_lib_functions.c
Matthew-McIver/Mars-Lander-game
3424a51713c440709a8044b7d21c756560271ef8
[ "MIT" ]
1
2021-02-16T22:10:51.000Z
2021-02-16T22:10:51.000Z
include/amio_lib_functions.c
Matthew-McIver/Mars-Lander-game
3424a51713c440709a8044b7d21c756560271ef8
[ "MIT" ]
null
null
null
include/amio_lib_functions.c
Matthew-McIver/Mars-Lander-game
3424a51713c440709a8044b7d21c756560271ef8
[ "MIT" ]
null
null
null
//============================================================================= // Introduction to C Programming (Audio-MIDI Programming) //============================================================================= // amio_lib API Function Implementations // File: amio_lib.h // Author: Dimitri Zantalis // Date: Oct 2013 // //============================================================================= // Copyright and License Information //============================================================================= // Copyright (c) 2013 Dimitri Zantalis <dz548@york.ac.uk> // // For license information see 'include\license.h' // //============================================================================= // Recommended Reading List & References //============================================================================= // [1] libsndfile, C library for reading/writing audio files, // http://www.mega-nerd.com // // [2] PortAudio, 'Portable Cross-platform Audio I/O, http://www.portaudio.com // // [3] PortMidi, 'Portable MIDI I/O library', http://portmedia.sourceforge.net/portmidi #include <amio_lib.h> //============================================================================= // Function Implementations //============================================================================= //////////////////////////////// //LIBSNDFILE RELATED FUNCTIONS// //////////////////////////////// //----------------------------------------------------------------------------- // wavread Function to read audio file into memory //----------------------------------------------------------------------------- /*! @function wavread @abstract Read an audio file into memory. @discussion An utility function that reads the contents of an audio file into a SIGNAL structure. It uses and depends on the libsndfile API. @param INPUTFILENAME The filename to use for the input file. If no path is provided the file will be read from the location of the executable. @param INPUT A SIGNAL structure containing the audio data read from the audio file. @result SfError a libsndfile error code (an integer). */ SfError wavread(const char* inputFileName, SIGNAL *input) { int err=0; SNDFILE *file=NULL; SF_INFO info; sf_count_t framesread=0; info.format=0; //Open a file for reading. if(!(file=sf_open(inputFileName, SFM_READ, &info))) { printf("Failed to open '%s' for reading!\n",inputFileName); err=sf_error(file); checkErr(err,kSndFileSystem,"wavread: opening file"); return err; //Return at this point because the file did not open, so there is nothing we can do! } //Check if SF_INFO struct is valid //err=sf_format_check(&info); //checkErr(err,kSndFileSystem,"wavread: format checking code"); //Create a buffer to hold audio data. float *buffer=(float *)malloc(sizeof(float)* info.frames*info.channels); //Read audio data into buffer; framesread=sf_readf_float(file, buffer, info.frames); if(framesread==0) printf("No frames were read from the file! The file is either corrupt or the operation failed!\n"); err=sf_error(file); checkErr(err,kSndFileSystem,"wavread: reading audio data into buffer"); //Close audio file. err=sf_close(file); checkErr(err,kSndFileSystem,"wavread: closing file"); //Set up SIGNAL structure based on aqquired SF_INFO input->name=inputFileName; //Name of the input signal procided by the user input->frames=info.frames; //Number of frames of the audio file input->samplerate=info.samplerate; //Sample rate of audio file input->channels=info.channels; //Number of channels of audio file input->format=info.format; //Format of audio file input->sections=info.sections; //Sections of audio file input->seekable=info.seekable; //One ('1') if audio file is seekable, zero otherwise input->data=buffer; //The buffer that contains the actual audio data/samples of the audio file return err; } //----------------------------------------------------------------------------- // wavwrite function to write audio file into disk //----------------------------------------------------------------------------- /*! @function wavwrite @abstract Write a SIGNAL (audio file) to disk @discussion Utility function that writes the contents of a SIGNAL structure to disk. It uses and depends on the libsndfile API. @param OUTPUTFILENAME The filename to use for the output file. If no path is provided the file will be saved at the location the executable resides. @param OUPUT A SIGNAL structure containing the audio data to write to disk. @result SfError a libsndfile error code (an integer). */ SfError wavwrite(const char* outputFileName, SIGNAL *output) { int err=0; SNDFILE* file=NULL; SF_INFO info; sf_count_t frameswritten=0; info.samplerate=output->samplerate; info.channels=output->channels; info.format=output->format; //Check if SF_INFO struct is valid //err=sf_format_check(&info); //checkErr(err,kSndFileSystem,"wavwrite: format checking code"); //Open a file for writting if(!(file=sf_open(outputFileName, SFM_WRITE, &info))) { printf("Failed to open %s for writting!\n",outputFileName); err=sf_error(file); checkErr(err,kSndFileSystem,"wavwrite: opening file"); return err;//Return at this point because the file could not open so we cannot write anything! } //Write audio data to audio file. frameswritten=sf_writef_float(file, output->data, output->frames); if(frameswritten!=output->frames) { err=sf_error(file); checkErr(err,kSndFileSystem,"wavwrite: writting data to file"); } //Close audio file. err=sf_close(file); checkErr(err,kSndFileSystem,"wavwrite: closing file"); return err; } //----------------------------------------------------------------------------- // Fill_SIGNAL Utility function to fill in the fields of a SIGNAL struct //----------------------------------------------------------------------------- /*! @function Fill_SIGNAL @abstract This function fills up the field of a SIGNAL struct. @discussion Call this to fill up a SIGNAL struct. This might be needed when trying to write to an output file. Before doing so we need to provide a ready made SIGNAL struct that contains vital information about the file to be written such as format, sample rate, number of channels and the data to write to the file. @param @result VOID */ void Fill_SIGNAL(SIGNAL *fd, int frames, int fs, int channels, int format, int sections, int seekable, float * data) { fd->frames=frames; fd->samplerate=fs; fd->channels=channels; fd->format=format; fd->sections=sections; fd->seekable=seekable; fd->data=data; } //----------------------------------------------------------------------------- // displaySndInfo Utility function to display the fields of an SF_INFO struct //----------------------------------------------------------------------------- /*! @function displaySndInfo @abstract Display information about the audio file @discussion This is a helper function which displays @param SIGNAL A SIGNAL structure. Make sure the SIGNAL structure is initialised before passing as argument to this function, otherwise the results are undetrmined. @result VOID */ void displaySndInfo(SIGNAL *sig) { printf("----------------------\n"); printf("%s Information\n",sig->name); printf("Number of frames: %I64d\n",sig->frames); printf("Sample Rate: %d\n",sig->samplerate); printf("Number of channels: %d\n",sig->channels); printf("Format: %08x\n",sig->format); printf("Sections: %d\n",sig->sections); printf("Seekable?: %d\n",sig->seekable); printf("----------------------\n"); } //----------------------------------------------------------------------------- // Compare Utility function to compare two signals //----------------------------------------------------------------------------- /*! @function copare @abstract Compare similarity of two signals. @discussion @param ORIGINAL A buffer containing samples of the original signal. @param COMPUTED A buffer containing samples of the processed signal. @param LENGTH The size of the buffers. @result VOID */ void compare(SIGNAL *original, SIGNAL *processed) { int i; float *_original=original->data; float *_processed=processed->data; float error = _original[0] - _processed[0]; float max = error; float min = error; float mean = 0.0; float sd_radicand = 0.0; sf_count_t length=original->frames; for (i = 0; i < length; i++) { error = _original[i] - _processed[i]; /* printf("%f %f %f\n", _original[i], _processed[i], error); */ max = (max < error) ? error : max; min = (min > error) ? error : min; mean += (error / length); sd_radicand += ((error * error) / (float) length); } printf("Max error: %f Min error: %f Mean: %f Std Dev: %f\n", max, min, mean, sqrt(sd_radicand)); } ////////////////////////////// //PORTAUDIO RELATED FUNCTIONS// ////////////////////////////// //----------------------------------------------------------------------------- // initialiseAudioSystem function //----------------------------------------------------------------------------- /*! @function initialiseAudioSystem @abstract @discussion @param @result */ PaError initialiseAudioSystem(void) { PaError err=0; //Initialise PortAudio engine. err = Pa_Initialize(); return err; } //----------------------------------------------------------------------------- // terminateAudioSystem function //----------------------------------------------------------------------------- /*! @function terminateAudioSystem @abstract @discussion @param @result */ PaError terminateAudioSystem(void) { PaError err=0; //Terminate PortAudioEngine. err=Pa_Terminate(); return err; } //----------------------------------------------------------------------------- // openDefaultAudioStream function //----------------------------------------------------------------------------- /*! @function openDefaultAudioStream @abstract @discussion @param @result */ PaError openDefaultAudioStream(AUDIOSTREAM *audioStream, PaStreamCallback *streamCallback, void *userData) { PaError err=0; PaStreamParameters outputParameters; outputParameters.device = Pa_GetDefaultOutputDevice(); /* default output device */ if (outputParameters.device == paNoDevice) { fprintf(stderr,"Error: No default output device.\n"); printf("Application will exit."); exit(EXIT_FAILURE); } outputParameters.channelCount = audioStream->outChannels; outputParameters.sampleFormat = audioStream->sampleFormat; outputParameters.suggestedLatency = Pa_GetDeviceInfo( outputParameters.device )->defaultLowOutputLatency; outputParameters.hostApiSpecificStreamInfo = NULL; err = Pa_OpenStream( &audioStream->stream, NULL, /* no input */ &outputParameters, audioStream->sampleRate, audioStream->framesPerBuffer, paClipOff, /* we won't output out of range samples so don't bother clipping them */ streamCallback, userData); return err; /* Open an audio I/O stream. */ // err = Pa_OpenDefaultStream( &audioStream->stream, // audioStream->inChannels,/* input channels. If zero stream opens for output only */ // audioStream->outChannels,/* output channels. If zero stream opens for output only*/ // audioStream->sampleFormat, /* Sample format */ // audioStream->sampleRate, // audioStream->framesPerBuffer, /* frames per buffer, i.e. the number // of sample frames that PortAudio will // request from the callback. Many apps // may want to use // paFramesPerBufferUnspecified, which // tells PortAudio to pick the best, // possibly changing, buffer size.*/ // streamCallback, /* this is your callback function */ // &userData); /*This is a pointer that will be passed to // your callback*/ // return err; } //----------------------------------------------------------------------------- // setAudioStreamFinishedCallback function //----------------------------------------------------------------------------- /*! @function setAudioStreamFinishedCallback @abstract @discussion @param @result */ PaError setAudioStreamFinishedCallback(AUDIOSTREAM *astream, PaStreamFinishedCallback *streamFinishedCallback) { PaError err=0; err = Pa_SetStreamFinishedCallback( astream->stream, streamFinishedCallback ); return err; } //----------------------------------------------------------------------------- // openDefaultAudioStream function //----------------------------------------------------------------------------- /*! @function openDefaultAudioStream @abstract @discussion @param @result */ PaError startAudioStream(AUDIOSTREAM *stream) { PaError err=0; //Start the audio stream err=Pa_StartStream(stream->stream); return err; } //----------------------------------------------------------------------------- // stopAudioStream function //----------------------------------------------------------------------------- /*! @function stopAudioStream @abstract @discussion @param @result */ PaError stopAudioStream(AUDIOSTREAM *stream) { PaError err=0; //Stop the audio stream err=Pa_StopStream(stream->stream); return err; } //----------------------------------------------------------------------------- // closeAudioStream function //----------------------------------------------------------------------------- /*! @function closeAudioStream @abstract @discussion @param @result */ PaError closeAudioStream(AUDIOSTREAM *stream) { PaError err=0; //Close the audio stream err=Pa_CloseStream(stream->stream); return err; } ////////////////////////////// //PORTMIDI RELATED FUNCTIONS// ////////////////////////////// //----------------------------------------------------------------------------- // pause utility function //----------------------------------------------------------------------------- /*! @function pause @abstract @discussion @param @result */ void pause(int time_in_milliseconds) { long time; time = Pt_Time(NULL); while(Pt_Time(NULL) - time < time_in_milliseconds); } //----------------------------------------------------------------------------- // midi_note function //----------------------------------------------------------------------------- /*! @function midi_note @abstract @discussion @param @result */ void midi_note(int pitch, int channel, int velocity) { int channel1, velocity1; channel1 = 1 + (channel % 16); velocity1 = velocity % 128; Pm_WriteShort(mstream, 0, Pm_Message(SBYTE(MD_NOTEON,channel1), pitch, velocity1)); } //----------------------------------------------------------------------------- // program_change function //----------------------------------------------------------------------------- /*! @function program_change @abstract @discussion @param @result */ void program_change(int channel, int instrument) { int channel1, instrument1; instrument1 = 1+ (instrument % 128); channel1 = 1 + (channel % 16); Pm_WriteShort(mstream, 0, Pm_Message(SBYTE(MD_PRG,channel1), instrument1, 0)); } //----------------------------------------------------------------------------- // midi_start function //----------------------------------------------------------------------------- /*! @function midi_start @abstract @discussion @param @result */ void midi_start() { Pm_Initialize(); Pt_Start(1, NULL, NULL); retval = Pm_OpenOutput(&mstream, 0,NULL,512,NULL,NULL,0); if(retval != pmNoError) { printf("error: %s \n", Pm_GetErrorText(retval)); } else /* set channel 1 to grand piano */ program_change(1, 1); } //----------------------------------------------------------------------------- // midi_close function //----------------------------------------------------------------------------- /*! @function midi_close @abstract @discussion @param @result */ void midi_close(void) { Pm_Close(mstream); Pm_Terminate(); } //----------------------------------------------------------------------------- // initialiseMIDISystem function //----------------------------------------------------------------------------- /*! @function initialiseMIDISystem @abstract @discussion @param @result */ void initialiseMIDISystem(void) { Pm_Initialize(); } //----------------------------------------------------------------------------- // terminateMIDISystem function //----------------------------------------------------------------------------- /*! @function terminateMIDISystem @abstract @discussion @param @result */ void terminateMIDISystem(void) { Pm_Terminate(); } //----------------------------------------------------------------------------- // select_midi_in function //----------------------------------------------------------------------------- /*! @function select_midi_in @abstract @discussion @param @result */ void select_midi_in(PortMidiStream *instream) { int i; int nod; int midiin; const PmDeviceInfo * di; //Get number of devices nod=Pm_CountDevices(); //Display only MIDI IN devices printf("MIDI IN Devices\n----------------\n"); for(i=0; i<nod; i++) { di=Pm_GetDeviceInfo(i); if(di->input>0) { printf("Device ID: %d\n",i); printf("Intreface: %s\n Name: %s\n",di->interf,di->name); printf(" Inputs: %d\n",di->input); //printf(" Inputs: %d\n Outputs: %d\n",(di->input>0)?di->input:0,(di->output>0)?di->output:0); printf(" Opened?: %s\n\n",(di->opened)?"true":"false"); } } do { printf("Select MIDI IN Devide ID: "); scanf("%d",&midiin); printf("%d\n\n",midiin); retval = Pm_OpenInput(&instream, midiin,NULL,512,NULL,NULL); if(retval != pmNoError) { printf("error: %s \n\n", Pm_GetErrorText(retval)); } else { printf("Selected device %d\n\n",midiin); } } while(retval != pmNoError); //while((midiin<0|midiin>nod-1)|(di->input==0)); } //----------------------------------------------------------------------------- // select_midi_out function //----------------------------------------------------------------------------- /*! @function select_midi_out @abstract @discussion @param @result */ void select_midi_out(PortMidiStream *outstream) { int i; int nod; int midiout; const PmDeviceInfo *di; //Get number of devices nod=Pm_CountDevices(); //Display only MIDI OUT devices printf("MIDI OUT Devices\n----------------\n"); for(i=0; i<nod; i++) { di=Pm_GetDeviceInfo(i); if(di->output>0) { printf("Device ID: %d\n",i); printf("Intreface: %s\n Name: %s\n",di->interf,di->name); printf(" Outputs: %d\n",di->output); //printf(" Inputs: %d\n Outputs: %d\n",(di->input>0)?di->input:0,(di->output>0)?di->output:0); printf(" Opened?: %s\n\n",(di->opened)?"true":"false"); } } do { printf("Select MIDI OUT Devide ID: "); scanf("%d",&midiout); retval = Pm_OpenOutput(&outstream, midiout,NULL,512,NULL,NULL,0); if(retval != pmNoError) { printf("error: %s \n\n", Pm_GetErrorText(retval)); } else { printf("Selected device %d\n\n",midiout); } } while(retval != pmNoError); //while((midiin<0|midiin>nod-1)|(di->input==0)); } //----------------------------------------------------------------------------- // close_midi_in function //----------------------------------------------------------------------------- /*! @function close_midi_in @abstract @discussion @param @result */ void close_midi_in(PortMidiStream *in) { Pm_Close(in); } //----------------------------------------------------------------------------- // close_midi_out function //----------------------------------------------------------------------------- /*! @function close_midi_out @abstract @discussion @param @result */ void close_midi_out(PortMidiStream *out) { Pm_Close(out); } ///////////////////////////// //GENERIC UTILITY FUNCTIONS// ///////////////////////////// //----------------------------------------------------------------------------- // random_number utility function that generates a random number within a // given range. //----------------------------------------------------------------------------- /*! @function random_number @abstract Generate a random number within a given range. @discussion @param @result */ int random_number(int lower_range, int upper_range) { int x; if (upper_range < lower_range) { x = upper_range; upper_range = lower_range; lower_range = x; } return lower_range + rand() %(upper_range -lower_range +1); } int checkErr(int err,int systemScope,const char* message) { switch(systemScope) { case kAudioSystem: if(err != paNoError) printf("Audio system: %s [%s]\n", Pa_GetErrorText(err),message); break; case kMIDISystem: if(err != pmNoError) printf("MIDI system: %s [%s]\n", Pm_GetErrorText(err),message); break; case kSndFileSystem: if(err != 0) printf("Sound File system: %s [%s]\n", sf_error_number(err),message); break; default: printf("Error: %d\n",err); break; } return err; }
31.431607
118
0.483607
98a7ef38d18ef5142f2d4547635ffee166fd0919
130
html
HTML
index.html
stars-sty/TTPython180
f1c2945372956170ec7e3a5c73056af6efaf3f47
[ "Apache-2.0" ]
null
null
null
index.html
stars-sty/TTPython180
f1c2945372956170ec7e3a5c73056af6efaf3f47
[ "Apache-2.0" ]
null
null
null
index.html
stars-sty/TTPython180
f1c2945372956170ec7e3a5c73056af6efaf3f47
[ "Apache-2.0" ]
null
null
null
<!DOCTYPE html> <html lang=" en "> nizhenhao nizhenshige dashadiao 666666666666666666666666666666666666666666666666666 </html>
14.444444
51
0.807692
fd46a1b67910cbff3eca3a5e42ec0e5e9ed3fc2d
148
h
C
Sources/TurboJpegC/include/TurboJpegC.h
meshula/TurboJpegSwift
ef3bc95fc1305fb83ad0bcfed002cb7b3c0a8be6
[ "BSD-3-Clause" ]
1
2021-07-10T17:04:57.000Z
2021-07-10T17:04:57.000Z
Sources/TurboJpegC/include/TurboJpegC.h
meshula/TurboJpegSwift
ef3bc95fc1305fb83ad0bcfed002cb7b3c0a8be6
[ "BSD-3-Clause" ]
null
null
null
Sources/TurboJpegC/include/TurboJpegC.h
meshula/TurboJpegSwift
ef3bc95fc1305fb83ad0bcfed002cb7b3c0a8be6
[ "BSD-3-Clause" ]
null
null
null
#include <stdio.h> #include <stdint.h> #include "jconfig.h" #include "jerror.h" #include "jmorecfg.h" #include "jpeglib.h" #include "turbojpeg.h"
14.8
22
0.702703
53c91a727a9800704954d7f2529ed8ef8bbe376a
468
java
Java
huatuo/src/main/java/com/huatuo/bean/SecKillSpecialListItemBean.java
sophiemarceau/HTJD_Android
0fdb5ff11cd45cb580a60fce6bc1d2114c115e21
[ "MIT" ]
null
null
null
huatuo/src/main/java/com/huatuo/bean/SecKillSpecialListItemBean.java
sophiemarceau/HTJD_Android
0fdb5ff11cd45cb580a60fce6bc1d2114c115e21
[ "MIT" ]
null
null
null
huatuo/src/main/java/com/huatuo/bean/SecKillSpecialListItemBean.java
sophiemarceau/HTJD_Android
0fdb5ff11cd45cb580a60fce6bc1d2114c115e21
[ "MIT" ]
null
null
null
package com.huatuo.bean; import java.util.ArrayList; /** * 获取时间轴内容列表 ,包括秒杀活动,活动专题,广告表,推荐服务 * */ public class SecKillSpecialListItemBean { // ID 专题ID ANS 64 M 专题ID // name 专题名称 ANS 64 M 专题名称 // icon 专题Icon ANS 256 M 专题图片 // minPrice 最低价格 ANS 64 M 最低价格 // stock 库存 N 64 M 库存 public String ID = "";//专题ID public String name = "";// name 专题名称 public String icon = "";// 专题Icon public String minPrice = "";// minPrice 最低价格 public String stock = "";// stock 库存 }
22.285714
45
0.675214
5ba00e07b847ce81c2ede16b822e88161b717452
319
kt
Kotlin
{{cookiecutter.repo_name}}/networking/src/main/java/{{cookiecutter.package_name_dir}}/networking/services/ApiService.kt
a3mani/A3AndroidTemplate
41a46070f558710cb595283d4ca78adb7069636a
[ "Unlicense" ]
13
2018-07-17T10:10:31.000Z
2022-01-18T13:03:31.000Z
{{cookiecutter.repo_name}}/networking/src/main/java/{{cookiecutter.package_name_dir}}/networking/services/ApiService.kt
a3mani/A3AndroidTemplate
41a46070f558710cb595283d4ca78adb7069636a
[ "Unlicense" ]
7
2019-01-17T17:12:27.000Z
2020-09-28T09:18:17.000Z
{{cookiecutter.repo_name}}/networking/src/main/java/{{cookiecutter.package_name_dir}}/networking/services/ApiService.kt
a3mani/A3AndroidTemplate
41a46070f558710cb595283d4ca78adb7069636a
[ "Unlicense" ]
14
2019-04-13T13:09:15.000Z
2022-03-16T07:58:14.000Z
package {{ cookiecutter.package_name }}.networking.services import {{ cookiecutter.package_name }}.networking.model.AuthToken import io.reactivex.rxjava3.core.Single import retrofit2.http.POST const val API_VERSION = "v1" interface ApiService { @POST("/$API_VERSION/login") fun login(): Single<AuthToken> }
22.785714
65
0.761755
8148a146c9511b73da95c05666f4d3880fc297fe
1,702
kt
Kotlin
src/main/kotlin/com/zup/br/orange/client/bcb/BCBClient.kt
guipernicone/orange-talents-02-template-pix-keymanager-grpc
645fd0597c42976ec1ac7ee7c43087f52db87ad5
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/com/zup/br/orange/client/bcb/BCBClient.kt
guipernicone/orange-talents-02-template-pix-keymanager-grpc
645fd0597c42976ec1ac7ee7c43087f52db87ad5
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/com/zup/br/orange/client/bcb/BCBClient.kt
guipernicone/orange-talents-02-template-pix-keymanager-grpc
645fd0597c42976ec1ac7ee7c43087f52db87ad5
[ "Apache-2.0" ]
1
2021-04-20T19:50:02.000Z
2021-04-20T19:50:02.000Z
package com.zup.br.orange.client.bcb import com.zup.br.orange.client.bcb.request.CreatePixClientRequest import com.zup.br.orange.client.bcb.request.DeletePixClientRequest import com.zup.br.orange.client.bcb.response.ConsultPixClientResponse import com.zup.br.orange.client.bcb.response.CreatePixClientResponse import com.zup.br.orange.client.bcb.response.DeletePixClientResponse import com.zup.br.orange.client.itau.ItauClient import com.zup.br.orange.client.itau.response.ConsultAccountResponse import io.micronaut.http.MediaType import io.micronaut.http.annotation.* import io.micronaut.http.client.annotation.Client import io.micronaut.retry.annotation.Fallback @Client("\${bcb.pix.url}/api/v1/pix/keys") interface BCBClient { @Post @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.APPLICATION_XML) fun createPix(@Body createPixClientRequest: CreatePixClientRequest): CreatePixClientResponse? @Delete("/{key}") @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.APPLICATION_XML) fun deletePix(key: String, @Body deletePixClientRequest: DeletePixClientRequest): DeletePixClientResponse? @Get("/{key}") @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.APPLICATION_XML) fun consultPix(key:String) : ConsultPixClientResponse? @Fallback class BCBClientFallBack: BCBClient { override fun createPix(@Body createPixClientRequest: CreatePixClientRequest): CreatePixClientResponse? = null override fun deletePix(key: String, @Body deletePixClientRequest: DeletePixClientRequest) : DeletePixClientResponse? = null override fun consultPix(key: String): ConsultPixClientResponse? = null } }
40.52381
117
0.789659
5b0208adbc9ae5b0fad83e5899c96297964ad188
286
h
C
src/fuzzer/primitives/int.h
xvenge00/fuzzer-dp
7e0fbffd181a287722bfd6e47646260ff272eb31
[ "MIT" ]
1
2021-07-26T12:57:52.000Z
2021-07-26T12:57:52.000Z
src/fuzzer/primitives/int.h
xvenge00/fuzzer-dp
7e0fbffd181a287722bfd6e47646260ff272eb31
[ "MIT" ]
1
2021-08-07T10:01:42.000Z
2021-08-07T10:01:42.000Z
src/fuzzer/primitives/int.h
xvenge00/fuzzer-dp
7e0fbffd181a287722bfd6e47646260ff272eb31
[ "MIT" ]
1
2021-07-21T14:33:19.000Z
2021-07-21T14:33:19.000Z
/* * Author: Adam Venger (xvenge00) * 2021 */ #ifndef CPP_INT_H #define CPP_INT_H #include <cinttypes> #include <vector> namespace primitives { extern std::vector<std::uint16_t> fuzz_uint16; extern std::vector<std::uint16_t> fuzz_uint16_bigger_complement; } #endif //CPP_INT_H
14.3
64
0.741259
40ae37e05f48d817df377f48c96d800669a2181b
2,492
html
HTML
index.html
DanJFletcher/electronic-calculator
20cea0657679bde688ab500c867df48238d0d6df
[ "MIT" ]
null
null
null
index.html
DanJFletcher/electronic-calculator
20cea0657679bde688ab500c867df48238d0d6df
[ "MIT" ]
2
2016-03-16T15:14:42.000Z
2016-03-17T14:15:21.000Z
index.html
DanJFletcher/electronic-calculator
20cea0657679bde688ab500c867df48238d0d6df
[ "MIT" ]
null
null
null
<!DOCTYPE html> <!-- HTML5 Hello world by kirupa - http://www.kirupa.com/html5/getting_your_feet_wet_html5_pg1.htm --> <html lang="en-us"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width; scale=1"> <title>Electronic Calculator</title> <link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <link rel="stylesheet" type="text/css" href="styles.css"> <script src="app.js"></script> </head> <body> <div class="container-fluid"> <div class="calculator"> <div class="case"> <h1>DanJFletcher</h1> <h2>ELECTRONIC CALCULATOR</h1> <div class="display"> <p id="display-text">0</p> </div> <div class="buttons-wrapper"> <div id="AC" class="button"> AC </div> <div id="CE" class="button"> CE </div> <div id="percent" class="button"> % </div> <div id="divide" class="button"> / </div> <div id="7" class="button"> 7 </div> <div id="8" class="button"> 8 </div> <div id="9" class="button"> 9 </div> <div id="multiply" class="button"> * </div> <div id="4" class="button"> 4 </div> <div id="5" class="button"> 5 </div> <div id="6" class="button"> 6 </div> <div id="minus" class="button"> - </div> <div id="1" class="button"> 1 </div> <div id="2" class="button"> 2 </div> <div id="3" class="button"> 3 </div> <div id="plus" class="button"> + </div> <div id="0" class="button"> 0 </div> <div id="point" class="button"> . </div> <div id="equals" class="button"> = </div> <footer>~ Created by Dan Fletcher ~</footer> </div> </div> </div> </div> </body> </html>
20.595041
111
0.416533
7da005b25d0965f502263c502204d5745866f62a
922
html
HTML
src/main/resources/templates/login.html
patrotom/corsys
658e880ff05a8a61eb8da1dbf1e59ade1656483e
[ "MIT" ]
null
null
null
src/main/resources/templates/login.html
patrotom/corsys
658e880ff05a8a61eb8da1dbf1e59ade1656483e
[ "MIT" ]
null
null
null
src/main/resources/templates/login.html
patrotom/corsys
658e880ff05a8a61eb8da1dbf1e59ade1656483e
[ "MIT" ]
null
null
null
<!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Corsys </title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <link rel="stylesheet" th:href="@{/css/css.css}" href="../static/css/css.css"/> <script type="text/javascript" src="../static/js/functions.js" th:src="@{/js/functions.js}"></script> </head> <body> <div class="form"> <form class="login-form" action="/perform_login" method="post"> <div> <img class="login-img" th:src="@{/img/icon.png}"/> </div> <label for="username">Uživateľské meno: </label> <input id="username" type="text" name="username"><br> <label for="password">Heslo: </label> <input id="password" type="password" name="password"><br> <button type="submit">Prihlásiť</button> <p class="message"><span th:text="${wrongPass}"></span></p> </form> </div> </body> </html>
32.928571
110
0.606291
70667cd83fca0415014fcb68906a6f0d765d4be2
3,726
go
Go
infra/api/api_auth_impl/redirect.go
SaveTheRbtz/toolbox
077c3d16303597bfe06a02ce3004dbd1336d5f1c
[ "MIT" ]
null
null
null
infra/api/api_auth_impl/redirect.go
SaveTheRbtz/toolbox
077c3d16303597bfe06a02ce3004dbd1336d5f1c
[ "MIT" ]
null
null
null
infra/api/api_auth_impl/redirect.go
SaveTheRbtz/toolbox
077c3d16303597bfe06a02ce3004dbd1336d5f1c
[ "MIT" ]
null
null
null
package api_auth_impl import ( "context" "errors" "github.com/watermint/toolbox/essentials/log/esl" "github.com/watermint/toolbox/infra/api/api_auth" "github.com/watermint/toolbox/infra/api/api_callback" "github.com/watermint/toolbox/infra/app" "github.com/watermint/toolbox/infra/control/app_control" "github.com/watermint/toolbox/infra/control/app_feature" "github.com/watermint/toolbox/infra/security/sc_random" "golang.org/x/oauth2" ) var ( ErrorOAuthSequenceStopped = errors.New("the oauth sequence stopped") ErrorOAuthFailure = errors.New("oauth failure") ) type OptInFeatureRedirect struct { app_feature.OptInStatus } func NewConsoleRedirect(c app_control.Control, peerName string, app api_auth.App) api_auth.Console { return &Redirect{ ctl: c, app: app, peerName: peerName, } } type Redirect struct { ctl app_control.Control app api_auth.App peerName string } func (z *Redirect) PeerName() string { return z.peerName } func (z *Redirect) Auth(scopes []string) (token api_auth.Context, err error) { l := z.ctl.Log().With(esl.Strings("scopes", scopes), esl.String("peerName", z.peerName)) rs := &RedirectService{ ctl: z.ctl, app: z.app, peerName: z.peerName, scopes: scopes, state: sc_random.MustGenerateRandomString(8), result: nil, token: nil, } cb := api_callback.New(z.ctl, rs, app.DefaultWebPort) l.Debug("Starting sequence") if err := cb.Flow(); err != nil { l.Debug("Failure on the flow", esl.Error(err)) return nil, err } done, result, err := rs.Result() if !done { l.Debug("RedirectService did not catch result") return nil, ErrorOAuthSequenceStopped } if !result { l.Debug("Auth failure", esl.Error(err)) if err != nil { return nil, err } else { return nil, ErrorOAuthFailure } } t := rs.Token() if t == nil { l.Debug("No token available") return nil, ErrorOAuthFailure } l.Debug("Auth success") return api_auth.NewContext(t, z.app.Config(scopes), z.peerName, scopes), nil } type RedirectService struct { ctl app_control.Control app api_auth.App peerName string scopes []string state string result *bool resultErr error redirectUrl string token *oauth2.Token } func (z *RedirectService) Token() *oauth2.Token { return z.token } func (z *RedirectService) Result() (done, result bool, err error) { if z.result == nil { return false, false, nil } else { return true, *z.result, z.resultErr } } func (z *RedirectService) Url(redirectUrl string) string { l := z.ctl.Log().With(esl.String("peerName", z.peerName), esl.Strings("scopes", z.scopes)) cfg := z.app.Config(z.scopes) url := cfg.AuthCodeURL( z.state, oauth2.SetAuthURLParam("client_id", cfg.ClientID), oauth2.SetAuthURLParam("response_type", "code"), oauth2.SetAuthURLParam("redirect_uri", redirectUrl), ) l.Debug("generated url", esl.String("url", url)) z.redirectUrl = redirectUrl return url } func (z *RedirectService) Verify(state, code string) bool { l := z.ctl.Log().With(esl.String("peerName", z.peerName), esl.Strings("scopes", z.scopes)) if z.state != state { l.Debug("invalid state (csrf token)", esl.String("given", state), esl.String("expected", z.state)) return false } cfg := z.app.Config(z.scopes) cfg.RedirectURL = z.redirectUrl l.Debug("exchange", esl.String("redirect", z.redirectUrl), esl.Any("cfg", cfg)) token, err := cfg.Exchange(context.Background(), code) if err != nil { l.Debug("Verification failure", esl.Error(err)) t := false z.token = nil z.result = &t z.resultErr = err return false } l.Debug("Verification success") t := true z.token = token z.result = &t return true }
24.513158
100
0.687332
0a2e64c8c94a70409614bd63c96d672b334f4606
112
ts
TypeScript
packages/topic-core/src/common/interfaces/writeable.ts
tbushinger/sequencer
b7fa2b17d84a008611f34a72a3cd9d22743aebe1
[ "MIT" ]
null
null
null
packages/topic-core/src/common/interfaces/writeable.ts
tbushinger/sequencer
b7fa2b17d84a008611f34a72a3cd9d22743aebe1
[ "MIT" ]
null
null
null
packages/topic-core/src/common/interfaces/writeable.ts
tbushinger/sequencer
b7fa2b17d84a008611f34a72a3cd9d22743aebe1
[ "MIT" ]
null
null
null
import { Path } from '../types/path'; export interface Writeable { set: (path: Path, value: any) => any; }
18.666667
41
0.616071
b93c119ccc5434c37003bf20473059a1b156b226
916
h
C
src/dlcs_macosx.h
deadline-cxn/dlstorm
4dec81a71af5f4bbf7daf227c5fd662b9c613e9c
[ "BSD-3-Clause" ]
null
null
null
src/dlcs_macosx.h
deadline-cxn/dlstorm
4dec81a71af5f4bbf7daf227c5fd662b9c613e9c
[ "BSD-3-Clause" ]
null
null
null
src/dlcs_macosx.h
deadline-cxn/dlstorm
4dec81a71af5f4bbf7daf227c5fd662b9c613e9c
[ "BSD-3-Clause" ]
null
null
null
/*************************************************************** ** DLSTORM Deadline's Code Storm Library ** /\ ** ---- D/L \---- ** \/ ** License: BSD ** Copyright: 2020 ** File: dlcs_macosx.h ** Description: DL Code Storm Header for MAC OSX ** Author: Seth Parson ** Twitter: @Sethcoder ** Website: www.sethcoder.com ** Email: defectiveseth@gmail.com ***************************************************************/ #ifndef _DLCS_MACOSX #define _DLCS_MACOSX ///////////////////////////////////////////////////////////////// // MAC OS X Defines and Includes #if (defined(__MACH__) && defined(__APPLE__)) #define DLCS_MACOSX #define DLCS_OS_STRING "Mac OSXS" #define DLCS_OS_WHICH DLCS_OS_MACOSX #define PATH_SEP '/' #define DLCS_SYSTEM_NONWINDOWS "dlcs_nonwindows.h" #endif // _DLCS_MACOS
30.533333
65
0.473799
9d44c0c69d6cb2523de98ff96d9ddb68437bed97
2,847
html
HTML
PreferredPlus/templates/base.html
toddwebsite/preffered_p_plus
a774ab34ef614c77b43b1ff1331f4ff26372d61a
[ "MIT" ]
null
null
null
PreferredPlus/templates/base.html
toddwebsite/preffered_p_plus
a774ab34ef614c77b43b1ff1331f4ff26372d61a
[ "MIT" ]
null
null
null
PreferredPlus/templates/base.html
toddwebsite/preffered_p_plus
a774ab34ef614c77b43b1ff1331f4ff26372d61a
[ "MIT" ]
null
null
null
{% load staticfiles %} <!DOCTYPE html> <html lang="{{ LANGUAGE_CODE }}"> <head> <meta charset="utf-8" /> <title>{% block head_title_base %}{% if SITE_NAME %}{{ SITE_NAME }} | {% endif %}{% block head_title %}{% endblock %}{% endblock %}</title> {% block viewport %} <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> {% endblock %} {% block styles %}{% endblock %} {% block html5shim %} <!-- HTML5 shim, for IE6-8 support of HTML elements --> <!--[if lt IE 9]> <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script> <![endif]--> {% endblock %} {% block extra_head_base %} <script defer src="https://use.fontawesome.com/releases/v5.0.4/js/all.js"></script> {% block extra_head %}{% endblock %} {% endblock %} </head> <body class="{% block body_class_base %}{% block body_class %}{% endblock %}{% endblock %}" id="{% block body_id %}{% endblock %}" {% block body_extra_attributes %}{% endblock %}> {% block topbar_base %} <header> <nav> <div class="topbar-container"> {% block topbar %} {% block site_brand %}<a href="{% url "home" %}">{{ SITE_NAME }}</a>{% endblock %} <button class="expand" type="button" data-toggle="collapse" data-target=".nav-container" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation"> <i class="fas fa-bars"></i> </button> <div class="nav-container" id="navbar"> {% block nav %}{% include "_nav.html" %}{% endblock %} {% block account_bar %}{% include "_account_bar.html" %}{% endblock %} </div> {% endblock %} </div> </nav> </header> {% endblock %} {% block body_base %} <main> {% block content_left %}{% endblock %} <section id="content-section"> <div id="content-body"> {% block body %}{% endblock %} </div> </section> {% block content_right %}{% endblock %} </main> {% endblock %} {% block footer_base %} <footer> <div> {% block footer %}{% endblock %} </div> </footer> {% endblock %} {% block scripts %}{% endblock %} {% block extra_body_base %} {% block extra_body %}{% endblock %} {% endblock %} </body> </html>
39
189
0.460133
6e8e02c0af65c31388fcf13fab6d47fd86cc93a9
568
sql
SQL
Database/MtaDB/MANTA_MTA/Tables/man_evn_bounceEvent.sql
simongh/MantaMTA
9648b7ef8152aa75984ebd308c8777f2c991f31b
[ "MIT" ]
21
2016-03-21T14:18:57.000Z
2021-09-07T21:43:02.000Z
Database/MtaDB/MANTA_MTA/Tables/man_evn_bounceEvent.sql
simongh/MantaMTA
9648b7ef8152aa75984ebd308c8777f2c991f31b
[ "MIT" ]
3
2016-06-27T20:08:48.000Z
2018-05-01T19:01:00.000Z
Database/MtaDB/MANTA_MTA/Tables/man_evn_bounceEvent.sql
simongh/MantaMTA
9648b7ef8152aa75984ebd308c8777f2c991f31b
[ "MIT" ]
13
2016-03-21T19:48:47.000Z
2018-11-16T16:05:17.000Z
CREATE TABLE [dbo].[man_evn_bounceEvent]( [evn_event_id] [int] NOT NULL, [evn_bounceCode_id] [int] NOT NULL, [evn_bounceType_id] [int] NOT NULL, [evn_bounceEvent_message] [nvarchar](max) COLLATE Latin1_General_CI_AS NOT NULL ) ON [PRIMARY] GO ALTER TABLE [dbo].[man_evn_bounceEvent] ADD CONSTRAINT [PK_man_evn_bounceEvent] PRIMARY KEY CLUSTERED ( [evn_event_id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO
35.5
174
0.737676
48fe6ea6ffadcf7725c8840a88a1f2fcd84ff3b3
698
swift
Swift
ORTUS/Modules/Schedule/ScheduleModuleBuilder.swift
ORTUS-Plus/ORTUS-Plus-iOS
dcc52221433b57aa61c673e737031ac5bb94b1e9
[ "MIT" ]
2
2020-10-01T09:22:23.000Z
2021-09-01T10:59:39.000Z
ORTUS/Modules/Schedule/ScheduleModuleBuilder.swift
ORTUS-Plus/ORTUS-Plus-iOS
dcc52221433b57aa61c673e737031ac5bb94b1e9
[ "MIT" ]
null
null
null
ORTUS/Modules/Schedule/ScheduleModuleBuilder.swift
ORTUS-Plus/ORTUS-Plus-iOS
dcc52221433b57aa61c673e737031ac5bb94b1e9
[ "MIT" ]
1
2020-02-22T12:26:02.000Z
2020-02-22T12:26:02.000Z
// // ScheduleModuleBuilder.swift // ORTUS // // Created by Firdavs Khaydarov on 25/03/19. // Copyright (c) 2019 Firdavs. All rights reserved. // class ScheduleModuleBuilder: ModuleBuilder { typealias M = ScheduleViewController typealias P = Any? static func build(with parameter: Any? = nil, customTransition transition: Transition? = nil) -> ScheduleViewController { let router = ScheduleRouter() let viewModel = ScheduleViewModel(router: router) let viewController = ScheduleViewController(viewModel: viewModel) router.viewController = viewController router.openTransition = transition return viewController } }
30.347826
125
0.696275
0bc0252815116754384ea2be1e2c636d3f4a2b1e
63,067
js
JavaScript
sdg_info.js
lucageo/sdgs_toolkit2
db9eaf027cfb10f0f747c1ba05ae935b51d04c9f
[ "CC-BY-4.0" ]
null
null
null
sdg_info.js
lucageo/sdgs_toolkit2
db9eaf027cfb10f0f747c1ba05ae935b51d04c9f
[ "CC-BY-4.0" ]
null
null
null
sdg_info.js
lucageo/sdgs_toolkit2
db9eaf027cfb10f0f747c1ba05ae935b51d04c9f
[ "CC-BY-4.0" ]
null
null
null
var groups=[{"id":1,"code":1,"title":"No poverty","name":"End poverty in all its forms everywhere","color":"#E5233D"},{"id":2,"code":2,"title":"Zero hunger","name":"End hunger, achieve food security and improved nutrition and promote sustainable agriculture","color":"#DDA73A"},{"id":3,"code":3,"title":"Good health and well-being","name":"Ensure healthy lives and promote well-being for all at all ages","color":"#4CA146"},{"id":4,"code":4,"title":"Quality education","name":"Ensure inclusive and equitable quality education and promote lifelong learning opportunities for all","color":"#C7212F"},{"id":5,"code":5,"title":"Gender equality","name":"Achieve gender equality and empower all women and girls","color":"#EF402D"},{"id":6,"code":6,"title":"Clean water and sanitation","name":"Ensure availability and sustainable management of water and sanitation for all","color":"#27BFE6"},{"id":7,"code":7,"title":"Affordable and clean energy","name":"Ensure access to affordable, reliable, sustainable and modern energy for all","color":"#FBC412"},{"id":8,"code":8,"title":"Decent work and economic energy","name":"Promote sustained, inclusive and sustainable economic growth, full and productive employment and decent\nwork for all","color":"#A31C44"},{"id":9,"code":9,"title":"Industry, innovation and infrastructure","name":"Build resilient infrastructure, promote inclusive and sustainable industrialization and foster innovation","color":"#F26A2E"},{"id":10,"code":10,"title":"Reduced inequalities","name":"Reduce inequality within and among countries","color":"#DE1768"},{"id":11,"code":11,"title":"Sustainable cities and communities","name":"Make cities and human settlements inclusive, safe, resilient and sustainable","color":"#f69c39"},{"id":12,"code":12,"title":"Responsible consumption and production","name":"Ensure sustainable consumption and production patterns","color":"#BF8D2C"},{"id":13,"code":13,"title":"Climate action","name":"Take urgent action to combat climate change and its impacts (Acknowledging that the United Nations\nFramework Convention on Climate Change is the primary international, intergovernmental forum for negotiating the\nglobal response to climate change.)","color":"#407F46"},{"id":14,"code":14,"title":"Life below water","name":"Conserve and sustainably use the oceans, seas and marine resources for sustainable development","color":"#1F97D4"},{"id":15,"code":15,"title":"Life on land","name":"Protect, restore and promote sustainable use of terrestrial ecosystems, sustainably manage forests, combat\ndesertification, and halt and reverse land degradation and halt biodiversity loss","color":"#59BA47"},{"id":16,"code":16,"title":"Peace, justice and strong institutions","name":"Promote peaceful and inclusive societies for sustainable development, provide access to justice for all and\nbuild effective, accountable and inclusive institutions at all levels","color":"#136A94"},{"id":17,"code":17,"title":"Partnerships for the goals","name":"Strengthen the means of implementation and revitalize the global partnership for sustainable development","color":"#14496B"}]; var sdgs= [ { "sdg_num":1, "targets_count":7, "sdg_name":"End poverty in all its forms everywhere", "targets":[ { "targetcode": "1.1", "targetname": "<span class='toast_target'>Target 1.1 </span>By 2030, eradicate extreme poverty for all people everywhere, currently measured as people living on less than $15 a day. ", "sdgnum": 1 }, { "targetcode": "1.2", "targetname": "<span class='toast_target'>Target 1.2</span>By 2030, reduce at least By half the proportion of men, women and children of all ages living in poverty in all its dimensions according to national definitions. ", "sdgnum": 1 } , { "targetcode": "1.3", "targetname": "<span class='toast_target'>Target 1.3</span> Implement nationally appropriate social protection systems and measures for all, including floors, and achieve substantial coverage of the poor and the vulnerable. ", "sdgnum": 1 } , { "targetcode": "1.4", "targetname": "<span class='toast_target'>Target 1.4</span>By 2030, ensure that all menand women, in particular the poor and the vulnerable, have equal rights to economic resources, as well as access to basic services, ownership and control over land and other forms of property, inheritance, natural resources, appropriate new technology and financial services, including microfinance. ", "sdgnum": 1 } , { "targetcode": "1.5", "targetname": "<span class='toast_target'>Target 1.5</span>By 2030, build the resilience of the poor and those in vulnerable situationsand reduce their exposure and vulnerability to climate-related extreme events and other economic, social and environmental shocks and disasters. ", "sdgnum": 1 } , { "targetcode": "1.a", "targetname": "<span class='toast_target'>Target 1.a</span> Ensure significant mobilization of resources from a variety of sources, including through enhanced development cooperation, in order to provide adequate and predictable means for developing countries, in particular least developed countries, to implement programmes and policies to end poverty in all its dimensions. ", "sdgnum": 1 } , { "targetcode": "1.b", "targetname": "<span class='toast_target'>Target 1.b</span> Create sound policy frameworks at the national, regional and international levels, based on pro-poor and gender sensitive development strategies, to support accelerated investment in poverty eradication actions. ", "sdgnum": 1 } ] } , { "sdg_num":2, "targets_count":8, "sdg_name":"End hunger, achieve food security and improved nutrition and promote sustainable agriculture", "targets":[ { "targetcode": "2.1", "targetname": "<span class='toast_target'>Target 2.1</span>By 2030, end hunger and ensure accessy all people, in particular the poor and people in vulnerable situations, including infants, to safe, nutritious and sufficient food all year round. ", "sdgnum": 2 } , { "targetcode": "2.2", "targetname": "<span class='toast_target'>Target 2.2</span>By 2030, end all forms of malnutrition, including achieving, </span>By 2025, the internationally agreed targets on stunting and wasting in children under 5 years of age, and address the nutritional needs of adolescent girls, pregnant and lactating women and older persons. ", "sdgnum": 2 } , { "targetcode": "2.3", "targetname": "<span class='toast_target'>Target 2.3</span>By 2030, double the agricultural productivity and incomes of small-scale food producers, in particular women, indigenous peoples, family farmers, pastoralists and fishers, including through secure and equal access to land, other productive resources and inputs, knowledge, financial services, markets and opportunities for value addition and non-farm employment. ", "sdgnum": 2 } , { "targetcode": "2.4", "targetname": "<span class='toast_target'>Target 2.4</span>By 2030, ensure sustainable food production systems and implement resilient agricultural practices that increase productivity and production, that help maintain ecosystems, that strengthen capacity for adaptation to climate change, extreme weather, drought, flooding and other disasters and that progressively improve land and soil quality. ", "sdgnum": 2 } , { "targetcode": "2.5", "targetname": "<span class='toast_target'>Target 2.5</span>By 2020, maintain the genetic diversity of seeds, cultivated plants and farmed and domesticated animals and their related wild species, including through soundly managed and diversified seed and plant banks at the national, regional and international levels, and ensure access to and fair and equitable sharing of benefits arising from the utilization of genetic resources and associated traditional knowledge, as internationally agreed. ", "sdgnum": 2 } , { "targetcode": "2.a", "targetname": "<span class='toast_target'>Target 2.a</span> Increase investment, including through enhanced international cooperation, in rural infrastructure, agricultural research and extension services, technology development and plant and livestock gene banks in order to enhance agricultural productive capacity in developing countries, in particular least developed countries. ", "sdgnum": 2 } , { "targetcode": "2.b", "targetname": "<span class='toast_target'>Target 2.b</span> Correct and prevent trade restrictions and distortions in world agricultural markets, including through the parallel elimination of all forms of agricultural export subsidies and all export measures with equivalent effect, in accordance with the mandate of the Doha Development Round. ", "sdgnum": 2 } , { "targetcode": "2.c", "targetname": "<span class='toast_target'>Target 2.c</span> Adopt measures to ensure the proper functioning of food commodity markets and their derivatives and facilitate timely access to market information, including on food reserves, in order to help limit extreme food price volatility. ", "sdgnum": 2 } ] } , { "sdg_num":3, "targets_count":13, "sdg_name":"Ensure healthy lives and promote well-being for all at all ages", "targets":[ { "targetcode": "3.1", "targetname": "<span class='toast_target'>Target 3.1</span>By 2030, reduce the global maternal mortality ratio to less than 70 per 100,000 live births. ", "sdgnum": 3 } , { "targetcode": "3.2", "targetname": "<span class='toast_target'>Target 3.2</span>By 2030, end preventable deaths of newborns and children under 5 years of age, with all countries aiming to reduce neonatal mortality to at least as low as 12 per 1,000 live births and under-5 mortality to at least as low as 25 per 1,000 live births. ", "sdgnum": 3 } , { "targetcode": "3.3", "targetname": "<span class='toast_target'>Target 3.3</span>By 2030, end the epidemics of AIDS, tuberculosis, malaria and neglected tropical diseases and combat hepatitis, water-borne diseases and other communicable diseases. ", "sdgnum": 3 } , { "targetcode": "3.4", "targetname": "<span class='toast_target'>Target 3.4</span>By 2030, reduce By one third premature mortality from non- communicable diseases through prevention and treatment and promote mental health and well being. ", "sdgnum": 3 } , { "targetcode": "3.5", "targetname": "<span class='toast_target'>Target 3.5</span> Strengthen the prevention and treatment of substance abuse, including narcotic drug abuse and harmful use of alcohol ", "sdgnum": 3 } , { "targetcode": "3.6", "targetname": "<span class='toast_target'>Target 3.6</span>By 2020, halve the number ofglobal deaths and injuries from road traffic accidents ", "sdgnum": 3 } , { "targetcode": "3.7", "targetname": "<span class='toast_target'>Target 3.7</span>By 2030, ensure universal access to sexual and reproductive health-care services, including for family planning, information and education, and the integration of reproductive health into national strategies and programmes. ", "sdgnum": 3 } , , { "targetcode": "3.8", "targetname": "<span class='toast_target'>Target 3.8</span> Achieve universal health coverage, including financial risk protection,access to quality essential health-care services and access to safe, effective, qualityand affordable essential medicines and vaccines for all. ", "sdgnum": 3 } , { "targetcode": "3.9", "targetname": "<span class='toast_target'>Target 3.9</span>By 2030, substantially reduce the number of deaths and illnesses from hazardous chemicals and air, water and soil pollution and contamination. ", "sdgnum": 3 } , { "targetcode": "3.a", "targetname": "<span class='toast_target'>Target 3.a</span> Strengthen the implementation of the World Health Organization Framework Convention on Tobacco Control in all countries, as appropriate. ", "sdgnum": 3 } , { "targetcode": "3.b", "targetname": "<span class='toast_target'>Target 3.b</span>Support the research and development of vaccines and medicines for the communicable and non-communicable diseases that primarily affect developing countries, provide access to affordable essential medicines and vaccines, in accordance with the Doha Declaration on the TRIPS Agreement and Public Health, which affirms the right of developing countries to use to the full the provisions in the Agreement on Trade-Related Aspects of Intellectual Property Rights regarding flexibilities to protect public health, and, in particular, provide access to medicines for all. ", "sdgnum": 3 } , { "targetcode": "3.c", "targetname": "<span class='toast_target'>Target 3.c</span> Substantially increase health financing and the recruitment, development, training and retention of the health workforce in developing countries, especially in least developed countries and small island developing States. ", "sdgnum": 3 } , { "targetcode": "3.d", "targetname": "<span class='toast_target'>Target 3.d </span>Strengthen the capacity of allcountries, in particular developing countries,for early warning, risk reduction and management of national and global health risks. ", "sdgnum": 3 } ] } , { "sdg_num":4, "targets_count":10, "sdg_name":"Ensure inclusive and equitable quality education and promote lifelong learning opportunities for all", "targets":[ { "targetcode": "4.1", "targetname": "<span class='toast_target'>Target 4 </span>By 2030, ensure that all girls and boys complete free, equitable and quality primary and secondary education leading to relevant and effective learning outcomes. ", "sdgnum": 4 } , { "targetcode": "4.2", "targetname": "<span class='toast_target'>Target 4 </span>By 2030, ensure that all girls and boys have access to quality early childhood development, care and pre- primary education so that they are ready for primary education. ", "sdgnum": 4 } , { "targetcode": "4.3", "targetname": "<span class='toast_target'>Target 4.3 </span>By 2030, ensure equal access for all women and men to affordable and quality technical, vocational and tertiary education, including university ", "sdgnum": 4 } , { "targetcode": "4.4", "targetname": "<span class='toast_target'>Target 4.4 </span>By 2030, substantially increase the number of youth and adults whohave relevant skills, including technical and vocational skills, for employment, decent jobs and entrepreneurship ", "sdgnum": 4 } , { "targetcode": "4.5", "targetname": "<span class='toast_target'>Target 4.5 </span>By 2030, eliminate gender disparities in education and ensure equal access to all levels of education and vocational training for the vulnerable, including persons with disabilities, indigenous peoples and children in vulnerable situations. ", "sdgnum": 4 } , { "targetcode": "4.6", "targetname": "<span class='toast_target'>Target 4.6 </span>By 2030, ensure that all youthand a substantial proportion of adults, bothmen and women, achieve literacy and numeracy. ", "sdgnum": 4 } , { "targetcode": "4.7", "targetname": "<span class='toast_target'>Target 4.7 </span>By 2030, ensure that all learners acquire the knowledge and skills needed to promote sustainable development, including, among others, through education for sustainable development and sustainable lifestyles, human rights, gender equality, promotion of a culture of peace and non-violence, global citizenship and appreciation of cultural diversity and of culture's contribution to sustainable development. ", "sdgnum": 4 } , { "targetcode": "4.a", "targetname": "<span class='toast_target'>Target 4.a Build and upgrade education facilities that are child, disability and gender sensitive and provide safe, non-violent, inclusive and effective learning environments for all ", "sdgnum": 4 } , { "targetcode": "4.b", "targetname": "<span class='toast_target'>Target 4.b </span>By 2020, substantially expand globally the number of scholarships available to developing countries, in particular least developed countries, small island developing States and African countries, for enrolment in higher education, including vocational training and information and communications technology, technical, engineering and scientific programmes, in developed countries and other developing countries. ", "sdgnum": 4 } , { "targetcode": "4.c", "targetname": "<span class='toast_target'>Target 4.c </span>By 2030, substantially increase the supply of qualified teachers, including through international cooperation for teacher training in developing countries, especially least developed countries and small island developing States ", "sdgnum": 4 } ] } , { "sdg_num":5, "targets_count":9, "sdg_name":"Achieve gender equality and empower all women and girls", "targets":[ { "targetcode": "5.1", "targetname": "<span class='toast_target'>Target 5.1</span> End all forms of discriminationagainst all women and girls everywhere. ", "sdgnum": 5 } , { "targetcode": "5.2", "targetname": "<span class='toast_target'>Target 5.2 </span>Eliminate all forms of violence against all women and girls in the public and private spheres, including trafficking and sexual and other types of exploitation. ", "sdgnum": 5 } , { "targetcode": "5.3", "targetname": "<span class='toast_target'>Target 5.3</span> Eliminate all harmful practices, such as child, early and forced marriage and female genital mutilation. ", "sdgnum": 5 } , { "targetcode": "5.4", "targetname": "<span class='toast_target'>Target 5.4</span> Recognize and value unpaid care and domestic work through the provision of public services, infrastructure and social protection policies and the promotion of shared responsibility within the household and the family as nationally appropriate. ", "sdgnum": 5 } , { "targetcode": "5.5", "targetname": "<span class='toast_target'>Target 5.5</span> Ensure women's full and effective participation and equal opportunities for leadership at all levels of decision-making in political, economic and public life. ", "sdgnum": 5 } , { "targetcode": "5.6", "targetname": "<span class='toast_target'>Target 5.6</span> Ensure universal access to sexual and reproductive health and reproductive rights as agreed in accordance with the Programme of Action of the International Conference on Population and Development and the Beijing Platform for Action and the outcome documents of their review conferences. ", "sdgnum": 5 } , { "targetcode": "5.a", "targetname": "<span class='toast_target'>Target 5.a</span> Undertake reforms to give women equal rights to economic resources,as well as access to ownership and control over land and other forms of property, financial services, inheritance and natural resources, in accordance with national laws. ", "sdgnum": 5 } , { "targetcode": "5.b", "targetname": "<span class='toast_target'>Target 5.b</span> Enhance the use of enablingtechnology, in particular information and communications technology, to promote the empowerment of women. ", "sdgnum": 5 } , { "targetcode": "5.c", "targetname": "<span class='toast_target'>Target 5.c Adopt</span> and strengthen sound policies and enforceable legislation for the promotion of gender equality and the empowerment of all women and girls at all levels. ", "sdgnum": 5 } ] } , { "sdg_num":6, "targets_count":8, "sdg_name":"Ensure availability and sustainable management of water and sanitation for all", "targets":[ { "targetcode": "6.1", "targetname": "<span class='toast_target'>Target 6.1 </span>By 2030, achieve universal and equitable access to safe and affordable drinking water for all. ", "sdgnum": 6 } , { "targetcode": "6.2", "targetname": "<span class='toast_target'>Target 6.2 </span>By 2030, achieve access to adequate and equitable sanitation and hygiene for all and end open defecation, paying special attention to the needs of women and girls and those in vulnerable situations. ", "sdgnum": 6 } , { "targetcode": "6.3", "targetname": "<span class='toast_target'>Target 6.3 </span>By 2030, improve water quality. By reducing pollution, eliminating dumping and minimizing release of hazardous chemicals and materials, halving the proportion of untreated wastewater and substantially increasing recycling and safe reuse globally. ", "sdgnum": 6 } , { "targetcode": "6.4", "targetname": "<span class='toast_target'>Target 6.4 </span>By 2030, substantially increase water-use efficiency across all sectors and ensure sustainable withdrawals and supply of freshwater to address water scarcity and substantially reduce the number of people suffering from water scarcity. ", "sdgnum": 6 } , { "targetcode": "6.5", "targetname": "<span class='toast_target'>Target 6.5 </span>By 2030, implement integrated water resources management at all levels, including through transboundary cooperation as appropriate ", "sdgnum": 6 } , { "targetcode": "6.6", "targetname": "<span class='toast_target'>Target 6.6 </span>By 2020, protect and restore water-related ecosystems, including mountains, forests, wetlands, rivers, aquifers and lakes. ", "sdgnum": 6 } , { "targetcode": "6.a", "targetname": "<span class='toast_target'>Target 6.a </span>By 2030, expand international cooperation and capacity-building support todeveloping countries in water- and sanitationrelated activities and programmes, including water harvesting, desalination, water efficiency, wastewater treatment, recycling and reuse technologies ", "sdgnum": 6 } , { "targetcode": "6.b", "targetname": "<span class='toast_target'>Target 6.b</span> Support and strengthen the participation of local communities in improving water and sanitation management. ", "sdgnum": 6 } ] } , { "sdg_num":7, "targets_count":5, "sdg_name":"Ensure access to affordable, reliable, sustainable and modern energy for all", "targets":[ { "targetcode": "7.1", "targetname": "<span class='toast_target'>Target 7.1 </span>By 2030, ensure universal access to affordable, reliable and modern energy services ", "sdgnum": 7 } , { "targetcode": "7.2", "targetname": "<span class='toast_target'>Target 7.2 </span>By 2030, increase substantially the share of renewable energy in the global energy mix ", "sdgnum": 7 } , { "targetcode": "7.3", "targetname": "<span class='toast_target'>Target 7.3 </span>By 2030, double the global rate of improvement in energy efficiency ", "sdgnum": 7 } , { "targetcode": "7.a", "targetname": "<span class='toast_target'>Target 7.a </span>By 2030, enhance international cooperation to facilitate accessto clean energy research and technology, including renewable energy, energy efficiency and advanced and cleaner fossil- fuel technology, and promote investment in energy infrastructure and clean energy technology ", "sdgnum": 7 } , { "targetcode": "7.b", "targetname": "<span class='toast_target'>Target 7.b </span>By 2030, expand infrastructure and upgrade technology for supplying modern and sustainable energy services for all in developing countries, in particular least developed countries and small island developing States ", "sdgnum": 7 } ] } , { "sdg_num":8, "targets_count":12, "sdg_name":"Promote sustained, inclusive and sustainable economic growth, full and productive employment and decent\nwork for all", "targets":[ { "targetcode": "8.1", "targetname": "<span class='toast_target'>Target 8.1</span> Sustain per capita economic growth in accordance with national circumstances and, in particular, at least 7 per cent gross domestic product growth per annum in the least developed countries ", "sdgnum": 8 } , { "targetcode": "8.2", "targetname": "<span class='toast_target'>Target 8.2</span> Achieve higher levels of economic productivity through diversification, technological upgrading and innovation, including through a focus on high- value-added and labour-intensive sectors ", "sdgnum": 8 } , { "targetcode": "8.3", "targetname": "<span class='toast_target'>Target 8.3</span> Promote development- oriented policies that support productive activities, decent job creation, entrepreneurship, creativity and innovation, and encourage the formalization and growth of micro-, small- and medium-sized enterprises, including through access to financial services ", "sdgnum": 8 } , { "targetcode": "8.4", "targetname": "<span class='toast_target'>Target 8.4</span> Improve progressively, through 2030, global resource efficiency in consumption and production and endeavour to decouple economic growth from environmental degradation, in accordance with the 10-year framework of programmes on sustainable consumption and production, with developed countries taking the lead ", "sdgnum": 8 } , { "targetcode": "8.5", "targetname": "<span class='toast_target'>Target 8.5 </span>By 2030, achieve full and productive employment and decent work forall women and men, including for young people and persons with disabilities, and equal pay for work of equal value ", "sdgnum": 8 } , { "targetcode": "8.6", "targetname": "<span class='toast_target'>Target 8.6 </span>By 2020, substantially reduce the proportion of youth not in employment, education or training ", "sdgnum": 8 } , { "targetcode": "8.7", "targetname": "<span class='toast_target'>Target 8.7</span> Take immediate and effective measures to eradicate forced labour, end modern slavery and human trafficking and secure the prohibition and elimination of the worst forms of child labour, including recruitment and use of child soldiers, and </span>By 2025 end child labour in all its forms. ", "sdgnum": 8 } , { "targetcode": "8.8", "targetname": "<span class='toast_target'>Target 8.8</span> Protect labour rights and promote safe and secure working environments for all workers, including migrant workers, in particular women migrants, and those in precarious employment ", "sdgnum": 8 } , { "targetcode": "8.9", "targetname": "<span class='toast_target'>Target 8.9 </span>By 2030, devise and implement policies to promote sustainable tourism that creates jobs and promotes localculture and products ", "sdgnum": 8 }, { "targetcode": "8.10", "targetname": "<span class='toast_target'>Target 8.10</span> Strengthen the capacity of domestic financial institutions to encourage and expand access to banking, insurance and financial services for all ", "sdgnum": 8 } , { "targetcode": "8.a", "targetname": "<span class='toast_target'>Target 8.a</span> Increase Aid for Trade support for developing countries, in particular least developed countries, including through the Enhanced Integrated Framework for Trade-Related Technical Assistance to Least Developed Countries ", "sdgnum": 8 } , { "targetcode": "8.b", "targetname": "<span class='toast_target'>Target 8.b </span>By 2020, develop and operationalize a global strategy for youth employment and implement the Global Jobs Pact of the International Labour Organization ", "sdgnum": 8 } ] } , { "sdg_num":9, "targets_count":8, "sdg_name":"Build resilient infrastructure, promote inclusive and sustainable industrialization and foster innovation", "targets":[ { "targetcode": "9.a", "targetname": "<span class='toast_target'>Target 9.a</span> Facilitate sustainable and resilient infrastructure development in developing countries through enhanced financial, technological and technical support to African countries, least developed countries, landlocked developing countries and small island developing States ", "sdgnum": 9 } , { "targetcode": "9.b", "targetname": "<span class='toast_target'>Target 9.b</span> Support domestic technologydevelopment, research and innovation in developing countries, including </span>By ensuring a conducive policy environment for, inter alia, industrial diversification and value addition to commodities ", "sdgnum": 9 } , { "targetcode": "9.c", "targetname": "<span class='toast_target'>Target 9.c</span> Significantly increase accessto information and communications technology and strive to provide universal and affordable access to the Internet in least developed countries </span>By 2020 ", "sdgnum": 9 } , { "targetcode": "9.1", "targetname": "<span class='toast_target'>Target 9.1</span> Develop quality, reliable, sustainable and resilient infrastructure, including regional and transborder infrastructure, to support economic development and human well-being, with a focus on affordable and equitable access for all ", "sdgnum": 9 } , { "targetcode": "9.2", "targetname": "<span class='toast_target'>Target 9.2</span> Promote inclusive and sustainable industrialization and, by 2030, significantly raise industry's share of employment and gross domestic product, in line with national circumstances, and double its share in least developed countries ", "sdgnum": 9 } , { "targetcode": "9.3", "targetname": "<span class='toast_target'>Target 9.3</span> Increase the access of small- scale industrial and other enterprises, in particular in developing countries, to financial services, including affordable credit, and their integration into value chains and markets ", "sdgnum": 9 } , { "targetcode": "9.4", "targetname": "<span class='toast_target'>Target 9.4 </span>By 2030, upgrade infrastructure and retrofit industries to make them sustainable, with increased resource- use efficiency and greater adoption of clean and environmentally sound technologies and industrial processes, with all countries taking action in accordance with their respective capabilities ", "sdgnum": 9 } , { "targetcode": "9.5", "targetname": "<span class='toast_target'>Target 9.5</span> Enhance scientific research, upgrade the technological capabilities of industrial sectors in all countries, in particular developing countries, including, </span>By 2030, encouraging innovation and substantially increasing the number of research and development workers per 1 million people and public and private research and development spending ", "sdgnum": 9 } ] } , { "sdg_num":10, "targets_count":10, "sdg_name":"Reduce inequality within and among countries", "targets":[ { "targetcode": "10.1", "targetname": "<span class='toast_target'>Target 10.1 </span>By 2030, progressively achieve and sustain income growth of the bottom 40 per cent of the population at a rate higher than the national average ", "sdgnum": 10 } , { "targetcode": "10.2", "targetname": "<span class='toast_target'>Target 10.2 </span>By 2030, empower and promote the social, economic and political inclusion of all, irrespective of age, sex, disability, race, ethnicity, origin, religion or economic or other status ", "sdgnum": 10 } , { "targetcode": "10.3", "targetname": "<span class='toast_target'>Target 10.3</span> Ensure equal opportunity and reduce inequalities of outcome, including </span>By eliminating discriminatory laws, policies and practices and promoting appropriate legislation, policies and action in this regard ", "sdgnum": 10 } , { "targetcode": "10.4", "targetname": "<span class='toast_target'>Target 10.4</span> Adopt policies, especially fiscal, wage and social protection policies, and progressively achieve greater equality ", "sdgnum": 10 } , { "targetcode": "10.5", "targetname": "<span class='toast_target'>Target 10.5</span> Improve the regulation andmonitoring of global financial markets and institutions and strengthen the implementation of such regulations ", "sdgnum": 10 } , { "targetcode": "10.6 ", "targetname": "<span class='toast_target'>Target 10.6</span> Ensure enhanced representation and voice for developing countries in decision-making in global international economic and financial institutions in order to deliver more effective, credible, accountable and legitimate institutions ", "sdgnum": 10 } , { "targetcode": "10.7", "targetname": "<span class='toast_target'>Target 10.7</span>Facilitate orderly, safe, regular and responsible migration and mobility of people, including through the implementation of planned and well- managed migration policies ", "sdgnum": 10 } , { "targetcode": "10.a", "targetname": "<span class='toast_target'>Target 10.a</span> Implement the principle of special and differential treatment for developing countries, in particular least developed countries, in accordance with World Trade Organization agreements ", "sdgnum": 10 } , { "targetcode": "10.b", "targetname": "<span class='toast_target'>Target 10.b</span> Encourage official development assistance and financial flows, including foreign direct investment, to States where the need is greatest, in particular least developed countries, African countries, small island developing States and landlocked developing countries, in accordance with their national plans and programmes ", "sdgnum": 10 } , { "targetcode": "10.c", "targetname": "<span class='toast_target'>Target 10.c </span>By 2030, reduce to less than3 per cent the transaction costs of migrant remittances and eliminate remittance corridors with costs higher than 5 per cent ", "sdgnum": 10 } ] } , { "sdg_num":11, "targets_count":10, "sdg_name":"Make cities and human settlements inclusive, safe, resilient and sustainable", "targets":[ { "targetcode": "11.1", "targetname": "<span class='toast_target'>Target 11.1 </span>By 2030, ensure access for all to adequate, safe and affordable housing and basic services and upgrade slums ", "sdgnum": 11 } , { "targetcode": "11.2", "targetname": "<span class='toast_target'>Target 11.2 </span>By 2030, provide access to safe, affordable, accessible and sustainable transport systems for all, improving road safety, notably </span>By expanding public transport, with special attention to the needs of those in vulnerable situations, women, children, persons with disabilities and older persons ", "sdgnum": 11 } , { "targetcode": "11.3", "targetname": "<span class='toast_target'>Target 11.3 </span>By 2030, enhance inclusive and sustainable urbanization and capacity for participatory, integrated and sustainable human settlement planning and management in all countries ", "sdgnum": 11 } , { "targetcode": "11.4", "targetname": "<span class='toast_target'>Target 11.4 Strengthen efforts to protect and safeguard the world's cultural and natural heritage ", "sdgnum": 11 } , { "targetcode": "11.5", "targetname": "<span class='toast_target'>Target 11.5 </span>By 2030, significantly reduce the number of deaths and the number of people affected and substantially decrease the direct economic losses relative to global gross domestic product caused </span>By disasters, including water-related disasters, with a focus on protecting the poor and people in vulnerable situations ", "sdgnum": 11 } , { "targetcode": "11.6", "targetname": "<span class='toast_target'>Target 11.6 </span>By 2030, reduce the adverse per capita environmental impact of cities, including </span>By paying special attention to air quality and municipal and other waste management ", "sdgnum": 11 } , { "targetcode": "11.7", "targetname": "<span class='toast_target'>Target 11.7 </span>By 2030, provide universal access to safe, inclusive and accessible, greenand public spaces, in particular for women and children, older persons and persons with disabilities ", "sdgnum": 11 } , { "targetcode": "11.a", "targetname": "<span class='toast_target'>Target 11.a </span>Support positive economic, social and environmental links between urban, peri-urban and rural areas </span>By strengthening national and regional development planning ", "sdgnum": 11 } , { "targetcode": "11.b", "targetname": "<span class='toast_target'>Target 11.b </span>By 2020, substantially increase the number of cities and human settlements adopting and implementing integrated policies and plans towards inclusion, resource efficiency, mitigation and adaptation to climate change, resilience to disasters, and develop and implement, in line with the Sendai Framework for Disaster Risk Reduction 2015-2030, holistic disaster risk management at all levels ", "sdgnum": 11 } , { "targetcode": "11.c", "targetname": "<span class='toast_target'>Target 11.c</span> Support least developed countries, including through financial and technical assistance, in building sustainable and resilient buildings utilizing local materials ", "sdgnum": 11 } ] } , { "sdg_num":12, "targets_count":11, "sdg_name":"Ensure sustainable consumption and production patterns", "targets":[ { "targetcode": "12.1", "targetname": "<span class='toast_target'>Target 12.1</span> Implement the 10-year framework of programmes on sustainable consumption and production, all countries taking action, with developed countries taking the lead, taking into account the development and capabilities of developing countries ", "sdgnum": 12 } , { "targetcode": "12.2", "targetname": "<span class='toast_target'>Target 12.2 </span>By 2030, achieve the sustainable management and efficient use of natural resources ", "sdgnum": 12 } , { "targetcode": "12.3", "targetname": "<span class='toast_target'>Target 12.3 </span>By 2030, halve per capita global food waste at the retail and consumer levels and reduce food losses along production and supply chains, including post- harvest losses ", "sdgnum": 12 } , { "targetcode": "12.4", "targetname": "<span class='toast_target'>Target 12.4 </span>By 2020, achieve the environmentally sound management of chemicals and all wastes throughout their life cycle, in accordance with agreed international frameworks, and significantly reduce their release to air, water and soil in order to minimize their adverse impacts on human health and the environment ", "sdgnum": 12 } , { "targetcode": "12.5", "targetname": "<span class='toast_target'>Target 12.5 </span>By 2030, substantially reduce waste generation through prevention, reduction, recycling and reuse ", "sdgnum": 12 } , { "targetcode": "12.6", "targetname": "<span class='toast_target'>Target 12.6</span> Encourage companies, especially large and transnational companies, to adopt sustainable practices and to integrate sustainability information into their reporting cycle ", "sdgnum": 12 } , { "targetcode": "12.7", "targetname": "<span class='toast_target'>Target 12.7</span> Promote public procurement practices that are sustainable, in accordance with national policies and priorities ", "sdgnum": 12 } , { "targetcode": "12.8", "targetname": "<span class='toast_target'>Target 12.8 </span>By 2030, ensure that people everywhere have the relevant information and awareness for sustainable development and lifestyles in harmony with nature ", "sdgnum": 12 } , { "targetcode": "12.a", "targetname": "<span class='toast_target'>Target 12.a</span> Support developing countries to strengthen their scientific and technological capacity to move towards more sustainable patterns of consumption and production ", "sdgnum": 12 } , { "targetcode": "12.b", "targetname": "<span class='toast_target'>Target 12.b</span> Develop and implement tools to monitor sustainable development impacts for sustainable tourism that creates jobs and promotes local culture and products ", "sdgnum": 12 } , { "targetcode": "12.c", "targetname": "<span class='toast_target'>Target 12.c</span>Rationalize inefficient fossil-fuel subsidies that encourage wasteful consumption </span>By removing market distortions, in accordance with national circumstances, including </span>By restructuring taxation and phasing out those harmful subsidies, where they exist, to reflect their environmental impacts, taking fully into account the specific needs and conditions of developing countries and minimizing the possible adverse impacts on their development in a manner that protects the poor and the affected communities ", "sdgnum": 12 } ] } , { "sdg_num":13, "targets_count":5, "sdg_name":"Take urgent action to combat climate change and its impacts (Acknowledging that the United Nations\nFramework Convention on Climate Change is the primary international, intergovernmental forum for negotiating the\nglobal response to climate change.)", "targets":[ { "targetcode": "13.1", "targetname": "<span class='toast_target'>Target 13.1</span>Strengthen resilience and adaptive capacity to climate-related hazards and natural disasters in all countries ", "sdgnum": 13 } , { "targetcode": "13.2", "targetname": "<span class='toast_target'>Target 13.2</span> Integrate climate change measures into national policies, strategies and planning ", "sdgnum": 13 } , { "targetcode": "13.3", "targetname": "<span class='toast_target'>Target 13.3</span> Improve education, awareness-raising and human and institutional capacity on climate change mitigation, adaptation, impact reduction and early warning ", "sdgnum": 13 } , { "targetcode": "13.a", "targetname": "<span class='toast_target'>Target 13.a</span> Implement the commitment undertaken by developed-country parties to the United Nations Framework Convention on Climate Change to a goal of mobilizing jointly $100 billion annually </span>By 2020 from all sources to address the needs of developing countries in the context of meaningful mitigation actions and transparency on implementation and fully operationalize the Green Climate Fund through its capitalization as soon as possible ", "sdgnum": 13 } , { "targetcode": "13.b ", "targetname": "<span class='toast_target'>Target 13.b</span> Promote mechanisms for raising capacity for effective climate change- related planning and management in least developed countries and small island developing States, including focusing on women, youth and local and marginalized communities ", "sdgnum": 13 } ] } , { "sdg_num":14, "targets_count":10, "sdg_name":"Conserve and sustainably use the oceans, seas and marine resources for sustainable development", "targets":[ { "targetcode": "14.1", "targetname": "<span class='toast_target'>Target 14.1 </span>By 2025, prevent and significantly reduce marine pollution of all kinds, in particular from land-based activities, including marine debris and nutrient pollution ", "sdgnum": 14 } , { "targetcode": "14.2", "targetname": "<span class='toast_target'>Target 14.2 </span>By 2020, sustainably manage and protect marine and coastal ecosystems to avoid significant adverse impacts, including </span>By strengthening their resilience, and take action for their restoration in order to achieve healthy and productive oceans ", "sdgnum": 14 } , { "targetcode": "14.3", "targetname": "<span class='toast_target'>Target 14.3</span> Minimize and address the impacts of ocean acidification, including through enhanced scientific cooperation at all levels ", "sdgnum": 14 } , { "targetcode": "14.4", "targetname": "<span class='toast_target'>Target 14.4 </span>By 2020, effectively regulate harvesting and end overfishing, illegal, unreported and unregulated fishing and destructive fishing practices and implement science-based management plans, in order to restore fish stocks in the shortest time feasible, at least to levels that can produce maximum sustainable yield as determined </span>By their biological characteristics ", "sdgnum": 14 } , { "targetcode": "14.5", "targetname": "<span class='toast_target'>Target 14.5</span>By 2020, conserve at least 10 per cent of coastal and marine areas, consistent with national and international law and based on the best available scientific information ", "sdgnum": 14 } , { "targetcode": "14.6", "targetname": "<span class='toast_target'>Target 14.6</span>By 2020, prohibit certain forms of fisheries subsidies which contribute to overcapacity and overfishing, eliminate subsidies that contribute to illegal, unreported and unregulated fishing and refrain from introducing new such subsidies, recognizing that appropriate and effective special and differential treatment for developing and least developed countries should be an integral part of the World Trade Organization fisheries subsidies negotiation ", "sdgnum": 14 } , { "targetcode": "14.7", "targetname": "<span class='toast_target'>Target 14.7</span>By 2030, increase the economic benefits to Small Island developing States and least developed countries from the sustainable use of marine resources, including through sustainable management of fisheries, aquaculture and tourism ", "sdgnum": 14 } , { "targetcode": "14.a", "targetname": "<span class='toast_target'>Target 14.a</span> Increase scientific knowledge, develop research capacity and transfer marine technology, taking into account the Intergovernmental Oceanographic Commission Criteria and Guidelines on the Transfer of Marine Technology, in order to improve ocean health and to enhance the contribution of marine biodiversity to the development of developing countries, in particular small island developing States and least developed countries ", "sdgnum": 14 } , { "targetcode": "14.b ", "targetname": "<span class='toast_target'>Target 14.b</span> Provide access for small- scale artisanal fishers to marine resources and markets ", "sdgnum": 14 } , { "targetcode": "14.c", "targetname": "<span class='toast_target'>Target 14.c</span> Enhance the conservation and sustainable use of oceans and their resources </span>By implementing law as reflected in UNCLOS, which provides the legal framework for the conservation and sustainable use of oceans and their resources, as recalled in paragraph 158 of The Future We Want. ", "sdgnum": 14 } ] } , { "sdg_num":15, "targets_count":12, "sdg_name":"Protect, restore and promote sustainable use of terrestrial ecosystems, sustainably manage forests, combat desertification, and halt and reverse land degradation and halt biodiversity loss", "targets":[ { "targetcode": "15.1", "targetname": "<span class='toast_target'>Target 15.1</span>By 2020, ensure the conservation, restoration and sustainable use of terrestrial and inland freshwater ecosystems and their services, in particular forests, wetlands, mountains and drylands, in line with obligations under international agreements ", "sdgnum": 15 } , { "targetcode": "15.2", "targetname": "<span class='toast_target'>Target 15.2</span>By 2020, promote the implementation of sustainable management of all types of forests, halt deforestation, restore degraded forests and substantially increase afforestation and reforestation globally. ", "sdgnum": 15 } , { "targetcode": "15.3", "targetname": "<span class='toast_target'>Target 15.3</span>By 2030, combat desertification, restore degraded land and soil, including land affected </span>By desertification, drought and floods, and strive to achieve a land degradation-neutral world ", "sdgnum": 15 } , { "targetcode": "15.4", "targetname": "<span class='toast_target'>Target 15.4</span>By 2030, ensure the conservation of mountain ecosystems, including their biodiversity, in order to enhance their capacity to provide benefits that are essential for sustainable development ", "sdgnum": 15 } , { "targetcode": "15.5", "targetname": "<span class='toast_target'>Target 15.5</span> Take urgent and significant action to reduce the degradation of natural habitats, halt the loss of biodiversity, and, </span>By 2020, protect and prevent the extinction of threatened species ", "sdgnum": 15 } , { "targetcode": "15.6", "targetname": "<span class='toast_target'>Target 15.6</span> Ensure fair and equitable sharing of the benefits arising from the utilization of genetic resources and promoteappropriate access to such resources ", "sdgnum": 15 } , { "targetcode": "15.7", "targetname": "<span class='toast_target'>Target 15.7</span> Take urgent action to end poaching and trafficking of protected species of flora and fauna and address both demand and supply of illegal wildlife products ", "sdgnum": 15 } , { "targetcode": "15.8", "targetname": "<span class='toast_target'>Target 15.8</span>By 2020, introduce measures to prevent the introduction and significantly reduce the impact of invasive alien species on land and water ecosystems and control or eradicate the priority species ", "sdgnum": 15 } , { "targetcode": "15.9", "targetname": "<span class='toast_target'>Target 15.9</span>By 2020, integrate ecosystem and biodiversity values into national and local planning, development processes, poverty reduction strategies and accounts ", "sdgnum": 15 } , { "targetcode": "15.a", "targetname": "<span class='toast_target'>Target 15.a</span> Mobilize and significantly increase financial resources from all sourcesto conserve and sustainable use biodiversity and ecosystems ", "sdgnum": 15 } , { "targetcode": "15.b", "targetname": "<span class='toast_target'>Target 15.b</span> Mobilize significant resources from all sources and at all levels to finance sustainable forest management and provide adequate incentives to developing countries to advance such management, including for conservation and reforestation ", "sdgnum": 15 } , { "targetcode": "15.c", "targetname": "<span class='toast_target'>Target 15.c</span> Enhance global support for efforts to combat poaching and trafficking of protected species, including </span>By increasing the capacity of local communities to pursue sustainable livelihood opportunities ", "sdgnum": 15 } ] } , { "sdg_num":16, "targets_count":12, "sdg_name":"Promote peaceful and inclusive societies for sustainable development, provide access to justice for all and\nbuild effective, accountable and inclusive institutions at all levels", "targets":[ { "targetcode": "16.1", "targetname": "<span class='toast_target'>Target 16.1</span> Significantly reduce all formsof violence and related death rates everywhere ", "sdgnum": 16 } , { "targetcode": "16.2", "targetname": "<span class='toast_target'>Target 16.2</span> End abuse, exploitations, trafficking and all forms of violence against and torture of children ", "sdgnum": 16 } , { "targetcode": "16.3", "targetname": "<span class='toast_target'>Target 16.3</span> Promote the rule of law at the national and international levels and ensure equal access to justice for all ", "sdgnum": 16 } , { "targetcode": "16.4", "targetname": "<span class='toast_target'>Target 16.4</span>By 2030, significantly reduceillicit financial and arms flows, strengthen therecovery and return of stolen assets and combat all forms of organized crime ", "sdgnum": 16 } , { "targetcode": "16.5", "targetname": "<span class='toast_target'>Target 16.5</span>Substantially reduce corruption and bribery in all their forms ", "sdgnum": 16 } , { "targetcode": "16.6", "targetname": "<span class='toast_target'>Target 16.6</span> Develop effective, accountable and transparent institutions at all levels ", "sdgnum": 16 } , { "targetcode": "16.7", "targetname": "<span class='toast_target'>Target 16.7</span> Ensure responsive, inclusive,participatory and representative decision- making at all levels ", "sdgnum": 16 } , { "targetcode": "16.8", "targetname": "<span class='toast_target'>Target 16.8</span> Broaden and strengthen theparticipation of developing countries in theinstitutions of global governance ", "sdgnum": 16 } , { "targetcode": "16.9", "targetname": "<span class='toast_target'>Target 16.9</span>By 2030, provide legal identity for all, including birth registration ", "sdgnum": 16 } , { "targetcode": "16.10", "targetname": "<span class='toast_target'>Target 16.10</span> Ensure public access to information and protect fundamental freedoms, in accordance with national legislation and international agreements ", "sdgnum": 16 } , { "targetcode": "16.a", "targetname": "<span class='toast_target'>Target 16.a</span> Strengthen relevant national institutions, including through international cooperation, for building capacity at all levels, in particular in developing countries, to prevent violence and combat terrorism and crime ", "sdgnum": 16 } , { "targetcode": "16.b", "targetname": "<span class='toast_target'>Target 16.b</span> Promote and enforce non- discriminatory laws and policies for sustainable development ", "sdgnum": 16 } ] } , { "sdg_num":17, "targets_count":19, "sdg_name":"Strengthen the means of implementation and revitalize the global partnership for sustainable development", "targets":[ { "targetcode": "17.1", "targetname": "<span class='toast_target'>Target 17.1</span> Strengthen domestic resource mobilization, including through international support to developing countries, to improve domestic capacity for tax and other revenue collection ", "sdgnum": 17 } , { "targetcode": "17.2", "targetname": "<span class='toast_target'>Target 17.2</span> Developed countries to implement fully their official development assistance commitments, including the commitment </span>By many developed countries to achieve the target of 0.7 per cent ODA\/GNI to developing countries and 05 to 00 per cent of ODA\/GNI to least developed countries; ODA providers are encouraged to consider setting a target to provide at least 00 per cent of ODA\/GNI to least developed countries. ", "sdgnum": 17 } , { "targetcode": "17.3", "targetname": "<span class='toast_target'>Target 17.3</span> Mobilize additional financialresources for developing countries from multiple sources ", "sdgnum": 17 } , { "targetcode": "17.4", "targetname": "<span class='toast_target'>Target 17.4</span> Assist developing countriesin attaining long-term debt sustainability through coordinated policies aimed at fostering debt financing, debt relief and debt restructuring, as appropriate, and address the external debt of highly indebted poor countries to reduce debt distress ", "sdgnum": 17 } , { "targetcode": "17.5", "targetname": "<span class='toast_target'>Target 17.5</span> Adopt and implement investment promotion regimes for least developed countries ", "sdgnum": 17 } , { "targetcode": "17.6", "targetname": "<span class='toast_target'>Target 17.6</span> Enhance North-South, South-South and triangular regional and international cooperation on and access to science, technology and innovation and enhance knowledge sharing on mutually agreed terms, including through improved coordination among existing mechanisms, in particular at the United Nations level, and through a global technology facilitation mechanism. ", "sdgnum": 17 } , { "targetcode": "17.7", "targetname": "<span class='toast_target'>Target 17.7</span> Promote the development, transfer, dissemination and diffusion of environmentally sound technologies to developing countries on favourable terms, including on concessional and preferential terms, as mutually agreed ", "sdgnum": 17 } , { "targetcode": "17.8", "targetname": "<span class='toast_target'>Target 17.8</span> Fully operationalize the technology bank and science, technology and innovation capacity-building mechanism for least developed countries </span>By 2017 and enhance the use of enabling technology, in particular information and communications technology ", "sdgnum": 17 } , { "targetcode": "17.9", "targetname": "<span class='toast_target'>Target 17.9</span> Enhance international support for implementing effective and targeted capacity-building in developing countries to support national plans to implement all the sustainable development goals, including through North-South, South- South and triangular cooperation ", "sdgnum": 17 } , { "targetcode": "17.10", "targetname": "<span class='toast_target'>Target 17.10</span> Promote a universal, rules- based, open, non-discriminatory and equitable multilateral trading system under the World Trade Organization, including through the conclusion of negotiations under its Doha Development Agenda ", "sdgnum": 17 } , { "targetcode": "17.11", "targetname": "<span class='toast_target'>Target 17.11</span> Significantly increase the exports of developing countries, in particular with a view to doubling the least developed countries' share of global exports </span>By 2020 ", "sdgnum": 17 } , { "targetcode": "17.12", "targetname": "<span class='toast_target'>Target 17.12</span> Realize timely implementation of duty-free and quota-freemarket access on a lasting basis for all least developed countries, consistent with World Trade Organization decisions, including </span>By ensuring that preferential rules of origin applicable to imports from least developed countries are transparent and simple, and contribute to facilitating market access ", "sdgnum": 17 } , { "targetcode": "17.13", "targetname": "<span class='toast_target'>Target 17.13</span> Enhance global macroeconomic stability, including through policy coordination and policy coherence ", "sdgnum": 17 } , { "targetcode": "17.14", "targetname": "<span class='toast_target'>Target 17.14</span> Enhance policy coherence for sustainable development ", "sdgnum": 17 } , { "targetcode": "17.15", "targetname": "<span class='toast_target'>Target 17.15</span> Respect each country's policy space and leadership to establish and implement policies for poverty eradication and sustainable development ", "sdgnum": 17 } , { "targetcode": "17.16", "targetname": "<span class='toast_target'>Target 17.16</span> Enhance the global partnership for sustainable development, complemented </span>By multi-stakeholder partnerships that mobilize and share knowledge, expertise, technology and financial resources, to support the achievement of the sustainable development goals in all countries, in particular developing countries ", "sdgnum": 17 } , { "targetcode": "17.17", "targetname": "<span class='toast_target'>Target 17.17</span> Encourage and promote effective public, public-private and civil society partnerships, building on the experience and resourcing strategies of partnerships ", "sdgnum": 17 } , { "targetcode": "17.18", "targetname": "<span class='toast_target'>Target 17.18</span>By 2020, enhance capacity-building support to developing countries, including for least developed countries andsmall island developing States, to increase significantly the availability of high-quality, timely and reliable data disaggregated </span>By income, gender, age, race, ethnicity, migratory status, disability, geographic location and other characteristics relevant in national contexts ", "sdgnum": 17 } , { "targetcode": "17.19", "targetname": "<span class='toast_target'>Target 17.19</span>By 2030, build on existing initiatives to develop measurements of progress on sustainable development that complement gross domestic product, and support statistical capacity-building in developing countries ", "sdgnum": 17 } ] } ]
73.935522
3,112
0.699272
5c94ab88362401365b85e7980b9aaf841a8eff34
1,361
h
C
aom_dsp/bitreader_buffer.h
jixianghu/aom
3a53922126c750f0cb4c3fd891db1f2cf2460a1e
[ "BSD-2-Clause" ]
null
null
null
aom_dsp/bitreader_buffer.h
jixianghu/aom
3a53922126c750f0cb4c3fd891db1f2cf2460a1e
[ "BSD-2-Clause" ]
null
null
null
aom_dsp/bitreader_buffer.h
jixianghu/aom
3a53922126c750f0cb4c3fd891db1f2cf2460a1e
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2016, Alliance for Open Media. All rights reserved * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at www.aomedia.org/license/software. If the Alliance for Open * Media Patent License 1.0 was not distributed with this source code in the * PATENTS file, you can obtain it at www.aomedia.org/license/patent. */ #ifndef AOM_DSP_BITREADER_BUFFER_H_ #define AOM_DSP_BITREADER_BUFFER_H_ #include <limits.h> #include "aom/aom_integer.h" #ifdef __cplusplus extern "C" { #endif typedef void (*aom_rb_error_handler)(void *data); struct aom_read_bit_buffer { const uint8_t *bit_buffer; const uint8_t *bit_buffer_end; uint32_t bit_offset; void *error_handler_data; aom_rb_error_handler error_handler; }; size_t aom_rb_bytes_read(const struct aom_read_bit_buffer *rb); int aom_rb_read_bit(struct aom_read_bit_buffer *rb); int aom_rb_read_literal(struct aom_read_bit_buffer *rb, int bits); uint32_t aom_rb_read_unsigned_literal(struct aom_read_bit_buffer *rb, int bits); int aom_rb_read_inv_signed_literal(struct aom_read_bit_buffer *rb, int bits); #ifdef __cplusplus } // extern "C" #endif #endif // AOM_DSP_BITREADER_BUFFER_H_
27.77551
80
0.782513
4c2928fbb9015c0d3f1c422c4adce2fddf3962de
1,520
php
PHP
browseprocess.php
revlarry/radionaija_old
a25c7e076aa20699e982a2f25ef402658972be58
[ "Apache-2.0" ]
null
null
null
browseprocess.php
revlarry/radionaija_old
a25c7e076aa20699e982a2f25ef402658972be58
[ "Apache-2.0" ]
null
null
null
browseprocess.php
revlarry/radionaija_old
a25c7e076aa20699e982a2f25ef402658972be58
[ "Apache-2.0" ]
null
null
null
<?php session_start(); ?> <?php include_once("analyticstracking.php") ?> <?php error_reporting(E_ERROR | E_PARSE); ?> <!--?php include("header.php") ?--> <?php include("functions.php") ?> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <?php /// Scan directory for files $dir = "audio/"; // Sort in ascending order - this is default $audios = scandir($dir); echo array_shift($audios); // remove 1st directory entry echo array_shift($audios); // remove 2nd directory entry //print_r($audios); //exit; echo '<div class="container">'; //echo '<h2>Dropdowns</h2>'; echo '<div class="dropdown">'; echo '<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Select Audio files'; echo '<span class="caret"></span></button>'; echo '<ul class="dropdown-menu">'; // Itemize directory entries foreach($audios as $audio){ echo '<li> <form method="POST" action="browseprocess2.php" target="browsefiles"> <input type="hidden" name="audiofile" value ="'.$audio.'"> <button type="submit">'.$audio.'</button> </form> </li>'; } echo '</ul>'; echo '</div>'; echo '</div>'; ?>
29.230769
115
0.638158
07ee314a3478f73ca4afb7d415557f8bad380b2e
2,816
rs
Rust
src/taxi.rs
lta-rs/lta-models
52d90979e718bfe85afdf73dbda48fca8a9a3605
[ "MIT" ]
null
null
null
src/taxi.rs
lta-rs/lta-models
52d90979e718bfe85afdf73dbda48fca8a9a3605
[ "MIT" ]
4
2021-01-14T15:45:11.000Z
2021-06-30T02:21:23.000Z
src/taxi.rs
lta-rs/lta-models
52d90979e718bfe85afdf73dbda48fca8a9a3605
[ "MIT" ]
null
null
null
//! Taxi structs and data structures pub mod prelude { pub use { crate::taxi::{ taxi_avail::TaxiAvailResp, taxi_stands::{TaxiStand, TaxiStandsResp}, }, crate::utils::Coordinates, }; } pub mod taxi_avail { use crate::utils::Coordinates; use serde::{Deserialize, Serialize}; pub const URL: &str = "http://datamall2.mytransport.sg/ltaodataservice/Taxi-Availability"; #[derive(Debug, Clone, PartialEq, Deserialize, Serialize)] pub struct InternalCoordinates { #[serde(alias = "Longitude")] pub long: f64, #[serde(alias = "Latitude")] pub lat: f64, } #[derive(Debug, Clone, PartialEq, Deserialize, Serialize)] pub struct TaxiAvailResp { pub value: Vec<InternalCoordinates>, } impl From<TaxiAvailResp> for Vec<Coordinates> { fn from(data: TaxiAvailResp) -> Self { data.value.into_iter().map(|f| f.into()).collect() } } impl From<InternalCoordinates> for Coordinates { fn from(data: InternalCoordinates) -> Self { Self { lat: data.lat, long: data.long, } } } } pub mod taxi_stands { use crate::utils::de::from_str_to_bool; use serde::{Deserialize, Serialize}; pub const URL: &str = "http://datamall2.mytransport.sg/ltaodataservice/TaxiStands"; #[allow(clippy::upper_case_acronyms)] #[derive(Debug, Clone, PartialEq, Deserialize, Serialize)] pub enum TaxiStandOwner { LTA, CCS, Private, #[serde(other)] Unknown, } #[derive(Debug, Clone, PartialEq, Deserialize, Serialize)] pub enum TaxiStandType { /// Allow taxis to queue in the taxi bays and wait for passengers Stand, /// Allow taxis to perform immediate pick up and drop off of passengers Stop, #[serde(other)] Unknown, } #[derive(Debug, Clone, PartialEq, Deserialize, Serialize)] #[serde(rename_all(deserialize = "PascalCase"))] pub struct TaxiStand { pub taxi_code: String, #[serde(alias = "Latitude")] pub lat: f64, #[serde(alias = "Longitude")] pub long: f64, #[serde(alias = "Bfa", deserialize_with = "from_str_to_bool")] pub is_barrier_free: bool, #[serde(alias = "Ownership")] pub owner: TaxiStandOwner, #[serde(alias = "Type")] pub stand_type: TaxiStandType, pub name: String, } #[derive(Debug, Clone, PartialEq, Deserialize, Serialize)] pub struct TaxiStandsResp { value: Vec<TaxiStand>, } impl From<TaxiStandsResp> for Vec<TaxiStand> { fn from(data: TaxiStandsResp) -> Self { data.value } } }
25.369369
94
0.587713
acb008fa50c164f9a3521c9a87deec5bb31d295a
1,143
sql
SQL
MagicWorks/BCPTablesFrom SQLToFileOLTP.sql
SQLShark/ASDWPrecon
28a041afc93e8024c9de8242f26c75d982cacecd
[ "MIT" ]
8
2018-02-21T11:40:21.000Z
2021-01-01T05:30:50.000Z
MagicWorks/BCPTablesFrom SQLToFileOLTP.sql
Adatis/AzureSQLDataWarehouse-Workshop
6a15ddd3f074296c24ea2c039a18f0cd91c13751
[ "MIT" ]
null
null
null
MagicWorks/BCPTablesFrom SQLToFileOLTP.sql
Adatis/AzureSQLDataWarehouse-Workshop
6a15ddd3f074296c24ea2c039a18f0cd91c13751
[ "MIT" ]
6
2018-02-21T09:30:08.000Z
2021-06-10T11:00:53.000Z
use AdventureWorks; GO EXEC master.dbo.sp_configure 'show advanced options', 1 RECONFIGURE EXEC master.dbo.sp_configure 'xp_cmdshell', 1 RECONFIGURE; BEGIN TRY DROP VIEW dbo.config END TRY BEGIN CATCH PRINT 'No Need' END CATCH; GO CREATE VIEW dbo.config AS SELECT s.Name AS 'SchemaName' , T.NAme AS 'TableName' , 'EXEC xp_cmdshell ''bcp "SELECT * FROM AdventureWorks.' + s.Name +'.'+ T.NAme + '" queryout "G:\Adatis\SQLBits - SQLDW Planning - General\ExportedData\MagicWorks\' + s.Name +'_'+ T.NAme + '.txt" -T -c -t -q''' AS 'Export' , 'AzCopy /Source:"G:\Adatis\SQLBits - SQLDW Planning - General\ExportedData\MagicWorks" /Dest:https://magicworksblob.blob.core.windows.net/'+ LOWER(T.NAme) + ' /DestKey:WR6PLCnUMJ9Hu6Wkt7EUadRLDnoVF3cTabiGm//3FBXXJOSFAPqjrkfqqEW9qT4P2OlsKDcY0iSRUfDWtNhKrA== /Pattern:"' + s.Name +'_'+ T.NAme + '.txt" /y' AS 'Import' FROM sys.tables t INNER JOIN sys.schemas S ON S.schema_id = t.schema_id; GO SELECT * FROM dbo.config EXEC xp_cmdshell 'bcp "SELECT * FROM adventureworks.dbo.config" queryout "G:\Adatis\SQLBits - SQLDW Planning - General\ExportedData\MagicWorks\config.txt" -T -c -t,'
36.870968
320
0.727034
a1469695d4218056eec0098f8d93113af4d911a5
746
go
Go
library/valid/user.go
yamakiller/magicWeb
29632072f7494286b7908f7f7dd28c872c884ad3
[ "MIT" ]
null
null
null
library/valid/user.go
yamakiller/magicWeb
29632072f7494286b7908f7f7dd28c872c884ad3
[ "MIT" ]
null
null
null
library/valid/user.go
yamakiller/magicWeb
29632072f7494286b7908f7f7dd28c872c884ad3
[ "MIT" ]
1
2020-09-12T02:45:30.000Z
2020-09-12T02:45:30.000Z
package valid import ( "strings" "gopkg.in/go-playground/validator.v9" ) var ( defaultFilter = [...]string{"admin", "master", "super"} ) //UserNameValid doc //Summary validator username is valid //Method UserNameValid //Return (bool) func UserNameValid(fl validator.FieldLevel) bool { s := strings.ToLower(fl.Field().String()) strings.Index(strings.ToLower(s), "") for _, v := range defaultFilter { if strings.Index(s, v) >= 0 { return false } } return true } //UserStateValid doc //Summary validator user state is valid //Method UserStateValid //Return (bool) func UserStateValid(fl validator.FieldLevel) bool { s := strings.ToLower(fl.Field().String()) if s != "lock" && s != "unlock" { return false } return true }
18.195122
56
0.686327
cbdb2ec143e1a53208fc3758f8e2706ce87d08b1
619
go
Go
go/aoc17/p05/p05.go
shaeberling/euler
89b77656890a2802972bf53dc75618e93c07fec1
[ "Apache-2.0" ]
7
2016-01-30T02:57:32.000Z
2022-01-02T05:24:09.000Z
go/aoc17/p05/p05.go
shaeberling/euler
89b77656890a2802972bf53dc75618e93c07fec1
[ "Apache-2.0" ]
1
2017-01-29T18:48:01.000Z
2017-01-31T21:10:15.000Z
go/aoc17/p05/p05.go
shaeberling/euler
89b77656890a2802972bf53dc75618e93c07fec1
[ "Apache-2.0" ]
1
2019-12-08T13:04:03.000Z
2019-12-08T13:04:03.000Z
package p05 import ( "math" c "s13g.com/euler/common" ) // --- Day 5: A Maze of Twisty Trampolines, All Alike --- // http://adventofcode.com/2017/day/5 func Solve(input string) (string, string) { inputArr := c.SplitByNewline(input) return c.ToString(solve(inputArr, math.MaxInt32)), c.ToString(solve(inputArr, 3)) } func solve(input []string, lim int) (n int) { instructions := c.ParseIntArray(input) for i := 0; i >= 0 && i < len(instructions); n++ { prevI, prevValue := i, instructions[i] i += instructions[i] instructions[prevI]++ if prevValue >= lim { instructions[prevI] -= 2 } } return }
22.107143
82
0.657512
cb2705cf6bda25266efc4058da3b0dbe0e800731
70,041
h
C
source/text/brprintf.h
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
115
2015-01-18T17:29:30.000Z
2022-01-30T04:31:48.000Z
source/text/brprintf.h
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-22T04:53:38.000Z
2015-01-31T13:52:40.000Z
source/text/brprintf.h
Olde-Skuul/burgerlib
80848a4dfa17c5c05095ecea14a9bd87f86dfb9d
[ "Zlib" ]
9
2015-01-23T20:06:46.000Z
2020-05-20T16:06:00.000Z
/*************************************** Matt Pritchard's typesafe & enhanced c++ formatted output function replacements Note from Matt Pritchard: mprintf is dedicated to the ones I love: Jennifer, Nathan and Lauren. Copyright (c) 2012-2013 by Matt Pritchard <mattp_2006@yahoo.com> Copyright (c) 2016-2021 by Rebecca Ann Heineman <becky@burgerbecky.com> It is released under an MIT Open Source license. Please see LICENSE for license details. Yes, you can use it in a commercial title without paying anything, just give me a credit. Please? It's not like I'm asking you for money! ***************************************/ #ifndef __BRPRINTF_H__ #define __BRPRINTF_H__ #ifndef __BRTYPES_H__ #include "brtypes.h" #endif #ifndef __BRMETROWERKS_H__ #include "brmetrowerks.h" #endif #ifndef __BRWATCOM_H__ #include "brwatcom.h" #endif #ifndef __BRSTRINGFUNCTIONS_H__ #include "brstringfunctions.h" #endif #ifndef __BRFPINFO_H__ #include "brfpinfo.h" #endif #ifndef __BRFPLARGEINT_H__ #include "brfplargeint.h" #endif #ifndef _INC_STDIO #include <stdio.h> #endif /* BEGIN */ namespace Burger { // Forward declarations of objects we will use class String; extern void BURGER_API LoadHighPrecisionFromFloat(const FPInfo* pFPInfo, FPLargeInt* pIntegerPart, FPLargeInt* pFractionalPart) BURGER_NOEXCEPT; class FPPrintInfo { enum eTextIndex { kPosInfinity, ///< Index to "inf" kNegInfinity, ///< Index to "-inf" kPosNan, ///< Index to "nan" kNegNan, ///< Index to "-nan" kIndNan, ///< Index to "-nan" kTextCount ///< Number of string indexes }; public: enum eResult { /** Print a zero */ kResultZero, /** Print a normal number */ kResultNormalFloat, /** Print a number that is rounded in the fraction */ kResultFloatRoundedUpAtEnd, /** Print a number that is rounded in the integer */ kResultFloatRoundedUpADigit, /** Print a positive infinity */ kResultPositiveInfinity, /** Print a negative infinity */ kResultNegativeInfinity, /** Print a positive NaN */ kResultPositiveNaN, /** Print a negative NaN */ kResultNegativeNaN, /** Print a signaling NaN */ kResultSignalingNaN, /** Print a quiet NaN */ kResultQuietNaN, /** Print an indefinite NaN */ kResultIndefiniteNaN, /** End of print list */ kResultCount, /** First special string to print */ kResultFirstSpecial = kResultPositiveInfinity, /** Last special string to print */ kResultLastSpecial = kResultIndefiniteNaN }; /** Limit of characters to convert (Default is no limit) */ static const uint_t kConversionDigitUnlimited = 0; /** Special float message strings */ static const char* g_SpecialFloatsText[kTextCount]; /** Special float message string in uppercase */ static const char* g_SpecialFloatsTextUpper[kTextCount]; private: /** \ref TRUE if there is an integer component */ uint_t m_bHasIntegerPart; /** \ref TRUE if there is a fractional component */ uint_t m_bHasFractionalPart; /** Number of digits for special text */ uint_t m_uSpecialFormDigits; /** Index to the first non zero integer digit */ uint_t m_uFirstNonZeroIntDigitPos; /** Index to the last non zero integer digit */ uint_t m_uLastNonZeroIntDigitPos; /** Index to the first non zero fractional digit */ uint_t m_uFirstNonZeroFracDigitPos; /** Index to the last non zero integer digit */ uint_t m_uLastNonZeroFracDigitPos; /** Number of integer zeros */ uint_t m_uPadIntZeros; /** Number of fractional zeros */ uint_t m_uPadFracZeros; /** Type of floating point number */ eResult m_ePrintResult; /** Number of digits to print maximum (0 = no maximum) */ static uint_t g_uClipFloatDigitsAfter; public: FPPrintInfo(void) BURGER_NOEXCEPT { Reset(); } void BURGER_API Reset(void) BURGER_NOEXCEPT; BURGER_INLINE uint_t HasInteger(void) const BURGER_NOEXCEPT { return m_bHasIntegerPart; } BURGER_INLINE uint_t HasFractional(void) const BURGER_NOEXCEPT { return m_bHasFractionalPart; } BURGER_INLINE uint_t GetSpecialFormDigits(void) const BURGER_NOEXCEPT { return m_uSpecialFormDigits; } BURGER_INLINE uint_t GetFirstNonZeroIntDigitPosition( void) const BURGER_NOEXCEPT { return m_uFirstNonZeroIntDigitPos; } BURGER_INLINE uint_t GetLastNonZeroIntDigitPosition( void) const BURGER_NOEXCEPT { return m_uLastNonZeroIntDigitPos; } BURGER_INLINE uint_t GetFirstNonZeroFracDigitPosition( void) const BURGER_NOEXCEPT { return m_uFirstNonZeroFracDigitPos; } BURGER_INLINE uint_t GetLastNonZeroFracDigitPosition( void) const BURGER_NOEXCEPT { return m_uLastNonZeroFracDigitPos; } BURGER_INLINE uint_t GetIntegerZeroCount(void) const BURGER_NOEXCEPT { return m_uPadIntZeros; } BURGER_INLINE uint_t GetFracZeroCount(void) const BURGER_NOEXCEPT { return m_uPadFracZeros; } BURGER_INLINE eResult GetResult(void) const BURGER_NOEXCEPT { return m_ePrintResult; } BURGER_INLINE uint_t IsSpecial(void) const BURGER_NOEXCEPT { return (m_ePrintResult >= kResultFirstSpecial) && (m_ePrintResult <= kResultLastSpecial); } BURGER_INLINE uint_t IsInfinity(void) const BURGER_NOEXCEPT { return (m_ePrintResult == kResultPositiveInfinity) || (m_ePrintResult == kResultNegativeInfinity); } BURGER_INLINE uint_t IsNaN(void) const BURGER_NOEXCEPT { return (m_ePrintResult >= kResultPositiveNaN) && (m_ePrintResult <= kResultIndefiniteNaN); } static BURGER_INLINE uint_t GetClip(void) BURGER_NOEXCEPT { return g_uClipFloatDigitsAfter; } static BURGER_INLINE void SetClip(uint_t uNewClip) BURGER_NOEXCEPT { g_uClipFloatDigitsAfter = uNewClip; } void BURGER_API AnalyzeFloat( const FPInfo* pFPInfo, uint_t uPrecisionDigits) BURGER_NOEXCEPT; }; class SafePrintArgument { public: enum eType { /** Invalid argument type */ ARG_INVALID = 0, /** Signed 1 byte integer */ ARG_INT8, /** Signed 2 byte integer */ ARG_INT16, /** Signed 4 byte integer */ ARG_INT32, /** Signed 8 byte integer */ ARG_INT64, /** Unsigned 1 byte integer */ ARG_UINT8, /** Unsigned 2 byte integer */ ARG_UINT16, /** Unsigned 4 byte integer */ ARG_UINT32, /** Unsigned 8 byte integer */ ARG_UINT64, /** 16-bit IEEE 754-2008 float, aka binary16 */ ARG_HALF, /** 32-bit IEEE 754 float */ ARG_FLOAT, /** 64-bit IEEE 754 float */ ARG_DOUBLE, /** bool C++ built in boolean type */ ARG_BOOL, /** 64-bit SIMD structure */ ARG_SIMD64, /** 128-bit SIMD structure */ ARG_SIMD128, /** 128-bit SIMD structure, integer only */ ARG_SIMD128I, /** 128-bit SIMD structure, 2 doubles only */ ARG_SIMD128D, /** Burgerlib String */ ARG_PSTRING, /** const char* for a "C" string */ ARG_PCHAR, /** const signed char* for a "C" string */ ARG_PSCHAR, /** const unsigned char* for a "C" string */ ARG_PUCHAR, /** Pointer to an int16_t */ ARG_PINT16, /** Pointer to a uint16_t */ ARG_PUINT16, /** Pointer to an int32_t */ ARG_PINT32, /** Pointer to a uint32_t */ ARG_PUINT32, /** Pointer to an int64_t */ ARG_PINT64, /**Pointer to a uint64_t */ ARG_PUINT64, /** Pointer to a float */ ARG_PFLOAT, /** Pointer to a double */ ARG_PDOUBLE, /** Pointer to a 64-bit SIMD structure */ ARG_PSIMD64, /** Pointer to a 128-bit SIMD structure, 4 floats only */ ARG_PSIMD128, /** Pointer to a 128-bit SIMD structure, 4 32-bit integers */ ARG_PSIMD128I, /** Pointer to a 128-bit SIMD structure, 2 doubles only */ ARG_PSIMD128D, /** void * for a catchall */ ARG_PVOID, /** Auto list counter, all valid types must appear above this */ ARG_COUNT, /** Used to indicate 'any valid arg' */ ARG_ANY, /** First integer entry */ ARG_FIRSTINT = ARG_INT8, /** Last integer entry */ ARG_LASTINT = ARG_UINT64, /** First signed integer entry */ ARG_FIRSTSIGNED = ARG_INT8, /** Last signed integer entry */ ARG_LASTSIGNED = ARG_INT64, /** First unsigned integer entry */ ARG_FIRSTUNSIGNED = ARG_UINT8, /** Last unsigned integer entry */ ARG_LASTUNSIGNED = ARG_UINT64, /** First floating point entry */ ARG_FIRSTREAL = ARG_HALF, /** Last floating point entry */ ARG_LASTREAL = ARG_DOUBLE, /** First "C" string pointer entry */ ARG_FIRSTTEXT = ARG_PSTRING, /** Last "C" string pointer entry */ ARG_LASTTEXT = ARG_PUCHAR, /** First pointer type entry */ ARG_FIRSTPTR = ARG_PSTRING, /** Last pointer type entry */ ARG_LASTPTR = ARG_PVOID, /** First SIMD entry */ ARG_FIRSTSIMD = ARG_SIMD64, /** Last SIMD entry */ ARG_LASTSIMD = ARG_SIMD128D, /** First SIMD pointer type entry */ ARG_FIRSTSIMDPTR = ARG_PSIMD64, /** Last SIMD pointer type entry */ ARG_LASTSIMDPTR = ARG_PSIMD128D }; /** Character returned from \ref GetChar() const for invalid character */ static const char kInvalidCharConversion = '~'; union { int8_t m_iInt8; ///< Signed char value uint8_t m_uWord8; ///< Unsigned char value int16_t m_iInt16; ///< Signed short value uint16_t m_uWord16; ///< Unsigned short value int32_t m_iInt32; ///< Signed 32 bit integer value uint32_t m_uWord32; ///< Unsigned 32 bit integer value int64_t m_iInt64; ///< Signed 64 bit integer value uint64_t m_uWord64; ///< Unsigned 64 bit integer value uint16_t m_fHalf; ///< 16 bit floating point value float m_fFloat; ///< 32 bit floating point value double m_dDouble; ///< 64 bit floating point value bool m_bBool; ///< Boolean value const String* m_pString; ///< Pointer to a Burgerlib \ref String class const char* m_pChar; ///< Generic char pointer for strings const int8_t* m_pInt8; ///< Pointer to a signed char const uint8_t* m_pWord8; ///< Pointer to an unsigned char const int16_t* m_pInt16; ///< Pointer to a signed 16 bit integer const uint16_t* m_pWord16; ///< Pointer to an unsigned 16 bit integer const int32_t* m_pInt32; ///< Pointer to a signed 32 bit integer const uint32_t* m_pWord32; ///< Pointer to an unsigned 32 bit integer const int64_t* m_pInt64; ///< Pointer to a signed 64 bit integer const uint64_t* m_pWord64; ///< Pointer to an unsigned 64 bit integer const float* m_pFloat; ///< Pointer to a 32 bit floating point number const double* m_pDouble; ///< Pointer to a 64 bit floating point number const void* m_pVoid; ///< Pointer to generic data const void* m_pSIMD; ///< Pointer to a 128 bit vector } m_Data; ///< Data stored in the container private: eType m_eType; ///< Type of object found public: // The magic happens here - Argument constructors for all of the // types that get identified and wrapped up for processing // Note: The order that the constructors appear in here can make a // difference to // to the compilers ability to correctly match the argument to the // correct constructor for it's type without promoting the argument // (which is why we list them in size order, though int is an // exception... trial and error // BURGER_INLINE SafePrintArgument(char arg) BURGER_NOEXCEPT: m_eType(ARG_INT8) { m_Data.m_iInt8 = arg; }; BURGER_INLINE SafePrintArgument(int8_t arg) BURGER_NOEXCEPT : m_eType(ARG_INT8) { m_Data.m_iInt8 = arg; }; BURGER_INLINE SafePrintArgument(uint8_t arg) BURGER_NOEXCEPT : m_eType(ARG_UINT8) { m_Data.m_uWord8 = arg; }; BURGER_INLINE SafePrintArgument(int16_t arg) BURGER_NOEXCEPT : m_eType(ARG_INT16) { m_Data.m_iInt16 = arg; }; BURGER_INLINE SafePrintArgument(uint16_t arg) BURGER_NOEXCEPT : m_eType(ARG_UINT16) { m_Data.m_uWord16 = arg; }; BURGER_INLINE SafePrintArgument(int32_t arg) BURGER_NOEXCEPT : m_eType(ARG_INT32) { m_Data.m_iInt32 = arg; }; BURGER_INLINE SafePrintArgument(uint32_t arg) BURGER_NOEXCEPT : m_eType(ARG_UINT32) { m_Data.m_uWord32 = arg; }; BURGER_INLINE SafePrintArgument(int64_t arg) BURGER_NOEXCEPT : m_eType(ARG_INT64) { m_Data.m_iInt64 = arg; }; BURGER_INLINE SafePrintArgument(uint64_t arg) BURGER_NOEXCEPT : m_eType(ARG_UINT64) { m_Data.m_uWord64 = arg; }; #if defined(BURGER_HAS_WCHAR_T) || defined(DOXYGEN) BURGER_INLINE SafePrintArgument(wchar_t arg) BURGER_NOEXCEPT : m_eType(ARG_UINT16) { m_Data.m_uWord16 = static_cast<uint16_t>(arg); }; #endif #if defined(BURGER_HAS_CHAR8_T) || defined(DOXYGEN) BURGER_INLINE SafePrintArgument(char8_t arg) BURGER_NOEXCEPT : m_eType(ARG_UINT8) { m_Data.m_uWord8 = static_cast<uint8_t>(arg); }; #endif #if defined(BURGER_HAS_CHAR16_T) || defined(DOXYGEN) BURGER_INLINE SafePrintArgument(char16_t arg) BURGER_NOEXCEPT : m_eType(ARG_UINT16) { m_Data.m_uWord16 = static_cast<uint16_t>(arg); }; BURGER_INLINE SafePrintArgument(char32_t arg) BURGER_NOEXCEPT : m_eType(ARG_UINT32) { m_Data.m_uWord32 = static_cast<uint32_t>(arg); }; #endif #if defined(BURGER_INT_NOT_IN_STDINT) || defined(DOXYGEN) #if BURGER_SIZEOF_LONG == 4 BURGER_INLINE SafePrintArgument(signed int arg) BURGER_NOEXCEPT : m_eType(ARG_INT32) { m_Data.m_iInt32 = arg; }; BURGER_INLINE SafePrintArgument(unsigned int arg) BURGER_NOEXCEPT : m_eType(ARG_UINT32) { m_Data.m_uWord32 = arg; }; #else BURGER_INLINE SafePrintArgument(signed int arg) BURGER_NOEXCEPT : m_eType(ARG_INT16) { m_Data.m_iInt16 = arg; }; BURGER_INLINE SafePrintArgument(unsigned int arg) BURGER_NOEXCEPT : m_eType(ARG_WORD16) { m_Data.m_uWord16 = arg; }; #endif #endif #if defined(BURGER_LONG_NOT_IN_STDINT) || defined(DOXYGEN) #if BURGER_SIZEOF_LONG == 8 BURGER_INLINE SafePrintArgument(signed long arg) BURGER_NOEXCEPT : m_eType(ARG_INT64) { m_Data.m_iInt64 = arg; }; BURGER_INLINE SafePrintArgument(unsigned long arg) BURGER_NOEXCEPT : m_eType(ARG_UINT64) { m_Data.m_iInt64 = arg; }; #else BURGER_INLINE SafePrintArgument(signed long arg) BURGER_NOEXCEPT : m_eType(ARG_INT32) { m_Data.m_iInt32 = arg; }; BURGER_INLINE SafePrintArgument(unsigned long arg) BURGER_NOEXCEPT : m_eType(ARG_UINT32) { m_Data.m_uWord32 = arg; }; #endif #endif BURGER_INLINE SafePrintArgument(uint16_t arg, eType uType) BURGER_NOEXCEPT : m_eType(uType) { m_Data.m_fHalf = arg; }; BURGER_INLINE SafePrintArgument(float arg) BURGER_NOEXCEPT : m_eType(ARG_FLOAT) { m_Data.m_fFloat = arg; }; BURGER_INLINE SafePrintArgument(double arg) BURGER_NOEXCEPT : m_eType(ARG_DOUBLE) { m_Data.m_dDouble = arg; }; BURGER_INLINE SafePrintArgument(bool arg) BURGER_NOEXCEPT: m_eType(ARG_BOOL) { m_Data.m_bBool = arg; }; BURGER_INLINE SafePrintArgument(const String* arg) BURGER_NOEXCEPT : m_eType(ARG_PSTRING) { m_Data.m_pString = arg; }; BURGER_INLINE SafePrintArgument(const String& arg) BURGER_NOEXCEPT : m_eType(ARG_PSTRING) { m_Data.m_pString = &arg; }; BURGER_INLINE SafePrintArgument(const char* arg) BURGER_NOEXCEPT : m_eType(ARG_PCHAR) { m_Data.m_pChar = arg; }; BURGER_INLINE SafePrintArgument(const int8_t* arg) BURGER_NOEXCEPT : m_eType(ARG_PSCHAR) { m_Data.m_pInt8 = arg; }; BURGER_INLINE SafePrintArgument(const uint8_t* arg) BURGER_NOEXCEPT : m_eType(ARG_PUCHAR) { m_Data.m_pWord8 = arg; }; BURGER_INLINE SafePrintArgument(const int16_t* arg) BURGER_NOEXCEPT : m_eType(ARG_PINT16) { m_Data.m_pInt16 = arg; }; BURGER_INLINE SafePrintArgument(const uint16_t* arg) BURGER_NOEXCEPT : m_eType(ARG_PUINT16) { m_Data.m_pWord16 = arg; }; BURGER_INLINE SafePrintArgument(const int32_t* arg) BURGER_NOEXCEPT : m_eType(ARG_PINT32) { m_Data.m_pInt32 = arg; }; BURGER_INLINE SafePrintArgument(const uint32_t* arg) BURGER_NOEXCEPT : m_eType(ARG_PUINT32) { m_Data.m_pWord32 = arg; }; BURGER_INLINE SafePrintArgument(const int64_t* arg) BURGER_NOEXCEPT : m_eType(ARG_PINT64) { m_Data.m_pInt64 = arg; }; BURGER_INLINE SafePrintArgument(const uint64_t* arg) BURGER_NOEXCEPT : m_eType(ARG_PUINT64) { m_Data.m_pWord64 = arg; }; #if defined(BURGER_HAS_WCHAR_T) || defined(DOXYGEN) BURGER_INLINE SafePrintArgument(const wchar_t* arg) BURGER_NOEXCEPT : m_eType(ARG_PUINT16) { m_Data.m_pWord16 = static_cast<const uint16_t*>(static_cast<const void*>(arg)); }; #endif #if defined(BURGER_INT_NOT_IN_STDINT) || defined(DOXYGEN) #if BURGER_SIZEOF_LONG == 4 BURGER_INLINE SafePrintArgument(const signed int* arg) BURGER_NOEXCEPT : m_eType(ARG_PINT32) { m_Data.m_pInt32 = static_cast<const int32_t*>(static_cast<const void*>(arg)); }; BURGER_INLINE SafePrintArgument(const unsigned int* arg) BURGER_NOEXCEPT : m_eType(ARG_PUINT32) { m_Data.m_pWord32 = static_cast<const uint32_t*>(static_cast<const void*>(arg)); }; #else BURGER_INLINE SafePrintArgument(const signed int* arg) BURGER_NOEXCEPT : m_eType(ARG_PINT16) { m_Data.m_pInt32 = static_cast<const int16_t*>(static_cast<const void*>(arg)); }; BURGER_INLINE SafePrintArgument(const unsigned int* arg) BURGER_NOEXCEPT : m_eType(ARG_PWORD16) { m_Data.m_pWord32 = static_cast<const uint16_t*>(static_cast<const void*>(arg)); }; #endif #endif #if defined(BURGER_LONG_NOT_IN_STDINT) || defined(DOXYGEN) #if BURGER_SIZEOF_LONG == 8 BURGER_INLINE SafePrintArgument(const signed long* arg) BURGER_NOEXCEPT : m_eType(ARG_PINT64) { m_Data.m_pInt64 = reinterpret_cast<const int64_t*>(arg); }; BURGER_INLINE SafePrintArgument(const unsigned long* arg) BURGER_NOEXCEPT : m_eType(ARG_PUINT64) { m_Data.m_pWord64 = reinterpret_cast<const uint64_t*>(arg); }; #else BURGER_INLINE SafePrintArgument(const signed long* arg) BURGER_NOEXCEPT : m_eType(ARG_PINT32) { m_Data.m_pInt32 = static_cast<const int32_t*>(static_cast<const void*>(arg)); }; BURGER_INLINE SafePrintArgument(const unsigned long* arg) BURGER_NOEXCEPT : m_eType(ARG_PUINT32) { m_Data.m_pWord32 = static_cast<const uint32_t*>(static_cast<const void*>(arg)); }; #endif #endif BURGER_INLINE SafePrintArgument(const float* arg) BURGER_NOEXCEPT : m_eType(ARG_PFLOAT) { m_Data.m_pFloat = arg; }; BURGER_INLINE SafePrintArgument(const double* arg) BURGER_NOEXCEPT : m_eType(ARG_PDOUBLE) { m_Data.m_pDouble = arg; }; #if defined(BURGER_X86) || defined(DOXYGEN) BURGER_INLINE SafePrintArgument(const __m64 arg) BURGER_NOEXCEPT : m_eType(ARG_SIMD64) { m_Data.m_pSIMD = &arg; }; BURGER_INLINE SafePrintArgument(const __m64* arg) BURGER_NOEXCEPT : m_eType(ARG_PSIMD64) { m_Data.m_pSIMD = arg; }; #endif #if (defined(BURGER_INTEL) && !defined(BURGER_WATCOM)) || defined(DOXYGEN) BURGER_INLINE SafePrintArgument(const __m128 arg) BURGER_NOEXCEPT : m_eType(ARG_SIMD128) { m_Data.m_pSIMD = &arg; }; BURGER_INLINE SafePrintArgument(const __m128* arg) BURGER_NOEXCEPT : m_eType(ARG_PSIMD128) { m_Data.m_pSIMD = arg; }; BURGER_INLINE SafePrintArgument(const __m128d arg) BURGER_NOEXCEPT : m_eType(ARG_SIMD128D) { m_Data.m_pSIMD = &arg; }; BURGER_INLINE SafePrintArgument(const __m128d* arg) BURGER_NOEXCEPT : m_eType(ARG_PSIMD128D) { m_Data.m_pSIMD = arg; }; BURGER_INLINE SafePrintArgument(const __m128i arg) BURGER_NOEXCEPT : m_eType(ARG_SIMD128I) { m_Data.m_pSIMD = &arg; }; BURGER_INLINE SafePrintArgument(const __m128i* arg) BURGER_NOEXCEPT : m_eType(ARG_PSIMD128I) { m_Data.m_pSIMD = arg; }; #endif // void* has to last because the above list of pointers will be checked // first, and void* will catch implicit conversion BURGER_INLINE SafePrintArgument(const void* arg) BURGER_NOEXCEPT : m_eType(ARG_PVOID) { m_Data.m_pVoid = arg; }; BURGER_INLINE uint_t IsNumeric(void) const BURGER_NOEXCEPT { return ((m_eType >= ARG_INT8) && (m_eType <= ARG_BOOL)); } BURGER_INLINE uint_t IsInteger(void) const BURGER_NOEXCEPT { return ((m_eType >= ARG_FIRSTINT) && (m_eType <= ARG_LASTINT)); } BURGER_INLINE uint_t IsSigned(void) const BURGER_NOEXCEPT { return ((m_eType >= ARG_FIRSTSIGNED) && (m_eType <= ARG_LASTSIGNED)); } BURGER_INLINE uint_t IsUnsigned(void) const BURGER_NOEXCEPT { return ( (m_eType >= ARG_FIRSTUNSIGNED) && (m_eType <= ARG_LASTUNSIGNED)); } BURGER_INLINE uint_t IsBoolean(void) const BURGER_NOEXCEPT { return (m_eType == ARG_BOOL); } BURGER_INLINE uint_t IsReal(void) const BURGER_NOEXCEPT { return ((m_eType >= ARG_FIRSTREAL) && (m_eType <= ARG_LASTREAL)); } uint_t BURGER_API IsNegative(void) const BURGER_NOEXCEPT; uint_t BURGER_API IsZero(void) const BURGER_NOEXCEPT; BURGER_INLINE uint_t IsCharacter(void) const BURGER_NOEXCEPT { return ((m_eType == ARG_INT8) || (m_eType == ARG_UINT8) || (m_eType == ARG_UINT16)); } BURGER_INLINE uint_t IsTextPointer(void) const BURGER_NOEXCEPT { return ((m_eType >= ARG_FIRSTTEXT) && (m_eType <= ARG_LASTTEXT)) || (m_eType == ARG_PUINT16); } BURGER_INLINE uint_t IsPointer(void) const BURGER_NOEXCEPT { return ((m_eType >= ARG_FIRSTPTR) && (m_eType <= ARG_LASTPTR)); } BURGER_INLINE uint_t Is64Bit(void) const BURGER_NOEXCEPT { return (GetDataLengthInBytes() == 8); } BURGER_INLINE uint_t IsSIMD(void) const BURGER_NOEXCEPT { return ((m_eType >= ARG_FIRSTSIMD) && (m_eType <= ARG_LASTSIMD)); } BURGER_INLINE uint_t IsSIMDPointer(void) const BURGER_NOEXCEPT { return ((m_eType >= ARG_FIRSTSIMDPTR) && (m_eType <= ARG_LASTSIMDPTR)); } uintptr_t BURGER_API GetDataLengthInBytes(void) const BURGER_NOEXCEPT; const void* BURGER_API GetDataAddress(void) const BURGER_NOEXCEPT; BURGER_INLINE eType GetType(void) const BURGER_NOEXCEPT { return m_eType; } BURGER_INLINE void SetType(eType uType) BURGER_NOEXCEPT { m_eType = uType; } static const char* BURGER_API GetTypeName(eType uType) BURGER_NOEXCEPT; BURGER_INLINE const char* BURGER_API GetTypeName(void) const BURGER_NOEXCEPT { return GetTypeName(m_eType); } int32_t BURGER_API GetInt32(void) const BURGER_NOEXCEPT; uint32_t BURGER_API GetUInt32(void) const BURGER_NOEXCEPT; int64_t BURGER_API GetInt64(void) const BURGER_NOEXCEPT; uint64_t BURGER_API GetUInt64(void) const BURGER_NOEXCEPT; char BURGER_API GetChar(void) const BURGER_NOEXCEPT; uint_t BURGER_API GetBool(void) const BURGER_NOEXCEPT; const void* BURGER_API GetPointer(void) const BURGER_NOEXCEPT; const char* BURGER_API GetText(void) const BURGER_NOEXCEPT; uintptr_t BURGER_API GetTextLength(void) const BURGER_NOEXCEPT; }; #if !defined(DOXYGEN) #define BURGER_SP_ARG1 Burger::SafePrintArgument a1 #define BURGER_SP_ARG2 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2 #define BURGER_SP_ARG3 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3 #define BURGER_SP_ARG4 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4 #define BURGER_SP_ARG5 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5 #define BURGER_SP_ARG6 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6 #define BURGER_SP_ARG7 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7 #define BURGER_SP_ARG8 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8 #define BURGER_SP_ARG9 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9 #define BURGER_SP_ARG10 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10 #define BURGER_SP_ARG11 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11 #define BURGER_SP_ARG12 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11, Burger::SafePrintArgument a12 #define BURGER_SP_ARG13 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11, Burger::SafePrintArgument a12, \ Burger::SafePrintArgument a13 #define BURGER_SP_ARG14 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11, Burger::SafePrintArgument a12, \ Burger::SafePrintArgument a13, Burger::SafePrintArgument a14 #define BURGER_SP_ARG15 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11, Burger::SafePrintArgument a12, \ Burger::SafePrintArgument a13, Burger::SafePrintArgument a14, \ Burger::SafePrintArgument a15 #define BURGER_SP_ARG16 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11, Burger::SafePrintArgument a12, \ Burger::SafePrintArgument a13, Burger::SafePrintArgument a14, \ Burger::SafePrintArgument a15, Burger::SafePrintArgument a16 #define BURGER_SP_ARG17 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11, Burger::SafePrintArgument a12, \ Burger::SafePrintArgument a13, Burger::SafePrintArgument a14, \ Burger::SafePrintArgument a15, Burger::SafePrintArgument a16, \ Burger::SafePrintArgument a17 #define BURGER_SP_ARG18 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11, Burger::SafePrintArgument a12, \ Burger::SafePrintArgument a13, Burger::SafePrintArgument a14, \ Burger::SafePrintArgument a15, Burger::SafePrintArgument a16, \ Burger::SafePrintArgument a17, Burger::SafePrintArgument a18 #define BURGER_SP_ARG19 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11, Burger::SafePrintArgument a12, \ Burger::SafePrintArgument a13, Burger::SafePrintArgument a14, \ Burger::SafePrintArgument a15, Burger::SafePrintArgument a16, \ Burger::SafePrintArgument a17, Burger::SafePrintArgument a18, \ Burger::SafePrintArgument a19 #define BURGER_SP_ARG20 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11, Burger::SafePrintArgument a12, \ Burger::SafePrintArgument a13, Burger::SafePrintArgument a14, \ Burger::SafePrintArgument a15, Burger::SafePrintArgument a16, \ Burger::SafePrintArgument a17, Burger::SafePrintArgument a18, \ Burger::SafePrintArgument a19, Burger::SafePrintArgument a20 #define BURGER_SP_ARG21 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11, Burger::SafePrintArgument a12, \ Burger::SafePrintArgument a13, Burger::SafePrintArgument a14, \ Burger::SafePrintArgument a15, Burger::SafePrintArgument a16, \ Burger::SafePrintArgument a17, Burger::SafePrintArgument a18, \ Burger::SafePrintArgument a19, Burger::SafePrintArgument a20, \ Burger::SafePrintArgument a21 #define BURGER_SP_ARG22 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11, Burger::SafePrintArgument a12, \ Burger::SafePrintArgument a13, Burger::SafePrintArgument a14, \ Burger::SafePrintArgument a15, Burger::SafePrintArgument a16, \ Burger::SafePrintArgument a17, Burger::SafePrintArgument a18, \ Burger::SafePrintArgument a19, Burger::SafePrintArgument a20, \ Burger::SafePrintArgument a21, Burger::SafePrintArgument a22 #define BURGER_SP_ARG23 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11, Burger::SafePrintArgument a12, \ Burger::SafePrintArgument a13, Burger::SafePrintArgument a14, \ Burger::SafePrintArgument a15, Burger::SafePrintArgument a16, \ Burger::SafePrintArgument a17, Burger::SafePrintArgument a18, \ Burger::SafePrintArgument a19, Burger::SafePrintArgument a20, \ Burger::SafePrintArgument a21, Burger::SafePrintArgument a22, \ Burger::SafePrintArgument a23 #define BURGER_SP_ARG24 \ Burger::SafePrintArgument a1, Burger::SafePrintArgument a2, \ Burger::SafePrintArgument a3, Burger::SafePrintArgument a4, \ Burger::SafePrintArgument a5, Burger::SafePrintArgument a6, \ Burger::SafePrintArgument a7, Burger::SafePrintArgument a8, \ Burger::SafePrintArgument a9, Burger::SafePrintArgument a10, \ Burger::SafePrintArgument a11, Burger::SafePrintArgument a12, \ Burger::SafePrintArgument a13, Burger::SafePrintArgument a14, \ Burger::SafePrintArgument a15, Burger::SafePrintArgument a16, \ Burger::SafePrintArgument a17, Burger::SafePrintArgument a18, \ Burger::SafePrintArgument a19, Burger::SafePrintArgument a20, \ Burger::SafePrintArgument a21, Burger::SafePrintArgument a22, \ Burger::SafePrintArgument a23, Burger::SafePrintArgument a24 #define BURGER_SP_INITARG1 &a1 #define BURGER_SP_INITARG2 &a1, &a2 #define BURGER_SP_INITARG3 &a1, &a2, &a3 #define BURGER_SP_INITARG4 &a1, &a2, &a3, &a4 #define BURGER_SP_INITARG5 &a1, &a2, &a3, &a4, &a5 #define BURGER_SP_INITARG6 &a1, &a2, &a3, &a4, &a5, &a6 #define BURGER_SP_INITARG7 &a1, &a2, &a3, &a4, &a5, &a6, &a7 #define BURGER_SP_INITARG8 &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8 #define BURGER_SP_INITARG9 &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9 #define BURGER_SP_INITARG10 &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10 #define BURGER_SP_INITARG11 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11 #define BURGER_SP_INITARG12 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11, &a12 #define BURGER_SP_INITARG13 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11, &a12, &a13 #define BURGER_SP_INITARG14 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11, &a12, &a13, &a14 #define BURGER_SP_INITARG15 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11, &a12, &a13, &a14, \ &a15 #define BURGER_SP_INITARG16 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11, &a12, &a13, &a14, \ &a15, &a16 #define BURGER_SP_INITARG17 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11, &a12, &a13, &a14, \ &a15, &a16, &a17 #define BURGER_SP_INITARG18 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11, &a12, &a13, &a14, \ &a15, &a16, &a17, &a18 #define BURGER_SP_INITARG19 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11, &a12, &a13, &a14, \ &a15, &a16, &a17, &a18, &a19 #define BURGER_SP_INITARG20 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11, &a12, &a13, &a14, \ &a15, &a16, &a17, &a18, &a19, &a20 #define BURGER_SP_INITARG21 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11, &a12, &a13, &a14, \ &a15, &a16, &a17, &a18, &a19, &a20, &a21 #define BURGER_SP_INITARG22 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11, &a12, &a13, &a14, \ &a15, &a16, &a17, &a18, &a19, &a20, &a21, &a22 #define BURGER_SP_INITARG23 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11, &a12, &a13, &a14, \ &a15, &a16, &a17, &a18, &a19, &a20, &a21, &a22, &a23 #define BURGER_SP_INITARG24 \ &a1, &a2, &a3, &a4, &a5, &a6, &a7, &a8, &a9, &a10, &a11, &a12, &a13, &a14, \ &a15, &a16, &a17, &a18, &a19, &a20, &a21, &a22, &a23, &a24 #endif #define BURGER_EXPAND_FORMATTING_FUNCTION(F) \ F(1) \ F(2) \ F(3) \ F(4) \ F(5) \ F(6) \ F(7) \ F(8) \ F(9) \ F(10) \ F(11) \ F(12) \ F(13) F(14) F(15) F(16) F(17) F(18) F(19) F(20) F(21) F(22) F(23) F(24) class SafePrint { public: enum eError { /** No error */ ERROR_NONE = 0, /** Bad Input Parameter */ ERROR_BAD_INPUT_PARAMETER = -1, /** Invalid or Corrupted Argument */ ERROR_BAD_ARGUMENT_TYPE = -2, /** Format String too long */ ERROR_FORMAT_STRING_TOO_LONG = -5, /** Too many format sequences encountered */ ERROR_TOO_MANY_FORMAT_SEQUENCES = -6, /** Not enough Arguments provided to the format string */ ERROR_INSUFFICIENT_ARGUMENTS = -7, /** Escape character '%' is last character in format string (undefined) */ ERROR_ESCAPE_IS_LAST_CHAR = -8, /** Width specified is too large */ ERROR_WIDTH_VALUE_TOO_LARGE = -10, /** Precision specified is too large */ ERROR_PRECISION_VALUE_TOO_LARGE = -11, /** Illegal character encountered in format sequence */ ERROR_ILLEGAL_CHARACTER_FORMAT_SEQUENCE = -12, /** Numeric character encountered in wrong place in format sequence */ ERROR_NUMERIC_CHAR_IN_WRONG_PLACE = -13, /** Argument index not in valid range */ ERROR_ARG_INDEX_INVALID = -15, /** Argument index specified in wrong place in format sequence */ ERROR_ARG_INDEX_IN_WRONG_PLACE = -16, /** Argument index specified twice */ ERROR_ARG_INDEX_DOUBLY_SPECIFIED = -17, /** Argument index not specified */ ERROR_ARG_INDEX_NOT_SPECIFIED = -18, /** Option flag encountered in wrong place in format sequence */ ERROR_OPTION_FLAG_IN_WRONG_PLACE = -20, /** Option flag specified twice */ ERROR_OPTION_FLAG_DOUBLY_SPECIFIED = -21, /** Precision specifier encountered in wrong place in format sequence */ ERROR_PRECISION_IN_WRONG_PLACE = -22, /** Precision specified twice */ ERROR_PRECISION_DOUBLY_SPECIFIED = -23, /** Multiple Argument length flags encountered */ ERROR_ARG_LENGTH_FLAG_DOUBLY_SPECIFIED = -24, /** No default conversion found for argument type */ ERROR_DEFAULT_CONVERSION_NOT_FOUND = -30, /** Argument type is incompatible with the conversion */ ERROR_INCOMPATIBLE_ARG = -31, /** Invalid wchar_t in argument, no conversion performed */ ERROR_INVALID_WIDECHAR_IN_ARG = -32, /** Invalid conversion type */ ERROR_INVALID_CONVERSION_TYPE = -33, /** Error occurred in RTL function fprintf while writing formatted output to file */ ERROR_WRITING_TO_FILE = -40, /** Error occurred in RTL function printf while writing formatted output to stdout */ ERROR_WRITING_STDOUT = -41, /** The RTL function used to transmit formatted output reported a different amount of chars sent */ ERROR_RTL_TRANSMITTED_COUNT = -42, /** Invalid Output Command encountered during formatting */ ERROR_INVALID_OUTPUT_CMD = -43, /** Single conversion output too large */ ERROR_CONVERSION_OUTPUT_TOO_LARGE = -44, /** Unspecified error */ ERROR_UNSPECIFIED = -99 }; enum eWarningFlags { /** No Warning */ WARN_NONE = 0, /** Argument signed mismatch with conversion */ WARN_SIGNED_UNSIGNED_MISMATCH = 1 << 0, /** Length modifier doesn't match argument */ WARN_LENGTH_SPECIFIER_MISMATCH = 1 << 1, /** Length modifier isn't valid for conversion */ WARN_LENGTH_NOT_VALID_FOR_CONVERSION = 1 << 2, /** Flag undefined for conversion (ignored) */ WARN_FLAG_UNDEFINED_FOR_CONVERSION = 1 << 3, /** Flag suppressed by another flag */ WARN_FLAG_SUPPRESSED = 1 << 4, /** Flag had no effect */ WARN_FLAG_NO_EFFECT = 1 << 5, /** Precision is undefined for conversion */ WARN_PRECISION_UNDEFINED = 1 << 6 }; enum eOpcode { OP_NOT_A_SYMBOL = 0, ///< Not A (Valid) Symbol OP_LITERAL_PERCENT, ///< '%' OP_NUMERIC_VALUE, ///< '0' - '9' OP_ARG_SPECIFIER, ///< '$' OP_PRECISION_SPECIFIER, ///< '.' OP_VALUE_FROM_ARG, ///< '*' OP_FLAG_LEFTJUSTIFY, ///< '-' OP_FLAG_FORCESIGN, ///< '+' OP_FLAG_LEAD_SPACE_POSITIVE, ///< ' ' OP_FLAG_ALTERNATIVE_FORM, ///< '#' OP_FLAG_COMMA_SEPERATE, ///< ',' OP_LENGTH_SHORT, ///< 'h' OP_LENGTH_LONG, ///< 'l' OP_LENGTH_INTMAX, ///< 'j' OP_LENGTH_SIZET, ///< 'z' OP_LENGTH_WORDPTR, ///< 't' OP_LENGTH_DOUBLE, ///< 'L' OP_OUTPUT_DEFAULT, ///< '@' OP_OUTPUT_BINARY, ///< '!' OP_OUTPUT_BOOLTEXT, ///< 'b' OP_OUTPUT_BOOLTEXTUPPER, ///< 'B' OP_OUTPUT_CHARACTER, ///< 'c' OP_OUTPUT_WIDECHARACTER, ///< 'C' OP_OUTPUT_DECIMALINT, ///< 'd' or 'i' OP_OUTPUT_DECIMALWORD, ///< 'u' OP_OUTPUT_DECIMALFLOAT, ///< 'f' OP_OUTPUT_DECIMALFLOATUPPER, ///< 'F' OP_OUTPUT_HEXFLOAT, ///< 'a' OP_OUTPUT_HEXFLOATUPPER, ///< 'A' OP_OUTPUT_SCI_NOTEFLOAT, ///< 'e' OP_OUTPUT_SCI_NOTEFLOATUPPER, ///< 'E' OP_OUTPUT_SCI_SHORTNOTE, ///< 'g' OP_OUTPUT_SCI_SHORTNOTEUPPER, ///< 'G' OP_OUTPUT_OCTAL, ///< 'o' OP_OUTPUT_HEX, ///< 'x' OP_OUTPUT_HEXUPPER, ///< 'X' OP_OUTPUT_POINTER, ///< 'p' OP_OUTPUT_POINTERUPPER, ///< 'P' OP_OUTPUT_CSTRING, ///< 's' OP_OUTPUT_CSTRING16, ///< 'S' OP_OUTPUT_STORELENGTH, ///< 'n' OP_FLAGS_BEGIN = OP_FLAG_LEFTJUSTIFY, ///< First flag index OP_FLAGS_END = OP_FLAG_COMMA_SEPERATE, ///< Last flag index OP_LENGTH_BEGIN = OP_LENGTH_SHORT, ///< First length index OP_LENGTH_END = OP_LENGTH_DOUBLE, ///< Last length index OP_OUTPUT_BEGIN = OP_OUTPUT_BINARY, ///< First output index OP_OUTPUT_END = OP_OUTPUT_CSTRING16 ///< Last output index }; enum eParseStage { PARSE_START, ///< Parsing has started PARSE_ARGNUM, ///< Parsing argument number PARSE_FLAGS, ///< Parsing a flag PARSE_WIDTH, ///< Parsing a width value PARSE_PRECISION, ///< Parsing a precision value PARSE_LENGTH ///< Parsing a length value }; enum eParseOptions { /** Strict typing is enforced */ PARSEOPTION_STRICT_OUTPUT_TYPES_OK = 0x0001, /** Relaxed typing is allowed */ PARSEOPTION_RELAXED_OUTPUT_TYPES_OK = 0x0002, /** Check arguments for perfect match */ PARSEOPTION_CHECK_ARG_TYPES = 0x0004, /** Allow conversion of data in array */ PARSEOPTION_ALLOW_N_CONVERSION = 0x0008, /** Default parsing setting */ PARSEOPTION_DEFAULT = PARSEOPTION_STRICT_OUTPUT_TYPES_OK | PARSEOPTION_RELAXED_OUTPUT_TYPES_OK | PARSEOPTION_CHECK_ARG_TYPES }; enum eConversionSpecifier { CONVSPEC_INVALID, ///< Not valid CONVSPEC_BINNUMBER, ///< Binary output CONVSPEC_BOOLTEXT, ///< Boolean text ("true","false") CONVSPEC_CHAR, ///< Single char CONVSPEC_DECIMAL_INT, ///< Signed integer CONVSPEC_DECIMAL_WORD, ///< Unsigned integer CONVSPEC_OCTAL, ///< Octal output CONVSPEC_HEX, ///< Hex output CONVSPEC_HEX_FLOAT, ///< Float as hex CONVSPEC_DECIMAL_FLOAT, ///< Standard float CONVSPEC_SCI_NOTE_FLOAT, ///< Scientific notation float CONVSPEC_SHORTER_FLOAT, ///< Short form float CONVSPEC_POINTER, ///< Hex pointer CONVSPEC_TEXT_STRING, ///< "C" string pointer CONVSPEC_COUNT, ///< Number of conversion specifiers CONVSPEC_NOT_SUPPLIED = 255 ///< Uninitialized specification }; enum eConversionSpecifierFlag { /** No conversion flag */ CONVSPECFLAG_NONE = 0, /** Binary output flag */ CONVSPECFLAG_BINARY_NUMBER = 1 << CONVSPEC_BINNUMBER, /** Boolean text flag */ CONVSPECFLAG_BOOL_TEXT = 1 << CONVSPEC_BOOLTEXT, /** Single char flag */ CONVSPECFLAG_CHARACTER = 1 << CONVSPEC_CHAR, /** Signed integer flag */ CONVSPECFLAG_DECIMAL_INT = 1 << CONVSPEC_DECIMAL_INT, /** Unsigned integer flag */ CONVSPECFLAG_DECIMAL_UNSIGNEDINT = 1 << CONVSPEC_DECIMAL_WORD, /** Octal output flag */ CONVSPECFLAG_OCTAL = 1 << CONVSPEC_OCTAL, /** Hex output flag */ CONVSPECFLAG_HEX = 1 << CONVSPEC_HEX, /** Float as hex flag */ CONVSPECFLAG_HEX_FLOAT = 1 << CONVSPEC_HEX_FLOAT, /** Standard float flag */ CONVSPECFLAG_DECIMAL_FLOAT = 1 << CONVSPEC_DECIMAL_FLOAT, /** Scientific notation float flag */ CONVSPECFLAG_SCINOTE_FLOAT = 1 << CONVSPEC_SCI_NOTE_FLOAT, /** Short form float flag */ CONVSPECFLAG_SHORTER_FLOAT = 1 << CONVSPEC_SHORTER_FLOAT, /** Hex pointer flag */ CONVSPECFLAG_POINTER = 1 << CONVSPEC_POINTER, /** "C" string pointer flag */ CONVSPECFLAG_TEXT_STRING = 1 << CONVSPEC_TEXT_STRING }; enum eConversionFlags { /** No formatting options */ CONVFLAG_NO_OPTIONS = 0, /** Left justification turned on */ CONVFLAG_LEFT_JUSTIFY = 0x00000001, /** Display the - or + sign */ CONVFLAG_DISPLAY_SIGN = 0x00000002, /** Don't display a sign */ CONVFLAG_BLANK_SIGN = 0x00000004, /** Alternative form */ CONVFLAG_ALTERNATIVE_FORM = 0x00000008, /** Pad the left with zeros */ CONVFLAG_LEFT_PAD_ZEROS = 0x00000010, /** Comma separate numbers */ CONVFLAG_COMMA_SEPARATE = 0x00000020, /** Force text to uppercase */ CONVFLAG_UPPERCASE = 0x00000040, /** Interpret argument as a uint16_t */ CONVFLAG_INTERPRET_SHORT = 0x00000100, /** Interpret argument as a int16_t */ CONVFLAG_INTERPRET_SSHORT = 0x00000200, /** Interpret argument as a uint64_t */ CONVFLAG_INTERPRET_LONG = 0x00000400, /** Interpret argument as a int64_t */ CONVFLAG_INTERPRET_LLONG = 0x00000800, /** Interpret argument as a float */ CONVFLAG_INTERPRET_DOUBLE = 0x00001000, /** Interpret argument as an integer */ CONVFLAG_INTERPRET_INTMAX = 0x00002000, /** Interpret argument as a uintptr_t (size_t) */ CONVFLAG_INTERPRET_SIZET = 0x00004000, /** Interpret argument as a uintptr_t */ CONVFLAG_INTERPRET_WORDPTR = 0x00008000, /** Interpret argument as unsigned */ CONVFLAG_INTERPRET_WORD = 0x00010000, /** Interpretation is specified */ CONVFLAG_INTERPRET_SPECIFIED = 0x00080000, /** Width parameter was specified */ CONVFLAG_WIDTH_SPECIFIED = 0x00100000, /** Precision parameter was specified */ CONVFLAG_PRECISION_SPECIFIED = 0x00200000, /** Precision marker was specified */ CONVFLAG_PRECISION_MARKER = 0x00400000, /** "C" string is wide */ CONVFLAG_OUTPUT_WCHAR = 0x01000000, /** Used by COPY_TEXT Command */ CONVFLAG_HAS_SEQUENCE_CHAR = 0x80000000 }; enum eConversionCommand { COMMAND_COPY_TEXT, ///< Copy text from "C" string COMMAND_FORMAT_ARGUMENT ///< Processing a '%' command }; struct OutputTypeAndFlags_t { /** Specifier for this type */ eConversionSpecifier m_uOutputDisplayType; /** Modifiers allowed for this type */ eConversionFlags m_uOutputFlagsModifier; }; enum { /** Default character to pad the width with */ kWIDTH_PAD_CHARACTER = ' ', /** Default space for sign value */ kNUMERIC_BLANK_SIGN = ' ', /** Default positive sign character */ kNUMERIC_POSITIVE_SIGN = '+', /** Escape character for format string. printf uses '%', that's good enough */ kFORMAT_ESCAPE_CHAR = '%', /** Default negative sign character */ kNUMERIC_NEGATIVE_SIGN = '-', /** Default numeric separator character */ kNUMERIC_GROUP_SEPARATOR = ',', /** Default separator character for binary */ kBINARY_GROUP_SEPARATOR = ' ', /** Default decimal point for floating point */ kNUMERIC_DECIMAL_POINT = '.' }; /** ISO/IEC 9899:TC2 spec for minimum exponent digits */ static const uint_t kMIN_FLOAT_EXPONENT_DIGITS = 2; /** Maximum number of passed parameters */ static const uint_t kMAX_OUTPUT_COMMANDS = 64; /** Largest number of character precision to print for a floating point * number */ static const uintptr_t kMaxPrintFPrecision = 4095; /** Largest number of digits to print for a floating point number */ static const uintptr_t kMaxPrintFWidth = 4095; /** Largest size of a single argument in bytes */ static const uintptr_t kMAX_CONVERSION_OUTPUT_SIZE = 4095; /** Maximum size of the total output (Sanity check) */ static const uintptr_t kMAX_TOTAL_OUTPUT_SIZE = 128 * 1024; struct ParamInfo_t { struct FloatDigitInfo_t { /** Integer digit count */ uint16_t m_uIntSpecialDigits; /** Fraction digit count */ uint16_t m_uFracDigits; /** Padding digit count */ uint16_t m_uPadDigits; /** Number of digits for sign */ uint8_t m_uSignDecimalDigits; /** Number of exponent digits */ uint8_t m_uExponentDigits; /** \ref FPPrintInfo::eResult Type of floating point number found */ uint16_t m_uFPInfoResult; /** Number of integer zeros */ uint16_t m_uPadIntZeros; /** Number of fraction zeros */ uint16_t m_uPadFracZeros; /** First integer digit index */ uint16_t m_uFirstNonZeroIntPos; }; private: /** \ref eConversionCommand micro command (copy memory, format argument) */ uint8_t m_uCommand; /** \ref eConversionSpecifier output type of the argument */ uint8_t m_uOutputConversion; /** Source Argument Index */ uint8_t m_uArgIndex; /** \ref eWarningFlags Accumulated warnings found (Bits are OR'd * together) */ uint8_t m_uWarnings; /** \ref eConversionFlags Output Formatting Flags */ uint32_t m_uFormatOptionFlags; /** Number of characters to print */ uint16_t m_uCharacterWidth; /** Number of characters of numeric precision */ uint16_t m_uPrecision; /** Length of the section of formatted output in bytes */ uint16_t m_uFormattedLength; /** Total Length (actual or estimated) of output (formatted + padding) * in bytes */ uint16_t m_uOutputLength; public: union { const char* m_pText; ///< Pointer to text if "C" string FloatDigitInfo_t m_FloatInfo; ///< Info on the formatted float }; public: BURGER_INLINE eConversionCommand GetCommand(void) const BURGER_NOEXCEPT { return static_cast<eConversionCommand>(m_uCommand); } BURGER_INLINE void SetCommand( eConversionCommand uCommand) BURGER_NOEXCEPT { m_uCommand = static_cast<uint8_t>(uCommand); } BURGER_INLINE eConversionSpecifier GetConversion( void) const BURGER_NOEXCEPT { return static_cast<eConversionSpecifier>(m_uOutputConversion); } BURGER_INLINE void SetConversion( eConversionSpecifier uOutputConversion) BURGER_NOEXCEPT { m_uOutputConversion = static_cast<uint8_t>(uOutputConversion); } BURGER_INLINE uint32_t GetConversionAsFlag(void) const BURGER_NOEXCEPT { return static_cast<uint32_t>(1U << m_uOutputConversion); } BURGER_INLINE uint_t GetArgIndex(void) const BURGER_NOEXCEPT { return m_uArgIndex; } BURGER_INLINE void SetArgIndex(uint_t uArgIndex) BURGER_NOEXCEPT { m_uArgIndex = static_cast<uint8_t>(uArgIndex); } BURGER_INLINE uint_t GetWarnings(void) const BURGER_NOEXCEPT { return m_uWarnings; } BURGER_INLINE void SetWarning(eWarningFlags uWarning) BURGER_NOEXCEPT { m_uWarnings |= static_cast<uint8_t>(uWarning); } BURGER_INLINE uint32_t GetFlags(void) const BURGER_NOEXCEPT { return m_uFormatOptionFlags; } BURGER_INLINE void SetFlags(uint32_t uFormatOptionFlags) BURGER_NOEXCEPT { m_uFormatOptionFlags = uFormatOptionFlags; } BURGER_INLINE void SetFlag( eConversionFlags uFormatOptionFlags) BURGER_NOEXCEPT { m_uFormatOptionFlags |= static_cast<uint32_t>(uFormatOptionFlags); } BURGER_INLINE void ClearFlag( eConversionFlags uFormatOptionFlags) BURGER_NOEXCEPT { m_uFormatOptionFlags &= (~static_cast<uint32_t>(uFormatOptionFlags)); } BURGER_INLINE uint_t IsFlagSet( eConversionFlags uFormatOptionFlags) const BURGER_NOEXCEPT { return ((m_uFormatOptionFlags & static_cast<uint32_t>(uFormatOptionFlags)) == static_cast<uint32_t>(uFormatOptionFlags)); } BURGER_INLINE void ClearFlags(void) BURGER_NOEXCEPT { m_uFormatOptionFlags = CONVFLAG_NO_OPTIONS; } BURGER_INLINE uint_t GetWidth(void) const BURGER_NOEXCEPT { return m_uCharacterWidth; } BURGER_INLINE void SetWidth(uint_t uCharacterWidth) BURGER_NOEXCEPT { m_uCharacterWidth = static_cast<uint16_t>(uCharacterWidth); } BURGER_INLINE uint_t GetPrecision(void) const BURGER_NOEXCEPT { return m_uPrecision; } BURGER_INLINE void SetPrecision(uint_t uPrecision) BURGER_NOEXCEPT { m_uPrecision = static_cast<uint16_t>(uPrecision); } BURGER_INLINE uintptr_t GetFormattedLength(void) const BURGER_NOEXCEPT { return m_uFormattedLength; } BURGER_INLINE void SetFormattedLength( uintptr_t uFormattedLength) BURGER_NOEXCEPT { m_uFormattedLength = static_cast<uint16_t>(uFormattedLength); } BURGER_INLINE uintptr_t GetOutputLength(void) const BURGER_NOEXCEPT { return m_uOutputLength; } BURGER_INLINE void SetOutputLength( uintptr_t uOutputLength) BURGER_NOEXCEPT { m_uOutputLength = static_cast<uint16_t>(uOutputLength); } void BURGER_API SetFloatInfo(uint_t uIntSpecialDigits, uint_t uFracDigits, uint_t bSign, uint_t uDecimalPoint, uint_t uPadDigits, uint_t uExponentDigits) BURGER_NOEXCEPT; void BURGER_API GetFloatInfo(uint_t* pIntSpecialDigits, uint_t* pFracDigits, uint_t* pSign, uint_t* pDecimalPoint, uint_t* pPadDigits, uint_t* pExponentDigits) const BURGER_NOEXCEPT; void BURGER_API SetFloatAnalysisInfo(FPPrintInfo::eResult uFPInfoResult, uint_t uPadIntZeros, uint_t uPadFracZeros, uint_t uFirstNonZeroIntPos) BURGER_NOEXCEPT; void BURGER_API GetFloatAnalysisInfo( FPPrintInfo::eResult* pFPInfoResult, uint_t* pPadIntZeros, uint_t* pPadFracZeros, uint_t* pFirstNonZeroIntPos) const BURGER_NOEXCEPT; void BURGER_API SetFloatSpecialResult( FPPrintInfo::eResult uFPInfoResult, uint_t uIntSpecialDigits, uint_t uPadIntZeros, uint_t uIsNegative) BURGER_NOEXCEPT; BURGER_INLINE uint_t GetFloatSpecialChars(void) const BURGER_NOEXCEPT { return m_FloatInfo.m_uIntSpecialDigits; } BURGER_INLINE uint_t GetFloatSpecialLeadingZeros( void) const BURGER_NOEXCEPT { return m_FloatInfo.m_uPadIntZeros; } BURGER_INLINE uint_t GetFloatSpecialIsNegative( void) const BURGER_NOEXCEPT { return (m_FloatInfo.m_uExponentDigits != 0); } uintptr_t BURGER_API PadFieldWidth( char* pOutBuffer) const BURGER_NOEXCEPT; void BURGER_API GetFormattedOutputLength( const SafePrintArgument* pArg) BURGER_NOEXCEPT; void BURGER_API CheckConversionFlags(void) BURGER_NOEXCEPT; void BURGER_API CheckConversionForWarnings( const SafePrintArgument* pArg) BURGER_NOEXCEPT; eError BURGER_API StoreOffNumericValue( eParseStage uStage, uint32_t uCurrentNumValue) BURGER_NOEXCEPT; uintptr_t BURGER_API FormatInteger(char* pOutBuffer, const SafePrintArgument* pArg) const BURGER_NOEXCEPT; uintptr_t BURGER_API FormatHexOrOctal(char* pOutBuffer, const SafePrintArgument* pArg) const BURGER_NOEXCEPT; uintptr_t BURGER_API FormatPointer(char* pOutBuffer, const SafePrintArgument* pArg) const BURGER_NOEXCEPT; uintptr_t BURGER_API FormatChar(char* pOutBuffer, const SafePrintArgument* pArg) const BURGER_NOEXCEPT; uintptr_t BURGER_API FormatTextString(char* pOutBuffer, const SafePrintArgument* pArg) const BURGER_NOEXCEPT; uintptr_t BURGER_API FormatBool(char* pOutBuffer, const SafePrintArgument* pArg) const BURGER_NOEXCEPT; uintptr_t BURGER_API FormatBinary(char* pOutBuffer, const SafePrintArgument* pArg) const BURGER_NOEXCEPT; uintptr_t BURGER_API FormatSpecialReal(char* pOutBuffer, FPPrintInfo::eResult uSpecialResult) const BURGER_NOEXCEPT; uintptr_t BURGER_API FormatReal(char* pOutBuffer, const SafePrintArgument* pArg) const BURGER_NOEXCEPT; }; struct ProcessResults_t { /** Number of output commands created */ uintptr_t m_uNumOutputCommands; /** Size of formatted output (no trailing null) in bytes */ uintptr_t m_uFormattedOutputLength; /** Position of sequence that contains error */ uintptr_t m_uErrorFormatSequencePos; /** Position of character that triggered error */ uintptr_t m_uErrorCharPos; /** Results of the parsing or output phase */ eError m_uPhaseResults; intptr_t BURGER_API ErrorHandler(const char* pFormatString, uintptr_t uArgCount, const SafePrintArgument** ppArgs) BURGER_NOEXCEPT; uintptr_t BURGER_API FormatArgument(char* pOutputBuffer, uintptr_t uOutputBufferSize, const ParamInfo_t* pParamInfo, const SafePrintArgument* pArgument) BURGER_NOEXCEPT; uintptr_t BURGER_API GenerateFormatOutputToBuffer(char* pOutputBuffer, uintptr_t uOutputBufferSize, uintptr_t uArgCount, const SafePrintArgument** ppArgs, uintptr_t uParamInfoCount, const ParamInfo_t* pParamInfos) BURGER_NOEXCEPT; uint_t BURGER_API WriteBufferToFile(FILE* fp, uint_t bUsingSTDOUT, const char* pBuffer, uintptr_t uBufferSize, uintptr_t uCharsSoFar) BURGER_NOEXCEPT; uintptr_t BURGER_API GenerateFormattedOutputToFile(FILE* fp, uint_t bUsingSTDOUT, uintptr_t uArgCount, const SafePrintArgument** ppArgs, uintptr_t uParamInfoCount, const ParamInfo_t* pParamInfos) BURGER_NOEXCEPT; uint_t BURGER_API FormatPreProcess(eParseOptions uOptions, const char* pFormat, uintptr_t uFormatLength, uintptr_t uArgCount, const SafePrintArgument** ppArgs, uintptr_t uParamInfoCount, ParamInfo_t* pParamInfos) BURGER_NOEXCEPT; }; typedef uint_t(BURGER_API* SprintfCallbackProc)(uint_t bNoErrors, uintptr_t uRequestedSize, void** ppOutputBuffer, void* pContext); static const char g_NullString[]; static const char* g_BoolText[2]; static const eOpcode g_CodeMap[128]; static const eConversionFlags g_PrintFlagMappings[5]; static const eConversionFlags g_PrintfLengthMappings[6]; static const OutputTypeAndFlags_t g_PrintfOutputType[22]; static const uintptr_t g_ConversionArgumentSizes[14]; static const uint32_t g_ValidFlagsForConversion[14]; static const uint32_t g_ValidOutputDisplayTypesStrict[SafePrintArgument::ARG_COUNT]; static const uint32_t g_ValidOutputDisplayTypesRelaxed[SafePrintArgument::ARG_COUNT]; static const char* BURGER_API GetErrorDescription( eError uType) BURGER_NOEXCEPT; static const char* BURGER_API GetWarningDescription( eWarningFlags uFlags) BURGER_NOEXCEPT; static eOpcode BURGER_API GetDefaultArgumentType( const SafePrintArgument* pArg) BURGER_NOEXCEPT; static const char* BURGER_API GetOutputDisplayType( eConversionSpecifier uType) BURGER_NOEXCEPT; static const char* BURGER_API GetOutputCommandName( eConversionCommand uCommand) BURGER_NOEXCEPT; }; extern intptr_t BURGER_API GetFormattedLength(const char* pFormat, uintptr_t uArgCount, const SafePrintArgument** ppArgs) BURGER_NOEXCEPT; extern intptr_t BURGER_API SprintfUserAlloc( SafePrint::SprintfCallbackProc pCallback, void* pContext, uint_t bAddNull, const char* pFormat, uintptr_t uArgCount, const SafePrintArgument** ppArgs) BURGER_NOEXCEPT; extern intptr_t BURGER_API Sprintf(char* pOutput, const char* pFormat, uintptr_t uArgCount, const SafePrintArgument** ppArgs) BURGER_NOEXCEPT; extern intptr_t BURGER_API Snprintf(char* pOutput, uintptr_t uOutputSize, const char* pFormat, uintptr_t uArgCount, const SafePrintArgument** ppArgs) BURGER_NOEXCEPT; extern intptr_t BURGER_API Printf(const char* pFormat, uintptr_t uArgCount, const SafePrintArgument** ppArgs) BURGER_NOEXCEPT; extern intptr_t BURGER_API Fprintf(FILE* fp, const char* pFormat, uintptr_t uArgCount, const SafePrintArgument** ppArgs) BURGER_NOEXCEPT; extern intptr_t BURGER_API DebugSnprintf(char* pOutput, uintptr_t uOutputSize, const char* pFormat, uintptr_t uArgCount, const SafePrintArgument** ppArgs) BURGER_NOEXCEPT; #if !defined(DOXYGEN) BURGER_INLINE intptr_t GetFormattedLength(const char* pFormat) BURGER_NOEXCEPT { return GetFormattedLength(pFormat, 0, nullptr); } BURGER_INLINE intptr_t SprintfUserAlloc( SafePrint::SprintfCallbackProc pCallback, void* pContext, uint_t bAddNull, const char* pFormat) BURGER_NOEXCEPT { return SprintfUserAlloc(pCallback, pContext, bAddNull, pFormat, 0, nullptr); } BURGER_INLINE intptr_t Sprintf( char* pOutput, const char* pFormat) BURGER_NOEXCEPT { return Sprintf(pOutput, pFormat, 0, nullptr); } BURGER_INLINE intptr_t Snprintf( char* pOutput, uintptr_t uOutputSize, const char* pFormat) BURGER_NOEXCEPT { return Snprintf(pOutput, uOutputSize, pFormat, 0, nullptr); } BURGER_INLINE intptr_t Printf(const char* pFormat) BURGER_NOEXCEPT { return Printf(pFormat, 0, nullptr); } BURGER_INLINE intptr_t Fprintf(FILE* fp, const char* pFormat) BURGER_NOEXCEPT { return Fprintf(fp, pFormat, 0, nullptr); } BURGER_INLINE intptr_t DebugSnprintf( char* pOutput, uintptr_t uOutputSize, const char* pFormat) { return DebugSnprintf(pOutput, uOutputSize, pFormat, 0, nullptr); } #define BURGER_TEMPMACRO(N) \ BURGER_INLINE intptr_t GetFormattedLength( \ const char* pFormat, BURGER_SP_ARG##N) \ { \ const SafePrintArgument* ArgTable[N] = {BURGER_SP_INITARG##N}; \ return GetFormattedLength(pFormat, N, ArgTable); \ } BURGER_EXPAND_FORMATTING_FUNCTION(BURGER_TEMPMACRO); #undef BURGER_TEMPMACRO #define BURGER_TEMPMACRO(N) \ BURGER_INLINE intptr_t SprintfUserAlloc( \ SafePrint::SprintfCallbackProc pCallback, void* pContext, \ uint_t bAddNull, const char* pFormat, BURGER_SP_ARG##N) \ { \ const SafePrintArgument* ArgTable[N] = {BURGER_SP_INITARG##N}; \ return SprintfUserAlloc( \ pCallback, pContext, bAddNull, pFormat, N, ArgTable); \ } BURGER_EXPAND_FORMATTING_FUNCTION(BURGER_TEMPMACRO); #undef BURGER_TEMPMACRO #define BURGER_TEMPMACRO(N) \ BURGER_INLINE intptr_t Sprintf( \ char* pOutput, const char* pFormat, BURGER_SP_ARG##N) \ { \ const SafePrintArgument* ArgTable[N] = {BURGER_SP_INITARG##N}; \ return Sprintf(pOutput, pFormat, N, ArgTable); \ } BURGER_EXPAND_FORMATTING_FUNCTION(BURGER_TEMPMACRO); #undef BURGER_TEMPMACRO #define BURGER_TEMPMACRO(N) \ BURGER_INLINE intptr_t Snprintf(char* pOutput, uintptr_t uOutputSize, \ const char* pFormat, BURGER_SP_ARG##N) \ { \ const SafePrintArgument* ArgTable[N] = {BURGER_SP_INITARG##N}; \ return Snprintf(pOutput, uOutputSize, pFormat, N, ArgTable); \ } BURGER_EXPAND_FORMATTING_FUNCTION(BURGER_TEMPMACRO); #undef BURGER_TEMPMACRO #define BURGER_TEMPMACRO(N) \ BURGER_INLINE intptr_t Printf(const char* pFormat, BURGER_SP_ARG##N) \ { \ const SafePrintArgument* ArgTable[N] = {BURGER_SP_INITARG##N}; \ return Printf(pFormat, N, ArgTable); \ } BURGER_EXPAND_FORMATTING_FUNCTION(BURGER_TEMPMACRO); #undef BURGER_TEMPMACRO #define BURGER_TEMPMACRO(N) \ BURGER_INLINE intptr_t Fprintf( \ FILE* fp, const char* pFormat, BURGER_SP_ARG##N) \ { \ const SafePrintArgument* ArgTable[N] = {BURGER_SP_INITARG##N}; \ return Fprintf(fp, pFormat, N, ArgTable); \ } BURGER_EXPAND_FORMATTING_FUNCTION(BURGER_TEMPMACRO); #undef BURGER_TEMPMACRO #define BURGER_TEMPMACRO(N) \ BURGER_INLINE intptr_t DebugSnprintf(char* pOutput, uintptr_t uOutputSize, \ const char* pFormat, BURGER_SP_ARG##N) \ { \ const SafePrintArgument* ArgTable[N] = {BURGER_SP_INITARG##N}; \ return DebugSnprintf(pOutput, uOutputSize, pFormat, N, ArgTable); \ } BURGER_EXPAND_FORMATTING_FUNCTION(BURGER_TEMPMACRO); #undef BURGER_TEMPMACRO #endif } /* END */ #endif
39.796023
80
0.652561
5fb2503107746096c7f3cf4ffd1007a99f2a8c49
22,067
h
C
MSR_ECClib/msr_ecclib_priv.h
BryanStarbuck/MSR_ECClib
5422002e5da3bd5aa1db3662fd47a0ac3507e147
[ "Apache-2.0" ]
1
2018-05-29T12:14:00.000Z
2018-05-29T12:14:00.000Z
MSR_ECClib/msr_ecclib_priv.h
BryanStarbuck/MSR_ECClib
5422002e5da3bd5aa1db3662fd47a0ac3507e147
[ "Apache-2.0" ]
null
null
null
MSR_ECClib/msr_ecclib_priv.h
BryanStarbuck/MSR_ECClib
5422002e5da3bd5aa1db3662fd47a0ac3507e147
[ "Apache-2.0" ]
null
null
null
/************************************************************************** * MSR ECClib, an efficient and secure elliptic curve cryptographic library * * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use these files 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. * * * Abstract: internal declarations for MSR ECClib * * This software is based on the article by Joppe Bos, Craig Costello, * Patrick Longa and Michael Naehrig, "Selecting elliptic curves for * cryptography: an efficiency and security analysis", preprint available * at http://eprint.iacr.org/2014/130. ***************************************************************************/ #ifndef __MSR_ECCLIB_PRIV_H__ #define __MSR_ECCLIB_PRIV_H__ // For C++ #ifdef __cplusplus extern "C" { #endif #include <stdint.h> #include "msr_ecclib.h" #define UNREFERENCED_PARAMETER(PAR) (PAR) // Additional point representations used internally: // Types for point representations for Weierstrass a=-3 curve "Jac256" typedef struct { dig256 X; dig256 Y; dig256 Z; dig256 Z2; dig256 Z3; } point_chu_precomp_Jac256t; // Point representation in Chudnovsky coordinates (X:Y:Z:Z^2:Z^3) (used for precomputed points). typedef point_chu_precomp_Jac256t point_chu_precomp_Jac256[1]; // Types for point representations for twisted Edwards a=-1 curve "Ted256" typedef struct { dig256 XY; dig256 YX; dig256 Z2; dig256 T2; } point_extproj_precomp_Ted256t; // Point representation in extended homogeneous coordinates (X+Y:Y-Z:2Z:2T) (used for precomputed points). typedef point_extproj_precomp_Ted256t point_extproj_precomp_Ted256[1]; // Types for point representations for Weierstrass a=-3 curve "Jac384" typedef struct { dig384 X; dig384 Y; dig384 Z; dig384 Z2; dig384 Z3; } point_chu_precomp_Jac384t; // Point representation in Chudnovsky coordinates (X:Y:Z:Z^2:Z^3) (used for precomputed points). typedef point_chu_precomp_Jac384t point_chu_precomp_Jac384[1]; // Types for point representations for twisted Edwards a=-1 curve "Ted384" typedef struct { dig384 XY; dig384 YX; dig384 Z2; dig384 T2; } point_extproj_precomp_Ted384t; // Point representation in extended homogeneous coordinates (X+Y:Y-Z:2Z:2T) (used for precomputed points). typedef point_extproj_precomp_Ted384t point_extproj_precomp_Ted384[1]; // Types for point representations for Weierstrass a=-3 curve "Jac512" typedef struct { dig512 X; dig512 Y; dig512 Z; dig512 Z2; dig512 Z3; } point_chu_precomp_Jac512t; // Point representation in Chudnovsky coordinates (X:Y:Z:Z^2:Z^3) (used for precomputed points). typedef point_chu_precomp_Jac512t point_chu_precomp_Jac512[1]; // Types for point representations for twisted Edwards a=-1 curve "Ted512" typedef struct { dig512 XY; dig512 YX; dig512 Z2; dig512 T2; } point_extproj_precomp_Ted512t; // Point representation in extended homogeneous coordinates (X+Y:Y-Z:2Z:2T) (used for precomputed points). typedef point_extproj_precomp_Ted512t point_extproj_precomp_Ted512[1]; /*************************** Function prototypes *****************************/ /********** Field functions ***********/ // Low-level field multiplication c=a*b mod p in x64 assembly void fpmul256_a(dig256 a, dig256 b, dig256 c); void fpmul384_a(dig384 a, dig384 b, dig384 c); void fpmul512_a(dig512 a, dig512 b, dig512 c); // Low-level field squaring c=a^2 mod p in x64 assembly void fpsqr256_a(dig256 a, dig256 c); void fpsqr384_a(dig384 a, dig384 c); void fpsqr512_a(dig512 a, dig512 c); // Low-level subtraction a = modulus-a, or field negation, a = -a (mod p) if modulus=p, in x64 assembly BOOL fpneg256_a(dig256 modulus, dig256 a); BOOL fpneg384_a(dig384 modulus, dig384 a); BOOL fpneg512_a(dig512 modulus, dig512 a); // Low-level field addition c = a+b mod p in x64 assembly void fpadd256_a(dig256 a, dig256 b, dig256 c); void fpadd384_a(dig384 a, dig384 b, dig384 c); void fpadd512_a(dig512 a, dig512 b, dig512 c); // Low-level field subtraction c = a-b mod p in x64 assembly void fpsub256_a(dig256 a, dig256 b, dig256 c); void fpsub384_a(dig384 a, dig384 b, dig384 c); void fpsub512_a(dig512 a, dig512 b, dig512 c); // Low-level field division by two c = a/2 mod p in x64 assembly void fpdiv2_256_a(dig256 a, dig256 c); void fpdiv2_384_a(dig384 a, dig384 c); void fpdiv2_512_a(dig512 a, dig512 c); // Low-level field zeroing in x64 assembly void fpzero256_a(dig256 a); void fpzero384_a(dig384 a); void fpzero512_a(dig512 a); // Low-level field inversion, a = a^-1 mod p (= a^(p-2) mod p) void fpinv256_fixedchain(dig256 a); void fpinv384_fixedchain(dig384 a); void fpinv512_fixedchain(dig512 a); /********** Curve functions ***********/ // SECURITY NOTE: the following functions are used for internal computations only and their correctness depends on the context // in which they are used. // Weierstrass a=-3 curves (Jac curves) // "Complete" addition P = P+Q using mixed Jacobian-affine coordinates, Weierstrass a=-3 curve void eccadd_mixed_jac_Jac256(point_Jac256 Q, point_jac_Jac256 P, point_jac_Jac256 *table, PCurveStruct JacCurve); void eccadd_mixed_jac_Jac384(point_Jac384 Q, point_jac_Jac384 P, point_jac_Jac384 *table, PCurveStruct JacCurve); void eccadd_mixed_jac_Jac512(point_Jac512 Q, point_jac_Jac512 P, point_jac_Jac512 *table, PCurveStruct JacCurve); // Point mixed addition P = P+Q using conditionals (if-statements), Weierstrass a=-3 curve static void eccadd_mixed_jac_conditionals_Jac256(point_Jac256 Q, point_jac_Jac256 P, PCurveStruct JacCurve); static void eccadd_mixed_jac_conditionals_Jac384(point_Jac384 Q, point_jac_Jac384 P, PCurveStruct JacCurve); static void eccadd_mixed_jac_conditionals_Jac512(point_Jac512 Q, point_jac_Jac512 P, PCurveStruct JacCurve); // "Complete" addition P = P+Q, Weierstrass a=-3 curve. Table initialization is not included. static void eccadd_jac_no_init_Jac256(point_jac_Jac256 Q, point_jac_Jac256 P, point_jac_Jac256 *table, PCurveStruct JacCurve); static void eccadd_jac_no_init_Jac384(point_jac_Jac384 Q, point_jac_Jac384 P, point_jac_Jac384 *table, PCurveStruct JacCurve); static void eccadd_jac_no_init_Jac512(point_jac_Jac512 Q, point_jac_Jac512 P, point_jac_Jac512 *table, PCurveStruct JacCurve); // Point doubling-addition P = 2P+Q using conditionals (if-statements), Weierstrass a=-3 curve static void eccdoubleadd_jac_conditionals_Jac256(point_chu_precomp_Jac256 Q, point_jac_Jac256 P, PCurveStruct JacCurve); static void eccdoubleadd_jac_conditionals_Jac384(point_chu_precomp_Jac384 Q, point_jac_Jac384 P, PCurveStruct JacCurve); static void eccdoubleadd_jac_conditionals_Jac512(point_chu_precomp_Jac512 Q, point_jac_Jac512 P, PCurveStruct JacCurve); // Point doubling-addition P = 2P+Q using Jacobian coordinates, Weierstrass a=-3 curve void eccdoubleadd_jac_Jac256(point_chu_precomp_Jac256 Q, point_jac_Jac256 P, PCurveStruct JacCurve); void eccdoubleadd_jac_Jac384(point_chu_precomp_Jac384 Q, point_jac_Jac384 P, PCurveStruct JacCurve); void eccdoubleadd_jac_Jac512(point_chu_precomp_Jac512 Q, point_jac_Jac512 P, PCurveStruct JacCurve); // Special point addition R = P+Q with identical Z-coordinate for the precomputation, Weierstrass a=-3 curve static void eccadd_jac_precomp_Jac256(point_jac_Jac256 P, point_chu_precomp_Jac256 Q, point_chu_precomp_Jac256 R); static void eccadd_jac_precomp_Jac384(point_jac_Jac384 P, point_chu_precomp_Jac384 Q, point_chu_precomp_Jac384 R); static void eccadd_jac_precomp_Jac512(point_jac_Jac512 P, point_chu_precomp_Jac512 Q, point_chu_precomp_Jac512 R); // Precomputation scheme using Jacobian coordinates, Weierstrass a=-3 curve void ecc_precomp_jac_Jac256(point_Jac256 P, point_chu_precomp_Jac256 *T, unsigned int npoints, PCurveStruct JacCurve); void ecc_precomp_jac_Jac384(point_Jac384 P, point_chu_precomp_Jac384 *T, unsigned int npoints, PCurveStruct JacCurve); void ecc_precomp_jac_Jac512(point_Jac512 P, point_chu_precomp_Jac512 *T, unsigned int npoints, PCurveStruct JacCurve); // Constant-time table lookup to extract a Chudnovsky point from the precomputed table, Weierstrass a=-3 curve void lut_chu_Jac256(point_chu_precomp_Jac256* table, point_chu_precomp_Jac256 P, int digit, unsigned int npoints, PCurveStruct JacCurve); void lut_chu_Jac384(point_chu_precomp_Jac384* table, point_chu_precomp_Jac384 P, int digit, unsigned int npoints, PCurveStruct JacCurve); void lut_chu_Jac512(point_chu_precomp_Jac512* table, point_chu_precomp_Jac512 P, int digit, unsigned int npoints, PCurveStruct JacCurve); // Evaluation for the complete addition: determines the index for table lookup and the mask for element selections using complete_select_Jacxxx unsigned int complete_eval_Jac256(dig256 val1, dig256 val2, dig256 val3, sdig *mask); unsigned int complete_eval_Jac384(dig384 val1, dig384 val2, dig384 val3, sdig *mask); unsigned int complete_eval_Jac512(dig512 val1, dig512 val2, dig512 val3, sdig *mask); // Field element selection for the complete addition using mask void complete_select_Jac256(dig256 in1, dig256 in2, dig256 out, sdig mask); void complete_select_Jac384(dig384 in1, dig384 in2, dig384 out, sdig mask); void complete_select_Jac512(dig512 in1, dig512 in2, dig512 out, sdig mask); // Point extraction from 4-LUT for the complete mixed addition void complete_lut4_Jac256(point_jac_Jac256 *table, unsigned int index, point_jac_Jac256 P); void complete_lut4_Jac384(point_jac_Jac384 *table, unsigned int index, point_jac_Jac384 P); void complete_lut4_Jac512(point_jac_Jac512 *table, unsigned int index, point_jac_Jac512 P); // Point extraction from 5-LUT for the complete addition void complete_lut5_Jac256(point_jac_Jac256 *table, unsigned int index, point_jac_Jac256 P); void complete_lut5_Jac384(point_jac_Jac384 *table, unsigned int index, point_jac_Jac384 P); void complete_lut5_Jac512(point_jac_Jac512 *table, unsigned int index, point_jac_Jac512 P); // (Internal) fixed-base scalar multiplication Q = k.P, where P = P_table, using the Modified LSB-set method, Weierstrass a=-3 curve BOOL ecc_scalar_mul_fixed_internal_Jac256(point_Jac256 *P_table, dig *k, point_Jac256 Q, unsigned int w, unsigned int v, PCurveStruct JacCurve); BOOL ecc_scalar_mul_fixed_internal_Jac384(point_Jac384 *P_table, dig *k, point_Jac384 Q, unsigned int w, unsigned int v, PCurveStruct JacCurve); BOOL ecc_scalar_mul_fixed_internal_Jac512(point_Jac512 *P_table, dig *k, point_Jac512 Q, unsigned int w, unsigned int v, PCurveStruct JacCurve); // (Internal) precomputation function using affine coordinates for fixed-base scalar multiplication, Weierstrass a=-3 curve point_Jac256* ecc_precomp_fixed_internal_Jac256(point_Jac256 P, unsigned int w, unsigned int v, unsigned int d, unsigned int e, PCurveStruct JacCurve); point_Jac384* ecc_precomp_fixed_internal_Jac384(point_Jac384 P, unsigned int w, unsigned int v, unsigned int d, unsigned int e, PCurveStruct JacCurve); point_Jac512* ecc_precomp_fixed_internal_Jac512(point_Jac512 P, unsigned int w, unsigned int v, unsigned int d, unsigned int e, PCurveStruct JacCurve); // Constant-time table lookup to extract an affine point from the fixed-base precomputed table, Weierstrass a=-3 curve void lut_aff_Jac256(point_Jac256* table, point_Jac256 P, int digit, int sign, unsigned int npoints, PCurveStruct JacCurve); void lut_aff_Jac384(point_Jac384* table, point_Jac384 P, int digit, int sign, unsigned int npoints, PCurveStruct JacCurve); void lut_aff_Jac512(point_Jac512* table, point_Jac512 P, int digit, int sign, unsigned int npoints, PCurveStruct JacCurve); // (Internal) double-scalar multiplication R = k.P+l.Q, where P = P_table, using wNAF with Interleaving, Weierstrass a=-3 curve BOOL ecc_double_scalar_mul_internal_Jac256(point_Jac256 *P_table, dig *k, point_Jac256 Q, dig *l, point_Jac256 R, unsigned int w_P, PCurveStruct JacCurve); BOOL ecc_double_scalar_mul_internal_Jac384(point_Jac384 *P_table, dig *k, point_Jac384 Q, dig *l, point_Jac384 R, unsigned int w_P, PCurveStruct JacCurve); BOOL ecc_double_scalar_mul_internal_Jac512(point_Jac512 *P_table, dig *k, point_Jac512 Q, dig *l, point_Jac512 R, unsigned int w_P, PCurveStruct JacCurve); // (Internal) precomputation function using affine coordinates for the fixed-base of double-scalar multiplication, Weierstrass a=-3 curve point_Jac256* ecc_precomp_dblmul_internal_Jac256(point_Jac256 P, unsigned int w, PCurveStruct JacCurve); point_Jac384* ecc_precomp_dblmul_internal_Jac384(point_Jac384 P, unsigned int w, PCurveStruct JacCurve); point_Jac512* ecc_precomp_dblmul_internal_Jac512(point_Jac512 P, unsigned int w, PCurveStruct JacCurve); // Additional functions based on macros // Zero Chudnovsky point (X:Y:Z:Z^2:Z^3): P = (0:0:0:0:0) #define ecczero_chu_Jac256(P); fpzero256(P->X); \ fpzero256(P->Y); \ fpzero256(P->Z); \ fpzero256(P->Z2); \ fpzero256(P->Z3); \ #define ecczero_chu_Jac384(P); fpzero384(P->X); \ fpzero384(P->Y); \ fpzero384(P->Z); \ fpzero384(P->Z2); \ fpzero384(P->Z3); \ #define ecczero_chu_Jac512(P); fpzero512(P->X); \ fpzero512(P->Y); \ fpzero512(P->Z); \ fpzero512(P->Z2); \ fpzero512(P->Z3); \ // Twisted Edwards a=-1 curves (Ted curves) // (Internal) complete point addition P = P+Q or P = P+P using extended projective coordinates (X:Y:Z:Ta:Tb) for P and (X+Y:Y-Z:2*Z:2*d*T) for Q, twisted Edwards a=-1 curve void eccadd_extproj_internal_Ted256(point_extproj_precomp_Ted256 Q, point_extproj_Ted256 P, PCurveStruct TedCurve); void eccadd_extproj_internal_Ted384(point_extproj_precomp_Ted384 Q, point_extproj_Ted384 P, PCurveStruct TedCurve); void eccadd_extproj_internal_Ted512(point_extproj_precomp_Ted512 Q, point_extproj_Ted512 P, PCurveStruct TedCurve); // Complete mixed addition P = P+Q or P = P+P using mixed extended projective-affine coordinates, twisted Edwards a=-1 curve void eccadd_mixed_extproj_Ted256(point_extaff_precomp_Ted256 Q, point_extproj_Ted256 P, PCurveStruct TedCurve); void eccadd_mixed_extproj_Ted384(point_extaff_precomp_Ted384 Q, point_extproj_Ted384 P, PCurveStruct TedCurve); void eccadd_mixed_extproj_Ted512(point_extaff_precomp_Ted512 Q, point_extproj_Ted512 P, PCurveStruct TedCurve); // Special point addition R = P+Q for the precomputation, twisted Edwards a=-1 curve static void eccadd_extproj_precomp_Ted256(point_extproj_precomp_Ted256 P, point_extproj_precomp_Ted256 Q, point_extproj_precomp_Ted256 R, PCurveStruct TedCurve); static void eccadd_extproj_precomp_Ted384(point_extproj_precomp_Ted384 P, point_extproj_precomp_Ted384 Q, point_extproj_precomp_Ted384 R, PCurveStruct TedCurve); static void eccadd_extproj_precomp_Ted512(point_extproj_precomp_Ted512 P, point_extproj_precomp_Ted512 Q, point_extproj_precomp_Ted512 R, PCurveStruct TedCurve); // Precomputation scheme using extended projective coordinates, twisted Edwards a=-1 curve void ecc_precomp_extproj_Ted256(point_extproj_Ted256 P, point_extproj_precomp_Ted256 *T, unsigned int npoints, PCurveStruct TedCurve); void ecc_precomp_extproj_Ted384(point_extproj_Ted384 P, point_extproj_precomp_Ted384 *T, unsigned int npoints, PCurveStruct TedCurve); void ecc_precomp_extproj_Ted512(point_extproj_Ted512 P, point_extproj_precomp_Ted512 *T, unsigned int npoints, PCurveStruct TedCurve); // Constant-time table lookup to extract an extended projective point from the precomputed table, twisted Edwards a=-1 curve (it does not use coordinates Ta, Tb) void lut_extproj_Ted256(point_extproj_precomp_Ted256* table, point_extproj_precomp_Ted256 P, int digit, unsigned int npoints, PCurveStruct TedCurve); void lut_extproj_Ted384(point_extproj_precomp_Ted384* table, point_extproj_precomp_Ted384 P, int digit, unsigned int npoints, PCurveStruct TedCurve); void lut_extproj_Ted512(point_extproj_precomp_Ted512* table, point_extproj_precomp_Ted512 P, int digit, unsigned int npoints, PCurveStruct TedCurve); // (Internal) fixed-base scalar multiplication Q = k.P, where P = P_table, using affine coordinates and the Modified LSB-set method, twisted Edwards a=-1 curve BOOL ecc_scalar_mul_fixed_internal_Ted256(point_extaff_precomp_Ted256 *P_table, dig *k, point_Ted256 Q, unsigned int w, unsigned int v, PCurveStruct TedCurve); BOOL ecc_scalar_mul_fixed_internal_Ted384(point_extaff_precomp_Ted384 *P_table, dig *k, point_Ted384 Q, unsigned int w, unsigned int v, PCurveStruct TedCurve); BOOL ecc_scalar_mul_fixed_internal_Ted512(point_extaff_precomp_Ted512 *P_table, dig *k, point_Ted512 Q, unsigned int w, unsigned int v, PCurveStruct TedCurve); // (Internal) precomputation function using extended affine coordinates for fixed-base scalar multiplication, twisted Edwards a=-1 curve point_extaff_precomp_Ted256* ecc_precomp_fixed_internal_Ted256(point_Ted256 P, unsigned int w, unsigned int v, unsigned int d, unsigned int e, PCurveStruct TedCurve); point_extaff_precomp_Ted384* ecc_precomp_fixed_internal_Ted384(point_Ted384 P, unsigned int w, unsigned int v, unsigned int d, unsigned int e, PCurveStruct TedCurve); point_extaff_precomp_Ted512* ecc_precomp_fixed_internal_Ted512(point_Ted512 P, unsigned int w, unsigned int v, unsigned int d, unsigned int e, PCurveStruct TedCurve); // Constant-time table lookup to extract an extended affine point from the fixed-base precomputed table, twisted Edwards a=-1 curve void lut_extaff_Ted256(point_extaff_precomp_Ted256* table, point_extaff_precomp_Ted256 P, int digit, int sign, unsigned int npoints, PCurveStruct TedCurve); void lut_extaff_Ted384(point_extaff_precomp_Ted384* table, point_extaff_precomp_Ted384 P, int digit, int sign, unsigned int npoints, PCurveStruct TedCurve); void lut_extaff_Ted512(point_extaff_precomp_Ted512* table, point_extaff_precomp_Ted512 P, int digit, int sign, unsigned int npoints, PCurveStruct TedCurve); // (Internal) double-scalar multiplication R = k.P+l.Q, where P = P_table, using wNAF with Interleaving, twisted Edwards a=-1 curve BOOL ecc_double_scalar_mul_internal_Ted256(point_extaff_precomp_Ted256 *P_table, dig *k, point_Ted256 Q, dig *l, point_Ted256 R, unsigned int w_P, PCurveStruct TedCurve); BOOL ecc_double_scalar_mul_internal_Ted384(point_extaff_precomp_Ted384 *P_table, dig *k, point_Ted384 Q, dig *l, point_Ted384 R, unsigned int w_P, PCurveStruct TedCurve); BOOL ecc_double_scalar_mul_internal_Ted512(point_extaff_precomp_Ted512 *P_table, dig *k, point_Ted512 Q, dig *l, point_Ted512 R, unsigned int w_P, PCurveStruct TedCurve); // (Internal) precomputation function using extended affine coordinates for the fixed-base of double-scalar multiplication, twisted Edwards a=-1 curve point_extaff_precomp_Ted256* ecc_precomp_dblmul_internal_Ted256(point_Ted256 P, unsigned int w_P, PCurveStruct TedCurve); point_extaff_precomp_Ted384* ecc_precomp_dblmul_internal_Ted384(point_Ted384 P, unsigned int w_P, PCurveStruct TedCurve); point_extaff_precomp_Ted512* ecc_precomp_dblmul_internal_Ted512(point_Ted512 P, unsigned int w_P, PCurveStruct TedCurve); // Additional functions based on macros // Zero extended projective point (X+Y:Y-X:2*Z:2*d*T): P = (0:0:0:0) #define ecczero_extproj_precomp_Ted256(P); fpzero256(P->XY); \ fpzero256(P->YX); \ fpzero256(P->Z2); \ fpzero256(P->T2); \ #define ecczero_extproj_precomp_Ted384(P); fpzero384(P->XY); \ fpzero384(P->YX); \ fpzero384(P->Z2); \ fpzero384(P->T2); \ #define ecczero_extproj_precomp_Ted512(P); fpzero512(P->XY); \ fpzero512(P->YX); \ fpzero512(P->Z2); \ fpzero512(P->T2); \ // Zero extended affine point (x+y:y-x:2*d*t): P = (0:0:0) #define ecczero_extaff_precomp_Ted256(P); fpzero256(P->xy); \ fpzero256(P->yx); \ fpzero256(P->t2); \ #define ecczero_extaff_precomp_Ted384(P); fpzero384(P->xy); \ fpzero384(P->yx); \ fpzero384(P->t2); \ #define ecczero_extaff_precomp_Ted512(P); fpzero512(P->xy); \ fpzero512(P->yx); \ fpzero512(P->t2); \ // Recoding functions void fixed_window_recode(dig *scalar, unsigned int nbit, unsigned int w, int *digits); void mLSB_set_recode(dig *scalar, unsigned int nbit, unsigned int l, unsigned int d, int *digits); void wNAF_recode(dig *scalar, unsigned int nbits, unsigned int w, int *digits); #ifdef __cplusplus } #endif #endif
68.108025
206
0.736439
18b5079706f4b2156c126d6d5e48caec6ef29d59
427
rb
Ruby
db/migrate/20150217210043_index_pieces_on_unique_piece_head_id.rb
thomasregnet/kleinodien
638713075dea743093752aba0ee1b8ca5161d065
[ "MIT" ]
null
null
null
db/migrate/20150217210043_index_pieces_on_unique_piece_head_id.rb
thomasregnet/kleinodien
638713075dea743093752aba0ee1b8ca5161d065
[ "MIT" ]
13
2019-12-18T19:59:58.000Z
2022-02-02T18:07:59.000Z
db/migrate/20150217210043_index_pieces_on_unique_piece_head_id.rb
thomasregnet/kleinodien
638713075dea743093752aba0ee1b8ca5161d065
[ "MIT" ]
null
null
null
class IndexPiecesOnUniquePieceHeadId < ActiveRecord::Migration[4.2] def change reversible do |idx| idx.up do execute <<-DDL CREATE UNIQUE INDEX index_piece_on_unique_piece_head_id ON pieces (piece_head_id) WHERE version IS NULL; DDL end idx.down do remove_index(:pieces, name: :index_piece_on_unique_piece_head_id) end end end end
25.117647
73
0.641686
f0827a9bc1fab116569d8485fa3cf7975cc20e07
1,859
py
Python
Medium/78.py
Hellofafar/Leetcode
7a459e9742958e63be8886874904e5ab2489411a
[ "CNRI-Python" ]
6
2017-09-25T18:05:50.000Z
2019-03-27T00:23:15.000Z
Medium/78.py
Hellofafar/Leetcode
7a459e9742958e63be8886874904e5ab2489411a
[ "CNRI-Python" ]
1
2017-10-29T12:04:41.000Z
2018-08-16T18:00:37.000Z
Medium/78.py
Hellofafar/Leetcode
7a459e9742958e63be8886874904e5ab2489411a
[ "CNRI-Python" ]
null
null
null
# ------------------------------ # 78. Subsets # # Description: # Given a set of distinct integers, nums, return all possible subsets (the power set). # Note: The solution set must not contain duplicate subsets. # # For example, # If nums = [1,2,3], a solution is: # [ # [3], # [1], # [2], # [1,2,3], # [1,3], # [2,3], # [1,2], # [] # ] # # Version: 1.0 # 01/20/18 by Jianfa # ------------------------------ class Solution(object): def subsets(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ if not nums: return [[]] result = [] for i in range(len(nums) + 1): result += self.combine(nums, i) return result def combine(self, nums, k): """ :type nums: List[int] :type k: int :rtype: List[List[int]] """ res = [] currlist = [] self.backtrack(nums, k, currlist, 0, res) return res def backtrack(self, nums, k, currlist, start, res): if len(currlist) == k: temp = [x for x in currlist] res.append(temp) elif len(nums) - start + len(currlist) < k: return else: for i in range(start, len(nums)): currlist.append(nums[i]) self.backtrack(nums, k, currlist, i+1, res) currlist.pop() # Used for testing if __name__ == "__main__": test = Solution() nums = [1,3,5] test.subsets(nums) # ------------------------------ # Summary: # Borrow the combine idea from 77.py. The major difference is here a number list is provided. # The number list may include discontinuous integers. So the parameter "start" here means index # rather than number itself.
24.142857
96
0.483593
389de860d103edcde8e9fe01d52459fb65f94e61
1,641
lua
Lua
lua/oauth.lua
heythisisnate/nodemcu-smartthings
5d7763b7918dc0c2249ba8bd9eecbade16574a09
[ "MIT" ]
64
2017-04-14T05:08:12.000Z
2022-01-28T09:28:50.000Z
lua/oauth.lua
rome007/nodemcu-smartthings
5d7763b7918dc0c2249ba8bd9eecbade16574a09
[ "MIT" ]
11
2017-04-17T04:50:15.000Z
2019-12-19T12:57:37.000Z
lua/oauth.lua
rome007/nodemcu-smartthings
5d7763b7918dc0c2249ba8bd9eecbade16574a09
[ "MIT" ]
29
2017-04-14T00:58:21.000Z
2020-05-23T00:10:38.000Z
if not auth_token then print("**************** Welcome to NodeMCU SmartThings ****************") print("**** ****") print("**** To get started, open your browser to: ****") print("**** http://" .. wifi.sta.getip() .. ":8100/oauth ****") print("**** ****") end function oauthRequestCode(request) oauth_client_id, oauth_client_secret = string.match(request, 'oauth_client_id=([%w-]+)&oauth_client_secret=([%w-]+)') return "https://graph.api.smartthings.com/oauth/authorize?response_type=code&client_id=" .. oauth_client_id .. "&scope=app&redirect_uri=" .. oauthCallbackUrl() end function oauthCallbackUrl() return "http://" .. wifi.sta.getip() .. ":8100/oauth/callback" end function saveOauthToken(oauth_json) auth_token = string.match(oauth_json, '"access_token":"([%w-]+)"') print("Your SmartThings OAuth token is: " .. auth_token) writeCredentials() end function getApiEndpointAndStart() local headers = "Host: https://graph.api.smartthings.com\r\n" headers = headers .. "Authorization: Bearer " .. auth_token headers = headers .. "\r\nAccept: application/json\r\n" http.get('https://graph.api.smartthings.com/api/smartapps/endpoints', headers, function(code, data) if code == 200 then apiHost, apiEndpoint = string.match(data, '"base_url":"([^"]+)","url":"([^"]+)"') print("Communicating with SmartThings at " .. apiHost .. apiEndpoint) require "application" else print(code) end end ) end
39.071429
161
0.586228
9062484143d1ade3b70953a265b2792198b34efe
3,363
py
Python
credential_test.py
jmuema/password-locker
ba1653e801ca99821a23264b006b19fa00a3b518
[ "Unlicense" ]
null
null
null
credential_test.py
jmuema/password-locker
ba1653e801ca99821a23264b006b19fa00a3b518
[ "Unlicense" ]
null
null
null
credential_test.py
jmuema/password-locker
ba1653e801ca99821a23264b006b19fa00a3b518
[ "Unlicense" ]
null
null
null
import unittest # Importing the unittest module from credential import Credential # Importing the credential class class TestCredential(unittest.TestCase): ''' Test class that defines test cases for the credential class behaviours. Args: unittest.TestCase: TestCase class that helps in creating test cases ''' def setUp(self): ''' Set up method to run before each test cases. ''' self.new_credential = Credential("instagram", "ironman", "ironman20") # create credential object def test_init(self): ''' test_init test case to test if the object is initialized properly ''' self.assertEqual(self.new_credential.myaccountname,"instagram") self.assertEqual(self.new_credential.myusername,"ironman") self.assertEqual(self.new_credential.mypassword,"ironman20") def test_save_credential(self): ''' test_save_credential test case to test if the credential object is saved into the credential list ''' self.new_credential.save_credential() # saving the new credential self.assertEqual(len(Credential.credential_list),1) def tearDown(self): ''' tearDown method that does clean up after each test case has run. ''' Credential.credential_list = [] def test_save_multiple_credential(self): ''' test to check if we can check multiple objects within credenials list ''' self.new_credential.save_credential() test_credential = Credential("instagram","ironman","ironman20") # new credential test_credential.save_credential() self.assertEqual(len(Credential.credential_list),2) def test_delete_credential(self): ''' test to remove a credential from our credential list ''' self.new_credential.save_credential() test_credential = Credential("instagram","ironman","ironman20") # new credential test_credential.save_credential() self.new_credential.delete_credential()# Deleting a credential object self.assertEqual(len(Credential.credential_list),1) def test_find_credential_by_username(self): ''' test to check if we can find a credential by username and display information ''' self.new_credential.save_credential() test_credential = Credential("instagram","ironman","ironman20") # new credential test_credential.save_credential() found_credential = Credential.find_by_username("ironman") self.assertEqual(found_credential.mypassword,test_credential.mypassword) def test_credential_exists(self): ''' test to check if we can return a Boolean if we cannot find the credential. ''' self.new_credential.save_credential() test_credential = Credential("instagram","ironman","ironman20") # new credential test_credential.save_credential() credential_exists = Credential.credential_exist("ironman") self.assertTrue(credential_exists) def test_display_all_credentials(self): ''' method that returns a list of all credentials saved ''' self.assertEqual(Credential.display_credentials(),Credential.credential_list) if __name__ == '__main__': unittest.main()
34.670103
104
0.680048
1758c3b4cc659bbea084a45c425a8db653f49223
172,677
html
HTML
Lab3/Documentation/doxygen/html/_l_c_d_c___p_d_d_8h_source.html
MenkaMehta/48434-embedded-software-Labs
9fa4257dad9da955c7dd5f6e15a6ac530510d652
[ "MIT" ]
1
2017-04-14T02:41:17.000Z
2017-04-14T02:41:17.000Z
Lab3/Documentation/doxygen/html/_l_c_d_c___p_d_d_8h_source.html
MenkaMehta/48434-embedded-software-Labs
9fa4257dad9da955c7dd5f6e15a6ac530510d652
[ "MIT" ]
null
null
null
Lab3/Documentation/doxygen/html/_l_c_d_c___p_d_d_8h_source.html
MenkaMehta/48434-embedded-software-Labs
9fa4257dad9da955c7dd5f6e15a6ac530510d652
[ "MIT" ]
1
2019-10-16T08:15:35.000Z
2019-10-16T08:15:35.000Z
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.10"/> <title>Lab3: C:/Users/PMcL/Documents/Subjects/48434 Embedded Software/4 Labs/Lab 3/Template/Lab 3/Static_Code/PDD/LCDC_PDD.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="PMcL.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Lab3 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.10 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main&#160;Page</span></a></li> <li><a href="pages.html"><span>Related&#160;Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File&#160;List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('_l_c_d_c___p_d_d_8h_source.html','');}); </script> <div id="doc-content"> <div class="header"> <div class="headertitle"> <div class="title">LCDC_PDD.h</div> </div> </div><!--header--> <div class="contents"> <div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> PDD layer implementation for peripheral type LCDC</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> (C) 2013 Freescale, Inc. All rights reserved.</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"></span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> This file is static and it is generated from API-Factory</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">*/</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;</div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#if !defined(LCDC_PDD_H_)</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#define LCDC_PDD_H_</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;</div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> -- Test if supported MCU is active</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#if !defined(MCU_ACTIVE)</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="comment">// No MCU is active</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor"> #error LCDC PDD library: No derivative is active. Place proper #include with PDD memory map before including PDD library.</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#elif \</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor"> !defined(MCU_MK70F12) </span><span class="comment">/* LCDC */</span><span class="preprocessor"> &amp;&amp; \</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor"> !defined(MCU_MK70F15) </span><span class="comment">/* LCDC */</span><span class="preprocessor"> &amp;&amp; \</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor"> !defined(MCU_MK70F12WS) </span><span class="comment">/* LCDC */</span><span class="preprocessor"> &amp;&amp; \</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor"> !defined(MCU_MK70F15WS) </span><span class="comment">/* LCDC */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160; <span class="comment">// Unsupported MCU is active</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor"> #error LCDC PDD library: Unsupported derivative is active.</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#endif</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &quot;PDD_Types.h&quot;</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="comment"> -- Method symbol definitions</span></div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="comment">/* Blinking control. */</span></div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#define LCDC_PDD_BLINK_DISABLED 0U </span></div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#define LCDC_PDD_BLINK_ENABLED 0x1U </span></div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="preprocessor"></span><span class="comment">/* HW cursor operation */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="preprocessor">#define LCDC_PDD_DISABLED 0U </span></div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="preprocessor">#define LCDC_PDD_ALWAYS_1 0x1U </span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="preprocessor">#define LCDC_PDD_ALWAYS_0 0x2U </span></div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="preprocessor">#define LCDC_PDD_INVERTED 0x3U </span></div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="preprocessor">#define LCDC_PDD_COLOR 0x4U </span></div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="preprocessor">#define LCDC_PDD_INVERTED_COLOR 0x5U </span></div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="preprocessor">#define LCDC_PDD_AND 0x6U </span></div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="preprocessor">#define LCDC_PDD_OR 0x7U </span></div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#define LCDC_PDD_XOR 0x8U </span></div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;<span class="preprocessor"></span><span class="comment">/* LCD panel type. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor">#define LCDC_PDD_MONO 0U </span></div> <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor">#define LCDC_PDD_CSTN 0x1U </span></div> <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor">#define LCDC_PDD_TFT 0x2U </span></div> <div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="preprocessor"></span><span class="comment">/* Bus width */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor">#define LCDC_PDD_BUS_WIDTH_1 0U </span></div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor">#define LCDC_PDD_BUS_WIDTH_2 0x1U </span></div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#define LCDC_PDD_BUS_WIDTH_4 0x2U </span></div> <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="preprocessor">#define LCDC_PDD_BUS_WIDTH_8 0x3U </span></div> <div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor"></span><span class="comment">/* Bits per pixel */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor">#define LCDC_PDD_BPP_1 0U </span></div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor">#define LCDC_PDD_BPP_2 0x1U </span></div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#define LCDC_PDD_BPP_4 0x2U </span></div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor">#define LCDC_PDD_BPP_8 0x3U </span></div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor">#define LCDC_PDD_BPP_12 0x4U </span></div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#define LCDC_PDD_BPP_16 0x5U </span></div> <div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="preprocessor">#define LCDC_PDD_BPP_18 0x6U </span></div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor">#define LCDC_PDD_BPP_24 0x7U </span></div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor"></span><span class="comment">/* Polarity selection for panel signals. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor">#define LCDC_PDD_ACTIVE_HIGH 0U </span></div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor">#define LCDC_PDD_ACTIVE_LOW 0x1U </span></div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor"></span><span class="comment">/* Image download type. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor">#define LCDC_PDD_BIG_ENDIAN 0x1U </span></div> <div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor">#define LCDC_PDD_LITTLE_ENDIAN 0U </span></div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor"></span><span class="comment">/* Swap type. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="preprocessor">#define LCDC_PDD_SWAP_BPP_16_12 0U </span></div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="preprocessor">#define LCDC_PDD_SWAP_BPP_OTHER 0x1U </span></div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;<span class="preprocessor"></span><span class="comment">/* Vertical scan direction. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="preprocessor">#define LCDC_PDD_NORMAL_DIR 0U </span></div> <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="preprocessor">#define LCDC_PDD_REVERSE_DIR 0x1U </span></div> <div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="preprocessor"></span><span class="comment">/* ACD clock source. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="preprocessor">#define LCDC_PDD_ACD_SOURCE_FLM 0U </span></div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="preprocessor">#define LCDC_PDD_ACD_SOURCE_LP 0x1U </span></div> <div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="preprocessor"></span><span class="comment">/* SLCLK idle state. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;<span class="preprocessor">#define LCDC_PDD_LSCLK_IDLE_ENABLED 0x1U </span></div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="preprocessor">#define LCDC_PDD_LSCLK_IDLE_DISABLED 0U </span></div> <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor"></span><span class="comment">/* SLCLK idle state. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="preprocessor">#define LCDC_PDD_LSCLK_ENABLED 0U </span></div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="preprocessor">#define LCDC_PDD_LSCLK_DISABLED 0x1U </span></div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="preprocessor"></span><span class="comment">/* LSCLK behaviour during sync pulses */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="preprocessor">#define LCDC_PDD_ALWAYS_ON 0U </span></div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="preprocessor">#define LCDC_PDD_ALWAYS_OFF 0x1U </span></div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="preprocessor">#define LCDC_PDD_DURING_VSYNC 0x2U </span></div> <div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;<span class="preprocessor"></span><span class="comment">/* Line data down. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="preprocessor">#define LCDC_PDD_LD_DOWN_ENABLE 0x1U </span></div> <div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="preprocessor">#define LCDC_PDD_LD_DOWN_DISABLE 0U </span></div> <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;<span class="preprocessor"></span><span class="comment">/* Clock source for PWM contrast control. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="preprocessor">#define LCDC_PDD_LINE_PULSE 0U </span></div> <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="preprocessor">#define LCDC_PDD_PIXEL_CLK 0x1U </span></div> <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;<span class="preprocessor">#define LCDC_PDD_LCD_CLK 0x2U </span></div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;<span class="preprocessor"></span><span class="comment">/* Contrast control */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<span class="preprocessor">#define LCDC_PDD_PWM_ENABLED 0x1U </span></div> <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="preprocessor">#define LCDC_PDD_PWM_DISABLED 0U </span></div> <div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<span class="preprocessor"></span><span class="comment">/* Interrupt status flags for GetInterruptStatus method. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="preprocessor">#define LCDC_PDD_BEGINING_OF_FRAME LCDC_LISR_BOF_MASK </span></div> <div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;<span class="preprocessor">#define LCDC_PDD_END_OF_FRAME LCDC_LISR_EOF_MASK </span></div> <div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="preprocessor">#define LCDC_PDD_UNDERRUN LCDC_LISR_UDR_ERR_MASK </span></div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="preprocessor">#define LCDC_PDD_GW_BEGINNING_OF_FRAME LCDC_LISR_GW_BOF_MASK </span></div> <div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;<span class="preprocessor">#define LCDC_PDD_GW_END_OF_FRAME LCDC_LISR_GW_EOF_MASK </span></div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;<span class="preprocessor">#define LCDC_PDD_GW_UNDERRUN LCDC_LISR_GW_UDR_ERR_MASK </span></div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;<span class="preprocessor"></span><span class="comment">/* Interrupt type selection. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;<span class="preprocessor">#define LCDC_PDD_INT_END_OF_FRAME 0U </span></div> <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;<span class="preprocessor">#define LCDC_PDD_INT_BEGINNING_OF_FRAME 0x1U </span></div> <div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="preprocessor"></span><span class="comment">/* Interrupt assertion time. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="preprocessor">#define LCDC_PDD_LOAD_FROM_MEMORY 0U </span></div> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;<span class="preprocessor">#define LCDC_PDD_WRITE_TO_PANEL 0x1U </span></div> <div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="preprocessor"></span><span class="comment">/* DMA burst length. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<span class="preprocessor">#define LCDC_PDD_FIXED 0x1U </span></div> <div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;<span class="preprocessor">#define LCDC_PDD_DYNAMIC 0U </span></div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="preprocessor"></span><span class="comment">/* Keying control */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;<span class="preprocessor">#define LCDC_PDD_GWIN_KEYING_ENABLED 0x1U </span></div> <div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;<span class="preprocessor">#define LCDC_PDD_GWIN_KEYING_DISABLED 0U </span></div> <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;<span class="preprocessor"></span><span class="comment">/* Graphic window control */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;<span class="preprocessor">#define LCDC_PDD_GWIN_ENABLED 0x1U </span></div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;<span class="preprocessor">#define LCDC_PDD_GWIN_DISABLED 0U </span></div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;<span class="preprocessor"></span><span class="comment">/* Aus mode control. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;<span class="preprocessor">#define LCDC_PDD_AUS_ENABLED 0x1U </span></div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="preprocessor">#define LCDC_PDD_AUS_DISABLED 0U </span></div> <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="preprocessor"></span><span class="comment">/* Self-refresh control */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="preprocessor">#define LCDC_PDD_SELF_REF_ENABLED 0x1U </span></div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="preprocessor">#define LCDC_PDD_SELF_REF_DISABLED 0U </span></div> <div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;<span class="preprocessor"></span><span class="comment">/* Pixel clock source. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="preprocessor">#define LCDC_PDD_EXTAL1 0x1U </span></div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;<span class="preprocessor">#define LCDC_PDD_CLKDIV 0U </span></div> <div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;<span class="preprocessor"></span><span class="comment">/* LCDC clock source. */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;<span class="preprocessor">#define LCDC_PDD_BUS_CLK 0U </span></div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;<span class="preprocessor">#define LCDC_PDD_PLL0 0x1U </span></div> <div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;<span class="preprocessor">#define LCDC_PDD_PLL1 0x2U </span></div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;<span class="preprocessor">#define LCDC_PDD_OSC0ERCLK 0x3U </span></div> <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160;<span class="preprocessor"></span><span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;<span class="comment"> -- SetScreenStartAddress</span></div> <div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div> <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetScreenStartAddress(PeripheralBase, Data) ( \</span></div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;<span class="preprocessor"> LCDC_LSSAR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;<span class="preprocessor"> (uint32_t)(Data) \</span></div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;</div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;<span class="comment"> -- SetScreenSize</span></div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;</div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetScreenSize(PeripheralBase, Width, Height) ( \</span></div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;<span class="preprocessor"> (LCDC_LSR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LSR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LSR_YMAX_MASK))) | ( \</span></div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;<span class="preprocessor"> (uint32_t)(Height)))), \</span></div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160;<span class="preprocessor"> (LCDC_LSR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LSR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LSR_XMAX_MASK))) | ( \</span></div> <div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(Width) &lt;&lt; LCDC_LSR_XMAX_SHIFT)))) \</span></div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;</div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160;<span class="comment"> -- SetVirtualPageWidth</span></div> <div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;</div> <div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetVirtualPageWidth(PeripheralBase, Width) ( \</span></div> <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;<span class="preprocessor"> LCDC_LVPWR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LVPWR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LVPWR_VPW_MASK))) | ( \</span></div> <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;<span class="preprocessor"> (uint32_t)(Width))) \</span></div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>&#160;</div> <div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;<span class="comment"> -- SetCursorPosition</span></div> <div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;</div> <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetCursorPosition(PeripheralBase, X, Y) ( \</span></div> <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LCPR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LCPR_CYP_MASK))) | ( \</span></div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160;<span class="preprocessor"> (uint32_t)(Y)))), \</span></div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LCPR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LCPR_CXP_MASK))) | ( \</span></div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(X) &lt;&lt; LCDC_LCPR_CXP_SHIFT)))) \</span></div> <div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160;</div> <div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160;<span class="comment"> -- SetCursorSize</span></div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;</div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetCursorSize(PeripheralBase, Width, Height) ( \</span></div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;<span class="preprocessor"> (LCDC_LCWHB_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LCWHB_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LCWHB_CH_MASK))) | ( \</span></div> <div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(Height) &lt;&lt; LCDC_LCWHB_CH_SHIFT)))), \</span></div> <div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;<span class="preprocessor"> (LCDC_LCWHB_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LCWHB_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LCWHB_CW_MASK))) | ( \</span></div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(Width) &lt;&lt; LCDC_LCWHB_CW_SHIFT)))) \</span></div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;</div> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;<span class="comment"> -- SetCursorBlinking</span></div> <div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;</div> <div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetCursorBlinking(PeripheralBase, BlinkState) ( \</span></div> <div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160;<span class="preprocessor"> LCDC_LCWHB_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LCWHB_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LCWHB_BK_EN_MASK))) | ( \</span></div> <div class="line"><a name="l00333"></a><span class="lineno"> 333</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(BlinkState) &lt;&lt; LCDC_LCWHB_BK_EN_SHIFT))) \</span></div> <div class="line"><a name="l00334"></a><span class="lineno"> 334</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160;</div> <div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160;<span class="comment"> -- SetCursorBlinkRate</span></div> <div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160;</div> <div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetCursorBlinkRate(PeripheralBase, BlinkRate) ( \</span></div> <div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160;<span class="preprocessor"> LCDC_LCWHB_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LCWHB_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LCWHB_BD_MASK))) | ( \</span></div> <div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160;<span class="preprocessor"> (uint32_t)(BlinkRate))) \</span></div> <div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160;</div> <div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160;<span class="comment"> -- SetCursorColor</span></div> <div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160;</div> <div class="line"><a name="l00383"></a><span class="lineno"> 383</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetCursorColor(PeripheralBase, Red, Green, Blue) ( \</span></div> <div class="line"><a name="l00384"></a><span class="lineno"> 384</span>&#160;<span class="preprocessor"> (LCDC_LCCMR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00385"></a><span class="lineno"> 385</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160;<span class="preprocessor"> LCDC_LCCMR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LCCMR_CUR_COL_R_MASK)))) | ( \</span></div> <div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(Red) &lt;&lt; LCDC_LCCMR_CUR_COL_R_SHIFT)))), \</span></div> <div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160;<span class="preprocessor"> ((LCDC_LCCMR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00391"></a><span class="lineno"> 391</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160;<span class="preprocessor"> LCDC_LCCMR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LCCMR_CUR_COL_G_MASK)))) | ( \</span></div> <div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(Green) &lt;&lt; LCDC_LCCMR_CUR_COL_G_SHIFT)))), \</span></div> <div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160;<span class="preprocessor"> (LCDC_LCCMR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00399"></a><span class="lineno"> 399</span>&#160;<span class="preprocessor"> LCDC_LCCMR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l00400"></a><span class="lineno"> 400</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LCCMR_CUR_COL_B_MASK)))) | ( \</span></div> <div class="line"><a name="l00401"></a><span class="lineno"> 401</span>&#160;<span class="preprocessor"> (uint32_t)(Blue))))) \</span></div> <div class="line"><a name="l00402"></a><span class="lineno"> 402</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00403"></a><span class="lineno"> 403</span>&#160;</div> <div class="line"><a name="l00404"></a><span class="lineno"> 404</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00405"></a><span class="lineno"> 405</span>&#160;<span class="comment"> -- CursorOperation</span></div> <div class="line"><a name="l00406"></a><span class="lineno"> 406</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00407"></a><span class="lineno"> 407</span>&#160;</div> <div class="line"><a name="l00424"></a><span class="lineno"> 424</span>&#160;<span class="preprocessor">#define LCDC_PDD_CursorOperation(PeripheralBase, Type) ( \</span></div> <div class="line"><a name="l00425"></a><span class="lineno"> 425</span>&#160;<span class="preprocessor"> ((uint8_t)(Type) == 0U) ? ( \</span></div> <div class="line"><a name="l00426"></a><span class="lineno"> 426</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l00427"></a><span class="lineno"> 427</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LCPR_CC_MASK)), \</span></div> <div class="line"><a name="l00428"></a><span class="lineno"> 428</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l00429"></a><span class="lineno"> 429</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LCPR_OP_MASK))) : (((uint8_t)(Type) == 0x1U) ? ( \</span></div> <div class="line"><a name="l00430"></a><span class="lineno"> 430</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00431"></a><span class="lineno"> 431</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00432"></a><span class="lineno"> 432</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LCPR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LCPR_CC_MASK))) | ( \</span></div> <div class="line"><a name="l00433"></a><span class="lineno"> 433</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)0x1U &lt;&lt; LCDC_LCPR_CC_SHIFT)))), \</span></div> <div class="line"><a name="l00434"></a><span class="lineno"> 434</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l00435"></a><span class="lineno"> 435</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LCPR_OP_MASK))) : (((uint8_t)(Type) == 0x2U) ? ( \</span></div> <div class="line"><a name="l00436"></a><span class="lineno"> 436</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) |= \</span></div> <div class="line"><a name="l00437"></a><span class="lineno"> 437</span>&#160;<span class="preprocessor"> LCDC_LCPR_CC_MASK), \</span></div> <div class="line"><a name="l00438"></a><span class="lineno"> 438</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l00439"></a><span class="lineno"> 439</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LCPR_OP_MASK))) : (((uint8_t)(Type) == 0x3U) ? ( \</span></div> <div class="line"><a name="l00440"></a><span class="lineno"> 440</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00441"></a><span class="lineno"> 441</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00442"></a><span class="lineno"> 442</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LCPR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LCPR_CC_MASK))) | ( \</span></div> <div class="line"><a name="l00443"></a><span class="lineno"> 443</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)0x1U &lt;&lt; LCDC_LCPR_CC_SHIFT)))), \</span></div> <div class="line"><a name="l00444"></a><span class="lineno"> 444</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l00445"></a><span class="lineno"> 445</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LCPR_OP_MASK))) : (((uint8_t)(Type) == 0x4U) ? ( \</span></div> <div class="line"><a name="l00446"></a><span class="lineno"> 446</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00447"></a><span class="lineno"> 447</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00448"></a><span class="lineno"> 448</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LCPR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LCPR_CC_MASK))) | ( \</span></div> <div class="line"><a name="l00449"></a><span class="lineno"> 449</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)0x1U &lt;&lt; LCDC_LCPR_CC_SHIFT)))), \</span></div> <div class="line"><a name="l00450"></a><span class="lineno"> 450</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l00451"></a><span class="lineno"> 451</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LCPR_OP_MASK))) : (((uint8_t)(Type) == 0x5U) ? ( \</span></div> <div class="line"><a name="l00452"></a><span class="lineno"> 452</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00453"></a><span class="lineno"> 453</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00454"></a><span class="lineno"> 454</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LCPR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LCPR_CC_MASK))) | ( \</span></div> <div class="line"><a name="l00455"></a><span class="lineno"> 455</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)0x2U &lt;&lt; LCDC_LCPR_CC_SHIFT)))), \</span></div> <div class="line"><a name="l00456"></a><span class="lineno"> 456</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LCPR_OP_MASK))) : (((uint8_t)(Type) == 0x6U) ? ( \</span></div> <div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) |= \</span></div> <div class="line"><a name="l00459"></a><span class="lineno"> 459</span>&#160;<span class="preprocessor"> LCDC_LCPR_CC_MASK), \</span></div> <div class="line"><a name="l00460"></a><span class="lineno"> 460</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) |= \</span></div> <div class="line"><a name="l00461"></a><span class="lineno"> 461</span>&#160;<span class="preprocessor"> LCDC_LCPR_OP_MASK)) : (((uint8_t)(Type) == 0x7U) ? ( \</span></div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00463"></a><span class="lineno"> 463</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00464"></a><span class="lineno"> 464</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LCPR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LCPR_CC_MASK))) | ( \</span></div> <div class="line"><a name="l00465"></a><span class="lineno"> 465</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)0x1U &lt;&lt; LCDC_LCPR_CC_SHIFT)))), \</span></div> <div class="line"><a name="l00466"></a><span class="lineno"> 466</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) |= \</span></div> <div class="line"><a name="l00467"></a><span class="lineno"> 467</span>&#160;<span class="preprocessor"> LCDC_LCPR_OP_MASK)) : ( \</span></div> <div class="line"><a name="l00468"></a><span class="lineno"> 468</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00469"></a><span class="lineno"> 469</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00470"></a><span class="lineno"> 470</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LCPR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LCPR_CC_MASK))) | ( \</span></div> <div class="line"><a name="l00471"></a><span class="lineno"> 471</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)0x2U &lt;&lt; LCDC_LCPR_CC_SHIFT)))), \</span></div> <div class="line"><a name="l00472"></a><span class="lineno"> 472</span>&#160;<span class="preprocessor"> (LCDC_LCPR_REG(PeripheralBase) |= \</span></div> <div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&#160;<span class="preprocessor"> LCDC_LCPR_OP_MASK)) \</span></div> <div class="line"><a name="l00474"></a><span class="lineno"> 474</span>&#160;<span class="preprocessor"> ))))))) \</span></div> <div class="line"><a name="l00475"></a><span class="lineno"> 475</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00476"></a><span class="lineno"> 476</span>&#160;</div> <div class="line"><a name="l00477"></a><span class="lineno"> 477</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00478"></a><span class="lineno"> 478</span>&#160;<span class="comment"> -- SetDisplayType</span></div> <div class="line"><a name="l00479"></a><span class="lineno"> 479</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00480"></a><span class="lineno"> 480</span>&#160;</div> <div class="line"><a name="l00497"></a><span class="lineno"> 497</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetDisplayType(PeripheralBase, Type) ( \</span></div> <div class="line"><a name="l00498"></a><span class="lineno"> 498</span>&#160;<span class="preprocessor"> ((uint8_t)(Type) == 0U) ? ( \</span></div> <div class="line"><a name="l00499"></a><span class="lineno"> 499</span>&#160;<span class="preprocessor"> (LCDC_LPCR_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l00500"></a><span class="lineno"> 500</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LPCR_TFT_MASK)), \</span></div> <div class="line"><a name="l00501"></a><span class="lineno"> 501</span>&#160;<span class="preprocessor"> (LCDC_LPCR_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l00502"></a><span class="lineno"> 502</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LPCR_COLOR_MASK))) : (((uint8_t)(Type) == 0x1U) ? ( \</span></div> <div class="line"><a name="l00503"></a><span class="lineno"> 503</span>&#160;<span class="preprocessor"> (LCDC_LPCR_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l00504"></a><span class="lineno"> 504</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LPCR_TFT_MASK)), \</span></div> <div class="line"><a name="l00505"></a><span class="lineno"> 505</span>&#160;<span class="preprocessor"> (LCDC_LPCR_REG(PeripheralBase) |= \</span></div> <div class="line"><a name="l00506"></a><span class="lineno"> 506</span>&#160;<span class="preprocessor"> LCDC_LPCR_COLOR_MASK)) : ( \</span></div> <div class="line"><a name="l00507"></a><span class="lineno"> 507</span>&#160;<span class="preprocessor"> (LCDC_LPCR_REG(PeripheralBase) |= \</span></div> <div class="line"><a name="l00508"></a><span class="lineno"> 508</span>&#160;<span class="preprocessor"> LCDC_LPCR_TFT_MASK), \</span></div> <div class="line"><a name="l00509"></a><span class="lineno"> 509</span>&#160;<span class="preprocessor"> (LCDC_LPCR_REG(PeripheralBase) |= \</span></div> <div class="line"><a name="l00510"></a><span class="lineno"> 510</span>&#160;<span class="preprocessor"> LCDC_LPCR_COLOR_MASK)) \</span></div> <div class="line"><a name="l00511"></a><span class="lineno"> 511</span>&#160;<span class="preprocessor"> ) \</span></div> <div class="line"><a name="l00512"></a><span class="lineno"> 512</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00513"></a><span class="lineno"> 513</span>&#160;</div> <div class="line"><a name="l00514"></a><span class="lineno"> 514</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00515"></a><span class="lineno"> 515</span>&#160;<span class="comment"> -- SetBusWidth</span></div> <div class="line"><a name="l00516"></a><span class="lineno"> 516</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00517"></a><span class="lineno"> 517</span>&#160;</div> <div class="line"><a name="l00534"></a><span class="lineno"> 534</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetBusWidth(PeripheralBase, bus) ( \</span></div> <div class="line"><a name="l00535"></a><span class="lineno"> 535</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00536"></a><span class="lineno"> 536</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00537"></a><span class="lineno"> 537</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_PBSIZ_MASK))) | ( \</span></div> <div class="line"><a name="l00538"></a><span class="lineno"> 538</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(bus) &lt;&lt; LCDC_LPCR_PBSIZ_SHIFT))) \</span></div> <div class="line"><a name="l00539"></a><span class="lineno"> 539</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00540"></a><span class="lineno"> 540</span>&#160;</div> <div class="line"><a name="l00541"></a><span class="lineno"> 541</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00542"></a><span class="lineno"> 542</span>&#160;<span class="comment"> -- SetBitsPerPixel</span></div> <div class="line"><a name="l00543"></a><span class="lineno"> 543</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00544"></a><span class="lineno"> 544</span>&#160;</div> <div class="line"><a name="l00561"></a><span class="lineno"> 561</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetBitsPerPixel(PeripheralBase, bpixVal) ( \</span></div> <div class="line"><a name="l00562"></a><span class="lineno"> 562</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00563"></a><span class="lineno"> 563</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00564"></a><span class="lineno"> 564</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_BPIX_MASK))) | ( \</span></div> <div class="line"><a name="l00565"></a><span class="lineno"> 565</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(bpixVal) &lt;&lt; LCDC_LPCR_BPIX_SHIFT))) \</span></div> <div class="line"><a name="l00566"></a><span class="lineno"> 566</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00567"></a><span class="lineno"> 567</span>&#160;</div> <div class="line"><a name="l00568"></a><span class="lineno"> 568</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00569"></a><span class="lineno"> 569</span>&#160;<span class="comment"> -- SetPixelPolarity</span></div> <div class="line"><a name="l00570"></a><span class="lineno"> 570</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00571"></a><span class="lineno"> 571</span>&#160;</div> <div class="line"><a name="l00588"></a><span class="lineno"> 588</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetPixelPolarity(PeripheralBase, pol) ( \</span></div> <div class="line"><a name="l00589"></a><span class="lineno"> 589</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00590"></a><span class="lineno"> 590</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00591"></a><span class="lineno"> 591</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_PIXPOL_MASK))) | ( \</span></div> <div class="line"><a name="l00592"></a><span class="lineno"> 592</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(pol) &lt;&lt; LCDC_LPCR_PIXPOL_SHIFT))) \</span></div> <div class="line"><a name="l00593"></a><span class="lineno"> 593</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00594"></a><span class="lineno"> 594</span>&#160;</div> <div class="line"><a name="l00595"></a><span class="lineno"> 595</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00596"></a><span class="lineno"> 596</span>&#160;<span class="comment"> -- SetFLM_VSYNCPolarity</span></div> <div class="line"><a name="l00597"></a><span class="lineno"> 597</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00598"></a><span class="lineno"> 598</span>&#160;</div> <div class="line"><a name="l00616"></a><span class="lineno"> 616</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetFLM_VSYNCPolarity(PeripheralBase, pol) ( \</span></div> <div class="line"><a name="l00617"></a><span class="lineno"> 617</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00618"></a><span class="lineno"> 618</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00619"></a><span class="lineno"> 619</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_FLMPOL_MASK))) | ( \</span></div> <div class="line"><a name="l00620"></a><span class="lineno"> 620</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(pol) &lt;&lt; LCDC_LPCR_FLMPOL_SHIFT))) \</span></div> <div class="line"><a name="l00621"></a><span class="lineno"> 621</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00622"></a><span class="lineno"> 622</span>&#160;</div> <div class="line"><a name="l00623"></a><span class="lineno"> 623</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00624"></a><span class="lineno"> 624</span>&#160;<span class="comment"> -- SetLP_HSYNCPolarity</span></div> <div class="line"><a name="l00625"></a><span class="lineno"> 625</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00626"></a><span class="lineno"> 626</span>&#160;</div> <div class="line"><a name="l00644"></a><span class="lineno"> 644</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetLP_HSYNCPolarity(PeripheralBase, pol) ( \</span></div> <div class="line"><a name="l00645"></a><span class="lineno"> 645</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00646"></a><span class="lineno"> 646</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00647"></a><span class="lineno"> 647</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_LPPOL_MASK))) | ( \</span></div> <div class="line"><a name="l00648"></a><span class="lineno"> 648</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(pol) &lt;&lt; LCDC_LPCR_LPPOL_SHIFT))) \</span></div> <div class="line"><a name="l00649"></a><span class="lineno"> 649</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00650"></a><span class="lineno"> 650</span>&#160;</div> <div class="line"><a name="l00651"></a><span class="lineno"> 651</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00652"></a><span class="lineno"> 652</span>&#160;<span class="comment"> -- SetLCDClockPolarity</span></div> <div class="line"><a name="l00653"></a><span class="lineno"> 653</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00654"></a><span class="lineno"> 654</span>&#160;</div> <div class="line"><a name="l00672"></a><span class="lineno"> 672</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetLCDClockPolarity(PeripheralBase, pol) ( \</span></div> <div class="line"><a name="l00673"></a><span class="lineno"> 673</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00674"></a><span class="lineno"> 674</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00675"></a><span class="lineno"> 675</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_CLKPOL_MASK))) | ( \</span></div> <div class="line"><a name="l00676"></a><span class="lineno"> 676</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(pol) &lt;&lt; LCDC_LPCR_CLKPOL_SHIFT))) \</span></div> <div class="line"><a name="l00677"></a><span class="lineno"> 677</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00678"></a><span class="lineno"> 678</span>&#160;</div> <div class="line"><a name="l00679"></a><span class="lineno"> 679</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00680"></a><span class="lineno"> 680</span>&#160;<span class="comment"> -- SetOEPolarity</span></div> <div class="line"><a name="l00681"></a><span class="lineno"> 681</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00682"></a><span class="lineno"> 682</span>&#160;</div> <div class="line"><a name="l00699"></a><span class="lineno"> 699</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetOEPolarity(PeripheralBase, pol) ( \</span></div> <div class="line"><a name="l00700"></a><span class="lineno"> 700</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00701"></a><span class="lineno"> 701</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00702"></a><span class="lineno"> 702</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_OEPOL_MASK))) | ( \</span></div> <div class="line"><a name="l00703"></a><span class="lineno"> 703</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(pol) &lt;&lt; LCDC_LPCR_OEPOL_SHIFT))) \</span></div> <div class="line"><a name="l00704"></a><span class="lineno"> 704</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00705"></a><span class="lineno"> 705</span>&#160;</div> <div class="line"><a name="l00706"></a><span class="lineno"> 706</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00707"></a><span class="lineno"> 707</span>&#160;<span class="comment"> -- SetImageEndian</span></div> <div class="line"><a name="l00708"></a><span class="lineno"> 708</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00709"></a><span class="lineno"> 709</span>&#160;</div> <div class="line"><a name="l00726"></a><span class="lineno"> 726</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetImageEndian(PeripheralBase, endian) ( \</span></div> <div class="line"><a name="l00727"></a><span class="lineno"> 727</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00728"></a><span class="lineno"> 728</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00729"></a><span class="lineno"> 729</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_END_SEL_MASK))) | ( \</span></div> <div class="line"><a name="l00730"></a><span class="lineno"> 730</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(endian) &lt;&lt; LCDC_LPCR_END_SEL_SHIFT))) \</span></div> <div class="line"><a name="l00731"></a><span class="lineno"> 731</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00732"></a><span class="lineno"> 732</span>&#160;</div> <div class="line"><a name="l00733"></a><span class="lineno"> 733</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00734"></a><span class="lineno"> 734</span>&#160;<span class="comment"> -- SwapSelect</span></div> <div class="line"><a name="l00735"></a><span class="lineno"> 735</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00736"></a><span class="lineno"> 736</span>&#160;</div> <div class="line"><a name="l00753"></a><span class="lineno"> 753</span>&#160;<span class="preprocessor">#define LCDC_PDD_SwapSelect(PeripheralBase, swp) ( \</span></div> <div class="line"><a name="l00754"></a><span class="lineno"> 754</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00755"></a><span class="lineno"> 755</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00756"></a><span class="lineno"> 756</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_SWAP_SEL_MASK))) | ( \</span></div> <div class="line"><a name="l00757"></a><span class="lineno"> 757</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(swp) &lt;&lt; LCDC_LPCR_SWAP_SEL_SHIFT))) \</span></div> <div class="line"><a name="l00758"></a><span class="lineno"> 758</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00759"></a><span class="lineno"> 759</span>&#160;</div> <div class="line"><a name="l00760"></a><span class="lineno"> 760</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00761"></a><span class="lineno"> 761</span>&#160;<span class="comment"> -- SetScanDir</span></div> <div class="line"><a name="l00762"></a><span class="lineno"> 762</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00763"></a><span class="lineno"> 763</span>&#160;</div> <div class="line"><a name="l00780"></a><span class="lineno"> 780</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetScanDir(PeripheralBase, dir) ( \</span></div> <div class="line"><a name="l00781"></a><span class="lineno"> 781</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00782"></a><span class="lineno"> 782</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00783"></a><span class="lineno"> 783</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_REV_VS_MASK))) | ( \</span></div> <div class="line"><a name="l00784"></a><span class="lineno"> 784</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(dir) &lt;&lt; LCDC_LPCR_REV_VS_SHIFT))) \</span></div> <div class="line"><a name="l00785"></a><span class="lineno"> 785</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00786"></a><span class="lineno"> 786</span>&#160;</div> <div class="line"><a name="l00787"></a><span class="lineno"> 787</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00788"></a><span class="lineno"> 788</span>&#160;<span class="comment"> -- GetScanDir</span></div> <div class="line"><a name="l00789"></a><span class="lineno"> 789</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00790"></a><span class="lineno"> 790</span>&#160;</div> <div class="line"><a name="l00806"></a><span class="lineno"> 806</span>&#160;<span class="preprocessor">#define LCDC_PDD_GetScanDir(PeripheralBase) ( \</span></div> <div class="line"><a name="l00807"></a><span class="lineno"> 807</span>&#160;<span class="preprocessor"> (uint8_t)(( \</span></div> <div class="line"><a name="l00808"></a><span class="lineno"> 808</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; LCDC_LPCR_REV_VS_MASK)) &gt;&gt; ( \</span></div> <div class="line"><a name="l00809"></a><span class="lineno"> 809</span>&#160;<span class="preprocessor"> LCDC_LPCR_REV_VS_SHIFT)) \</span></div> <div class="line"><a name="l00810"></a><span class="lineno"> 810</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00811"></a><span class="lineno"> 811</span>&#160;</div> <div class="line"><a name="l00812"></a><span class="lineno"> 812</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00813"></a><span class="lineno"> 813</span>&#160;<span class="comment"> -- ACDClockSource</span></div> <div class="line"><a name="l00814"></a><span class="lineno"> 814</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00815"></a><span class="lineno"> 815</span>&#160;</div> <div class="line"><a name="l00832"></a><span class="lineno"> 832</span>&#160;<span class="preprocessor">#define LCDC_PDD_ACDClockSource(PeripheralBase, acd) ( \</span></div> <div class="line"><a name="l00833"></a><span class="lineno"> 833</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00834"></a><span class="lineno"> 834</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00835"></a><span class="lineno"> 835</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_ACDSEL_MASK))) | ( \</span></div> <div class="line"><a name="l00836"></a><span class="lineno"> 836</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(acd) &lt;&lt; LCDC_LPCR_ACDSEL_SHIFT))) \</span></div> <div class="line"><a name="l00837"></a><span class="lineno"> 837</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00838"></a><span class="lineno"> 838</span>&#160;</div> <div class="line"><a name="l00839"></a><span class="lineno"> 839</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00840"></a><span class="lineno"> 840</span>&#160;<span class="comment"> -- SetACDtoggleRate</span></div> <div class="line"><a name="l00841"></a><span class="lineno"> 841</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00842"></a><span class="lineno"> 842</span>&#160;</div> <div class="line"><a name="l00858"></a><span class="lineno"> 858</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetACDtoggleRate(PeripheralBase, rate) ( \</span></div> <div class="line"><a name="l00859"></a><span class="lineno"> 859</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00860"></a><span class="lineno"> 860</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00861"></a><span class="lineno"> 861</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_ACD_MASK))) | ( \</span></div> <div class="line"><a name="l00862"></a><span class="lineno"> 862</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(rate) &lt;&lt; LCDC_LPCR_ACD_SHIFT))) \</span></div> <div class="line"><a name="l00863"></a><span class="lineno"> 863</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00864"></a><span class="lineno"> 864</span>&#160;</div> <div class="line"><a name="l00865"></a><span class="lineno"> 865</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00866"></a><span class="lineno"> 866</span>&#160;<span class="comment"> -- SetLSCKLDIdle</span></div> <div class="line"><a name="l00867"></a><span class="lineno"> 867</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00868"></a><span class="lineno"> 868</span>&#160;</div> <div class="line"><a name="l00886"></a><span class="lineno"> 886</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetLSCKLDIdle(PeripheralBase, en) ( \</span></div> <div class="line"><a name="l00887"></a><span class="lineno"> 887</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00888"></a><span class="lineno"> 888</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00889"></a><span class="lineno"> 889</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_SCLKIDLE_MASK))) | ( \</span></div> <div class="line"><a name="l00890"></a><span class="lineno"> 890</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(en) &lt;&lt; LCDC_LPCR_SCLKIDLE_SHIFT))) \</span></div> <div class="line"><a name="l00891"></a><span class="lineno"> 891</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00892"></a><span class="lineno"> 892</span>&#160;</div> <div class="line"><a name="l00893"></a><span class="lineno"> 893</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00894"></a><span class="lineno"> 894</span>&#160;<span class="comment"> -- EnableLSCLKWhenNoData</span></div> <div class="line"><a name="l00895"></a><span class="lineno"> 895</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00896"></a><span class="lineno"> 896</span>&#160;</div> <div class="line"><a name="l00914"></a><span class="lineno"> 914</span>&#160;<span class="preprocessor">#define LCDC_PDD_EnableLSCLKWhenNoData(PeripheralBase, en) ( \</span></div> <div class="line"><a name="l00915"></a><span class="lineno"> 915</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00916"></a><span class="lineno"> 916</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00917"></a><span class="lineno"> 917</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_SCLKIDLE_MASK))) | ( \</span></div> <div class="line"><a name="l00918"></a><span class="lineno"> 918</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(en) &lt;&lt; LCDC_LPCR_SCLKIDLE_SHIFT))) \</span></div> <div class="line"><a name="l00919"></a><span class="lineno"> 919</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00920"></a><span class="lineno"> 920</span>&#160;</div> <div class="line"><a name="l00921"></a><span class="lineno"> 921</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00922"></a><span class="lineno"> 922</span>&#160;<span class="comment"> -- SetLSCLKDuringSYNC</span></div> <div class="line"><a name="l00923"></a><span class="lineno"> 923</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00924"></a><span class="lineno"> 924</span>&#160;</div> <div class="line"><a name="l00942"></a><span class="lineno"> 942</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetLSCLKDuringSYNC(PeripheralBase, IdleType) ( \</span></div> <div class="line"><a name="l00943"></a><span class="lineno"> 943</span>&#160;<span class="preprocessor"> ((uint8_t)(IdleType) == 0U) ? ( \</span></div> <div class="line"><a name="l00944"></a><span class="lineno"> 944</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) |= \</span></div> <div class="line"><a name="l00945"></a><span class="lineno"> 945</span>&#160;<span class="preprocessor"> LCDC_LPCR_SCLKSEL_MASK) : (((uint8_t)(IdleType) == 0x1U) ? ( \</span></div> <div class="line"><a name="l00946"></a><span class="lineno"> 946</span>&#160;<span class="preprocessor"> (LCDC_LPCR_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l00947"></a><span class="lineno"> 947</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LPCR_SCLKSEL_MASK)), \</span></div> <div class="line"><a name="l00948"></a><span class="lineno"> 948</span>&#160;<span class="preprocessor"> (LCDC_LPCR_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l00949"></a><span class="lineno"> 949</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LPCR_SCLKIDLE_MASK))) : ( \</span></div> <div class="line"><a name="l00950"></a><span class="lineno"> 950</span>&#160;<span class="preprocessor"> (LCDC_LPCR_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l00951"></a><span class="lineno"> 951</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LPCR_SCLKSEL_MASK)), \</span></div> <div class="line"><a name="l00952"></a><span class="lineno"> 952</span>&#160;<span class="preprocessor"> (LCDC_LPCR_REG(PeripheralBase) |= \</span></div> <div class="line"><a name="l00953"></a><span class="lineno"> 953</span>&#160;<span class="preprocessor"> LCDC_LPCR_SCLKIDLE_MASK)) \</span></div> <div class="line"><a name="l00954"></a><span class="lineno"> 954</span>&#160;<span class="preprocessor"> ) \</span></div> <div class="line"><a name="l00955"></a><span class="lineno"> 955</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00956"></a><span class="lineno"> 956</span>&#160;</div> <div class="line"><a name="l00957"></a><span class="lineno"> 957</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00958"></a><span class="lineno"> 958</span>&#160;<span class="comment"> -- SetPixelClockDivider</span></div> <div class="line"><a name="l00959"></a><span class="lineno"> 959</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00960"></a><span class="lineno"> 960</span>&#160;</div> <div class="line"><a name="l00976"></a><span class="lineno"> 976</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetPixelClockDivider(PeripheralBase, div) ( \</span></div> <div class="line"><a name="l00977"></a><span class="lineno"> 977</span>&#160;<span class="preprocessor"> LCDC_LPCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l00978"></a><span class="lineno"> 978</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l00979"></a><span class="lineno"> 979</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCR_PCD_MASK))) | ( \</span></div> <div class="line"><a name="l00980"></a><span class="lineno"> 980</span>&#160;<span class="preprocessor"> (uint32_t)(div))) \</span></div> <div class="line"><a name="l00981"></a><span class="lineno"> 981</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l00982"></a><span class="lineno"> 982</span>&#160;</div> <div class="line"><a name="l00983"></a><span class="lineno"> 983</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l00984"></a><span class="lineno"> 984</span>&#160;<span class="comment"> -- SetHorizontalTiming</span></div> <div class="line"><a name="l00985"></a><span class="lineno"> 985</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l00986"></a><span class="lineno"> 986</span>&#160;</div> <div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetHorizontalTiming(PeripheralBase, HSYNC, WaitOEandHSYNC, WaitHSYNCandOE) ( \</span></div> <div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160;<span class="preprocessor"> (LCDC_LHCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LHCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LHCR_H_WIDTH_MASK))) | ( \</span></div> <div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(HSYNC) &lt;&lt; LCDC_LHCR_H_WIDTH_SHIFT)))), \</span></div> <div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;<span class="preprocessor"> ((LCDC_LHCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LHCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LHCR_H_WAIT_1_MASK))) | ( \</span></div> <div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(WaitOEandHSYNC) &lt;&lt; LCDC_LHCR_H_WAIT_1_SHIFT)))), \</span></div> <div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160;<span class="preprocessor"> (LCDC_LHCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LHCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LHCR_H_WAIT_2_MASK))) | ( \</span></div> <div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>&#160;<span class="preprocessor"> (uint32_t)(WaitHSYNCandOE))))) \</span></div> <div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;</div> <div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>&#160;<span class="comment"> -- SetVerticalTiming</span></div> <div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;</div> <div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetVerticalTiming(PeripheralBase, VSYNC, WaitOEandVSYNC, WaitVSYNCandOE) ( \</span></div> <div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>&#160;<span class="preprocessor"> (LCDC_LVCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LVCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LVCR_V_WIDTH_MASK))) | ( \</span></div> <div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(VSYNC) &lt;&lt; LCDC_LVCR_V_WIDTH_SHIFT)))), \</span></div> <div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>&#160;<span class="preprocessor"> ((LCDC_LVCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LVCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LVCR_V_WAIT_1_MASK))) | ( \</span></div> <div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(WaitOEandVSYNC) &lt;&lt; LCDC_LVCR_V_WAIT_1_SHIFT)))), \</span></div> <div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;<span class="preprocessor"> (LCDC_LVCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LVCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LVCR_V_WAIT_2_MASK))) | ( \</span></div> <div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160;<span class="preprocessor"> (uint32_t)(WaitVSYNCandOE))))) \</span></div> <div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160;</div> <div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>&#160;<span class="comment"> -- LineDataDown</span></div> <div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160;</div> <div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160;<span class="preprocessor">#define LCDC_PDD_LineDataDown(PeripheralBase, ldDownEn) ( \</span></div> <div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160;<span class="preprocessor"> LCDC_LPCCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCCR_LDMSK_MASK))) | ( \</span></div> <div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(ldDownEn) &lt;&lt; LCDC_LPCCR_LDMSK_SHIFT))) \</span></div> <div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;</div> <div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>&#160;<span class="comment"> -- PWMClockSource</span></div> <div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;</div> <div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>&#160;<span class="preprocessor">#define LCDC_PDD_PWMClockSource(PeripheralBase, clkSrc) ( \</span></div> <div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>&#160;<span class="preprocessor"> LCDC_LPCCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCCR_SCR_MASK))) | ( \</span></div> <div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(clkSrc) &lt;&lt; LCDC_LPCCR_SCR_SHIFT))) \</span></div> <div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160;</div> <div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160;<span class="comment"> -- SetPWMPulseWidth</span></div> <div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160;</div> <div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetPWMPulseWidth(PeripheralBase, pwmW) ( \</span></div> <div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>&#160;<span class="preprocessor"> LCDC_LPCCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCCR_PW_MASK))) | ( \</span></div> <div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160;<span class="preprocessor"> (uint32_t)(pwmW))) \</span></div> <div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>&#160;</div> <div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>&#160;<span class="comment"> -- ContrastControl</span></div> <div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>&#160;</div> <div class="line"><a name="l01160"></a><span class="lineno"> 1160</span>&#160;<span class="preprocessor">#define LCDC_PDD_ContrastControl(PeripheralBase, contrast) ( \</span></div> <div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160;<span class="preprocessor"> LCDC_LPCCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPCCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPCCR_CC_EN_MASK))) | ( \</span></div> <div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(contrast) &lt;&lt; LCDC_LPCCR_CC_EN_SHIFT))) \</span></div> <div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>&#160;</div> <div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>&#160;<span class="comment"> -- ReadInterruptStatus</span></div> <div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>&#160;</div> <div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>&#160;<span class="preprocessor">#define LCDC_PDD_ReadInterruptStatus(PeripheralBase) ( \</span></div> <div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>&#160;<span class="preprocessor"> LCDC_LISR_REG(PeripheralBase) \</span></div> <div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>&#160;</div> <div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;<span class="comment"> -- EnableInterruptMask</span></div> <div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>&#160;</div> <div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>&#160;<span class="preprocessor">#define LCDC_PDD_EnableInterruptMask(PeripheralBase, Mask) ( \</span></div> <div class="line"><a name="l01213"></a><span class="lineno"> 1213</span>&#160;<span class="preprocessor"> LCDC_LIER_REG(PeripheralBase) |= \</span></div> <div class="line"><a name="l01214"></a><span class="lineno"> 1214</span>&#160;<span class="preprocessor"> (uint32_t)(Mask) \</span></div> <div class="line"><a name="l01215"></a><span class="lineno"> 1215</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01216"></a><span class="lineno"> 1216</span>&#160;</div> <div class="line"><a name="l01217"></a><span class="lineno"> 1217</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01218"></a><span class="lineno"> 1218</span>&#160;<span class="comment"> -- DisableInterruptMask</span></div> <div class="line"><a name="l01219"></a><span class="lineno"> 1219</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01220"></a><span class="lineno"> 1220</span>&#160;</div> <div class="line"><a name="l01239"></a><span class="lineno"> 1239</span>&#160;<span class="preprocessor">#define LCDC_PDD_DisableInterruptMask(PeripheralBase, Mask) ( \</span></div> <div class="line"><a name="l01240"></a><span class="lineno"> 1240</span>&#160;<span class="preprocessor"> LCDC_LIER_REG(PeripheralBase) &amp;= \</span></div> <div class="line"><a name="l01241"></a><span class="lineno"> 1241</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)(Mask)) \</span></div> <div class="line"><a name="l01242"></a><span class="lineno"> 1242</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>&#160;</div> <div class="line"><a name="l01244"></a><span class="lineno"> 1244</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>&#160;<span class="comment"> -- SetFrameInterruptPosition</span></div> <div class="line"><a name="l01246"></a><span class="lineno"> 1246</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01247"></a><span class="lineno"> 1247</span>&#160;</div> <div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetFrameInterruptPosition(PeripheralBase, intSel) ( \</span></div> <div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>&#160;<span class="preprocessor"> LCDC_LICR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LICR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LICR_INTCON_MASK))) | ( \</span></div> <div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>&#160;<span class="preprocessor"> (uint32_t)(intSel))) \</span></div> <div class="line"><a name="l01270"></a><span class="lineno"> 1270</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01271"></a><span class="lineno"> 1271</span>&#160;</div> <div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>&#160;<span class="comment"> -- SetGWinInterruptPosition</span></div> <div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>&#160;</div> <div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetGWinInterruptPosition(PeripheralBase, intSel) ( \</span></div> <div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>&#160;<span class="preprocessor"> LCDC_LICR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>&#160;<span class="preprocessor"> LCDC_LICR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LICR_GW_INT_CON_MASK)))) | ( \</span></div> <div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(intSel) &lt;&lt; LCDC_LICR_GW_INT_CON_SHIFT))) \</span></div> <div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>&#160;</div> <div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>&#160;<span class="comment"> -- SelectIntSyn</span></div> <div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01305"></a><span class="lineno"> 1305</span>&#160;</div> <div class="line"><a name="l01322"></a><span class="lineno"> 1322</span>&#160;<span class="preprocessor">#define LCDC_PDD_SelectIntSyn(PeripheralBase, intSel) ( \</span></div> <div class="line"><a name="l01323"></a><span class="lineno"> 1323</span>&#160;<span class="preprocessor"> LCDC_LICR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01324"></a><span class="lineno"> 1324</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01325"></a><span class="lineno"> 1325</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LICR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LICR_INTSYN_MASK))) | ( \</span></div> <div class="line"><a name="l01326"></a><span class="lineno"> 1326</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(intSel) &lt;&lt; LCDC_LICR_INTSYN_SHIFT))) \</span></div> <div class="line"><a name="l01327"></a><span class="lineno"> 1327</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01328"></a><span class="lineno"> 1328</span>&#160;</div> <div class="line"><a name="l01329"></a><span class="lineno"> 1329</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>&#160;<span class="comment"> -- SetupInterrupts</span></div> <div class="line"><a name="l01331"></a><span class="lineno"> 1331</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>&#160;</div> <div class="line"><a name="l01354"></a><span class="lineno"> 1354</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetupInterrupts(PeripheralBase, intPos, gwinIntPos, intTime) ( \</span></div> <div class="line"><a name="l01355"></a><span class="lineno"> 1355</span>&#160;<span class="preprocessor"> (LCDC_LICR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01356"></a><span class="lineno"> 1356</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01357"></a><span class="lineno"> 1357</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LICR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LICR_INTSYN_MASK))) | ( \</span></div> <div class="line"><a name="l01358"></a><span class="lineno"> 1358</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(intTime) &lt;&lt; LCDC_LICR_INTSYN_SHIFT)))), \</span></div> <div class="line"><a name="l01359"></a><span class="lineno"> 1359</span>&#160;<span class="preprocessor"> ((LCDC_LICR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01360"></a><span class="lineno"> 1360</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>&#160;<span class="preprocessor"> LCDC_LICR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LICR_GW_INT_CON_MASK)))) | ( \</span></div> <div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(gwinIntPos) &lt;&lt; LCDC_LICR_GW_INT_CON_SHIFT)))), \</span></div> <div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>&#160;<span class="preprocessor"> (LCDC_LICR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LICR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LICR_INTCON_MASK))) | ( \</span></div> <div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>&#160;<span class="preprocessor"> (uint32_t)(intPos))))) \</span></div> <div class="line"><a name="l01369"></a><span class="lineno"> 1369</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01370"></a><span class="lineno"> 1370</span>&#160;</div> <div class="line"><a name="l01371"></a><span class="lineno"> 1371</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01372"></a><span class="lineno"> 1372</span>&#160;<span class="comment"> -- SetDMABurstLength</span></div> <div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01374"></a><span class="lineno"> 1374</span>&#160;</div> <div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetDMABurstLength(PeripheralBase, blen) ( \</span></div> <div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>&#160;<span class="preprocessor"> LCDC_LDCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01394"></a><span class="lineno"> 1394</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LDCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LDCR_BURST_MASK))) | ( \</span></div> <div class="line"><a name="l01395"></a><span class="lineno"> 1395</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(blen) &lt;&lt; LCDC_LDCR_BURST_SHIFT))) \</span></div> <div class="line"><a name="l01396"></a><span class="lineno"> 1396</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>&#160;</div> <div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>&#160;<span class="comment"> -- SetDMAHighMark</span></div> <div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>&#160;</div> <div class="line"><a name="l01417"></a><span class="lineno"> 1417</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetDMAHighMark(PeripheralBase, hm) ( \</span></div> <div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>&#160;<span class="preprocessor"> LCDC_LDCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01420"></a><span class="lineno"> 1420</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LDCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LDCR_HM_MASK))) | ( \</span></div> <div class="line"><a name="l01421"></a><span class="lineno"> 1421</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(hm) &lt;&lt; LCDC_LDCR_HM_SHIFT))) \</span></div> <div class="line"><a name="l01422"></a><span class="lineno"> 1422</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>&#160;</div> <div class="line"><a name="l01424"></a><span class="lineno"> 1424</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>&#160;<span class="comment"> -- SetDMATriggerMark</span></div> <div class="line"><a name="l01426"></a><span class="lineno"> 1426</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01427"></a><span class="lineno"> 1427</span>&#160;</div> <div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetDMATriggerMark(PeripheralBase, tm) ( \</span></div> <div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>&#160;<span class="preprocessor"> LCDC_LDCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LDCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LDCR_TM_MASK))) | ( \</span></div> <div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>&#160;<span class="preprocessor"> (uint32_t)(tm))) \</span></div> <div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>&#160;</div> <div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01451"></a><span class="lineno"> 1451</span>&#160;<span class="comment"> -- SetupDMA</span></div> <div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>&#160;</div> <div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetupDMA(PeripheralBase, blen, hm, tm) ( \</span></div> <div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>&#160;<span class="preprocessor"> (LCDC_LDCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LDCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LDCR_BURST_MASK))) | ( \</span></div> <div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(blen) &lt;&lt; LCDC_LDCR_BURST_SHIFT)))), \</span></div> <div class="line"><a name="l01478"></a><span class="lineno"> 1478</span>&#160;<span class="preprocessor"> ((LCDC_LDCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01480"></a><span class="lineno"> 1480</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LDCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LDCR_HM_MASK))) | ( \</span></div> <div class="line"><a name="l01481"></a><span class="lineno"> 1481</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(hm) &lt;&lt; LCDC_LDCR_HM_SHIFT)))), \</span></div> <div class="line"><a name="l01482"></a><span class="lineno"> 1482</span>&#160;<span class="preprocessor"> (LCDC_LDCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01483"></a><span class="lineno"> 1483</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LDCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LDCR_TM_MASK))) | ( \</span></div> <div class="line"><a name="l01485"></a><span class="lineno"> 1485</span>&#160;<span class="preprocessor"> (uint32_t)(tm))))) \</span></div> <div class="line"><a name="l01486"></a><span class="lineno"> 1486</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01487"></a><span class="lineno"> 1487</span>&#160;</div> <div class="line"><a name="l01488"></a><span class="lineno"> 1488</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01489"></a><span class="lineno"> 1489</span>&#160;<span class="comment"> -- SetPanningOffset</span></div> <div class="line"><a name="l01490"></a><span class="lineno"> 1490</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01491"></a><span class="lineno"> 1491</span>&#160;</div> <div class="line"><a name="l01507"></a><span class="lineno"> 1507</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetPanningOffset(PeripheralBase, pos) ( \</span></div> <div class="line"><a name="l01508"></a><span class="lineno"> 1508</span>&#160;<span class="preprocessor"> LCDC_LPOR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LPOR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LPOR_POS_MASK))) | ( \</span></div> <div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>&#160;<span class="preprocessor"> (uint32_t)(pos))) \</span></div> <div class="line"><a name="l01512"></a><span class="lineno"> 1512</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01513"></a><span class="lineno"> 1513</span>&#160;</div> <div class="line"><a name="l01514"></a><span class="lineno"> 1514</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01515"></a><span class="lineno"> 1515</span>&#160;<span class="comment"> -- SetGWinStartAddress</span></div> <div class="line"><a name="l01516"></a><span class="lineno"> 1516</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01517"></a><span class="lineno"> 1517</span>&#160;</div> <div class="line"><a name="l01533"></a><span class="lineno"> 1533</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetGWinStartAddress(PeripheralBase, Data) ( \</span></div> <div class="line"><a name="l01534"></a><span class="lineno"> 1534</span>&#160;<span class="preprocessor"> LCDC_LGWSAR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01535"></a><span class="lineno"> 1535</span>&#160;<span class="preprocessor"> (uint32_t)(Data) \</span></div> <div class="line"><a name="l01536"></a><span class="lineno"> 1536</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01537"></a><span class="lineno"> 1537</span>&#160;</div> <div class="line"><a name="l01538"></a><span class="lineno"> 1538</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01539"></a><span class="lineno"> 1539</span>&#160;<span class="comment"> -- SetGWinSize</span></div> <div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01541"></a><span class="lineno"> 1541</span>&#160;</div> <div class="line"><a name="l01560"></a><span class="lineno"> 1560</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetGWinSize(PeripheralBase, Width, Height) ( \</span></div> <div class="line"><a name="l01561"></a><span class="lineno"> 1561</span>&#160;<span class="preprocessor"> (LCDC_LGWSR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01562"></a><span class="lineno"> 1562</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01563"></a><span class="lineno"> 1563</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWSR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWSR_GWH_MASK))) | ( \</span></div> <div class="line"><a name="l01564"></a><span class="lineno"> 1564</span>&#160;<span class="preprocessor"> (uint32_t)(Height)))), \</span></div> <div class="line"><a name="l01565"></a><span class="lineno"> 1565</span>&#160;<span class="preprocessor"> (LCDC_LGWSR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01566"></a><span class="lineno"> 1566</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01567"></a><span class="lineno"> 1567</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWSR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWSR_GWW_MASK))) | ( \</span></div> <div class="line"><a name="l01568"></a><span class="lineno"> 1568</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(Width) &lt;&lt; LCDC_LGWSR_GWW_SHIFT)))) \</span></div> <div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>&#160;</div> <div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>&#160;<span class="comment"> -- SetGWinVirtualPageWidth</span></div> <div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01574"></a><span class="lineno"> 1574</span>&#160;</div> <div class="line"><a name="l01592"></a><span class="lineno"> 1592</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetGWinVirtualPageWidth(PeripheralBase, Width) ( \</span></div> <div class="line"><a name="l01593"></a><span class="lineno"> 1593</span>&#160;<span class="preprocessor"> LCDC_LGWVPWR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01594"></a><span class="lineno"> 1594</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01595"></a><span class="lineno"> 1595</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01596"></a><span class="lineno"> 1596</span>&#160;<span class="preprocessor"> LCDC_LGWVPWR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l01597"></a><span class="lineno"> 1597</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LGWVPWR_GWVPW_MASK)))) | ( \</span></div> <div class="line"><a name="l01598"></a><span class="lineno"> 1598</span>&#160;<span class="preprocessor"> (uint32_t)(Width))) \</span></div> <div class="line"><a name="l01599"></a><span class="lineno"> 1599</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01600"></a><span class="lineno"> 1600</span>&#160;</div> <div class="line"><a name="l01601"></a><span class="lineno"> 1601</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01602"></a><span class="lineno"> 1602</span>&#160;<span class="comment"> -- SetGWinPosition</span></div> <div class="line"><a name="l01603"></a><span class="lineno"> 1603</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01604"></a><span class="lineno"> 1604</span>&#160;</div> <div class="line"><a name="l01621"></a><span class="lineno"> 1621</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetGWinPosition(PeripheralBase, X, Y) ( \</span></div> <div class="line"><a name="l01622"></a><span class="lineno"> 1622</span>&#160;<span class="preprocessor"> (LCDC_LGWPR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01623"></a><span class="lineno"> 1623</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01624"></a><span class="lineno"> 1624</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWPR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWPR_GWYP_MASK))) | ( \</span></div> <div class="line"><a name="l01625"></a><span class="lineno"> 1625</span>&#160;<span class="preprocessor"> (uint32_t)(Y)))), \</span></div> <div class="line"><a name="l01626"></a><span class="lineno"> 1626</span>&#160;<span class="preprocessor"> (LCDC_LGWPR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01627"></a><span class="lineno"> 1627</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01628"></a><span class="lineno"> 1628</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWPR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWPR_GWXP_MASK))) | ( \</span></div> <div class="line"><a name="l01629"></a><span class="lineno"> 1629</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(X) &lt;&lt; LCDC_LGWPR_GWXP_SHIFT)))) \</span></div> <div class="line"><a name="l01630"></a><span class="lineno"> 1630</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01631"></a><span class="lineno"> 1631</span>&#160;</div> <div class="line"><a name="l01632"></a><span class="lineno"> 1632</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01633"></a><span class="lineno"> 1633</span>&#160;<span class="comment"> -- SetGWinPanningOffset</span></div> <div class="line"><a name="l01634"></a><span class="lineno"> 1634</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01635"></a><span class="lineno"> 1635</span>&#160;</div> <div class="line"><a name="l01651"></a><span class="lineno"> 1651</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetGWinPanningOffset(PeripheralBase, pos) ( \</span></div> <div class="line"><a name="l01652"></a><span class="lineno"> 1652</span>&#160;<span class="preprocessor"> LCDC_LGWPOR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01653"></a><span class="lineno"> 1653</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01654"></a><span class="lineno"> 1654</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWPOR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWPOR_GWPO_MASK))) | ( \</span></div> <div class="line"><a name="l01655"></a><span class="lineno"> 1655</span>&#160;<span class="preprocessor"> (uint32_t)(pos))) \</span></div> <div class="line"><a name="l01656"></a><span class="lineno"> 1656</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01657"></a><span class="lineno"> 1657</span>&#160;</div> <div class="line"><a name="l01658"></a><span class="lineno"> 1658</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01659"></a><span class="lineno"> 1659</span>&#160;<span class="comment"> -- SetGWinAlphaValue</span></div> <div class="line"><a name="l01660"></a><span class="lineno"> 1660</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01661"></a><span class="lineno"> 1661</span>&#160;</div> <div class="line"><a name="l01677"></a><span class="lineno"> 1677</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetGWinAlphaValue(PeripheralBase, alpha) ( \</span></div> <div class="line"><a name="l01678"></a><span class="lineno"> 1678</span>&#160;<span class="preprocessor"> LCDC_LGWCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01679"></a><span class="lineno"> 1679</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01680"></a><span class="lineno"> 1680</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWCR_GWAV_MASK))) | ( \</span></div> <div class="line"><a name="l01681"></a><span class="lineno"> 1681</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(alpha) &lt;&lt; LCDC_LGWCR_GWAV_SHIFT))) \</span></div> <div class="line"><a name="l01682"></a><span class="lineno"> 1682</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01683"></a><span class="lineno"> 1683</span>&#160;</div> <div class="line"><a name="l01684"></a><span class="lineno"> 1684</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01685"></a><span class="lineno"> 1685</span>&#160;<span class="comment"> -- GWinColorKeying</span></div> <div class="line"><a name="l01686"></a><span class="lineno"> 1686</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01687"></a><span class="lineno"> 1687</span>&#160;</div> <div class="line"><a name="l01705"></a><span class="lineno"> 1705</span>&#160;<span class="preprocessor">#define LCDC_PDD_GWinColorKeying(PeripheralBase, keying) ( \</span></div> <div class="line"><a name="l01706"></a><span class="lineno"> 1706</span>&#160;<span class="preprocessor"> LCDC_LGWCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01707"></a><span class="lineno"> 1707</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01708"></a><span class="lineno"> 1708</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWCR_GWCKE_MASK))) | ( \</span></div> <div class="line"><a name="l01709"></a><span class="lineno"> 1709</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(keying) &lt;&lt; LCDC_LGWCR_GWCKE_SHIFT))) \</span></div> <div class="line"><a name="l01710"></a><span class="lineno"> 1710</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01711"></a><span class="lineno"> 1711</span>&#160;</div> <div class="line"><a name="l01712"></a><span class="lineno"> 1712</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>&#160;<span class="comment"> -- SetGWinKeyingColor</span></div> <div class="line"><a name="l01714"></a><span class="lineno"> 1714</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01715"></a><span class="lineno"> 1715</span>&#160;</div> <div class="line"><a name="l01733"></a><span class="lineno"> 1733</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetGWinKeyingColor(PeripheralBase, red, green, blue) ( \</span></div> <div class="line"><a name="l01734"></a><span class="lineno"> 1734</span>&#160;<span class="preprocessor"> (LCDC_LGWCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01735"></a><span class="lineno"> 1735</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWCR_GWCKR_MASK))) | ( \</span></div> <div class="line"><a name="l01737"></a><span class="lineno"> 1737</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(red) &lt;&lt; LCDC_LGWCR_GWCKR_SHIFT)))), \</span></div> <div class="line"><a name="l01738"></a><span class="lineno"> 1738</span>&#160;<span class="preprocessor"> ((LCDC_LGWCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01739"></a><span class="lineno"> 1739</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01740"></a><span class="lineno"> 1740</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWCR_GWCKG_MASK))) | ( \</span></div> <div class="line"><a name="l01741"></a><span class="lineno"> 1741</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(green) &lt;&lt; LCDC_LGWCR_GWCKG_SHIFT)))), \</span></div> <div class="line"><a name="l01742"></a><span class="lineno"> 1742</span>&#160;<span class="preprocessor"> (LCDC_LGWCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01743"></a><span class="lineno"> 1743</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01744"></a><span class="lineno"> 1744</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWCR_GWCKB_MASK))) | ( \</span></div> <div class="line"><a name="l01745"></a><span class="lineno"> 1745</span>&#160;<span class="preprocessor"> (uint32_t)(blue))))) \</span></div> <div class="line"><a name="l01746"></a><span class="lineno"> 1746</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01747"></a><span class="lineno"> 1747</span>&#160;</div> <div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01749"></a><span class="lineno"> 1749</span>&#160;<span class="comment"> -- SetGWinScanDir</span></div> <div class="line"><a name="l01750"></a><span class="lineno"> 1750</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01751"></a><span class="lineno"> 1751</span>&#160;</div> <div class="line"><a name="l01768"></a><span class="lineno"> 1768</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetGWinScanDir(PeripheralBase, dir) ( \</span></div> <div class="line"><a name="l01769"></a><span class="lineno"> 1769</span>&#160;<span class="preprocessor"> LCDC_LGWCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01770"></a><span class="lineno"> 1770</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01771"></a><span class="lineno"> 1771</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWCR_GW_RVS_MASK))) | ( \</span></div> <div class="line"><a name="l01772"></a><span class="lineno"> 1772</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(dir) &lt;&lt; LCDC_LGWCR_GW_RVS_SHIFT))) \</span></div> <div class="line"><a name="l01773"></a><span class="lineno"> 1773</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>&#160;</div> <div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01776"></a><span class="lineno"> 1776</span>&#160;<span class="comment"> -- GetGWinScanDir</span></div> <div class="line"><a name="l01777"></a><span class="lineno"> 1777</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>&#160;</div> <div class="line"><a name="l01794"></a><span class="lineno"> 1794</span>&#160;<span class="preprocessor">#define LCDC_PDD_GetGWinScanDir(PeripheralBase) ( \</span></div> <div class="line"><a name="l01795"></a><span class="lineno"> 1795</span>&#160;<span class="preprocessor"> (uint8_t)(( \</span></div> <div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWCR_REG(PeripheralBase) &amp; LCDC_LGWCR_GW_RVS_MASK)) &gt;&gt; ( \</span></div> <div class="line"><a name="l01797"></a><span class="lineno"> 1797</span>&#160;<span class="preprocessor"> LCDC_LGWCR_GW_RVS_SHIFT)) \</span></div> <div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>&#160;</div> <div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01801"></a><span class="lineno"> 1801</span>&#160;<span class="comment"> -- GWinEnable</span></div> <div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>&#160;</div> <div class="line"><a name="l01820"></a><span class="lineno"> 1820</span>&#160;<span class="preprocessor">#define LCDC_PDD_GWinEnable(PeripheralBase, gw) ( \</span></div> <div class="line"><a name="l01821"></a><span class="lineno"> 1821</span>&#160;<span class="preprocessor"> LCDC_LGWCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01822"></a><span class="lineno"> 1822</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01823"></a><span class="lineno"> 1823</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWCR_GWE_MASK))) | ( \</span></div> <div class="line"><a name="l01824"></a><span class="lineno"> 1824</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(gw) &lt;&lt; LCDC_LGWCR_GWE_SHIFT))) \</span></div> <div class="line"><a name="l01825"></a><span class="lineno"> 1825</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01826"></a><span class="lineno"> 1826</span>&#160;</div> <div class="line"><a name="l01827"></a><span class="lineno"> 1827</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01828"></a><span class="lineno"> 1828</span>&#160;<span class="comment"> -- SetGWinDMABurstLength</span></div> <div class="line"><a name="l01829"></a><span class="lineno"> 1829</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01830"></a><span class="lineno"> 1830</span>&#160;</div> <div class="line"><a name="l01847"></a><span class="lineno"> 1847</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetGWinDMABurstLength(PeripheralBase, blen) ( \</span></div> <div class="line"><a name="l01848"></a><span class="lineno"> 1848</span>&#160;<span class="preprocessor"> LCDC_LGWDCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01849"></a><span class="lineno"> 1849</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01850"></a><span class="lineno"> 1850</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWDCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWDCR_GWBT_MASK))) | ( \</span></div> <div class="line"><a name="l01851"></a><span class="lineno"> 1851</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(blen) &lt;&lt; LCDC_LGWDCR_GWBT_SHIFT))) \</span></div> <div class="line"><a name="l01852"></a><span class="lineno"> 1852</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01853"></a><span class="lineno"> 1853</span>&#160;</div> <div class="line"><a name="l01854"></a><span class="lineno"> 1854</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01855"></a><span class="lineno"> 1855</span>&#160;<span class="comment"> -- SetGWinDMAHighMark</span></div> <div class="line"><a name="l01856"></a><span class="lineno"> 1856</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01857"></a><span class="lineno"> 1857</span>&#160;</div> <div class="line"><a name="l01873"></a><span class="lineno"> 1873</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetGWinDMAHighMark(PeripheralBase, hm) ( \</span></div> <div class="line"><a name="l01874"></a><span class="lineno"> 1874</span>&#160;<span class="preprocessor"> LCDC_LGWDCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01875"></a><span class="lineno"> 1875</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01876"></a><span class="lineno"> 1876</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWDCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWDCR_GWHM_MASK))) | ( \</span></div> <div class="line"><a name="l01877"></a><span class="lineno"> 1877</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(hm) &lt;&lt; LCDC_LGWDCR_GWHM_SHIFT))) \</span></div> <div class="line"><a name="l01878"></a><span class="lineno"> 1878</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01879"></a><span class="lineno"> 1879</span>&#160;</div> <div class="line"><a name="l01880"></a><span class="lineno"> 1880</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01881"></a><span class="lineno"> 1881</span>&#160;<span class="comment"> -- SetGWinDMATriggerMark</span></div> <div class="line"><a name="l01882"></a><span class="lineno"> 1882</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01883"></a><span class="lineno"> 1883</span>&#160;</div> <div class="line"><a name="l01899"></a><span class="lineno"> 1899</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetGWinDMATriggerMark(PeripheralBase, tm) ( \</span></div> <div class="line"><a name="l01900"></a><span class="lineno"> 1900</span>&#160;<span class="preprocessor"> LCDC_LGWDCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01901"></a><span class="lineno"> 1901</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01902"></a><span class="lineno"> 1902</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWDCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWDCR_GWTM_MASK))) | ( \</span></div> <div class="line"><a name="l01903"></a><span class="lineno"> 1903</span>&#160;<span class="preprocessor"> (uint32_t)(tm))) \</span></div> <div class="line"><a name="l01904"></a><span class="lineno"> 1904</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01905"></a><span class="lineno"> 1905</span>&#160;</div> <div class="line"><a name="l01906"></a><span class="lineno"> 1906</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01907"></a><span class="lineno"> 1907</span>&#160;<span class="comment"> -- SetupGWinDMA</span></div> <div class="line"><a name="l01908"></a><span class="lineno"> 1908</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01909"></a><span class="lineno"> 1909</span>&#160;</div> <div class="line"><a name="l01929"></a><span class="lineno"> 1929</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetupGWinDMA(PeripheralBase, blen, hm, tm) ( \</span></div> <div class="line"><a name="l01930"></a><span class="lineno"> 1930</span>&#160;<span class="preprocessor"> (LCDC_LGWDCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01931"></a><span class="lineno"> 1931</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01932"></a><span class="lineno"> 1932</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWDCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWDCR_GWBT_MASK))) | ( \</span></div> <div class="line"><a name="l01933"></a><span class="lineno"> 1933</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(blen) &lt;&lt; LCDC_LGWDCR_GWBT_SHIFT)))), \</span></div> <div class="line"><a name="l01934"></a><span class="lineno"> 1934</span>&#160;<span class="preprocessor"> ((LCDC_LGWDCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01935"></a><span class="lineno"> 1935</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01936"></a><span class="lineno"> 1936</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWDCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWDCR_GWHM_MASK))) | ( \</span></div> <div class="line"><a name="l01937"></a><span class="lineno"> 1937</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(hm) &lt;&lt; LCDC_LGWDCR_GWHM_SHIFT)))), \</span></div> <div class="line"><a name="l01938"></a><span class="lineno"> 1938</span>&#160;<span class="preprocessor"> (LCDC_LGWDCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01939"></a><span class="lineno"> 1939</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01940"></a><span class="lineno"> 1940</span>&#160;<span class="preprocessor"> (uint32_t)(LCDC_LGWDCR_REG(PeripheralBase) &amp; (uint32_t)(~(uint32_t)LCDC_LGWDCR_GWTM_MASK))) | ( \</span></div> <div class="line"><a name="l01941"></a><span class="lineno"> 1941</span>&#160;<span class="preprocessor"> (uint32_t)(tm))))) \</span></div> <div class="line"><a name="l01942"></a><span class="lineno"> 1942</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01943"></a><span class="lineno"> 1943</span>&#160;</div> <div class="line"><a name="l01944"></a><span class="lineno"> 1944</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01945"></a><span class="lineno"> 1945</span>&#160;<span class="comment"> -- AUSMode</span></div> <div class="line"><a name="l01946"></a><span class="lineno"> 1946</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01947"></a><span class="lineno"> 1947</span>&#160;</div> <div class="line"><a name="l01964"></a><span class="lineno"> 1964</span>&#160;<span class="preprocessor">#define LCDC_PDD_AUSMode(PeripheralBase, aus) ( \</span></div> <div class="line"><a name="l01965"></a><span class="lineno"> 1965</span>&#160;<span class="preprocessor"> LCDC_LAUSCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01966"></a><span class="lineno"> 1966</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01967"></a><span class="lineno"> 1967</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01968"></a><span class="lineno"> 1968</span>&#160;<span class="preprocessor"> LCDC_LAUSCR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l01969"></a><span class="lineno"> 1969</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LAUSCR_AUS_Mode_MASK)))) | ( \</span></div> <div class="line"><a name="l01970"></a><span class="lineno"> 1970</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(aus) &lt;&lt; LCDC_LAUSCR_AUS_Mode_SHIFT))) \</span></div> <div class="line"><a name="l01971"></a><span class="lineno"> 1971</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l01972"></a><span class="lineno"> 1972</span>&#160;</div> <div class="line"><a name="l01973"></a><span class="lineno"> 1973</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l01974"></a><span class="lineno"> 1974</span>&#160;<span class="comment"> -- SetAUSKeyingColor</span></div> <div class="line"><a name="l01975"></a><span class="lineno"> 1975</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l01976"></a><span class="lineno"> 1976</span>&#160;</div> <div class="line"><a name="l01994"></a><span class="lineno"> 1994</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetAUSKeyingColor(PeripheralBase, red, green, blue) ( \</span></div> <div class="line"><a name="l01995"></a><span class="lineno"> 1995</span>&#160;<span class="preprocessor"> (LCDC_LAUSCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l01996"></a><span class="lineno"> 1996</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01997"></a><span class="lineno"> 1997</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l01998"></a><span class="lineno"> 1998</span>&#160;<span class="preprocessor"> LCDC_LAUSCR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l01999"></a><span class="lineno"> 1999</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LAUSCR_AGWCKR_MASK)))) | ( \</span></div> <div class="line"><a name="l02000"></a><span class="lineno"> 2000</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(red) &lt;&lt; LCDC_LAUSCR_AGWCKR_SHIFT)))), \</span></div> <div class="line"><a name="l02001"></a><span class="lineno"> 2001</span>&#160;<span class="preprocessor"> ((LCDC_LAUSCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l02002"></a><span class="lineno"> 2002</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02003"></a><span class="lineno"> 2003</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02004"></a><span class="lineno"> 2004</span>&#160;<span class="preprocessor"> LCDC_LAUSCR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l02005"></a><span class="lineno"> 2005</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LAUSCR_AGWCKG_MASK)))) | ( \</span></div> <div class="line"><a name="l02006"></a><span class="lineno"> 2006</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(green) &lt;&lt; LCDC_LAUSCR_AGWCKG_SHIFT)))), \</span></div> <div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>&#160;<span class="preprocessor"> (LCDC_LAUSCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l02008"></a><span class="lineno"> 2008</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02009"></a><span class="lineno"> 2009</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02010"></a><span class="lineno"> 2010</span>&#160;<span class="preprocessor"> LCDC_LAUSCR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l02011"></a><span class="lineno"> 2011</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LAUSCR_AGWCKB_MASK)))) | ( \</span></div> <div class="line"><a name="l02012"></a><span class="lineno"> 2012</span>&#160;<span class="preprocessor"> (uint32_t)(blue))))) \</span></div> <div class="line"><a name="l02013"></a><span class="lineno"> 2013</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l02014"></a><span class="lineno"> 2014</span>&#160;</div> <div class="line"><a name="l02015"></a><span class="lineno"> 2015</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l02016"></a><span class="lineno"> 2016</span>&#160;<span class="comment"> -- SetAUSCursorColor</span></div> <div class="line"><a name="l02017"></a><span class="lineno"> 2017</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l02018"></a><span class="lineno"> 2018</span>&#160;</div> <div class="line"><a name="l02036"></a><span class="lineno"> 2036</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetAUSCursorColor(PeripheralBase, Red, Green, Blue) ( \</span></div> <div class="line"><a name="l02037"></a><span class="lineno"> 2037</span>&#160;<span class="preprocessor"> (LCDC_LAUSCCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l02038"></a><span class="lineno"> 2038</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02039"></a><span class="lineno"> 2039</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02040"></a><span class="lineno"> 2040</span>&#160;<span class="preprocessor"> LCDC_LAUSCCR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l02041"></a><span class="lineno"> 2041</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LAUSCCR_ACUR_COL_R_MASK)))) | ( \</span></div> <div class="line"><a name="l02042"></a><span class="lineno"> 2042</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(Red) &lt;&lt; LCDC_LAUSCCR_ACUR_COL_R_SHIFT)))), \</span></div> <div class="line"><a name="l02043"></a><span class="lineno"> 2043</span>&#160;<span class="preprocessor"> ((LCDC_LAUSCCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l02044"></a><span class="lineno"> 2044</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02045"></a><span class="lineno"> 2045</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02046"></a><span class="lineno"> 2046</span>&#160;<span class="preprocessor"> LCDC_LAUSCCR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l02047"></a><span class="lineno"> 2047</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LAUSCCR_ACUR_COL_G_MASK)))) | ( \</span></div> <div class="line"><a name="l02048"></a><span class="lineno"> 2048</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(Green) &lt;&lt; LCDC_LAUSCCR_ACUR_COL_G_SHIFT)))), \</span></div> <div class="line"><a name="l02049"></a><span class="lineno"> 2049</span>&#160;<span class="preprocessor"> (LCDC_LAUSCCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l02050"></a><span class="lineno"> 2050</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02051"></a><span class="lineno"> 2051</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02052"></a><span class="lineno"> 2052</span>&#160;<span class="preprocessor"> LCDC_LAUSCCR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l02053"></a><span class="lineno"> 2053</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LAUSCCR_ACUR_COL_B_MASK)))) | ( \</span></div> <div class="line"><a name="l02054"></a><span class="lineno"> 2054</span>&#160;<span class="preprocessor"> (uint32_t)(Blue))))) \</span></div> <div class="line"><a name="l02055"></a><span class="lineno"> 2055</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l02056"></a><span class="lineno"> 2056</span>&#160;</div> <div class="line"><a name="l02057"></a><span class="lineno"> 2057</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l02058"></a><span class="lineno"> 2058</span>&#160;<span class="comment"> -- SelfRefreshMode</span></div> <div class="line"><a name="l02059"></a><span class="lineno"> 2059</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l02060"></a><span class="lineno"> 2060</span>&#160;</div> <div class="line"><a name="l02078"></a><span class="lineno"> 2078</span>&#160;<span class="preprocessor">#define LCDC_PDD_SelfRefreshMode(PeripheralBase, srEn) ( \</span></div> <div class="line"><a name="l02079"></a><span class="lineno"> 2079</span>&#160;<span class="preprocessor"> LCDC_LRMCR_REG(PeripheralBase) = \</span></div> <div class="line"><a name="l02080"></a><span class="lineno"> 2080</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02081"></a><span class="lineno"> 2081</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02082"></a><span class="lineno"> 2082</span>&#160;<span class="preprocessor"> LCDC_LRMCR_REG(PeripheralBase)) &amp; ( \</span></div> <div class="line"><a name="l02083"></a><span class="lineno"> 2083</span>&#160;<span class="preprocessor"> (uint32_t)(~(uint32_t)LCDC_LRMCR_SELF_REF_MASK)))) | ( \</span></div> <div class="line"><a name="l02084"></a><span class="lineno"> 2084</span>&#160;<span class="preprocessor"> (uint32_t)(srEn))) \</span></div> <div class="line"><a name="l02085"></a><span class="lineno"> 2085</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l02086"></a><span class="lineno"> 2086</span>&#160;</div> <div class="line"><a name="l02087"></a><span class="lineno"> 2087</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l02088"></a><span class="lineno"> 2088</span>&#160;<span class="comment"> -- EnableLCD</span></div> <div class="line"><a name="l02089"></a><span class="lineno"> 2089</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l02090"></a><span class="lineno"> 2090</span>&#160;</div> <div class="line"><a name="l02104"></a><span class="lineno"> 2104</span>&#160;<span class="preprocessor">#define LCDC_PDD_EnableLCD(PeripheralBase) ( \</span></div> <div class="line"><a name="l02105"></a><span class="lineno"> 2105</span>&#160;<span class="preprocessor"> SIM_MCR_REG(SIM_BASE_PTR) |= \</span></div> <div class="line"><a name="l02106"></a><span class="lineno"> 2106</span>&#160;<span class="preprocessor"> (uint32_t)(SIM_MCR_LCDSTART_MASK) \</span></div> <div class="line"><a name="l02107"></a><span class="lineno"> 2107</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l02108"></a><span class="lineno"> 2108</span>&#160;</div> <div class="line"><a name="l02109"></a><span class="lineno"> 2109</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l02110"></a><span class="lineno"> 2110</span>&#160;<span class="comment"> -- DisableLCD</span></div> <div class="line"><a name="l02111"></a><span class="lineno"> 2111</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l02112"></a><span class="lineno"> 2112</span>&#160;</div> <div class="line"><a name="l02126"></a><span class="lineno"> 2126</span>&#160;<span class="preprocessor">#define LCDC_PDD_DisableLCD(PeripheralBase) ( \</span></div> <div class="line"><a name="l02127"></a><span class="lineno"> 2127</span>&#160;<span class="preprocessor"> SIM_MCR_REG(SIM_BASE_PTR) &amp;= \</span></div> <div class="line"><a name="l02128"></a><span class="lineno"> 2128</span>&#160;<span class="preprocessor"> ~(uint32_t)(SIM_MCR_LCDSTART_MASK) \</span></div> <div class="line"><a name="l02129"></a><span class="lineno"> 2129</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l02130"></a><span class="lineno"> 2130</span>&#160;</div> <div class="line"><a name="l02131"></a><span class="lineno"> 2131</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l02132"></a><span class="lineno"> 2132</span>&#160;<span class="comment"> -- SetClkDiv</span></div> <div class="line"><a name="l02133"></a><span class="lineno"> 2133</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l02134"></a><span class="lineno"> 2134</span>&#160;</div> <div class="line"><a name="l02149"></a><span class="lineno"> 2149</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetClkDiv(PeripheralBase, div) ( \</span></div> <div class="line"><a name="l02150"></a><span class="lineno"> 2150</span>&#160;<span class="preprocessor"> SIM_CLKDIV3_REG(SIM_BASE_PTR) = \</span></div> <div class="line"><a name="l02151"></a><span class="lineno"> 2151</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02152"></a><span class="lineno"> 2152</span>&#160;<span class="preprocessor"> (uint32_t)(SIM_CLKDIV3_REG(SIM_BASE_PTR) &amp; (uint32_t)(~(uint32_t)SIM_CLKDIV3_LCDCDIV_MASK))) | ( \</span></div> <div class="line"><a name="l02153"></a><span class="lineno"> 2153</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(div) &lt;&lt; SIM_CLKDIV3_LCDCDIV_SHIFT))) \</span></div> <div class="line"><a name="l02154"></a><span class="lineno"> 2154</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l02155"></a><span class="lineno"> 2155</span>&#160;</div> <div class="line"><a name="l02156"></a><span class="lineno"> 2156</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l02157"></a><span class="lineno"> 2157</span>&#160;<span class="comment"> -- SetClkFrac</span></div> <div class="line"><a name="l02158"></a><span class="lineno"> 2158</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l02159"></a><span class="lineno"> 2159</span>&#160;</div> <div class="line"><a name="l02174"></a><span class="lineno"> 2174</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetClkFrac(PeripheralBase, frac) ( \</span></div> <div class="line"><a name="l02175"></a><span class="lineno"> 2175</span>&#160;<span class="preprocessor"> SIM_CLKDIV3_REG(SIM_BASE_PTR) = \</span></div> <div class="line"><a name="l02176"></a><span class="lineno"> 2176</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02177"></a><span class="lineno"> 2177</span>&#160;<span class="preprocessor"> (uint32_t)(SIM_CLKDIV3_REG(SIM_BASE_PTR) &amp; (uint32_t)(~(uint32_t)SIM_CLKDIV3_LCDCFRAC_MASK))) | ( \</span></div> <div class="line"><a name="l02178"></a><span class="lineno"> 2178</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(frac) &lt;&lt; SIM_CLKDIV3_LCDCFRAC_SHIFT))) \</span></div> <div class="line"><a name="l02179"></a><span class="lineno"> 2179</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l02180"></a><span class="lineno"> 2180</span>&#160;</div> <div class="line"><a name="l02181"></a><span class="lineno"> 2181</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l02182"></a><span class="lineno"> 2182</span>&#160;<span class="comment"> -- SetSLCDSrc</span></div> <div class="line"><a name="l02183"></a><span class="lineno"> 2183</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l02184"></a><span class="lineno"> 2184</span>&#160;</div> <div class="line"><a name="l02200"></a><span class="lineno"> 2200</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetSLCDSrc(PeripheralBase, src) ( \</span></div> <div class="line"><a name="l02201"></a><span class="lineno"> 2201</span>&#160;<span class="preprocessor"> SIM_SOPT2_REG(SIM_BASE_PTR) = \</span></div> <div class="line"><a name="l02202"></a><span class="lineno"> 2202</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02203"></a><span class="lineno"> 2203</span>&#160;<span class="preprocessor"> (uint32_t)(SIM_SOPT2_REG(SIM_BASE_PTR) &amp; (uint32_t)(~(uint32_t)SIM_SOPT2_LCDC_CLKSEL_MASK))) | ( \</span></div> <div class="line"><a name="l02204"></a><span class="lineno"> 2204</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(src) &lt;&lt; SIM_SOPT2_LCDC_CLKSEL_SHIFT))) \</span></div> <div class="line"><a name="l02205"></a><span class="lineno"> 2205</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l02206"></a><span class="lineno"> 2206</span>&#160;</div> <div class="line"><a name="l02207"></a><span class="lineno"> 2207</span>&#160;<span class="comment">/* ----------------------------------------------------------------------------</span></div> <div class="line"><a name="l02208"></a><span class="lineno"> 2208</span>&#160;<span class="comment"> -- SetClkSrc</span></div> <div class="line"><a name="l02209"></a><span class="lineno"> 2209</span>&#160;<span class="comment"> ---------------------------------------------------------------------------- */</span></div> <div class="line"><a name="l02210"></a><span class="lineno"> 2210</span>&#160;</div> <div class="line"><a name="l02226"></a><span class="lineno"> 2226</span>&#160;<span class="preprocessor">#define LCDC_PDD_SetClkSrc(PeripheralBase, src) ( \</span></div> <div class="line"><a name="l02227"></a><span class="lineno"> 2227</span>&#160;<span class="preprocessor"> SIM_SOPT2_REG(SIM_BASE_PTR) = \</span></div> <div class="line"><a name="l02228"></a><span class="lineno"> 2228</span>&#160;<span class="preprocessor"> (uint32_t)(( \</span></div> <div class="line"><a name="l02229"></a><span class="lineno"> 2229</span>&#160;<span class="preprocessor"> (uint32_t)(SIM_SOPT2_REG(SIM_BASE_PTR) &amp; (uint32_t)(~(uint32_t)SIM_SOPT2_LCDCSRC_MASK))) | ( \</span></div> <div class="line"><a name="l02230"></a><span class="lineno"> 2230</span>&#160;<span class="preprocessor"> (uint32_t)((uint32_t)(src) &lt;&lt; SIM_SOPT2_LCDCSRC_SHIFT))) \</span></div> <div class="line"><a name="l02231"></a><span class="lineno"> 2231</span>&#160;<span class="preprocessor"> )</span></div> <div class="line"><a name="l02232"></a><span class="lineno"> 2232</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* #if defined(LCDC_PDD_H_) */</span><span class="preprocessor"></span></div> <div class="line"><a name="l02233"></a><span class="lineno"> 2233</span>&#160;</div> <div class="line"><a name="l02234"></a><span class="lineno"> 2234</span>&#160;<span class="comment">/* LCDC_PDD.h, eof. */</span></div> </div><!-- fragment --></div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="dir_c0ff5681a137e2c2e20d2725833255a5.html">Static_Code</a></li><li class="navelem"><a class="el" href="dir_f036dfe6afbbd35eac611269e6654b80.html">PDD</a></li><li class="navelem"><b>LCDC_PDD.h</b></li> <li class="footer">Generated on Mon Sep 7 2015 16:10:14 for Lab3 by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.10 </li> </ul> </div> </body> </html>
149.11658
244
0.606305
e9b3fbf68b1e17533fedb170d1d975fed5d25f9e
278
rb
Ruby
lib/esputnik.rb
busfor/esputnik
7d44def36d6def8805dd0f7bbfdf1f4751cb82c0
[ "MIT" ]
null
null
null
lib/esputnik.rb
busfor/esputnik
7d44def36d6def8805dd0f7bbfdf1f4751cb82c0
[ "MIT" ]
null
null
null
lib/esputnik.rb
busfor/esputnik
7d44def36d6def8805dd0f7bbfdf1f4751cb82c0
[ "MIT" ]
null
null
null
# frozen_string_literal: true require 'json' require 'faraday' require 'active_model' require 'esputnik/version' require 'esputnik/contact' require 'esputnik/channel' require 'esputnik/response' require 'esputnik/client' module Esputnik class Error < StandardError; end end
18.533333
34
0.798561
64334fcc5758c900eb7371ac9a2f4ce51ca68e64
10,222
rs
Rust
native/rustcode/src/controllers/wallet.rs
zarynxyz/zaryn
5d6cf8b6e43e8cdf2a8d0688fb9c16e4509fc958
[ "Apache-2.0" ]
4
2021-05-29T11:22:36.000Z
2022-02-09T11:26:39.000Z
native/rustcode/src/controllers/wallet.rs
zarynxyz/zaryn
5d6cf8b6e43e8cdf2a8d0688fb9c16e4509fc958
[ "Apache-2.0" ]
2
2021-06-17T13:32:39.000Z
2022-02-09T11:26:02.000Z
native/rustcode/src/controllers/wallet.rs
zarynxyz/zaryn
5d6cf8b6e43e8cdf2a8d0688fb9c16e4509fc958
[ "Apache-2.0" ]
1
2021-06-04T14:27:20.000Z
2021-06-04T14:27:20.000Z
use crate::actors::transaction::{CreateTransaction, UpdateTransaction}; use crate::actors::db::DBActor; use crate::utils::{response::*,crypto::{encode}}; use crate::models::wallet::{WalletInfo, Transfer}; use crate::actors::wallet::{GetAllWallets, GetByWallet,Update, Create, Delete, Get, Detail }; use actix::Addr; use actix_web::{HttpResponse, Result,web::Json}; use chrono::prelude::*; async fn is_wallet_capable( sender_address: String, receiver_wallet: String, transaction_address: String, transaction_signature: String, transaction_type: String, amount: f64, db: Addr<DBActor>, ) -> bool { let address = &sender_address; let borrowed_db_state = db.clone(); let balance: bool = match borrowed_db_state .send(GetByWallet::this(address.to_string())) .await { Ok(Ok(data)) => { // println!("{:?}",data); let total_cost: f64 = amount + 0.000001; // println!("amount to withdraw from wallet is {:?}",total_cost); let available_balance: f64 = data.amount.parse().unwrap(); // println!("available wallet balance is {:?}",available_balance); if available_balance >= total_cost { let new_wallet_balance = available_balance - total_cost; // println!("new wallet balance is {:?}",new_wallet_balance); match update_wallet(sender_address.clone(), new_wallet_balance.to_string(), db).await { Ok(_) => { let _ = borrowed_db_state.send(CreateTransaction::new( total_cost.to_string(), sender_address.clone(), receiver_wallet, transaction_address, transaction_signature, transaction_type, "0.000001".to_string(), "Pending".to_string(), )) .await; return true; } Err(_) => { let _ = borrowed_db_state.send(UpdateTransaction::tranxaction( transaction_signature, "Failed".to_string(), )) .await; return false; }, }; } return false; } Ok(Err(_)) => false, Err(_) => false, }; balance } pub async fn transfer( transaction_signature: String, wallet_address: String, amount: String, db: Addr<DBActor>, ) -> Result<HttpResponse, ZarynError> { let owner_address = &wallet_address; let borrowed_db_state = db.clone(); match db.send(GetByWallet::this(owner_address.to_string())).await { Ok(Ok(data)) => { let mut available_balance: f64 = data.amount.parse().unwrap(); let update_amount: f64 = amount.parse().unwrap_or_default(); available_balance = available_balance + update_amount; match update_wallet(wallet_address, available_balance.to_string(), db.clone()).await { Ok(result) => { let _ = borrowed_db_state.send(UpdateTransaction::tranxaction( transaction_signature, "Completed".to_string(), )) .await; return Ok(result); } Err(error) => { let _ = borrowed_db_state.send(UpdateTransaction::tranxaction( transaction_signature, "Failed".to_string(), )) .await; // let _ = update_wallet(sender_address, amount, db.clone()).await; return Err(error); } } } Ok(Err(_)) => Err(ZarynError::WalletNotFound), Err(_) => Err(ZarynError::InternalError), } } pub async fn update_wallet( wallet_address: String, amount: String, db: Addr<DBActor>, ) -> Result<HttpResponse, ZarynError> { match db.send(Update::this(amount, wallet_address)).await { Ok(Ok(_)) => Ok(ZarynMessage::success( true, "Wallet Balance Updated Successfully".to_string(), )), _ => Err(ZarynError::InternalError), } } async fn process_transfer( sender_wallet_address: String, receiver_wallet_address: String, amount: String, db: Addr<DBActor>, ) -> Result<HttpResponse, ZarynError> { let sender_wallet = &sender_wallet_address; let receiver_wallet = &receiver_wallet_address; let transfer_amount = &amount; let borrowed_db_state = db.clone(); let transaction_info = format!("sender address:{:?}, \n\ receiver address:{:?}, \n\ amount:{:?}, \n\ timestamp:{:?} ", &sender_wallet_address, &receiver_wallet_address, &amount, &Utc::today() ); let data_address = format!("sender address:{:?}, \n\ timestamp:{:?} ", &sender_wallet_address, &Utc::today() ); let transaction_address = encode(&data_address).await; let transaction_signature = encode(&transaction_info).await; if is_wallet_capable( sender_wallet.to_string(), receiver_wallet.to_string(), transaction_address.to_string(), transaction_signature.to_string(), "Peer_2_Peer_Transfer".to_string(), transfer_amount.parse().unwrap_or_default(), borrowed_db_state, ) .await { transfer( transaction_signature.clone().to_string(), receiver_wallet_address, amount, db, ) .await } else { let _ = db.clone().send(UpdateTransaction::tranxaction( transaction_signature.clone().to_string(), "Failed".to_string(), )) .await; Err(ZarynError::NotEnoughBalance) } } pub async fn create_user_wallet(wallet_info: Json<WalletInfo>, db:Addr<DBActor>) -> Result<HttpResponse, ZarynError> { let new_secure_wallet_signature = encode(&wallet_info.wallet_signature.to_string()).await; let new_secure_public_key = encode(&wallet_info.public_key.to_string()).await; let new_secure_address = encode(&wallet_info.wallet_address.to_string()).await; match db.send( Get::this( new_secure_address.to_string(), new_secure_public_key.to_string(), new_secure_wallet_signature.to_string(), ) ).await { Ok(Ok(_)) => Err(ZarynError::ErrorDuplicateWalletFound), Ok(Err(_)) => match db.send( Create::this( new_secure_address, new_secure_wallet_signature, new_secure_public_key, "0".to_string(), ) ).await { Ok(Ok(data)) => Ok(ZarynWalletResponse::success(true, Some(data), "Wallet Created Successfully".to_string())), _ => Err(ZarynError::InternalError) }, Err(_) => Err(ZarynError::InternalError) } } pub async fn fetch_all_wallets(db:Addr<DBActor>) -> Result<HttpResponse, ZarynError> { match db.send(GetAllWallets).await { Ok(Ok(data)) => Ok(ListZarynWalletResponse::success(true, Some(data), Some("All Wallets".to_string()))), _ => Err(ZarynError::InternalError) } } pub async fn fetch_wallet_info(public_key: String,db:Addr<DBActor>) -> Result<HttpResponse, ZarynError> { let _key = encode(&public_key.to_string()).await; match db.send(Detail::this( _key )).await { Ok(Ok(data)) => Ok(ZarynWalletResponse::success(true, Some(data), "Wallet Details".to_string())), _ => Err(ZarynError::WalletNotFound) } } pub async fn do_transfer(transaction_info: Json<Transfer>, db:Addr<DBActor>) -> Result<HttpResponse, ZarynError> { let pri_key = encode(&transaction_info.sender_wallet_signature.clone()).await; let pub_key = encode(&transaction_info.sender_public_key.clone()).await; let sender_wallet = encode(&transaction_info.sender_wallet_address.clone()).await; let receiver_wallet = encode(&transaction_info.receiver_wallet_address.clone()).await; // match db.clone() .send(GetByWallet::this(sender_wallet.clone())) .await { Ok(Ok(wallet)) => { if wallet.wallet_signature.eq(&pri_key.to_string().clone()) && wallet.public_key.eq(&pub_key.to_string().clone()) { match process_transfer(sender_wallet.clone(), receiver_wallet, transaction_info.amount.clone(), db).await { Ok(_) => Ok(ZarynMessage::success(true, "Transfer completed".to_string())), Err(e) => Err(e), } }else{ return Err(ZarynError::ValidationError { field: "invalid authorization information".to_string() }); } }, Ok(Err(_)) => Err(ZarynError::WalletNotFound), Err(_) => Err(ZarynError::WalletNotFound), } } pub async fn delete_this_wallet(wallet_address: String, db:Addr<DBActor>) -> Result<HttpResponse, ZarynError> { let address = encode(&wallet_address).await; match db.send(Delete::this(address)).await { Ok(Ok(_)) => Ok(ZarynMessage::success(true,"Wallet Deleted Successfully".to_string())), Ok(Err(_)) => Err(ZarynError::WalletNotFound), _ => Err(ZarynError::InternalError) } }
38.141791
128
0.544121
95b879f14c44ae0e8d8dfba8dc74a6992e26d6b9
183
css
CSS
src/pages/index.css
jhonatan-fg/imperial-toys
e02389a13c24e763caf7db0dbfe69cbc3a74c4f0
[ "MIT" ]
null
null
null
src/pages/index.css
jhonatan-fg/imperial-toys
e02389a13c24e763caf7db0dbfe69cbc3a74c4f0
[ "MIT" ]
null
null
null
src/pages/index.css
jhonatan-fg/imperial-toys
e02389a13c24e763caf7db0dbfe69cbc3a74c4f0
[ "MIT" ]
null
null
null
h2 { color: #fff; } .card { background: #000; color: #fff; } .card1{ padding-left: 50px; } .cards{ display: flex; } .card-title{ text-align: center; }
8.714286
23
0.519126
cc84262c58fac4acd13d7e277091c100c48f68eb
4,167
kt
Kotlin
app/src/main/java/com/easypick/easypick/fragments/OrderHistoryFragment.kt
UTN-FRBA-Mobile/EasyPick
c31e95f05e78cf9b8bdb6ee82b1269406b43402e
[ "MIT" ]
1
2020-06-01T21:12:52.000Z
2020-06-01T21:12:52.000Z
app/src/main/java/com/easypick/easypick/fragments/OrderHistoryFragment.kt
UTN-FRBA-Mobile/EasyPick
c31e95f05e78cf9b8bdb6ee82b1269406b43402e
[ "MIT" ]
23
2020-05-03T16:22:17.000Z
2022-01-22T13:02:43.000Z
app/src/main/java/com/easypick/easypick/fragments/OrderHistoryFragment.kt
UTN-FRBA-Mobile/EasyPick
c31e95f05e78cf9b8bdb6ee82b1269406b43402e
[ "MIT" ]
4
2020-04-30T17:35:51.000Z
2020-05-03T19:39:19.000Z
package com.easypick.easypick.fragments import android.content.Context import android.graphics.Rect import android.os.Bundle import android.os.Handler import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.recyclerview.widget.LinearLayoutManager import androidx.recyclerview.widget.RecyclerView import com.easypick.easypick.API.DatabaseAPI import com.easypick.easypick.Interfaz.ClickListener import com.easypick.easypick.R import com.easypick.easypick.adapters.OrdersAdapter import com.easypick.easypick.model.Order import com.google.firebase.auth.FirebaseAuth import kotlinx.android.synthetic.main.fragment_order_history.* class OrderHistoryFragment: Fragment() { private var listener: FragmentHome.OnFragmentInteractionListener? = null private var orders = ArrayList<Order>() override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { return inflater.inflate(R.layout.fragment_order_history, container, false) } override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) ordersRecycler.apply { layoutManager = LinearLayoutManager(activity) adapter = OrdersAdapter(orders, context, object: ClickListener { override fun onCLick(vista: View, index: Int) { val order = orders[index] listener?.showFragment(ResumenOrdenFragment.newInstance(order), "") } }) } } override fun onStart() { super.onStart() ordersRecycler.addItemDecoration(MarginItemDecoration( resources.getDimension(R.dimen.default_padding).toInt())) val firebaseUser = FirebaseAuth.getInstance().currentUser if (firebaseUser != null){ Handler().post { ordersRecycler.visibility = View.GONE loadingOrders.visibility = View.VISIBLE noOrders.visibility = View.GONE } firebaseUser.uid.let { DatabaseAPI().getOrders(it) } .addOnSuccessListener { dbOrders -> orders.clear() for (dbOrder in dbOrders){ orders.add(dbOrder.toObject(Order::class.java)) } if (orders.size != 0){ Handler().post { loadingOrders.visibility = View.GONE ordersRecycler.visibility = View.VISIBLE } listener?.selectTab("OrderHistoryFragment") } else{ showNoOrdersMessage() } } } else { showNoOrdersMessage() } } private fun showNoOrdersMessage() { Handler().post { ordersRecycler.visibility = View.GONE noOrders.visibility = View.VISIBLE } } override fun onAttach(context: Context) { super.onAttach(context) if (context is FragmentHome.OnFragmentInteractionListener) { listener = context } else { throw RuntimeException("$context must implement OnFragmentInteractionListener") } } override fun onDetach() { super.onDetach() listener = null } interface OnFragmentInteractionListener { fun showFragment(fragment: Fragment, name: String) fun selectTab(fragmentName: String) } } class MarginItemDecoration(private val spaceHeight: Int) : RecyclerView.ItemDecoration() { override fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State) { with(outRect) { if (parent.getChildAdapterPosition(view) == 0) { top = spaceHeight } left = spaceHeight right = spaceHeight bottom = spaceHeight } } }
35.922414
91
0.610511
71ba562a138f9c18645e2bf58e320bbc07b901cf
311
tsx
TypeScript
ui/src/component/common/List/index.tsx
greenmochi/kabedon-electron
652cce4202dd968f2120d312df446a5dbf72a158
[ "MIT" ]
1
2021-11-23T06:57:43.000Z
2021-11-23T06:57:43.000Z
ui/src/component/common/List/index.tsx
greenmochi/kabedon-electron
652cce4202dd968f2120d312df446a5dbf72a158
[ "MIT" ]
13
2020-09-06T10:49:41.000Z
2022-03-25T18:49:20.000Z
ui/src/component/common/List/index.tsx
greenmochi/ultimate
652cce4202dd968f2120d312df446a5dbf72a158
[ "MIT" ]
null
null
null
import React from "react"; import styled from "styled-components"; const Wrapper = styled.ul` `; export interface ListProps { } export default class List extends React.Component<ListProps> { render() { return ( <Wrapper {...this.props}> {this.props.children} </Wrapper> ); } }
17.277778
62
0.643087
90abb9921d5f884975278a17cac6255c5b2afcb2
5,164
py
Python
examples/environment_features/scim_ideal_grid_simulation.py
RaviPandey33/gym-electric-motor-1
999e18dceed709decf43d646fb29dc7602b9a89c
[ "MIT" ]
179
2019-10-21T15:08:05.000Z
2022-03-29T08:46:13.000Z
examples/environment_features/scim_ideal_grid_simulation.py
RaviPandey33/gym-electric-motor-1
999e18dceed709decf43d646fb29dc7602b9a89c
[ "MIT" ]
149
2019-12-16T16:02:00.000Z
2022-03-18T19:42:33.000Z
examples/environment_features/scim_ideal_grid_simulation.py
RaviPandey33/gym-electric-motor-1
999e18dceed709decf43d646fb29dc7602b9a89c
[ "MIT" ]
36
2019-12-10T17:32:02.000Z
2022-03-16T20:54:18.000Z
"""This example simulates the start-up behavior of the squirrel cage induction motor connected to an ideal three-phase grid. The state and action space is continuous. Running the example will create a formatted plot that show the motor's angular velocity, the drive torque, the applied voltage in three-phase abc-coordinates, and the measured current in field-oriented dq-coordinates. """ import numpy as np import gym_electric_motor as gem import matplotlib.pyplot as plt def parameterize_three_phase_grid(amplitude, frequency, initial_phase): """This nested function allows to create a function of time, which returns the momentary voltage of the three-phase grid. The nested structure allows to parameterize the three-phase grid by amplitude(as a fraction of the DC-link voltage), frequency (in Hertz) and initial phase (in degree). """ omega = frequency * 2 * np.pi # 1/s phi = 2 * np.pi / 3 # phase offset phi_initial = initial_phase * 2 * np.pi / 360 def grid_voltage(t): u_abc = [ amplitude * np.sin(omega * t + phi_initial), amplitude * np.sin(omega * t + phi_initial - phi), amplitude * np.sin(omega * t + phi_initial + phi) ] return u_abc return grid_voltage # Create the environment env = gem.make( # Choose the squirrel cage induction motor (SCIM) with continuous-control-set "AbcCont-CC-SCIM-v0", # Define the numerical solver for the simulation ode_solver="scipy.ode", # Define which state variables are to be monitored concerning limit violations # "()" means, that limit violation will not necessitate an env.reset() constraints=(), # Set the sampling time tau=1e-5 ) tau = env.physical_system.tau limits = env.physical_system.limits # reset the environment such that the simulation can be started (state, reference) = env.reset() # We define these arrays in order to save our simulation results in them # Initial state and initial time are directly inserted STATE = np.transpose(np.array([state * limits])) TIME = np.array([0]) # Use the previously defined function to parameterize a three-phase grid with an amplitude of # 80 % of the DC-link voltage and a frequency of 50 Hertz f_grid = 50 # Hertz u_abc = parameterize_three_phase_grid(amplitude=0.8, frequency=f_grid, initial_phase=0) # Set a time horizon to simulate, in this case 60 ms time_horizon = 0.06 step_horizon = int(time_horizon / tau) for idx in range(step_horizon): # calculate the time of this simulation step time = idx * tau # apply the voltage as given by the grid (state, reference), reward, done, _ = env.step(u_abc(time)) # save the results of this simulation step STATE = np.append(STATE, np.transpose([state * limits]), axis=1) TIME = np.append(TIME, time) # convert the timescale from s to ms TIME *= 1e3 # the rest of the code is for plotting the results in a nice way # the state indices for the SCIM are: # STATE[0]: omega (mechanical angular velocity) # STATE[1]: T (drive torque) # STATE[2] - STATE[4]: i_sa, i_sb, i_sc (three-phase stator currents) # STATE[5] - STATE[6]: i_sd, i_sq (stator currents in field oriented dq-coordinates) # STATE[7] - STATE[9]: u_sa, u_sb, u_sc (three-phase stator voltages) # STATE[10] - STATE[11]: u_sd, u_sq (stator voltages in field oriented dq-coordinates) # STATE[12]: epsilon (rotor angular position) # STATE[13]: u_sup (DC-link supply voltage) plt.subplots(2, 2, figsize=(7.45, 2.5)) plt.subplots_adjust(left=None, bottom=None, right=None, top=None, wspace=0.08, hspace=0.05) plt.rcParams.update({'font.size': 8}) plt.subplot(2, 2, 1) plt.plot(TIME, STATE[0]) plt.ylabel(r"$\omega_\mathrm{me} \, / \, \frac{1}{\mathrm{s}}$") plt.xlim([0, 60]) plt.yticks([0, 50, 100, 150]) plt.tick_params(axis='x', which='both', labelbottom=False) plt.tick_params(axis='both', direction="in", left=True, right=False, bottom=True, top=True) plt.grid() ax = plt.subplot(2, 2, 2) plt.plot(TIME, STATE[7], label=r"$u_a$") plt.plot(TIME, STATE[8], label=r"$u_b$") plt.plot(TIME, STATE[9], label=r"$u_c$") plt.ylabel(r"$u \, / \, \mathrm{V}$") plt.xlim([0, 60]) plt.yticks([-200, 0, 200]) ax.yaxis.set_label_position("right") ax.yaxis.tick_right() plt.tick_params(axis='x', which='both', labelbottom=False) plt.tick_params(axis='both', direction="in", left=False, right=True, bottom=True, top=True) plt.grid() plt.legend(loc="lower right", ncol=3) plt.subplot(2, 2, 3) plt.plot(TIME, STATE[1]) plt.xlabel(r"$t \, / \, \mathrm{ms}$") plt.ylabel(r"$T \, / \, \mathrm{Nm}$") plt.xlim([0, 60]) plt.yticks([0, 20]) plt.tick_params(axis='both', direction="in", left=True, right=False, bottom=True, top=True) plt.grid() ax = plt.subplot(2, 2, 4) plt.plot(TIME, STATE[5], label=r"$i_d$") plt.plot(TIME, STATE[6], label=r"$i_q$") plt.xlabel(r"$t \, / \, \mathrm{ms}$") plt.ylabel(r"$i \, / \, \mathrm{A}$") plt.xlim([0, 60]) ax.yaxis.set_label_position("right") ax.yaxis.tick_right() plt.tick_params(axis='both', direction="in", left=False, right=True, bottom=True, top=True) plt.yticks([0, 10, 20, 30]) plt.grid() plt.legend(loc="upper right", ncol=2) plt.show()
35.861111
120
0.696359
1ebc990f1d12b7b90c35c21e0ff9703ea957776b
1,251
kt
Kotlin
app/src/main/java/com/tkuhn/recipefinder/ui/main/search/UiRecipe.kt
TomasKuhn/RecipeFinder
d22aa2376bf0cd60663be32dd3ac84cbbbed520b
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/tkuhn/recipefinder/ui/main/search/UiRecipe.kt
TomasKuhn/RecipeFinder
d22aa2376bf0cd60663be32dd3ac84cbbbed520b
[ "Apache-2.0" ]
null
null
null
app/src/main/java/com/tkuhn/recipefinder/ui/main/search/UiRecipe.kt
TomasKuhn/RecipeFinder
d22aa2376bf0cd60663be32dd3ac84cbbbed520b
[ "Apache-2.0" ]
null
null
null
package com.tkuhn.recipefinder.ui.main.search import android.graphics.Color import android.text.Spanned import androidx.core.text.buildSpannedString import androidx.core.text.color import com.tkuhn.recipefinder.R import com.tkuhn.recipefinder.domain.Recipe import com.tkuhn.recipefinder.utils.Identifiable import com.tkuhn.recipefinder.utils.extensions.toText data class UiRecipe( override val id: Long, val title: String, val imageUrl: String, val calories: String, val nutrients: Spanned ) : Identifiable { companion object { fun create(recipe: Recipe): UiRecipe { return UiRecipe( id = recipe.id, title = recipe.title, imageUrl = recipe.imageUrl, calories = R.string.var_calories.toText(recipe.calories), nutrients = buildSpannedString { color(Color.RED) { append(R.string.var_protein.toText(recipe.protein)) } append(" ") color(Color.BLUE) { append(R.string.var_carbs.toText(recipe.carbs)) } append(" ") color(Color.GREEN) { append(R.string.var_fat.toText(recipe.fat)) } } ) } } }
33.810811
92
0.619504
d5bb28fc3ccb30b4086f58a0c365781d9ad58162
1,002
swift
Swift
JSwift/Helpers/PathFinder.swift
ConradoMateu/JSwift
eabd97f3fbd44d835ead62b0f6da5567350f4c84
[ "MIT" ]
12
2018-05-14T07:36:31.000Z
2018-07-10T23:56:42.000Z
JSwift/Helpers/PathFinder.swift
mohsinalimat/JSwift
bcd6c52a10fecc06f3f0a81732ff5f5ef3cbd598
[ "MIT" ]
1
2018-05-15T15:35:58.000Z
2018-05-16T12:38:33.000Z
JSwift/Helpers/PathFinder.swift
mohsinalimat/JSwift
bcd6c52a10fecc06f3f0a81732ff5f5ef3cbd598
[ "MIT" ]
1
2018-05-14T09:11:16.000Z
2018-05-14T09:11:16.000Z
// // PathFinder.swift // JSON2SWIFT // // Created by Conrado Mateu Gisbert on 12/04/2018. // Copyright © 2018 conradomateu. All rights reserved. // import Foundation import Cocoa class PathFinder { static func execute(withDirectory:Bool) -> URL? { let dialog = NSOpenPanel() dialog.title = "Choose a Directory" dialog.showsResizeIndicator = true dialog.showsHiddenFiles = false if withDirectory { dialog.canChooseDirectories = true dialog.canCreateDirectories = true dialog.canChooseFiles = false }else{ dialog.canChooseFiles = true dialog.canChooseDirectories = false dialog.canCreateDirectories = false } dialog.allowsMultipleSelection = false if (dialog.runModal() == NSApplication.ModalResponse.OK) { return dialog.url } else { // User clicked on "Cancel" return nil } } }
27.081081
66
0.601796
84c92548fc37ce7562e2e5834e18188fea0396b4
229
h
C
Example/BWTrackTools/TestController/TestViewController2.h
bairdweng/BWTrackTools
48ba075d6467ae43d99e50dd356dce1fe5ac36d2
[ "MIT" ]
null
null
null
Example/BWTrackTools/TestController/TestViewController2.h
bairdweng/BWTrackTools
48ba075d6467ae43d99e50dd356dce1fe5ac36d2
[ "MIT" ]
null
null
null
Example/BWTrackTools/TestController/TestViewController2.h
bairdweng/BWTrackTools
48ba075d6467ae43d99e50dd356dce1fe5ac36d2
[ "MIT" ]
null
null
null
// // TestViewController2.h // BWAopTestDemo // // Created by baird weng on 2020/1/15. // Copyright © 2020 baird weng. All rights reserved. // #import <UIKit/UIKit.h> @interface TestViewController2 : UIViewController @end
16.357143
53
0.71179
0b44a978913b26bbf0d8ab188b6560f82d0fe2d3
1,068
py
Python
core/migrations/0044_auto_20190510_0921.py
raheemazeezabiodun/art-backend
0bc47f3cf6f403101082f201c7fd1ca8108d5731
[ "MIT" ]
4
2018-03-12T23:49:01.000Z
2020-07-06T17:37:29.000Z
core/migrations/0044_auto_20190510_0921.py
raheemazeezabiodun/art-backend
0bc47f3cf6f403101082f201c7fd1ca8108d5731
[ "MIT" ]
259
2018-02-06T07:53:07.000Z
2020-06-05T19:18:32.000Z
core/migrations/0044_auto_20190510_0921.py
raheemazeezabiodun/art-backend
0bc47f3cf6f403101082f201c7fd1ca8108d5731
[ "MIT" ]
22
2018-01-25T14:02:05.000Z
2020-06-24T20:37:01.000Z
# Generated by Django 2.1.7 on 2019-05-10 09:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0043_auto_20190424_1029'), ] operations = [ migrations.RemoveField( model_name='statetransition', name='state', ), migrations.AddField( model_name='statetransition', name='asset_state_from_report', field=models.CharField(choices=[('requires repair', 'requires repair'), ('requires external assessment', 'requires external assessment'), ('Damaged', 'Damaged')], default='requires repair', max_length=50), ), migrations.AddField( model_name='statetransition', name='incident_report_state', field=models.CharField(choices=[('newly reported', 'newly reported'), ('internal assessment', 'internal assessment'), ('external assessment', 'external assessment'), ('out for repair', 'out for repair')], default='newly reported', max_length=50), ), ]
38.142857
258
0.634831
dda58846f20dcab5a7a97539e5d31a2952ef93fd
78
sql
SQL
src/test/resources/sql/delete/52b21969.sql
Shuttl-Tech/antlr_psql
fcf83192300abe723f3fd3709aff5b0c8118ad12
[ "MIT" ]
66
2018-06-15T11:34:03.000Z
2022-03-16T09:24:49.000Z
src/test/resources/sql/delete/52b21969.sql
Shuttl-Tech/antlr_psql
fcf83192300abe723f3fd3709aff5b0c8118ad12
[ "MIT" ]
13
2019-03-19T11:56:28.000Z
2020-08-05T04:20:50.000Z
src/test/resources/sql/delete/52b21969.sql
Shuttl-Tech/antlr_psql
fcf83192300abe723f3fd3709aff5b0c8118ad12
[ "MIT" ]
28
2019-01-05T19:59:02.000Z
2022-03-24T11:55:50.000Z
-- file:foreign_key.sql ln:306 expect:true DELETE FROM PKTABLE where ptest1=2
26
42
0.794872
2d83839f145f471d34c37f790f0b63e6c5bd787a
83
sql
SQL
src/main/resources/db/migration/V2.0.002__STOCK.sql
andreschaefer/medixx
035c453096943eddcf701c775acc3ed497a399ac
[ "MIT" ]
null
null
null
src/main/resources/db/migration/V2.0.002__STOCK.sql
andreschaefer/medixx
035c453096943eddcf701c775acc3ed497a399ac
[ "MIT" ]
null
null
null
src/main/resources/db/migration/V2.0.002__STOCK.sql
andreschaefer/medixx
035c453096943eddcf701c775acc3ed497a399ac
[ "MIT" ]
null
null
null
CREATE TABLE MEDIXX_STOCK ( ID VARCHAR NOT NULL PRIMARY KEY, STOCK TEXT );
16.6
36
0.698795
c20a13070cc3ec634272c2302dc921fc22a635f5
5,587
sql
SQL
src/subjectAreas/Party/PartyRole/database.sql
jpradocueva/cloudinformationmodel
30feffc7a159fb9ba2e8554241b6fce491176ae1
[ "Apache-2.0" ]
84
2019-11-14T16:43:33.000Z
2022-03-17T18:10:18.000Z
src/subjectAreas/Party/PartyRole/database.sql
jpradocueva/cloudinformationmodel
30feffc7a159fb9ba2e8554241b6fce491176ae1
[ "Apache-2.0" ]
12
2019-11-18T14:43:07.000Z
2022-03-17T21:48:10.000Z
src/subjectAreas/Party/PartyRole/database.sql
jpradocueva/cloudinformationmodel
30feffc7a159fb9ba2e8554241b6fce491176ae1
[ "Apache-2.0" ]
30
2019-12-10T10:23:40.000Z
2022-03-20T03:35:12.000Z
CREATE SCHEMA IF NOT EXISTS PARTY_ROLE_ENTITY_GROUP; CREATE TABLE PARTY_ROLE_ENTITY_GROUP.SUPPLIER ( SATISFACTION_ETHICS_RANK INTEGER, CONTRACT_INVOICE_ACCURACY_RATE INTEGER, SATISFACTION_WEIGHT_PERCENT INTEGER, CONTRACT_ON_TIME_DELIVERY_RATE INTEGER, ID VARCHAR(36) UNIQUE NOT NULL, ACTIVE_FROM_DATE DATE NOT NULL, ACTIVE_TO_DATE DATE, COMPETITIVE_WARRANTY_RANK INTEGER, COMPETITIVE_MARKETING_RANK INTEGER, CONTRACT_DELIVERY_CORRECTNESS_RATE INTEGER, COMPETITIVE_WEIGHT_SCORE INTEGER, CONTRACT_SL_AISSUE_RATE INTEGER, COMPETITIVE_WEIGHT_PERCENT INTEGER, SUPPLIER_SCORE INTEGER, COMPETITIVE_PRODUCT_PRICE_RANK INTEGER, CONTRACT_WEIGHT_PERCENT INTEGER, SUPPLIER_SPEND INTEGER, SATISFACTION_TECHNICAL_SUPPORT_RANK INTEGER, CONTRACT_WEIGHT_SCORE INTEGER, SATISFACTION_CUSTOMER_SERVICE_RANK INTEGER, SATISFACTION_WEIGHT_SCORE INTEGER, CONTRACT_SOURCING_CYCLE_DAYS INTEGER, SUPPLIER_TYPE VARCHAR(500), IS_CARRIER BOOLEAN, CONTRACT_PRODUCT_RETURN_RATE INTEGER, COMPETITIVE_COST_AVOIDANCE_RANK INTEGER, CONTRACT_PRODUCT_QUALITY_RATE INTEGER, CONTRACT_BUDGET_COST_RATE INTEGER, PRIMARY KEY (ID) ); CREATE TABLE PARTY_ROLE_ENTITY_GROUP.CUSTOMER_STATUS_HISTORY ( START_DATE_TIME TIME NOT NULL, PARTY_ROLE_STATUS VARCHAR(500) NOT NULL, ID VARCHAR(36) UNIQUE NOT NULL, END_DATE_TIME TIME NOT NULL, PRIMARY KEY (ID) ); CREATE TABLE PARTY_ROLE_ENTITY_GROUP.COMPETITOR ( COMPETITOR_STRENGTHS VARCHAR(500), COMPETITOR_FROM_DATE DATE NOT NULL, SOCIAL_MEDIA_POST_RATE INTEGER, COMPETITOR_THREATS VARCHAR(500), CURRENT_RATIO INTEGER, CASH_FLOW_GROWTH INTEGER, COMPETITOR_OBJECTIVES VARCHAR(500), NET_PROFIT_MARGIN INTEGER, ID VARCHAR(36) UNIQUE NOT NULL, COMPETITOR_WEAKNESSES VARCHAR(500), PRESS_MENTIONS_RATE INTEGER, ASSET_TURNOVER_RATIO INTEGER, COMPETITOR_TO_DATE DATE, COMPETITOR_LEVERAGE_OPPORTUNITIES VARCHAR(500), ASSET_RETURN_RATIO INTEGER, PTO_ENUMBER INTEGER, AD_KEYWORDS VARCHAR(500), AD_REACH_RATE INTEGER, PRIMARY KEY (ID) ); CREATE TABLE PARTY_ROLE_ENTITY_GROUP.SELLER ( COMMUNITY_PARTICIPATION_COUNT INTEGER, DEMONSTRATIONS_GIVEN_COUNT INTEGER, EVENT_PARTICIPATION_COUNT INTEGER, CUSTOMER_SATISFACTION_SCORE INTEGER, TRAINING_CERTIFICATION_COUNT INTEGER, OPPORTUNITY_INVOLVEMENT_COUNT INTEGER, MARKETING_DEVELOPMENT_AMOUNT INTEGER, SELLER_TYPE VARCHAR(500), DOCUMENTATION_DOWNLOAD_COUNT INTEGER, ID VARCHAR(36) UNIQUE NOT NULL, ACTIVE_FROM_DATE DATE NOT NULL, ACTIVE_TO_DATE DATE, TRIAL_PARTICIPATION_COUNT INTEGER, CREDIT_RATING INTEGER, SATISFACTION_SCORE INTEGER, SALES_AMOUNT INTEGER, OPPORTUNITY_WIN_RATE INTEGER, PRODUCT_RETURN_RATE INTEGER, LEAD_GENERATION_COUNT INTEGER, INVENTORY_VALUE_AMOUNT INTEGER, MAJOR_POST_SALE_SUPPORT_NEEDED BOOLEAN, TRAINING_PARTICIPATION_COUNT INTEGER, NEW_CUSTOMER_ACQUISITION_COUNT INTEGER, SUCCESS_STORY_COUNT INTEGER, SYSTEM_LOGIN_COUNT INTEGER, JOINT_BUSINESS_PLAN_EXIST BOOLEAN, AVERAGE_CONVERTED_LEAD_AMOUNT INTEGER, ESTIMATED_PARTNER_GROSS_MARGIN INTEGER, PRIMARY KEY (ID) ); CREATE TABLE PARTY_ROLE_ENTITY_GROUP.CUSTOMER ( CUSTOMER_STATUS VARCHAR(500) NOT NULL, PROSPECT_RATING VARCHAR(500), NET_PROMOTER_SCORE INTEGER, CUSTOMER_SATISFACTION_SCORE INTEGER, ID VARCHAR(36) UNIQUE NOT NULL, MARKETING_EMAIL_RESPONSE_RATE INTEGER, TOTAL_CONTRACTED_AMOUNT INTEGER, TOTAL_PROFIT_CONTRIBUTION_AMOUNT INTEGER, CUSTOMER_NUMBER VARCHAR(500), CHURN_SCORE INTEGER, ORIGINATING_CUSTOMER_SOURCE VARCHAR(500), TOTAL_LIFE_TIME_VALUE INTEGER, TOTAL_BOOKINGS_AMOUNT INTEGER, LAST24_MONTHS_NEW_REVENUE_AMOUNT INTEGER, LAST12_MONTHS_NEW_REVENUE_AMOUNT INTEGER, LAST12_MONTHS_SUPPORT_CALL_COUNT INTEGER, PRIMARY KEY (ID) ); CREATE TABLE PARTY_ROLE_ENTITY_GROUP.PARTY_ROLE ( ID VARCHAR(36) UNIQUE NOT NULL, PRIMARY KEY (ID) ); CREATE TABLE PARTY_ROLE_ENTITY_GROUP.SUPPLIER_PARTY_JOIN ( SUPPLIER_ID VARCHAR(36) NOT NULL, PARTY_ID VARCHAR(36) NOT NULL, FOREIGN KEY(SUPPLIER_ID) REFERENCES PARTY_ROLE_ENTITY_GROUP.SUPPLIER(ID), FOREIGN KEY(PARTY_ID) REFERENCES PARTY_ENTITY_GROUP.PARTY(ID) ); CREATE TABLE PARTY_ROLE_ENTITY_GROUP.CUSTOMER_STATUS_HISTORY_PARTY_ROLE_JOIN ( CUSTOMER_STATUS_HISTORY_ID VARCHAR(36) NOT NULL, PARTY_ROLE_ID VARCHAR(36) NOT NULL, FOREIGN KEY(CUSTOMER_STATUS_HISTORY_ID) REFERENCES PARTY_ROLE_ENTITY_GROUP.CUSTOMER_STATUS_HISTORY(ID), FOREIGN KEY(PARTY_ROLE_ID) REFERENCES PARTY_ROLE_ENTITY_GROUP.PARTY_ROLE(ID) ); CREATE TABLE PARTY_ROLE_ENTITY_GROUP.COMPETITOR_PARTY_JOIN ( COMPETITOR_ID VARCHAR(36) NOT NULL, PARTY_ID VARCHAR(36) NOT NULL, FOREIGN KEY(COMPETITOR_ID) REFERENCES PARTY_ROLE_ENTITY_GROUP.COMPETITOR(ID), FOREIGN KEY(PARTY_ID) REFERENCES PARTY_ENTITY_GROUP.PARTY(ID) ); CREATE TABLE PARTY_ROLE_ENTITY_GROUP.SELLER_PARTY_JOIN ( SELLER_ID VARCHAR(36) NOT NULL, PARTY_ID VARCHAR(36) NOT NULL, FOREIGN KEY(SELLER_ID) REFERENCES PARTY_ROLE_ENTITY_GROUP.SELLER(ID), FOREIGN KEY(PARTY_ID) REFERENCES PARTY_ENTITY_GROUP.PARTY(ID) ); CREATE TABLE PARTY_ROLE_ENTITY_GROUP.CUSTOMER_PARTY_JOIN ( CUSTOMER_ID VARCHAR(36) NOT NULL, PARTY_ID VARCHAR(36) NOT NULL, FOREIGN KEY(CUSTOMER_ID) REFERENCES PARTY_ROLE_ENTITY_GROUP.CUSTOMER(ID), FOREIGN KEY(PARTY_ID) REFERENCES PARTY_ENTITY_GROUP.PARTY(ID) ); CREATE TABLE PARTY_ROLE_ENTITY_GROUP.PARTY_ROLE_PARTY_JOIN ( PARTY_ROLE_ID VARCHAR(36) NOT NULL, PARTY_ID VARCHAR(36) NOT NULL, FOREIGN KEY(PARTY_ROLE_ID) REFERENCES PARTY_ROLE_ENTITY_GROUP.PARTY_ROLE(ID), FOREIGN KEY(PARTY_ID) REFERENCES PARTY_ENTITY_GROUP.PARTY(ID) );
34.487654
105
0.827278
4338b13c4bef6a749d72f01ef561d17492f65a6f
14,551
swift
Swift
DankPod/Screens/PlaybackViewController.swift
Pullerz/DankPod
0d2ed18b15179095e88098db9f999769cf1ecad9
[ "MIT" ]
30
2020-06-06T05:08:25.000Z
2021-10-05T02:25:30.000Z
DankPod/Screens/PlaybackViewController.swift
Pullerz/DankPod
0d2ed18b15179095e88098db9f999769cf1ecad9
[ "MIT" ]
1
2020-06-18T14:19:10.000Z
2020-06-20T08:21:22.000Z
DankPod/Screens/PlaybackViewController.swift
Pullerz/DankPod
0d2ed18b15179095e88098db9f999769cf1ecad9
[ "MIT" ]
5
2020-06-18T14:17:17.000Z
2021-12-18T09:27:52.000Z
// // PlaybackViewController.swift // DankPod // // Created by Alistair Pullen on 22/05/2020. // Copyright © 2020 Apullen Developments Ltd. All rights reserved. // import UIKit import MediaPlayer import AVFoundation class PlaybackViewController: UIViewController, ClickWheelProtocol { var songs: [MPMediaItem]! var isPaused: Bool = false var startingIndex = -1 var timer: Timer! var volumeTimer: Timer? let progressBar = UIProgressView(progressViewStyle: .default) let volumeBar = UIProgressView(progressViewStyle: .default) let trackNumber = UILabel() var lastTrackIndex: Int! var albumArt: UIImageView! let timeRemaining = UILabel() let timeElapsed: UILabel = UILabel() var hasSetupUI = false let songName = UILabel() let artistName = UILabel() let albumName = UILabel() let highVolume = UIImageView(image: #imageLiteral(resourceName: "fullVolume")) let lowVolume = UIImageView(image: #imageLiteral(resourceName: "lowVolume")) var lastIndex: Int = 0 var comingFromHome = false var isShuffled = false override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. } override func viewWillAppear(_ animated: Bool) { AppDelegate.baseVC.clickWheelDelegate = self AppDelegate.baseVC.navBarTitle = "Now Playing" AppDelegate.music.musicPlayer.setQueue(with: MPMediaItemCollection(items: songs)) if startingIndex != -1 { AppDelegate.music.musicPlayer.nowPlayingItem = songs[startingIndex] lastIndex = startingIndex startingIndex = -1 } if !comingFromHome { AppDelegate.music.musicPlayer.play() AppDelegate.baseVC.setPlaybackIcon(state: .playing) } timer = Timer.scheduledTimer(timeInterval: 0.2, target: self, selector: #selector(self.fireTimer), userInfo: nil, repeats: true) if isShuffled { AppDelegate.baseVC.shuffleIcon.isHidden = false } else if !comingFromHome { AppDelegate.baseVC.shuffleIcon.isHidden = true } setupUI() updateUI() } override func viewWillDisappear(_ animated: Bool) { timer.invalidate() } func setupUI() { if !hasSetupUI { self.view.backgroundColor = .white trackNumber.translatesAutoresizingMaskIntoConstraints = false trackNumber.font = UIFont(name: "HelveticaNeue-Medium", size: 18) trackNumber.textColor = .black trackNumber.text = "\(AppDelegate.music.musicPlayer.indexOfNowPlayingItem + 1) of \(songs.count)" albumArt = UIImageView(image: songs[AppDelegate.music.musicPlayer.indexOfNowPlayingItem].artwork?.image(at: CGSize(width: 300, height: 300))) albumArt.contentMode = .scaleAspectFill albumArt.translatesAutoresizingMaskIntoConstraints = false albumArt.clipsToBounds = true progressBar.translatesAutoresizingMaskIntoConstraints = false timeElapsed.translatesAutoresizingMaskIntoConstraints = false timeElapsed.font = UIFont(name: "HelveticaNeue-Medium", size: 18) timeElapsed.text = "0:00" timeRemaining.translatesAutoresizingMaskIntoConstraints = false timeRemaining.font = UIFont(name: "HelveticaNeue-Medium", size: 18) timeRemaining.text = "0:00" timeRemaining.textAlignment = .right let horizontalStack = UIStackView(arrangedSubviews: [timeElapsed, timeRemaining]) horizontalStack.translatesAutoresizingMaskIntoConstraints = false horizontalStack.axis = .horizontal horizontalStack.alignment = .leading horizontalStack.distribution = .fill let stackPadding: CGFloat = 20 let stackView = UIStackView(arrangedSubviews: [trackNumber, albumArt, progressBar, horizontalStack]) stackView.translatesAutoresizingMaskIntoConstraints = false view.addSubview(stackView) stackView.topAnchor.constraint(equalTo: view.topAnchor, constant: stackPadding).isActive = true stackView.leftAnchor.constraint(equalTo: view.leftAnchor, constant: stackPadding).isActive = true stackView.rightAnchor.constraint(equalTo: view.rightAnchor, constant: -stackPadding).isActive = true stackView.bottomAnchor.constraint(equalTo: view.bottomAnchor, constant: -stackPadding).isActive = true stackView.axis = .vertical stackView.alignment = .leading stackView.distribution = .equalSpacing albumArt.heightAnchor.constraint(equalTo: self.view.heightAnchor, multiplier: 0.45).isActive = true albumArt.widthAnchor.constraint(equalTo: self.view.heightAnchor, multiplier: 0.45).isActive = true progressBar.widthAnchor.constraint(equalTo: stackView.widthAnchor, multiplier: 1).isActive = true progressBar.heightAnchor.constraint(equalToConstant: 30).isActive = true progressBar.progressImage = #imageLiteral(resourceName: "progress").resizableImage(withCapInsets: UIEdgeInsets(top: 0, left: 1, bottom: 0, right: 1), resizingMode: .tile) progressBar.trackImage = #imageLiteral(resourceName: "track").resizableImage(withCapInsets: UIEdgeInsets(top: 0, left: 1, bottom: 0, right: 1), resizingMode: .tile) progressBar.setProgress(0, animated: true) horizontalStack.widthAnchor.constraint(equalTo: progressBar.widthAnchor, multiplier: 1).isActive = true progressBar.layer.shadowColor = UIColor.black.cgColor progressBar.layer.shadowOpacity = 0.25 progressBar.layer.shadowOffset = CGSize(width: 0, height: 2) songName.translatesAutoresizingMaskIntoConstraints = false songName.font = UIFont(name: "HelveticaNeue-Medium", size: 18) songName.text = songs[AppDelegate.music.musicPlayer.indexOfNowPlayingItem].title artistName.translatesAutoresizingMaskIntoConstraints = false artistName.font = UIFont(name: "HelveticaNeue-Medium", size: 18) artistName.text = songs[AppDelegate.music.musicPlayer.indexOfNowPlayingItem].artist albumName.translatesAutoresizingMaskIntoConstraints = false albumName.font = UIFont(name: "HelveticaNeue-Medium", size: 18) albumName.text = songs[AppDelegate.music.musicPlayer.indexOfNowPlayingItem].albumTitle let metaStack = UIStackView(arrangedSubviews: [songName, artistName, albumName]) metaStack.axis = .vertical metaStack.alignment = .leading metaStack.distribution = .equalCentering metaStack.translatesAutoresizingMaskIntoConstraints = false view.addSubview(metaStack) metaStack.leftAnchor.constraint(equalTo: albumArt.rightAnchor, constant: stackPadding).isActive = true metaStack.topAnchor.constraint(equalTo: albumArt.topAnchor, constant: 15).isActive = true metaStack.bottomAnchor.constraint(equalTo: albumArt.bottomAnchor, constant: -15).isActive = true metaStack.rightAnchor.constraint(equalTo: progressBar.rightAnchor).isActive = true hasSetupUI = true volumeBar.translatesAutoresizingMaskIntoConstraints = false view.addSubview(volumeBar) volumeBar.topAnchor.constraint(equalTo: progressBar.topAnchor).isActive = true volumeBar.leftAnchor.constraint(equalTo: progressBar.leftAnchor).isActive = true volumeBar.rightAnchor.constraint(equalTo: progressBar.rightAnchor).isActive = true volumeBar.bottomAnchor.constraint(equalTo: progressBar.bottomAnchor).isActive = true volumeBar.progressImage = #imageLiteral(resourceName: "progress").resizableImage(withCapInsets: UIEdgeInsets(top: 0, left: 1, bottom: 0, right: 1), resizingMode: .tile) volumeBar.trackImage = #imageLiteral(resourceName: "track").resizableImage(withCapInsets: UIEdgeInsets(top: 0, left: 1, bottom: 0, right: 1), resizingMode: .tile) volumeBar.setProgress(Float(getVolumeLevelAsPercentage()), animated: false) volumeBar.layer.shadowColor = UIColor.black.cgColor volumeBar.layer.shadowOpacity = 0.25 volumeBar.layer.shadowOffset = CGSize(width: 0, height: 2) volumeBar.alpha = 0 lowVolume.translatesAutoresizingMaskIntoConstraints = false view.addSubview(lowVolume) lowVolume.leftAnchor.constraint(equalTo: timeElapsed.leftAnchor).isActive = true lowVolume.centerYAnchor.constraint(equalTo: timeElapsed.centerYAnchor).isActive = true lowVolume.widthAnchor.constraint(equalToConstant: 25).isActive = true lowVolume.heightAnchor.constraint(equalToConstant: 25).isActive = true lowVolume.alpha = 0 highVolume.translatesAutoresizingMaskIntoConstraints = false view.addSubview(highVolume) highVolume.rightAnchor.constraint(equalTo: timeRemaining.rightAnchor).isActive = true highVolume.centerYAnchor.constraint(equalTo: timeRemaining.centerYAnchor).isActive = true highVolume.widthAnchor.constraint(equalToConstant: 25).isActive = true highVolume.heightAnchor.constraint(equalToConstant: 25).isActive = true highVolume.alpha = 0 } } func updateUI() { trackNumber.text = "\(AppDelegate.music.musicPlayer.indexOfNowPlayingItem + 1) of \(songs.count)" albumArt.image = songs[AppDelegate.music.musicPlayer.indexOfNowPlayingItem].artwork?.image(at: CGSize(width: 300, height: 300)) songName.text = songs[AppDelegate.music.musicPlayer.indexOfNowPlayingItem].title artistName.text = songs[AppDelegate.music.musicPlayer.indexOfNowPlayingItem].artist albumName.text = songs[AppDelegate.music.musicPlayer.indexOfNowPlayingItem].albumTitle } @objc func fireTimer() { progressBar.setProgress(Float(AppDelegate.music.musicPlayer.currentPlaybackTime / AppDelegate.music.musicPlayer.nowPlayingItem!.playbackDuration), animated: true) let (_,m1,s1) = secondsToHoursMinutesSeconds(seconds: Int(AppDelegate.music.musicPlayer.currentPlaybackTime)) let (_,m2,s2) = secondsToHoursMinutesSeconds(seconds: Int(AppDelegate.music.musicPlayer.nowPlayingItem!.playbackDuration - AppDelegate.music.musicPlayer.currentPlaybackTime)) let elapsedSeconds: String = (s1 < 10) ? "0\(s1)" : String(s1) let remainingSeconds: String = (s2 < 10) ? "0\(s2)" : String(s2) timeElapsed.text = "\(m1):\(elapsedSeconds)" timeRemaining.text = "\(m2):\(remainingSeconds)" if lastTrackIndex == nil { lastTrackIndex = AppDelegate.music.musicPlayer.indexOfNowPlayingItem } if AppDelegate.music.musicPlayer.indexOfNowPlayingItem != lastTrackIndex { updateUI() } } func clickWheelDidRotate(rotationDirection: RotationDirection) { if volumeTimer != nil { volumeTimer?.invalidate() } UIView.animate(withDuration: 0.2) { self.progressBar.alpha = 0 self.timeElapsed.alpha = 0 self.timeRemaining.alpha = 0 self.volumeBar.alpha = 1 self.lowVolume.alpha = 1 self.highVolume.alpha = 1 } if (rotationDirection == .CLOCKWISE) { volumeBar.setProgress(volumeBar.progress + 0.1, animated: true) } else { volumeBar.setProgress(volumeBar.progress - 0.1, animated: true) } AppDelegate.music.setVolume(volumeBar.progress) volumeTimer = Timer.scheduledTimer(timeInterval: 1.5, target: self, selector: #selector(self.hideVolume), userInfo: nil, repeats: false) } @objc func hideVolume() { UIView.animate(withDuration: 0.2) { self.progressBar.alpha = 1 self.timeElapsed.alpha = 1 self.timeRemaining.alpha = 1 self.volumeBar.alpha = 0 self.lowVolume.alpha = 0 self.highVolume.alpha = 0 } } func playPausePressed(pressure: ClickWheelTouchPressure) { if (pressure == .NORMAL) { AppDelegate.music.playPause() } } func nextSongPressed(pressure: ClickWheelTouchPressure) { if (pressure == .NORMAL) { AppDelegate.music.musicPlayer.skipToNextItem() updateUI() if AppDelegate.music.musicPlayer.indexOfNowPlayingItem == lastIndex { self.navigationController?.popViewController(animated: true) } else { lastIndex = AppDelegate.music.musicPlayer.indexOfNowPlayingItem } } else if (pressure == .FORCE) { AppDelegate.music.musicPlayer.beginSeekingForward() updateUI() } else if (pressure == .FORCE_ENDED) { AppDelegate.music.musicPlayer.endSeeking() updateUI() } } func previousSongPressed(pressure: ClickWheelTouchPressure) { if (pressure == .NORMAL) { AppDelegate.music.musicPlayer.skipToPreviousItem() updateUI() lastIndex = AppDelegate.music.musicPlayer.indexOfNowPlayingItem } else if (pressure == .FORCE) { AppDelegate.music.musicPlayer.beginSeekingBackward() updateUI() } else if (pressure == .FORCE_ENDED) { AppDelegate.music.musicPlayer.endSeeking() updateUI() } } func menuPressed(pressure: ClickWheelTouchPressure) { if (pressure == .NORMAL) { self.navigationController?.popViewController(animated: true) } else if (pressure == .FORCE) { self.navigationController?.popToRootViewController(animated: true) } } func centerPressed(pressure: ClickWheelTouchPressure) { } func getVolumeLevelAsPercentage() -> Float { return AVAudioSession.sharedInstance().outputVolume } }
46.787781
182
0.658718
af9bb9981deeef070bd3fef44821a9b5a58b549b
773
rb
Ruby
lib/as_range/explicit.rb
aliou/as_range
9734e98f9dab5ca1166a78b5d35137a049def0c3
[ "MIT" ]
null
null
null
lib/as_range/explicit.rb
aliou/as_range
9734e98f9dab5ca1166a78b5d35137a049def0c3
[ "MIT" ]
2
2020-05-25T06:36:34.000Z
2020-06-07T12:46:55.000Z
lib/as_range/explicit.rb
aliou/as_range
9734e98f9dab5ca1166a78b5d35137a049def0c3
[ "MIT" ]
null
null
null
module AsRange def self.explicit self::Explicit end module Explicit DEFAULT_OPTIONS = { start: :start_date, end: :end_date, method_name: :as_range, include_end: true }.freeze def as_range(options = {}) options = DEFAULT_OPTIONS.merge(options) start_attribute = options[:start] end_attribute = options[:end] define_method options[:method_name] do start_value = start_attribute.call if start_attribute.respond_to?(:call) start_value ||= public_send(start_attribute) end_value = end_attribute.call if end_attribute.respond_to?(:call) end_value ||= public_send(end_attribute) Range.new(start_value, end_value, !options[:include_end]) end end end end
24.935484
80
0.668823
2f2134b7bee05284459c7accdc9debe2e3633ad8
403
php
PHP
app/Order.php
harutyunyan611/pizza-di-roma-backend
43f55bcea694ec6ff5ffd6347fc355dffedf5215
[ "MIT" ]
null
null
null
app/Order.php
harutyunyan611/pizza-di-roma-backend
43f55bcea694ec6ff5ffd6347fc355dffedf5215
[ "MIT" ]
null
null
null
app/Order.php
harutyunyan611/pizza-di-roma-backend
43f55bcea694ec6ff5ffd6347fc355dffedf5215
[ "MIT" ]
null
null
null
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Order extends Model { public $table = 'orders'; protected $casts = [ 'created_at' => 'datetime:Y-m-d H:i:s', 'updated_at' => 'datetime:Y-m-d H:i:s', ]; public function pizzas() { return $this->belongsToMany('App\Pizza', "pizza_orders", 'orders_id', 'pizzas_id')->withPivot('count'); } }
20.15
111
0.60794
16093a4190a8a83048542a68b89cb451c78e2101
84
ts
TypeScript
packages/strapi/src/index.ts
Sproff/refine
d15f13362c0ae1085f4fade069a37826f4cf72e0
[ "MIT" ]
1,663
2021-09-17T14:27:48.000Z
2022-03-31T23:52:54.000Z
packages/strapi/src/index.ts
ioofy/refine
179f60d6a6bc69505577b474d9272a465de29d44
[ "MIT" ]
476
2021-09-17T13:03:33.000Z
2022-03-31T13:59:46.000Z
packages/strapi/src/index.ts
ioofy/refine
179f60d6a6bc69505577b474d9272a465de29d44
[ "MIT" ]
127
2021-09-23T07:32:31.000Z
2022-03-31T12:45:42.000Z
export * from "./dataProvider"; export * from "./helpers"; export * from "./hooks";
21
31
0.642857
967381ff53123670e5a07f2060bd08adedebdb86
7,387
php
PHP
public/statamic/core/View/Modify.php
obventio56/UPCloseRV
4ad2c041807e735ba5be78af986cc8282c8d0731
[ "MIT" ]
1
2018-09-01T21:27:14.000Z
2018-09-01T21:27:14.000Z
public/statamic/core/View/Modify.php
obventio56/UPCloseRV
4ad2c041807e735ba5be78af986cc8282c8d0731
[ "MIT" ]
null
null
null
public/statamic/core/View/Modify.php
obventio56/UPCloseRV
4ad2c041807e735ba5be78af986cc8282c8d0731
[ "MIT" ]
null
null
null
<?php namespace Statamic\View; use Exception; use ArrayIterator; use Statamic\API\Str; use Statamic\API\Helper; use Statamic\Exceptions\ModifierException; use Statamic\Extend\Management\ModifierLoader; class Modify implements \IteratorAggregate { /** * @var mixed */ protected $value; /** * @var array */ protected $context = []; /** * @var \Statamic\Extend\Management\ModifierLoader */ private $loader; public function __construct(ModifierLoader $loader) { $this->loader = $loader; } /** * Specify a value to start the modification chain * * @param mixed $value * @return \Statamic\View\Modify */ public static function value($value) { $instance = app(self::class); $instance->value = $value; return $instance; } /** * Set the context * * @param array $context * @return $this */ public function context($context) { $this->context = $context; return $this; } /** * Get the raw value * * @return mixed */ public function fetch() { return $this->value; } /** * Get the value as a string * * @return string * @throws \Statamic\Exceptions\ModifierException */ public function __toString() { if (! is_string($this->value) && ! method_exists($this->value, '__toString')) { throw new ModifierException( 'Attempted to access modified value as a string, but encountered ['.get_class($this->value).']' ); } return (string) $this->value; } /** * Get the value as an array * * @return \Traversable * @throws \Statamic\Exceptions\ModifierException */ public function getIterator() { if (! is_array($this->value)) { throw new ModifierException(sprintf( 'Attempted to access modified value as an array, but encountered [%s]', is_string($this->value) ? 'string' : get_class($this->value) )); } return new ArrayIterator($this->fetch()); } /** * Allow calls to modifiers via method names * * @param string $method Modifier name * @param array $args Any parameters as arguments * @return $this */ public function __call($method, $args) { $this->value = $this->modify($method, array_get($args, 0)); return $this; } /** * Modify a value * * @param string $modifier * @param array $params * @return mixed * @throws \Statamic\Exceptions\ModifierException */ public function modify($modifier, $params = []) { // Blade and/or raw PHP usage might pass a single parameter. // We should make sure it's always an array. $params = Helper::ensureArray($params); // Some modifier names are strange, reserved, or just more convenient // using alternate names. We'll get the alias here if one exists. $modifier = $this->resolveAlias($modifier); // Templates will use snake_case to specify modifiers, so we'll // convert them to the correct PSR-2 modifier method name. $modifier = Str::camel($modifier); try { // Attempt to run the modifier. If it worked, awesome, // we'll have successfully returned a modified value. return $this->runModifier($modifier, $params); } catch (ModifierException $e) { // If this class explicitly raised an exception, it would've // been a ModifierException, so we'll just rethrow it since // we'll be catching it on the view side of things. $e->setModifier($modifier); throw $e; } catch (Exception $e) { // If a modifier's code raised an exception, we'll just // catch it here and rethrow it as a ModifierException. $e = new ModifierException($e->getMessage()); $e->setModifier($modifier); throw $e; } } /** * Run the modifier * * We keep all the native bundled modifiers in one big juicy class * rather than a million separate files. First, we'll check there * then attempt to load a modifier in a regular addon location. * * @param string $modifier * @param array $params * @return mixed * @throws \Exception */ protected function runModifier($modifier, $params) { if (method_exists($nativeModifiers = app('Statamic\View\BaseModifiers'), $modifier)) { return $nativeModifiers->$modifier($this->value, $params, $this->context); } $helpers = 'Statamic\SiteHelpers\Modifiers'; if (class_exists($helpers) && method_exists($helpers, $modifier)) { return app($helpers)->$modifier($this->value, $params, $this->context); } return $this->modifyThirdParty($modifier, $params); } /** * Modify using third party addons * * @param string $modifier * @param array $params * @return mixed * @throws \Exception */ protected function modifyThirdParty($modifier, $params) { $class = $this->loader->load($modifier); if (! method_exists($class, 'index')) { throw new Exception("Modifier [$modifier] is missing index method."); } return $class->index($this->value, $params, $this->context); } /** * Resolve a modifier alias * * @param string $modifier * @return string */ protected function resolveAlias($modifier) { switch ($modifier) { case "+": return "add"; case "-": return "subtract"; case "*": return "multiply"; case "/": return "divide"; case "%": return "mod"; case "^": return "exponent"; case "dd": return "dump"; case "ago": case "until": case "since": return "relative"; case "specialchars": case "htmlspecialchars": return "sanitize"; case "striptags": return "stripTags"; case "join": case "implode": case "list": return "joinplode"; case "piped": return "optionList"; case "json": return "toJson"; case "email": return "obfuscateEmail"; case "l10n": return "formatLocalized"; case "lowercase": return "lower"; case "85": return "slackEasterEgg"; case "tz": return "timezone"; case "inFuture": case "in_future": case "is_future": return "isFuture"; case "inPast": case "in_past": case "is_past": return "isPast"; case "as": return "scopeAs"; default: return $modifier; } } }
25.040678
111
0.527955
c447a6e70e0eff1f16dcbec59bf8228a16180373
4,281
c
C
week08/semdemo.c
chopchap/apue
4cbc505a7bf5c1697e5354545211e5dcff577fe5
[ "MIT" ]
null
null
null
week08/semdemo.c
chopchap/apue
4cbc505a7bf5c1697e5354545211e5dcff577fe5
[ "MIT" ]
null
null
null
week08/semdemo.c
chopchap/apue
4cbc505a7bf5c1697e5354545211e5dcff577fe5
[ "MIT" ]
null
null
null
/* A simple program to illustrate the use of * semaphores. Derived from: * https://www.beej.us/guide/bgipc/html/multi/semaphores.html * * Run in parallel in multiple processes to illustrate * the blocking as another process holds a lock. * * Use ipcs(1) to show that semaphores remain in the * kernel until explicitly removed. */ #include <sys/ipc.h> #include <sys/sem.h> #include <sys/types.h> #include <err.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #define MAX_RETRIES 10 /* Code examples often use a char as the ftok(3) id, * but really any int will do. */ #define SEMID 42 #define SEMLOCK -1 #define SEMUNLOCK 1 #ifndef __DARWIN_UNIX03 union semun { int val; struct semid_ds *buf; ushort *array; }; #endif /* * initsem() -- simplified version of W. Richard * Stevens' UNIX Network Programming 2nd edition, * volume 2, lockvsem.c, page 295; */ int initsem(key_t key) { int i; union semun arg; struct semid_ds buf; struct sembuf sb; int semid; arg.buf = &buf; semid = semget(key, 1, IPC_CREAT | IPC_EXCL | 0666); if (semid >= 0) { /* we got it first */ sb.sem_num = 0; /* operate on the first semaphore in the set */ sb.sem_op = 1; /* "free" the semaphore */ sb.sem_flg = 0; /* no flags are set */ /* "Free" the semaphore. Note: since * this semget, semop sequence is * non-atomic, it poses a possible * race condition whereby this process * that created the semaphore might be * suspended prior to freeing it. In * that case, the second process in * the 'EEXIST' block below... */ if (semop(semid, &sb, 1) == -1) { int e = errno; if (semctl(semid, 0, IPC_RMID) < 0) { perror("semctl rm"); } errno = e; return -1; /* error, check errno */ } } else if (errno == EEXIST) { /* someone else got it first */ int ready = 0; int e; semid = semget(key, 1, 0); /* get the id */ if (semid < 0) return semid; /* error, check errno */ /* ...would see sem_otime as '0', * sleep for a second, and attempt * again up to MAX_TRIES to give the * semaphore-creating process above a * chance to free it. Without this * check, the race condition above * could otherwise lead to a deadlock. */ for (i = 0; i < MAX_RETRIES && !ready; i++) { if ((e = semctl(semid, 0, IPC_STAT, arg)) < 0) { perror("semctl stat"); return -1; } if (arg.buf->sem_otime != 0) { ready = 1; } else { sleep(1); } } /* If the other process didn't free * the semaphore after MAX_TRIES * seconds, give up. Note: we set * errno explicitly ourselves here. */ if (!ready) { errno = ETIME; return -1; } } else { return semid; /* error, check errno */ } return semid; } int main(void) { key_t key; int semid; struct sembuf sb = { .sem_num = 0, .sem_op = SEMLOCK, .sem_flg = SEM_UNDO, }; /* What happens if you use e.g., getuid() as * the 'id' argument to ftok(3)? * * What if the user running the command * doesn't have read permissions to the file * here? * * Give it a try. */ if ((key = ftok("./semdemo.c", SEMID)) == -1) { err(EXIT_FAILURE, "ftok"); /* NOTREACHED */ } /* What happens if you don't use ftok(3)? * Give it a try. */ //key = IPC_PRIVATE; if ((semid = initsem(key)) == -1) { err(EXIT_FAILURE, "initsem"); /* NOTREACHED */ } (void)printf("Press return to lock: "); (void)getchar(); (void)printf("Trying to lock...\n"); /* This call will block if another process * already has a lock. */ if (semop(semid, &sb, 1) == -1) { err(EXIT_FAILURE, "semop"); /* NOTREACHED */ } (void)printf("Locked.\n"); (void)printf("Press return to unlock: "); (void)getchar(); /* Since we specified SEM_UNDO above, we don't * stricly need to free the resource here; our * process exiting would increment the * semaphore value. (Try it out: comment out * this block and set sem_flg = 0 above.) * However, just as with cleaning up file * descriptors and other resources, it's a * good idea to be explicit and free the * resource on exit. */ sb.sem_op = SEMUNLOCK; if (semop(semid, &sb, 1) == -1) { err(EXIT_FAILURE, "semop"); /* NOTREACHED */ } (void)printf("Unlocked.\n"); return EXIT_SUCCESS; }
23.016129
65
0.625321
02125264f4e6307aa4be634b749064bcd6a8b8c6
257
kt
Kotlin
applications/bank-account-rest-service/src/main/kotlin/com/vmware/financial/open/banking/account/repository/AccountRepository.kt
Tanzu-Solutions-Engineering/financial-open-banking-showcase
4ace012ffb090c86302f740a596d44e1ee702897
[ "Unlicense" ]
1
2021-11-02T22:33:09.000Z
2021-11-02T22:33:09.000Z
applications/bank-account-rest-service/src/main/kotlin/com/vmware/financial/open/banking/account/repository/AccountRepository.kt
Tanzu-Solutions-Engineering/financial-open-banking-showcase
4ace012ffb090c86302f740a596d44e1ee702897
[ "Unlicense" ]
null
null
null
applications/bank-account-rest-service/src/main/kotlin/com/vmware/financial/open/banking/account/repository/AccountRepository.kt
Tanzu-Solutions-Engineering/financial-open-banking-showcase
4ace012ffb090c86302f740a596d44e1ee702897
[ "Unlicense" ]
1
2021-11-17T22:25:42.000Z
2021-11-17T22:25:42.000Z
package com.vmware.financial.open.banking.account.repository import com.vmware.financial.open.banking.account.domain.BankAccount import org.springframework.data.repository.CrudRepository interface AccountRepository : CrudRepository<BankAccount,String> { }
36.714286
67
0.859922
d08eef4ab54754e5c028a0790392fae007834ac4
1,717
css
CSS
css/books/hirelingTab.css
Nogarx/Forbidden-Alpha
18829be63fdf90739b2531772ba435e226e9d169
[ "MIT" ]
null
null
null
css/books/hirelingTab.css
Nogarx/Forbidden-Alpha
18829be63fdf90739b2531772ba435e226e9d169
[ "MIT" ]
null
null
null
css/books/hirelingTab.css
Nogarx/Forbidden-Alpha
18829be63fdf90739b2531772ba435e226e9d169
[ "MIT" ]
null
null
null
/* ------------------------------------------------------------------------------- */ /* ------------------------------ CUSTOM ITEMLIST -------------------------------- */ /* ------------------------------------------------------------------------------- */ .forbiddenAlpha.sheet .book .hirelingTab .pageContent .itemList { margin-left: auto; margin-right: auto; width: 340px; height: 520px; } .book .hirelingTab .pageContent .itemList .regularColumn { width: 100px; } .book .hirelingTab .pageContent .itemList .bigColumn { width: 260px; } /* ------------------------------------------------------------------------------- */ /* ------------------------------ CHAPTER DISPLAY -------------------------------- */ /* ------------------------------------------------------------------------------- */ .forbiddenAlpha.sheet .book .hirelingTab .hirelingName { height: 100px; width: 360px;; } .forbiddenAlpha.sheet .book .hirelingTab .hirelingName textarea { width: 340px; height: 40px; margin: 10px; font-weight: bold; text-align: center; white-space: normal; } .forbiddenAlpha.sheet .book .hirelingTab .hirelingDetails { height: 100px; width: 360px; } .forbiddenAlpha.sheet .book .hirelingTab .hirelingDetails .salary, .forbiddenAlpha.sheet .book .hirelingTab .hirelingDetails .supply { height: 100px; width: 180px; } .forbiddenAlpha.sheet .book .hirelingTab .hirelingDetails .salary input { width: 30px; } .forbiddenAlpha.sheet .book .hirelingTab .hirelingDescription { width: 360px; height: 350px; } .forbiddenAlpha.sheet .book .hirelingTab .hirelingDescription textarea { width: 340px; height: 330px; margin: 10px; }
25.25
85
0.508445
af8de2043512cc4619fe74d1c39dbc2f5ebdeb30
245
kt
Kotlin
src/main/java/Exercise1.kt
cortinico/adventofcode-2020
a0d980a6253ec210433e2688cfc6df35104aa9df
[ "MIT" ]
4
2020-12-13T18:59:10.000Z
2021-12-10T00:28:14.000Z
src/main/java/Exercise1.kt
cortinico/adventofcode-2020
a0d980a6253ec210433e2688cfc6df35104aa9df
[ "MIT" ]
null
null
null
src/main/java/Exercise1.kt
cortinico/adventofcode-2020
a0d980a6253ec210433e2688cfc6df35104aa9df
[ "MIT" ]
null
null
null
fun main() { val input = object {}.javaClass.getResource("input-1.txt").readText().split("\n") val numberSet = input.toSet().map { it.toInt() } numberSet.first { (2020 - it) in numberSet }.let { it * (2020 - it) }.also(::println) }
35
89
0.608163
a3cb739d1c059721dc457c533739fc963e3b6948
1,696
kt
Kotlin
android/OnFrugal/app/src/main/java/io/makeorbreak/hackohollics/onfrugal/presentation/UserActivity.kt
makeorbreak-io/on-frugal
0ae91cc48b415187c98e8bfcf334e6ce54e6f7ac
[ "MIT" ]
null
null
null
android/OnFrugal/app/src/main/java/io/makeorbreak/hackohollics/onfrugal/presentation/UserActivity.kt
makeorbreak-io/on-frugal
0ae91cc48b415187c98e8bfcf334e6ce54e6f7ac
[ "MIT" ]
3
2018-04-14T22:28:05.000Z
2018-04-14T23:09:10.000Z
android/OnFrugal/app/src/main/java/io/makeorbreak/hackohollics/onfrugal/presentation/UserActivity.kt
makeorbreak-io/on-frugal
0ae91cc48b415187c98e8bfcf334e6ce54e6f7ac
[ "MIT" ]
null
null
null
package io.makeorbreak.hackohollics.onfrugal.presentation import android.Manifest import android.content.Intent import android.content.pm.PackageManager import android.net.Uri import android.support.v7.app.AppCompatActivity import android.os.Bundle import android.support.v4.app.ActivityCompat import android.support.v4.content.ContextCompat import io.makeorbreak.hackohollics.onfrugal.R import io.makeorbreak.hackohollics.onfrugal.domain.model.User import kotlinx.android.synthetic.main.activity_user.* import kotlinx.android.synthetic.main.content_scrolling_user.* class UserActivity : AppCompatActivity() { lateinit var user:User override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_user) setSupportActionBar(toolbar) supportActionBar!!.setDisplayHomeAsUpEnabled(true) user = intent.extras["USER"] as User updateContactInformation(user) phone_container.setOnClickListener { val callIntent = Intent(Intent.ACTION_DIAL) callIntent.data = Uri.parse("tel:${user.phoneNumber}") startActivity(callIntent) } email_container.setOnClickListener { val intent = Intent(Intent.ACTION_SENDTO) intent.setData(Uri.parse("mailto:${user.email}")) startActivity(Intent.createChooser(intent,"Send mail...")) } } fun updateContactInformation(user: User){ title = user.name tvNumber1.text = user.phoneNumber tvNumber3.text = user.email } override fun onSupportNavigateUp(): Boolean{ onBackPressed() return true } }
30.836364
70
0.71816
ef4f26f3b66644e5f90a96c99a0548537b1f713c
785
sql
SQL
metrics/kubernetes/approvers.sql
mayadata-io/devstats
705be1308d342ff8ac65533f8ee9e89b2142291e
[ "Apache-2.0" ]
null
null
null
metrics/kubernetes/approvers.sql
mayadata-io/devstats
705be1308d342ff8ac65533f8ee9e89b2142291e
[ "Apache-2.0" ]
null
null
null
metrics/kubernetes/approvers.sql
mayadata-io/devstats
705be1308d342ff8ac65533f8ee9e89b2142291e
[ "Apache-2.0" ]
2
2018-01-27T01:17:43.000Z
2018-07-25T07:43:03.000Z
create temp table matching as select event_id from gha_texts where created_at >= '{{from}}' and created_at < '{{to}}' and substring(body from '(?i)(?:^|\n|\r)\s*/approve\s*(?:\n|\r|$)') is not null; select sub.repo_group, count(distinct sub.actor) as result from ( select 'approvers,' || coalesce(ecf.repo_group, r.repo_group) as repo_group, e.dup_actor_login as actor from gha_repos r, gha_events e left join gha_events_commits_files ecf on ecf.event_id = e.id where e.repo_id = r.id and (e.dup_actor_login {{exclude_bots}}) and e.id in ( select event_id from matching ) ) sub where sub.repo_group is not null group by sub.repo_group order by result desc, repo_group asc ; drop table matching;
18.690476
82
0.658599
0efcc3257f855e8f80a83831f4bca7628548a1f3
1,208
swift
Swift
Sources/DSValidator/ValueValidators/ValueValidator+Number.swift
dmitrysimkin/DSValidator
73476c1bec4d233c24ccebfbf02f42602bc2fb64
[ "MIT" ]
null
null
null
Sources/DSValidator/ValueValidators/ValueValidator+Number.swift
dmitrysimkin/DSValidator
73476c1bec4d233c24ccebfbf02f42602bc2fb64
[ "MIT" ]
null
null
null
Sources/DSValidator/ValueValidators/ValueValidator+Number.swift
dmitrysimkin/DSValidator
73476c1bec4d233c24ccebfbf02f42602bc2fb64
[ "MIT" ]
null
null
null
// // DSValueValidator+Number.swift // DSValidator // // Created by Dzmitry Simkin on 5/2/20. // Copyright © 2020 Dzmitry Simkin. All rights reserved. // import Foundation public protocol NumberValueValidator { @discardableResult func greaterThan(_ limit: DSNumber) -> ValueValidator @discardableResult func greaterThanOrEqual(_ limit: DSNumber) -> ValueValidator @discardableResult func smallerThan(_ limit: DSNumber) -> ValueValidator @discardableResult func smallerThanOrEqual(_ limit: DSNumber) -> ValueValidator @discardableResult func `true`() -> ValueValidator @discardableResult func `false`() -> ValueValidator @discardableResult func notGreaterThanErrorMessage(_ message: String) -> ValueValidator @discardableResult func notGreaterThanOrEqualErrorMessage(_ message: String) -> ValueValidator @discardableResult func notSmallerThanErrorMessage(_ message: String) -> ValueValidator @discardableResult func notSmallerThanOrEqualErrorMessage(_ message: String) -> ValueValidator @discardableResult func notTrueErrorMessage(_ message: String) -> ValueValidator @discardableResult func notFalseErrorMessage(_ message: String) -> ValueValidator }
43.142857
98
0.780629
1c6f350906a1c170a9cc566806f30a4cf753b5c5
362
kt
Kotlin
src/main/kotlin/com/scaledifferent/kdock/response/v124/mapper/ResponseToModelMapper.kt
ScaleDifferentWithKotlin/kdocker-api
d9ae5696c20a9cf77d7f5fe1a879c6848df0aba5
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/com/scaledifferent/kdock/response/v124/mapper/ResponseToModelMapper.kt
ScaleDifferentWithKotlin/kdocker-api
d9ae5696c20a9cf77d7f5fe1a879c6848df0aba5
[ "Apache-2.0" ]
null
null
null
src/main/kotlin/com/scaledifferent/kdock/response/v124/mapper/ResponseToModelMapper.kt
ScaleDifferentWithKotlin/kdocker-api
d9ae5696c20a9cf77d7f5fe1a879c6848df0aba5
[ "Apache-2.0" ]
1
2019-12-26T15:08:07.000Z
2019-12-26T15:08:07.000Z
/* * Copyright (c) 2019 Scale different UG (Haftungsbeschränkt) and contributors. Use of this * source code is governed by the Apache 2.0 license. * */ package com.scaledifferent.kdock.response.v124.mapper import com.google.gson.JsonElement interface ResponseToModelMapper { fun <T: ResponseToModelMapper> mapToModel(jsonElement: JsonElement): T }
24.133333
92
0.765193
5052f063d78503bc5fd9a3d4e0efc8ca53fba055
524
swift
Swift
UniversalBypass/AppDelegate.swift
hladik-dan/UniversalBypass
2693abc1ab23f8251a11c4c87f33ef311c16666b
[ "MIT" ]
2
2020-01-10T08:58:02.000Z
2021-11-20T18:35:26.000Z
UniversalBypass/AppDelegate.swift
hladik-dan/UniversalBypass
2693abc1ab23f8251a11c4c87f33ef311c16666b
[ "MIT" ]
null
null
null
UniversalBypass/AppDelegate.swift
hladik-dan/UniversalBypass
2693abc1ab23f8251a11c4c87f33ef311c16666b
[ "MIT" ]
null
null
null
// // AppDelegate.swift // UniversalBypass // // Created by Daniel Hladík on 06/11/2019. // Copyright © 2019 Daniel Hladík. All rights reserved. // import Cocoa @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate { func applicationDidFinishLaunching(_ aNotification: Notification) { // Insert code here to initialize your application } func applicationWillTerminate(_ aNotification: Notification) { // Insert code here to tear down your application } }
22.782609
71
0.706107
9bc9e8b9058ac840193815d714855c5ec395ba00
867
js
JavaScript
config.js
Sanwuthree/qiniugui
706d134781eeed8c332a514912a737def6c1f650
[ "MIT" ]
null
null
null
config.js
Sanwuthree/qiniugui
706d134781eeed8c332a514912a737def6c1f650
[ "MIT" ]
null
null
null
config.js
Sanwuthree/qiniugui
706d134781eeed8c332a514912a737def6c1f650
[ "MIT" ]
null
null
null
const fs=require("fs"),process=require("process") const path=require("path") console.log("hello world") class GConfig{ constructor(){ console.log("gconfig init") this.cwd=process.cwd(); this.config_path=path.join(this.cwd,"config.cfg"); if(fs.existsSync(this.config_path)){ this.loadConfig(); } } saveConfig(){ console.log(this.cwd) console.log(this.config_path); fs.writeFile(this.config_path,JSON.stringify(this.config),(err)=>{console.log("config saved")}); } loadConfig(){ try { this.config=JSON.parse(fs.readFileSync(this.config_path,"utf-8")); } catch (error) { this.config={} } console.log(this.config) } deleteCofnig(){ fs.unlinkSync(this.config_path); } } module.exports=new GConfig();
27.967742
104
0.590542
aba66ebcbb7d6beed4919954a79c4fe3d9c611aa
273
rb
Ruby
spec/factories/notebooks.rb
diegotoral/ANN
00755deea6bf643bb189558fbf621eaf423848b1
[ "MIT" ]
null
null
null
spec/factories/notebooks.rb
diegotoral/ANN
00755deea6bf643bb189558fbf621eaf423848b1
[ "MIT" ]
11
2020-02-29T02:28:51.000Z
2022-02-26T11:37:15.000Z
spec/factories/notebooks.rb
diegotoral/ANN
00755deea6bf643bb189558fbf621eaf423848b1
[ "MIT" ]
null
null
null
FactoryBot.define do factory :notebook do user name { 'Recipes' } trait :with_notes do after :create do |notebook| create_list(:note, 2, notebook: notebook) end end factory :notebook_with_notes, traits: %i[with_notes] end end
17.0625
56
0.641026
81c2c2e93c403a5427c4f41a9deca39f5e873c39
158,630
html
HTML
doc/html/apiDocs/classXMLErrs.html
ksmyth/xerces-c
245d0f626041add542ab7deabd6ba9c3e4641f6d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
doc/html/apiDocs/classXMLErrs.html
ksmyth/xerces-c
245d0f626041add542ab7deabd6ba9c3e4641f6d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
doc/html/apiDocs/classXMLErrs.html
ksmyth/xerces-c
245d0f626041add542ab7deabd6ba9c3e4641f6d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
<HTML><HEAD><SCRIPT language="JavaScript" src="../resources/script.js" type="text/javascript"></SCRIPT><TITLE>Xerces-C++: XMLErrs Class Reference</TITLE><link href="XercesApi.css" rel="stylesheet" type="text/css"></HEAD><BODY alink="#ff0000" bgcolor="#ffffff" leftmargin="4" link="#0000ff" marginheight="4" marginwidth="4" text="#000000" topmargin="4" vlink="#0000aa"><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" height="60" rowspan="3" valign="top" width="135"><IMG border="0" height="60" hspace="0" src="../resources/logo.gif" vspace="0" width="135"></TD><TD align="left" colspan="4" height="5" valign="top" width="456"><IMG border="0" height="5" hspace="0" src="../resources/line.gif" vspace="0" width="456"></TD><TD align="left" height="60" rowspan="3" valign="top" width="29"><IMG border="0" height="60" hspace="0" src="../resources/right.gif" vspace="0" width="29"></TD></TR><TR><TD align="left" bgcolor="#0086b2" colspan="4" height="35" valign="top" width="456"><IMG alt="" border="0" height="35" hspace="0" src="../graphics/api-header.jpg" vspace="0" width="456"></TD></TR><TR><TD align="left" height="20" valign="top" width="168"><IMG border="0" height="20" hspace="0" src="../resources/bottom.gif" vspace="0" width="168"></TD><TD align="left" height="20" valign="top" width="96"><A href="http://xml.apache.org/" onMouseOut="rolloverOff('xml');" onMouseOver="rolloverOn('xml');" target="new"><IMG alt="http://xml.apache.org/" border="0" height="20" hspace="0" name="xml" onLoad="rolloverLoad('xml','../resources/button-xml-hi.gif','../resources/button-xml-lo.gif');" src="../resources/button-xml-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.apache.org/" onMouseOut="rolloverOff('asf');" onMouseOver="rolloverOn('asf');" target="new"><IMG alt="http://www.apache.org/" border="0" height="20" hspace="0" name="asf" onLoad="rolloverLoad('asf','../resources/button-asf-hi.gif','../resources/button-asf-lo.gif');" src="../resources/button-asf-lo.gif" vspace="0" width="96"></A></TD><TD align="left" height="20" valign="top" width="96"><A href="http://www.w3.org/" onMouseOut="rolloverOff('w3c');" onMouseOver="rolloverOn('w3c');" target="new"><IMG alt="http://www.w3.org/" border="0" height="20" hspace="0" name="w3c" onLoad="rolloverLoad('w3c','../resources/button-w3c-hi.gif','../resources/button-w3c-lo.gif');" src="../resources/button-w3c-lo.gif" vspace="0" width="96"></A></TD></TR></TABLE><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD align="left" valign="top" width="120"><IMG border="0" height="14" hspace="0" src="../resources/join.gif" vspace="0" width="120"><BR> <A href="../../index.html" onMouseOut="rolloverOff('side-ext-2');" onMouseOver="rolloverOn('side-ext-2');"><IMG alt="Home" border="0" height="12" hspace="0" name="side-ext-2" onLoad="rolloverLoad('side-ext-2','../graphics/ext-2-label-2.jpg','../graphics/ext-2-label-3.jpg');" src="../graphics/ext-2-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="../index.html" onMouseOut="rolloverOff('side-index');" onMouseOver="rolloverOn('side-index');"><IMG alt="Readme" border="0" height="12" hspace="0" name="side-index" onLoad="rolloverLoad('side-index','../graphics/index-label-2.jpg','../graphics/index-label-3.jpg');" src="../graphics/index-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../charter.html" onMouseOut="rolloverOff('side-charter');" onMouseOver="rolloverOn('side-charter');"><IMG alt="Charter" border="0" height="12" hspace="0" name="side-charter" onLoad="rolloverLoad('side-charter','../graphics/charter-label-2.jpg','../graphics/charter-label-3.jpg');" src="../graphics/charter-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../releases.html" onMouseOut="rolloverOff('side-releases');" onMouseOver="rolloverOn('side-releases');"><IMG alt="Release Info" border="0" height="12" hspace="0" name="side-releases" onLoad="rolloverLoad('side-releases','../graphics/releases-label-2.jpg','../graphics/releases-label-3.jpg');" src="../graphics/releases-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="../install.html" onMouseOut="rolloverOff('side-install');" onMouseOver="rolloverOn('side-install');"><IMG alt="Installation" border="0" height="12" hspace="0" name="side-install" onLoad="rolloverLoad('side-install','../graphics/install-label-2.jpg','../graphics/install-label-3.jpg');" src="../graphics/install-label-3.jpg" vspace="0" width="120"></A><BR> <A href="http://xerces.apache.org/xerces-c/download.cgi" onMouseOut="rolloverOff('side-ext-20');" onMouseOver="rolloverOn('side-ext-20');"><IMG alt="Download" border="0" height="12" hspace="0" name="side-ext-20" onLoad="rolloverLoad('side-ext-20','../graphics/ext-20-label-2.jpg','../graphics/ext-20-label-3.jpg');" src="../graphics/ext-20-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../build.html" onMouseOut="rolloverOff('side-build');" onMouseOver="rolloverOn('side-build');"><IMG alt="Build Instructions" border="0" height="12" hspace="0" name="side-build" onLoad="rolloverLoad('side-build','../graphics/build-label-2.jpg','../graphics/build-label-3.jpg');" src="../graphics/build-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="../program.html" onMouseOut="rolloverOff('side-program');" onMouseOver="rolloverOn('side-program');"><IMG alt="Programming" border="0" height="12" hspace="0" name="side-program" onLoad="rolloverLoad('side-program','../graphics/program-label-2.jpg','../graphics/program-label-3.jpg');" src="../graphics/program-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../samples.html" onMouseOut="rolloverOff('side-samples');" onMouseOver="rolloverOn('side-samples');"><IMG alt="Samples" border="0" height="12" hspace="0" name="side-samples" onLoad="rolloverLoad('side-samples','../graphics/samples-label-2.jpg','../graphics/samples-label-3.jpg');" src="../graphics/samples-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../faqs.html" onMouseOut="rolloverOff('side-faqs');" onMouseOver="rolloverOn('side-faqs');"><IMG alt="FAQs" border="0" height="12" hspace="0" name="side-faqs" onLoad="rolloverLoad('side-faqs','../graphics/faqs-label-2.jpg','../graphics/faqs-label-3.jpg');" src="../graphics/faqs-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="../api.html" onMouseOut="rolloverOff('side-api');" onMouseOver="rolloverOn('side-api');"><IMG alt="API Docs" border="0" height="12" hspace="0" name="side-api" onLoad="rolloverLoad('side-api','../graphics/api-label-2.jpg','../graphics/api-label-3.jpg');" src="../graphics/api-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../ApacheDOMC++Binding.html" onMouseOut="rolloverOff('side-ext-88');" onMouseOver="rolloverOn('side-ext-88');"><IMG alt="DOM C++ Binding" border="0" height="12" hspace="0" name="side-ext-88" onLoad="rolloverLoad('side-ext-88','../graphics/ext-88-label-2.jpg','../graphics/ext-88-label-3.jpg');" src="../graphics/ext-88-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../migrate.html" onMouseOut="rolloverOff('side-migrate');" onMouseOver="rolloverOn('side-migrate');"><IMG alt="Migration Guide" border="0" height="12" hspace="0" name="side-migrate" onLoad="rolloverLoad('side-migrate','../graphics/migrate-label-2.jpg','../graphics/migrate-label-3.jpg');" src="../graphics/migrate-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="../feedback.html" onMouseOut="rolloverOff('side-feedback');" onMouseOver="rolloverOn('side-feedback');"><IMG alt="Feedback" border="0" height="12" hspace="0" name="side-feedback" onLoad="rolloverLoad('side-feedback','../graphics/feedback-label-2.jpg','../graphics/feedback-label-3.jpg');" src="../graphics/feedback-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../bug-report.html" onMouseOut="rolloverOff('side-bug-report');" onMouseOver="rolloverOn('side-bug-report');"><IMG alt="Bug-Reporting" border="0" height="12" hspace="0" name="side-bug-report" onLoad="rolloverLoad('side-bug-report','../graphics/bug-report-label-2.jpg','../graphics/bug-report-label-3.jpg');" src="../graphics/bug-report-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../mailing-lists.html" onMouseOut="rolloverOff('side-mailing-lists');" onMouseOver="rolloverOn('side-mailing-lists');"><IMG alt="Mailing Lists" border="0" height="12" hspace="0" name="side-mailing-lists" onLoad="rolloverLoad('side-mailing-lists','../graphics/mailing-lists-label-2.jpg','../graphics/mailing-lists-label-3.jpg');" src="../graphics/mailing-lists-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="6" hspace="0" src="../resources/separator.gif" vspace="0" width="120"><BR> <A href="../source-repository.html" onMouseOut="rolloverOff('side-source-repository');" onMouseOver="rolloverOn('side-source-repository');"><IMG alt="Source Repository" border="0" height="12" hspace="0" name="side-source-repository" onLoad="rolloverLoad('side-source-repository','../graphics/source-repository-label-2.jpg','../graphics/source-repository-label-3.jpg');" src="../graphics/source-repository-label-3.jpg" vspace="0" width="120"></A><BR> <A href="../applications.html" onMouseOut="rolloverOff('side-applications');" onMouseOver="rolloverOn('side-applications');"><IMG alt="Applications" border="0" height="12" hspace="0" name="side-applications" onLoad="rolloverLoad('side-applications','../graphics/applications-label-2.jpg','../graphics/applications-label-3.jpg');" src="../graphics/applications-label-3.jpg" vspace="0" width="120"></A><BR> <IMG border="0" height="14" hspace="0" src="../resources/close.gif" vspace="0" width="120"><BR></TD><TD align="left" valign="top" width="500"><TABLE border="0" cellpadding="3" cellspacing="0"><TR><TD> <TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#FFFFFF" colspan="2" width="494"><TABLE border="0" cellpadding="0" cellspacing="0" width="494"><TR><TD bgcolor="#039acc" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#039acc" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#039acc" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#0086b2" width="492"><FONT color="#ffffff" face="arial,helvetica,sanserif" size="+1"><IMG border="0" height="2" hspace="0" src="../resources/void.gif" vspace="0" width="2"><B>API Docs for SAX and DOM</B></FONT></TD><TD bgcolor="#017299" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR><TR><TD bgcolor="#0086b2" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD><TD bgcolor="#017299" height="1" width="492"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="492"></TD><TD bgcolor="#017299" height="1" width="1"><IMG border="0" height="1" hspace="0" src="../resources/void.gif" vspace="0" width="1"></TD></TR></TABLE></TD></TR><TR><TD width="10">&nbsp;</TD><TD width="484"><FONT color="#000000" face="arial,helvetica,sanserif"> <P> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main&nbsp;Page</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li> <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li> <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li> <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li> </ul> </div> <h1>XMLErrs Class Reference</h1><!-- doxytag: class="XMLErrs" --> <p> <a href="classXMLErrs-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47">Codes</a> { <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47d600753bb6c87207a645a91542158510">NoError</a> = 0, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e479539cdf8faef12f406181ee67ae666b2">W_LowBounds</a> = 1, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e475076b867b4a4b635eaa8e5cf57d57fad">NotationAlreadyExists</a> = 2, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e474c43cf15946134db6b18d4354f6bc8c4">AttListAlreadyExists</a> = 3, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e98d4a35db18abbf0e70f0b11dfa6c39">ContradictoryEncoding</a> = 4, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47af19d51ab7bb432b75af1d8a12765b66">UndeclaredElemInCM</a> = 5, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b083dad42da8253aeda628b86deceeba">UndeclaredElemInAttList</a> = 6, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4763516dddcebd91e0de5c0a04c94482c5">XMLException_Warning</a> = 7, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e470df0efc92f3ef411adfce18f5709d758">W_HighBounds</a> = 8, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e479cd10529f23c19c4d1f2302415919f64">E_LowBounds</a> = 9, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47abd845136f6ca618e42c17f746ee5333">FeatureUnsupported</a> = 10, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47514fffa5bf3c10913a66921264d8fcb3">TopLevelNoNameComplexType</a> = 11, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e476fffb37d3f0d68f617c8e4326defa5d6">TopLevelNoNameAttribute</a> = 12, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4781a2e4595b69cbc0ca8d4df5b7045faf">NoNameRefAttribute</a> = 13, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47faa54bdcfe43a86cb54b64559be3aa3c">GlobalNoNameElement</a> = 14, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e285a0aedac1bb539141699b73b34a5a">NoNameRefElement</a> = 15, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4723e2a41e72e6c689c5bf4c2f91aa9299">NoNameRefGroup</a> = 16, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47ef298b232e672392ffc87b1583afbbed">NoNameRefAttGroup</a> = 17, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471e8d973a5b48856a08fff958d9d29ca6">AnonComplexTypeWithName</a> = 18, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e7e0f8c5d905f11ad6362ed3a8b64e86">AnonSimpleTypeWithName</a> = 19, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e470d50f56b1385af6a88379ae16a216c21">InvalidElementContent</a> = 20, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47aebdf29ad405fe11a7d9e5beab1ff816">UntypedElement</a> = 21, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4737b871c94bca1d9a1fd539ae9868e406">SimpleTypeContentError</a> = 22, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47c2c2f23294e692184cf7aa5c809a4dfa">ExpectedSimpleTypeInList</a> = 23, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e922d0293ad992a423a0c47c053bea40">ListUnionRestrictionError</a> = 24, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47aa2339713055539cf5b36ca69189a654">SimpleTypeDerivationByListError</a> = 25, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47d92d1a2d4596cf41c750f2a89ab6310c">ExpectedSimpleTypeInRestriction</a> = 26, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e470769e23ddb6032833991577b29c3a1ab">DuplicateFacet</a> = 27, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47c6176c27e6a8fc1c5ec427ccbd557362">ExpectedSimpleTypeInUnion</a> = 28, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47a2ad95251b44dd947228e3cb72f7da1e">EmptySimpleTypeContent</a> = 29, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47f33828749c033a0bbe749e62bfd539b6">InvalidSimpleContent</a> = 30, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47dc316416e0976c304ee39ce51d8de778">UnspecifiedBase</a> = 31, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47bba1cfe7381341b3c0cd02f8aa5b089b">InvalidComplexContent</a> = 32, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e478c868c7892ac714e867667e912cbace2">SchemaElementContentError</a> = 33, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4758225726923e3aec4211294e78502866">ContentError</a> = 34, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b3ab6c01085ff1ab702f0fcbc121f9d6">UnknownSimpleType</a> = 35, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e476b67ab7f802330afe805f3a2068a1811">UnknownComplexType</a> = 36, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47c641f87ae9e54e34395d8caf646301a2">UnresolvedPrefix</a> = 37, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47cfa6055e90d90c6ef6079562e547e6d8">RefElementNotFound</a> = 38, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e474528739f9bccc8c158839d328f913406">TypeNotFound</a> = 39, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4705f9f74afcc7ee552f3286e02e5b4e00">TopLevelAttributeNotFound</a> = 40, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e476c0059569e35aa4bddd4928deced0f42">InvalidChildInComplexType</a> = 41, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47186b391944ceda159b5c90a90ddeb577">BaseTypeNotFound</a> = 42, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4754ad1bee6f19e4f9713fb6c43870a750">NoAttributeInSchema</a> = 43, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e477a0e637857c83a3828f0adb6e544b2c2">DatatypeValidatorCreationError</a> = 44, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47acbf9be3347d8b14335a1faa85176426">InvalidChildFollowingSimpleContent</a> = 45, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47516b86f033ad8ba7cb534a104ba2c2ac">InvalidChildFollowingConplexContent</a> = 46, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4705ebb516bdf49eef2229eb0f4af17a93">InvalidComplexTypeBlockValue</a> = 47, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47ae5759590db5d37e2b913a120837df24">InvalidComplexTypeFinalValue</a> = 48, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47df07fd349badfaa3e98cd70fcd184e1f">AttributeDefaultFixedValue</a> = 49, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e470f328255b8ea3d60915b2cc85910d6a2">NotOptionalDefaultAttValue</a> = 50, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e477f1e222f00bbe0c15e39049298ee2627">LocalAttributeWithNameRef</a> = 51, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e472d75f1a678b6a9bea8c58cbefbd9dfab">GlobalAttributeWithNameRef</a> = 52, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47adbc0833fde3d05334aad4d5774be89e">DuplicateAttribute</a> = 53, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47c84909aba94838cc84f819820b99186e">AttributeWithTypeAndSimpleType</a> = 54, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e472d4e5c5c8759fc9e3fae50407c792ac8">AttributeSimpleTypeNotFound</a> = 55, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e473df224e7478b476752312055984d14bc">ElementWithFixedAndDefault</a> = 56, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47943822dc971df7e72871c516aed71e41">DeclarationWithNameRef</a> = 57, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e475027c7e1fcd40b6e48207926a19f9802">BadAttWithRef</a> = 58, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e472ddc9a6e40a2b8b6da50e41bcdfc759e">InvalidDeclarationName</a> = 59, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47dba0ecab39b4d0c3db4393e5793a65d9">GlobalElementWithRef</a> = 60, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47899b81dd2bedaf0ea4095147b9d87e63">ElementWithTypeAndAnonType</a> = 61, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47f713d7ed066e7ff251765bea124a962e">NotSimpleOrMixedElement</a> = 62, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47f4be689fa1416a5cee543c36c2af2bd9">DisallowedSimpleTypeExtension</a> = 63, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e478a2fb7abcce24864901cde5784f2149c">InvalidSimpleContentBase</a> = 64, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47d60daf4c7d6f017e02adb50ed9993c46">InvalidComplexTypeBase</a> = 65, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e9b68315328b5bd0f1ff93631303a924">InvalidChildInSimpleContent</a> = 66, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47a646bdb9ac0618eb1b01ad1e0559baab">InvalidChildInComplexContent</a> = 67, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e475cf5c0b407135880a9f7074590cb1887">AnnotationError</a> = 68, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e58edf226b3f6c9c9ecdf73b341f65ff">DisallowedBaseDerivation</a> = 69, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47aa3987e6101ca2366738c24f8ecee437">SubstitutionRepeated</a> = 70, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4773d87d371633d3978a4c91431147b7a5">UnionRepeated</a> = 71, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4795c8c17057724cc8a6fa72f5a0352280">ExtensionRepeated</a> = 72, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47cd782fdf920913adad821b33c55cab77">ListRepeated</a> = 73, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47a0471b96d5de09054fb5b00e70ad7356">RestrictionRepeated</a> = 74, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47831a18ea28ef6343102d248ab5bca175">InvalidBlockValue</a> = 75, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471541850d12fa05512206f453e8524e3a">InvalidFinalValue</a> = 76, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e477744f0b961cd3134641b126807d53f69">InvalidSubstitutionGroupElement</a> = 77, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e474a59ee3e3a29301fb1156f6a565f3b30">SubstitutionGroupTypeMismatch</a> = 78, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b7c900eb08545762b18cbc3ece920ed6">DuplicateElementDeclaration</a> = 79, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e472ea1859fba3872d3a37a6fe1bf2faa42">InvalidElementBlockValue</a> = 80, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4755a126505312c94c4916255ea8a40211">InvalidElementFinalValue</a> = 81, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4794ba6deb2e6d5cb2ae2c8a4f733f8214">InvalidAttValue</a> = 82, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47aef583806bec6b4245ba54af97205692">AttributeRefContentError</a> = 83, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47a6b8a1a2874fa31909c5f8d16d3effba">DuplicateRefAttribute</a> = 84, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e477488cf0ca2501750a5e64c832db3ac8d">ForbiddenDerivationByRestriction</a> = 85, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e475fe9b2be952cc83949c77fac80c1f2d2">ForbiddenDerivationByExtension</a> = 86, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e475233f33363d88019d6a9daee41d50b48">BaseNotComplexType</a> = 87, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e472b82c6a63af29e4aaefc4cc8580179d3">ImportNamespaceDifference</a> = 88, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e478ec2b442b386bd8de7443048a609262e">ImportRootError</a> = 89, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47dc9146178161d46611d5d179da31584b">DeclarationNoSchemaLocation</a> = 90, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e474bf09de562458addf4ad22128dec9bea">IncludeNamespaceDifference</a> = 91, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47bd4fb8a006718baa485c6a27816c5777">OnlyAnnotationExpected</a> = 92, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47efc4cca03883d9e5e8a59819794227ba">InvalidAttributeContent</a> = 93, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e477f8a7e294e0e21a3b8f815b655e03079">AttributeRequired</a> = 94, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e472a5ac152c7b89fbe4068b9d447d66fc8">AttributeDisallowed</a> = 95, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47909e083c60d135bdd67b61f26cf5b4f5">InvalidMin2MaxOccurs</a> = 96, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e478d8cf8141abb7e18e918a2d0611a7dfe">AnyAttributeContentError</a> = 97, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4716b8cc2b8304b997cdb0fbcf4fbceed1">NoNameGlobalElement</a> = 98, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47747b7e2b49ea31a742b96f667368f9e4">NoCircularDefinition</a> = 99, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4727193d5f8ad92a94916cb475dc179f05">DuplicateGlobalType</a> = 100, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47c04cc8cdc5d0ad77e6b96e0315fcbe54">DuplicateGlobalDeclaration</a> = 101, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e474edf7c3063117b06911399b5b5e96c20">WS_CollapseExpected</a> = 102, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4712f69e6c07aa8419ee28dcff4fb897bc">Import_1_1</a> = 103, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4712024e4d8cbaa7fe0b35af14227e01f1">Import_1_2</a> = 104, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4796dc3d16aca88596367ca87f49cca05e">ElemIDValueConstraint</a> = 105, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47400ea7113569f80f36609d641bdca6d5">NoNotationType</a> = 106, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47fcef4ecd680b68c07c1a8580b7095d3d">EmptiableMixedContent</a> = 107, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471fce4a70b9e5e0cf332e0853d210e127">EmptyComplexRestrictionDerivation</a> = 108, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4729f939961b1b7dbd5fde9d088ca5aea4">MixedOrElementOnly</a> = 109, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e476c436c2f5226809cf117d94116056195">InvalidContentRestriction</a> = 110, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47eaeba02c72f9350babcaf96255812221">ForbiddenDerivation</a> = 111, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b2be5479363e7b15c032e945c1eee446">AtomicItemType</a> = 112, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47746f5469791f1962d990fc6425d9ba02">MemberTypeNoUnion</a> = 113, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47a132a9bde60b94d5aa304cdb89e7bcab">GroupContentError</a> = 114, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47fd192dfd24c05ee3773bc148bd74e9ec">AttGroupContentError</a> = 115, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47c5478434318121c8fff794079a753034">MinMaxOnGroupChild</a> = 116, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47d88471d7a01d98cc37a9bf991435c4ee">DeclarationNotFound</a> = 117, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e475cc2b8bb899ca5cf02765b54c98320c9">AllContentLimited</a> = 118, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e474a1c781d468758c4b5b41270d1e1716f">BadMinMaxAllCT</a> = 119, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471593fca28ab2a7ed004050d8c063c412">BadMinMaxAllElem</a> = 120, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4710e208b462e7435697ed1e19fe39f14f">NoCircularAttGroup</a> = 121, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47a2f8ebe9ec6644a19591b67b7b456891">DuplicateAttInDerivation</a> = 122, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47c3aca6d6db87e52e2b4594151cecfb13">NotExpressibleWildCardIntersection</a> = 123, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e475850f1b6c77a33b029b8f27066547be2">BadAttDerivation_1</a> = 124, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4783e454f3259db4bc7fb817a463fed13f">BadAttDerivation_2</a> = 125, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e479fc647da579f4e645897748e5734c1fb">BadAttDerivation_3</a> = 126, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47c257c42df6158445d51716a02422b75b">BadAttDerivation_4</a> = 127, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47784a0f9125607f4b52b41decfd426881">BadAttDerivation_5</a> = 128, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e476cf7914194e5756e78a37ec88921a3ea">BadAttDerivation_6</a> = 129, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4762a1a9047662bbcee22fc0acff4a4ed8">BadAttDerivation_7</a> = 130, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e479be79d4ed8553d06f3cf7464adfae74e">BadAttDerivation_8</a> = 131, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e477105a0b0c491e3055a0dc132b23273c6">BadAttDerivation_9</a> = 132, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47d74082e17b755be5ee905389134b9e9b">AllContentError</a> = 133, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e55c6c16c53ed0a66c665ad85c61c7ee">RedefineNamespaceDifference</a> = 134, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47366bc21e48f6cb5ae59ddb0f072618ad">Redefine_InvalidSimpleType</a> = 135, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4798d186edb15c4d2927096587ba784e7e">Redefine_InvalidSimpleTypeBase</a> = 136, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47ef320546fdd36a4fc9d2cff80f134377">Redefine_InvalidComplexType</a> = 137, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4799526ac08dcec84ba945b434e96e0dcf">Redefine_InvalidComplexTypeBase</a> = 138, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471d70f0545ccb09ccefc06d7390888d84">Redefine_InvalidGroupMinMax</a> = 139, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4741c1e0ae68189debb579b16669487aef">Redefine_DeclarationNotFound</a> = 140, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e472cc39925f9f84790c5013e944e64cb5e">Redefine_GroupRefCount</a> = 141, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b3e7b7833ebf8d5c0cd53106be1080d3">Redefine_AttGroupRefCount</a> = 142, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e0dce061eb99a47c315dfe328b141f8a">Redefine_InvalidChild</a> = 143, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e470a972bb45162345494d55c3af0f181b6">Notation_InvalidDecl</a> = 144, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47049f33084e76624f70a38946af012912">Notation_DeclNotFound</a> = 145, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b859224441413fb7b3fb387b6ac9d3f7">IC_DuplicateDecl</a> = 146, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47aee8864d840ca529012cd0c8c2b17dc9">IC_BadContent</a> = 147, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47329a034bcf408ebb297f82b63267122f">IC_KeyRefReferNotFound</a> = 148, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47ec26accd72603df44341eff662785a54">IC_KeyRefCardinality</a> = 149, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e474a422c08177f109d53de5486df366200">IC_XPathExprMissing</a> = 150, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47400816c65e61eebc531b3a3251982af5">AttUseCorrect</a> = 151, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4712f6fd785a9e46ff220dcd008b4074bf">AttDeclPropCorrect3</a> = 152, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47f7091bfcc4579b9a0ccdc4189dc0c539">AttDeclPropCorrect5</a> = 153, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47fea59ee31ca2f69149587a4d96afee64">AttGrpPropCorrect3</a> = 154, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4747fd49e3d64ecb1356196781fd9547f2">InvalidTargetNSValue</a> = 155, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4711589472f455f10174162001cdef4258">DisplayErrorMessage</a> = 156, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4741ab4979f1632724dd1ab7086b7cc2f1">XMLException_Error</a> = 157, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e189f69182e58b85c9340e06788ed898">InvalidRedefine</a> = 158, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4723683d9b9779affe1f5a0d1bd59b749c">InvalidNSReference</a> = 159, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47174b86a8eb83b95d41bfecdb2376a8eb">NotAllContent</a> = 160, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47ed42d0e7daf13c71ad107ee6e2ddba0f">InvalidAnnotationContent</a> = 161, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47634c2452082394cb2101aff6efc11eaa">InvalidFacetName</a> = 162, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e478ce2c35e2108790d1e4d5717df2dced9">InvalidXMLSchemaRoot</a> = 163, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4748b58d2749681ad7e0fd455310ab54d1">CircularSubsGroup</a> = 164, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e477cdaee9e4e37f7e1f1a3cc688f9b0abb">SubsGroupMemberAbstract</a> = 165, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471cab290b7d6732cd49192a26fada4f08">ELTSchemaNS</a> = 166, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e478ec622bb0ac63924ef19cb709ce14a25">InvalidAttTNS</a> = 167, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e474f99c75a4dfd30e9c04554c33fdd904d">NSDeclInvalid</a> = 168, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47d5316575f249264eb3e211951c6c199c">DOMLevel1Node</a> = 169, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e478928b945c4516a1a76fb644be9549548">E_HighBounds</a> = 170, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4712468d943149ccad1eeb70857b9b0aef">F_LowBounds</a> = 171, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e470369efa708c3d6ce9a7a14507cd4a906">EntityExpansionLimitExceeded</a> = 172, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47be4312d8290ca9c39dfbebc81a2a10c3">ExpectedCommentOrCDATA</a> = 173, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47c62425411ea26907d9c3ba2ed24b7bbd">ExpectedAttrName</a> = 174, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e470839b28a5686137633c3f5c1d17e749b">ExpectedNotationName</a> = 175, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4724538a662b1482c91232af612db32e93">NoRepInMixed</a> = 176, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e00a82982024dbe82adbf3435c1109d6">BadDefAttrDecl</a> = 177, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e75345db3dd0973ab500076393be4504">ExpectedDefAttrDecl</a> = 178, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e2c6341c40463fc0bebd265a63bb2179">AttListSyntaxError</a> = 179, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e475d98e31897cf60b9573f30bec198c046">ExpectedEqSign</a> = 180, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47a57792c912ee13a52082d743fbac2819">DupAttrName</a> = 181, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4723b23dce94697ec83c589236a183e912">BadIdForXMLLangAttr</a> = 182, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e470130029f5eae63cecce983966514693a">ExpectedElementName</a> = 183, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e476a6cacdac625361d01714e0766aa85fa">MustStartWithXMLDecl</a> = 184, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47841b75ac806e9b39db2b97db77c26489">CommentsMustStartWith</a> = 185, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471a7d069610584347e549e075f06a6c2d">InvalidDocumentStructure</a> = 186, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4785dc49016a6bcc9100d98b55a3d1ca41">ExpectedDeclString</a> = 187, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47328d2685493a7a9d848b38a601725db5">BadXMLVersion</a> = 188, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e470fdd358e4a47e9c18ee84afca2e72d6d">UnsupportedXMLVersion</a> = 189, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47740cbbbb7f906b166996d0bb7df6f8aa">UnterminatedXMLDecl</a> = 190, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4753c03ffba304a616b6e4dab51d2bee56">BadXMLEncoding</a> = 191, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47d74b3a2a890056beccf57ff7c300888e">BadStandalone</a> = 192, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47d3c17e0880f917c5f0c717899b54f810">UnterminatedComment</a> = 193, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47c8f0b0f570ec8b58140004a604467004">PINameExpected</a> = 194, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47997d71033dd4a882fd04d112cdbec725">UnterminatedPI</a> = 195, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e472700b0d17236237be514eacbe226bec6">InvalidCharacter</a> = 196, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b89a3ead3eabb5c2963c9be1fdac19e3">UnexpectedTextBeforeRoot</a> = 197, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4731e5a831988f6f65f853c8e506072e71">UnterminatedStartTag</a> = 198, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e473819807917c055cfd40fbdf7d684f480">ExpectedAttrValue</a> = 199, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4772d25af3fdbb5e7d8e6e744ace7d3e4a">UnterminatedEndTag</a> = 200, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471f0ff6d002c55f48478e2be8396fbdbd">ExpectedAttributeType</a> = 201, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4734d17b77c08595f2b469e921835c6129">ExpectedEndOfTagX</a> = 202, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47975d2945e75b5abd794b5156580da225">ExpectedMarkup</a> = 203, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47970ef9f365f25d224a7e8677e7cf6094">NotValidAfterContent</a> = 204, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47f074b7c4ba5bc565d04f2253714dc65a">ExpectedComment</a> = 205, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b44f38dcaf56390646d00984886fd4aa">ExpectedCommentOrPI</a> = 206, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b7f94a54d3b60e0cdc7a7676fe52e5bd">ExpectedWhitespace</a> = 207, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e479635ff7c4589650556d35a6cddbbd12e">NoRootElemInDOCTYPE</a> = 208, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b0eff77e462d776a91a7997953e7b91b">ExpectedQuotedString</a> = 209, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e564661b7da71a9718b1ae673c87fef7">ExpectedPublicId</a> = 210, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47ca87b7f883bcc30a17f0c539a13515d3">InvalidPublicIdChar</a> = 211, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47d70f61412f09fd325b4a6f02c9b28a4d">UnterminatedDOCTYPE</a> = 212, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471e6a277b755897ce09ec7d5cf7aa1bb7">InvalidCharacterInIntSubset</a> = 213, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471d085a488820c79bb38a7d5bccdc790e">ExpectedCDATA</a> = 214, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4747c9000d71a059684c27f2ed69e27753">InvalidInitialNameChar</a> = 215, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e475ab1867d0376b349accfcbcb060941b7">InvalidNameChar</a> = 216, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4767d38876cfa22b0194f865a3c46323f9">UnexpectedWhitespace</a> = 217, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4735d8ed4a03712a306369ff5771bec5f9">InvalidCharacterInAttrValue</a> = 218, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4755b1a1c12ae29a5337969f155b53b3d8">ExpectedMarkupDecl</a> = 219, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4707803d6de93ad2c5bcd4f183a94d6179">TextDeclNotLegalHere</a> = 220, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4776f8c93de7e31051a1e2e2510fa3d9c5">ConditionalSectInIntSubset</a> = 221, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47412b616f4f76a8f1aef856c212de68fe">ExpectedPEName</a> = 222, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47a9db370434622e9caa4c96da460a3340">UnterminatedEntityDecl</a> = 223, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4763a6c1637abe18b135cee00c12687639">InvalidCharacterRef</a> = 224, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47db2e48f1d4f1edea3947cc4bff3c25f9">UnterminatedCharRef</a> = 225, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4730747fe29f21cfda36cb5cdfd78a6424">ExpectedEntityRefName</a> = 226, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e475b8e3ccb2970e16f428c7a0429393d3c">EntityNotFound</a> = 227, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e478c0e33ec92efd4d21b2679a85f30a6c7">NoUnparsedEntityRefs</a> = 228, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47f28460fa5a7a9cfcfdd5ff992a646a9b">UnterminatedEntityRef</a> = 229, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4779523c60f21afe54d3d10a66f15f3de5">RecursiveEntity</a> = 230, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4765c9de2d64b2e5e24d8d4684a4db58d1">PartialMarkupInEntity</a> = 231, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47ff0b9ab8a865c4ca0f24fc4ca506126a">UnterminatedElementDecl</a> = 232, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e473070fe07595aa56ba011950f0d719bd4">ExpectedContentSpecExpr</a> = 233, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47bb606c7b91aadf83d03e89bb70927cc0">ExpectedAsterisk</a> = 234, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47c1210ba1345635f8367e55895fd6f7e6">UnterminatedContentModel</a> = 235, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e477594972038398038d64a1a3199706578">ExpectedSystemId</a> = 236, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47afa83372dea4f2da29f0706500187106">ExpectedSystemOrPublicId</a> = 237, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e475f014acdb415a3d583abe4df2cf01799">UnterminatedNotationDecl</a> = 238, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e476f79fa484fb14879c48723269688774c">ExpectedSeqChoiceLeaf</a> = 239, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e478894af48093aef578664b0e7867f5970">ExpectedChoiceOrCloseParen</a> = 240, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4730cb83ebab69ba250ed0b60a6814e4c2">ExpectedSeqOrCloseParen</a> = 241, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e479c43c0b680490f8ffdf51bcc858af4b8">ExpectedEnumValue</a> = 242, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4745ff9a3ccd6cf47bbb0376b4b05b1adc">ExpectedEnumSepOrParen</a> = 243, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4764ecd7c69de1d4fddee1f34fe0b86465">UnterminatedEntityLiteral</a> = 244, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4731d85bb2daa5eaf27ff7c6255062d893">MoreEndThanStartTags</a> = 245, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47040be16f9707af3148e9b77771c02a73">ExpectedOpenParen</a> = 246, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4769f8c28109cb461ac8332d79dd4f081e">AttrAlreadyUsedInSTag</a> = 247, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4770ee81538f1a13df4483d369927c92dc">BracketInAttrValue</a> = 248, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47fb395e8b6c4b6433f5a0700b07fc035a">Expected2ndSurrogateChar</a> = 249, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4796f51ada7aa1c31f61b0c194fa2b984f">ExpectedEndOfConditional</a> = 250, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4753907cab15bf903765c8038a7943bacb">ExpectedIncOrIgn</a> = 251, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e478e9914a40c7568ab66616185d3eb2a27">ExpectedINCLUDEBracket</a> = 252, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47debdfeb630b16f7034716a2501cb1c9d">ExpectedTextDecl</a> = 253, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47ae102a492e900b42ac1fb439129aa3b2">ExpectedXMLDecl</a> = 254, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b1e5742780e8761ccc3c8100f4e6ea50">UnexpectedEOE</a> = 255, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4721dbbf0d3e4db1a04504c89a7271d0d3">PEPropogated</a> = 256, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e479e65d45bfbe28bd8cec4f106702f41fe">ExtraCloseSquare</a> = 257, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4753618882a91fa2eb1e51000cbb3942dd">PERefInMarkupInIntSubset</a> = 258, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e479a02a664ad6a630c0b696a6773b6e97b">EntityPropogated</a> = 259, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47712107a0d9d506e16671afb6e3f2afda">ExpectedNumericalCharRef</a> = 260, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e472c690c88be88d47d2569864c4fc6667d">ExpectedOpenSquareBracket</a> = 261, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e478acc275809b4d2af2a499a0a99aacbab">BadSequenceInCharData</a> = 262, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47891fe4c5df615f38f34f8c3ce79e840b">IllegalSequenceInComment</a> = 263, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47eeba55eae592936faa12ace3b3ed5487">UnterminatedCDATASection</a> = 264, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e477a96f08f9a252075c06622afd2e750a5">ExpectedNDATA</a> = 265, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47f3a0616e646e683611a2eb1c43508a54">NDATANotValidForPE</a> = 266, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b76210a29f5b170456f80c27a7cce6d5">HexRadixMustBeLowerCase</a> = 267, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e478998f96b731e92c1e46e98f5e0cace88">DeclStringRep</a> = 268, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47d5fa550236de1fb5b079f637743f60c9">DeclStringsInWrongOrder</a> = 269, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e24b51294a4e69541752fdf0956a4f06">NoExtRefsInAttValue</a> = 270, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4708b7e8d27f479a872c648961ed876cc9">XMLDeclMustBeLowerCase</a> = 271, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47c0ba323cf061cd4b595932b1e2df3927">ExpectedEntityValue</a> = 272, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4737bca0a615800d67c9901325c7645484">BadDigitForRadix</a> = 273, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47ae7b790966a35e52a6f2dfd15cc6d97d">EndedWithTagsOnStack</a> = 274, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4716ed86daa03603517d2cc676a066bd65">AmbiguousContentModel</a> = 275, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b2bfd86451b10a41ea11af7af81ee75b">NestedCDATA</a> = 276, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e479d053e078c2e5c56300794e1c5145844">UnknownPrefix</a> = 277, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47326a1124d6270b396cfd3a1b68c177d6">PartialTagMarkupError</a> = 278, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e474beb6491b1afbc19e72b9c960313e435">EmptyMainEntity</a> = 279, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471d06bf38fe7b0bfe5f100f2a9a68bd48">CDATAOutsideOfContent</a> = 280, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e476d4f03b83b4ae9c4d3250b0b51fddf1a">OnlyCharRefsAllowedHere</a> = 281, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e470a1a8e38d5533ede811618e1f40318c6">Unexpected2ndSurrogateChar</a> = 282, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47256bbff1cfd0feb02ac8b71d88ee3543">NoPIStartsWithXML</a> = 283, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47055a5e5b2463fb021e23d60bda1e9b7b">XMLDeclMustBeFirst</a> = 284, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47bc1f19ec820d8e7fc5512f1067f62064">XMLVersionRequired</a> = 285, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471c6807c8170aeef99103c2766e07a675">StandaloneNotLegal</a> = 286, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47a903a0771dda905dc74bd33304aaf7ba">EncodingRequired</a> = 287, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e470ba7b84abf8d6007ce6d732f8b3a7130">TooManyColonsInName</a> = 288, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47cb636a4d70a299636baa5f3818b0b871">InvalidColonPos</a> = 289, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e476b8b5b4f7451084319cac1aca31b45c7">ColonNotLegalWithNS</a> = 290, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47b2c240c710644bf7250f3a2c10fe26c0">SysException</a> = 291, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47fcbc0f2ca6c41b3a21eb2837500e25ba">XMLException_Fatal</a> = 292, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47912fb67fa2b7f12b63c6315fa450ca7a">UnexpectedEOF</a> = 293, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47e7a34247bfb93c98dfeef2f53bfe40e8">UnexpectedError</a> = 294, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47f7c52324e6cc3e1e56de270970e8b76c">BadSchemaLocation</a> = 295, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47c3fe1a44263b4ebc37f0acf5a71d7fd3">NoGrammarResolver</a> = 296, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e474df8d2f6575bec81544393a0a18d357a">SchemaScanFatalError</a> = 297, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e477d8cf838bd3244673e21dd6da59ff871">IllegalRefInStandalone</a> = 298, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47f3fa65ebb794f7db947e1ed9ef0a69b3">PEBetweenDecl</a> = 299, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471723473c1c7da40af4d7ba1f4d146bab">NoEmptyStrNamespace</a> = 300, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e475db7c623098cbdd81173b35aff462751">NoUseOfxmlnsAsPrefix</a> = 301, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e477e7be94da13de6afd8f20c5279112106">NoUseOfxmlnsURI</a> = 302, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e476988883e69fad1384254b596b51a4166">PrefixXMLNotMatchXMLURI</a> = 303, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4779b026293565747f66a176f483d66838">XMLURINotMatchXMLPrefix</a> = 304, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e471a956272fb4e8ef3219d7dc39ea1881f">NoXMLNSAsElementPrefix</a> = 305, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47d49672a224db9fafc6ebd5d7aee42142">CT_SimpleTypeChildRequired</a> = 306, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e4742846ef9b2bf5aa295ab667d5ac2d48f">InvalidRootElemInDOCTYPE</a> = 307, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e470ee9d88900461695fd703844ee8a9179">InvalidElementName</a> = 308, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47f2f88286ecec87a598c233f535cf64f7">InvalidAttrName</a> = 309, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47a3017ca39b601a9a4fecbe9c6456a355">InvalidEntityRefName</a> = 310, <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47dc1c7719e764b53069f9bce63a86a8c5">DuplicateDocTypeDecl</a> = 311, <br> &nbsp;&nbsp;<a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e479d6c9e02204312111c5c47f2493ee8e1">F_HighBounds</a> = 312 <br> }</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLErrs.html#0bd81401b2211f0d45582eb2f3cf6aa3">isFatal</a> (const <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47">XMLErrs::Codes</a> toCheck)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLErrs.html#924a7b7c60bc6b8d70f22c05e27adc74">isWarning</a> (const <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47">XMLErrs::Codes</a> toCheck)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLErrs.html#b8b064984e043c64764f3c8ad79fd894">isError</a> (const <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47">XMLErrs::Codes</a> toCheck)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <br> <a class="el" href="classXMLErrorReporter.html#db34298ba3609a10c52328e5050d4434">XMLErrorReporter::ErrTypes</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLErrs.html#3a1f7b54e8812a36c8b6563e55f8c87f">errorType</a> (const <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47">XMLErrs::Codes</a> toCheck)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <br> <a class="el" href="classDOMError.html#e103dba9019c82cbd9ce0afbf30cdb1a">DOMError::ErrorSeverity</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classXMLErrs.html#1e7fdefde07af9fb3af949ba6ba59ce7">DOMErrorType</a> (const <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47">XMLErrs::Codes</a> toCheck)</td></tr> </table> <hr><h2>Member Enumeration Documentation</h2> <a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47"></a><!-- doxytag: member="XMLErrs::Codes" ref="efe9817ef5442905d86fd17cb0c35e47" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47">XMLErrs::Codes</a> </td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b>Enumerator: </b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47d600753bb6c87207a645a91542158510"></a><!-- doxytag: member="NoError" ref="efe9817ef5442905d86fd17cb0c35e47d600753bb6c87207a645a91542158510" args="" -->NoError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e479539cdf8faef12f406181ee67ae666b2"></a><!-- doxytag: member="W_LowBounds" ref="efe9817ef5442905d86fd17cb0c35e479539cdf8faef12f406181ee67ae666b2" args="" -->W_LowBounds</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e475076b867b4a4b635eaa8e5cf57d57fad"></a><!-- doxytag: member="NotationAlreadyExists" ref="efe9817ef5442905d86fd17cb0c35e475076b867b4a4b635eaa8e5cf57d57fad" args="" -->NotationAlreadyExists</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e474c43cf15946134db6b18d4354f6bc8c4"></a><!-- doxytag: member="AttListAlreadyExists" ref="efe9817ef5442905d86fd17cb0c35e474c43cf15946134db6b18d4354f6bc8c4" args="" -->AttListAlreadyExists</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e98d4a35db18abbf0e70f0b11dfa6c39"></a><!-- doxytag: member="ContradictoryEncoding" ref="efe9817ef5442905d86fd17cb0c35e47e98d4a35db18abbf0e70f0b11dfa6c39" args="" -->ContradictoryEncoding</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47af19d51ab7bb432b75af1d8a12765b66"></a><!-- doxytag: member="UndeclaredElemInCM" ref="efe9817ef5442905d86fd17cb0c35e47af19d51ab7bb432b75af1d8a12765b66" args="" -->UndeclaredElemInCM</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b083dad42da8253aeda628b86deceeba"></a><!-- doxytag: member="UndeclaredElemInAttList" ref="efe9817ef5442905d86fd17cb0c35e47b083dad42da8253aeda628b86deceeba" args="" -->UndeclaredElemInAttList</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4763516dddcebd91e0de5c0a04c94482c5"></a><!-- doxytag: member="XMLException_Warning" ref="efe9817ef5442905d86fd17cb0c35e4763516dddcebd91e0de5c0a04c94482c5" args="" -->XMLException_Warning</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e470df0efc92f3ef411adfce18f5709d758"></a><!-- doxytag: member="W_HighBounds" ref="efe9817ef5442905d86fd17cb0c35e470df0efc92f3ef411adfce18f5709d758" args="" -->W_HighBounds</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e479cd10529f23c19c4d1f2302415919f64"></a><!-- doxytag: member="E_LowBounds" ref="efe9817ef5442905d86fd17cb0c35e479cd10529f23c19c4d1f2302415919f64" args="" -->E_LowBounds</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47abd845136f6ca618e42c17f746ee5333"></a><!-- doxytag: member="FeatureUnsupported" ref="efe9817ef5442905d86fd17cb0c35e47abd845136f6ca618e42c17f746ee5333" args="" -->FeatureUnsupported</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47514fffa5bf3c10913a66921264d8fcb3"></a><!-- doxytag: member="TopLevelNoNameComplexType" ref="efe9817ef5442905d86fd17cb0c35e47514fffa5bf3c10913a66921264d8fcb3" args="" -->TopLevelNoNameComplexType</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e476fffb37d3f0d68f617c8e4326defa5d6"></a><!-- doxytag: member="TopLevelNoNameAttribute" ref="efe9817ef5442905d86fd17cb0c35e476fffb37d3f0d68f617c8e4326defa5d6" args="" -->TopLevelNoNameAttribute</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4781a2e4595b69cbc0ca8d4df5b7045faf"></a><!-- doxytag: member="NoNameRefAttribute" ref="efe9817ef5442905d86fd17cb0c35e4781a2e4595b69cbc0ca8d4df5b7045faf" args="" -->NoNameRefAttribute</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47faa54bdcfe43a86cb54b64559be3aa3c"></a><!-- doxytag: member="GlobalNoNameElement" ref="efe9817ef5442905d86fd17cb0c35e47faa54bdcfe43a86cb54b64559be3aa3c" args="" -->GlobalNoNameElement</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e285a0aedac1bb539141699b73b34a5a"></a><!-- doxytag: member="NoNameRefElement" ref="efe9817ef5442905d86fd17cb0c35e47e285a0aedac1bb539141699b73b34a5a" args="" -->NoNameRefElement</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4723e2a41e72e6c689c5bf4c2f91aa9299"></a><!-- doxytag: member="NoNameRefGroup" ref="efe9817ef5442905d86fd17cb0c35e4723e2a41e72e6c689c5bf4c2f91aa9299" args="" -->NoNameRefGroup</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47ef298b232e672392ffc87b1583afbbed"></a><!-- doxytag: member="NoNameRefAttGroup" ref="efe9817ef5442905d86fd17cb0c35e47ef298b232e672392ffc87b1583afbbed" args="" -->NoNameRefAttGroup</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471e8d973a5b48856a08fff958d9d29ca6"></a><!-- doxytag: member="AnonComplexTypeWithName" ref="efe9817ef5442905d86fd17cb0c35e471e8d973a5b48856a08fff958d9d29ca6" args="" -->AnonComplexTypeWithName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e7e0f8c5d905f11ad6362ed3a8b64e86"></a><!-- doxytag: member="AnonSimpleTypeWithName" ref="efe9817ef5442905d86fd17cb0c35e47e7e0f8c5d905f11ad6362ed3a8b64e86" args="" -->AnonSimpleTypeWithName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e470d50f56b1385af6a88379ae16a216c21"></a><!-- doxytag: member="InvalidElementContent" ref="efe9817ef5442905d86fd17cb0c35e470d50f56b1385af6a88379ae16a216c21" args="" -->InvalidElementContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47aebdf29ad405fe11a7d9e5beab1ff816"></a><!-- doxytag: member="UntypedElement" ref="efe9817ef5442905d86fd17cb0c35e47aebdf29ad405fe11a7d9e5beab1ff816" args="" -->UntypedElement</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4737b871c94bca1d9a1fd539ae9868e406"></a><!-- doxytag: member="SimpleTypeContentError" ref="efe9817ef5442905d86fd17cb0c35e4737b871c94bca1d9a1fd539ae9868e406" args="" -->SimpleTypeContentError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47c2c2f23294e692184cf7aa5c809a4dfa"></a><!-- doxytag: member="ExpectedSimpleTypeInList" ref="efe9817ef5442905d86fd17cb0c35e47c2c2f23294e692184cf7aa5c809a4dfa" args="" -->ExpectedSimpleTypeInList</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e922d0293ad992a423a0c47c053bea40"></a><!-- doxytag: member="ListUnionRestrictionError" ref="efe9817ef5442905d86fd17cb0c35e47e922d0293ad992a423a0c47c053bea40" args="" -->ListUnionRestrictionError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47aa2339713055539cf5b36ca69189a654"></a><!-- doxytag: member="SimpleTypeDerivationByListError" ref="efe9817ef5442905d86fd17cb0c35e47aa2339713055539cf5b36ca69189a654" args="" -->SimpleTypeDerivationByListError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47d92d1a2d4596cf41c750f2a89ab6310c"></a><!-- doxytag: member="ExpectedSimpleTypeInRestriction" ref="efe9817ef5442905d86fd17cb0c35e47d92d1a2d4596cf41c750f2a89ab6310c" args="" -->ExpectedSimpleTypeInRestriction</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e470769e23ddb6032833991577b29c3a1ab"></a><!-- doxytag: member="DuplicateFacet" ref="efe9817ef5442905d86fd17cb0c35e470769e23ddb6032833991577b29c3a1ab" args="" -->DuplicateFacet</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47c6176c27e6a8fc1c5ec427ccbd557362"></a><!-- doxytag: member="ExpectedSimpleTypeInUnion" ref="efe9817ef5442905d86fd17cb0c35e47c6176c27e6a8fc1c5ec427ccbd557362" args="" -->ExpectedSimpleTypeInUnion</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47a2ad95251b44dd947228e3cb72f7da1e"></a><!-- doxytag: member="EmptySimpleTypeContent" ref="efe9817ef5442905d86fd17cb0c35e47a2ad95251b44dd947228e3cb72f7da1e" args="" -->EmptySimpleTypeContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47f33828749c033a0bbe749e62bfd539b6"></a><!-- doxytag: member="InvalidSimpleContent" ref="efe9817ef5442905d86fd17cb0c35e47f33828749c033a0bbe749e62bfd539b6" args="" -->InvalidSimpleContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47dc316416e0976c304ee39ce51d8de778"></a><!-- doxytag: member="UnspecifiedBase" ref="efe9817ef5442905d86fd17cb0c35e47dc316416e0976c304ee39ce51d8de778" args="" -->UnspecifiedBase</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47bba1cfe7381341b3c0cd02f8aa5b089b"></a><!-- doxytag: member="InvalidComplexContent" ref="efe9817ef5442905d86fd17cb0c35e47bba1cfe7381341b3c0cd02f8aa5b089b" args="" -->InvalidComplexContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e478c868c7892ac714e867667e912cbace2"></a><!-- doxytag: member="SchemaElementContentError" ref="efe9817ef5442905d86fd17cb0c35e478c868c7892ac714e867667e912cbace2" args="" -->SchemaElementContentError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4758225726923e3aec4211294e78502866"></a><!-- doxytag: member="ContentError" ref="efe9817ef5442905d86fd17cb0c35e4758225726923e3aec4211294e78502866" args="" -->ContentError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b3ab6c01085ff1ab702f0fcbc121f9d6"></a><!-- doxytag: member="UnknownSimpleType" ref="efe9817ef5442905d86fd17cb0c35e47b3ab6c01085ff1ab702f0fcbc121f9d6" args="" -->UnknownSimpleType</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e476b67ab7f802330afe805f3a2068a1811"></a><!-- doxytag: member="UnknownComplexType" ref="efe9817ef5442905d86fd17cb0c35e476b67ab7f802330afe805f3a2068a1811" args="" -->UnknownComplexType</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47c641f87ae9e54e34395d8caf646301a2"></a><!-- doxytag: member="UnresolvedPrefix" ref="efe9817ef5442905d86fd17cb0c35e47c641f87ae9e54e34395d8caf646301a2" args="" -->UnresolvedPrefix</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47cfa6055e90d90c6ef6079562e547e6d8"></a><!-- doxytag: member="RefElementNotFound" ref="efe9817ef5442905d86fd17cb0c35e47cfa6055e90d90c6ef6079562e547e6d8" args="" -->RefElementNotFound</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e474528739f9bccc8c158839d328f913406"></a><!-- doxytag: member="TypeNotFound" ref="efe9817ef5442905d86fd17cb0c35e474528739f9bccc8c158839d328f913406" args="" -->TypeNotFound</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4705f9f74afcc7ee552f3286e02e5b4e00"></a><!-- doxytag: member="TopLevelAttributeNotFound" ref="efe9817ef5442905d86fd17cb0c35e4705f9f74afcc7ee552f3286e02e5b4e00" args="" -->TopLevelAttributeNotFound</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e476c0059569e35aa4bddd4928deced0f42"></a><!-- doxytag: member="InvalidChildInComplexType" ref="efe9817ef5442905d86fd17cb0c35e476c0059569e35aa4bddd4928deced0f42" args="" -->InvalidChildInComplexType</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47186b391944ceda159b5c90a90ddeb577"></a><!-- doxytag: member="BaseTypeNotFound" ref="efe9817ef5442905d86fd17cb0c35e47186b391944ceda159b5c90a90ddeb577" args="" -->BaseTypeNotFound</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4754ad1bee6f19e4f9713fb6c43870a750"></a><!-- doxytag: member="NoAttributeInSchema" ref="efe9817ef5442905d86fd17cb0c35e4754ad1bee6f19e4f9713fb6c43870a750" args="" -->NoAttributeInSchema</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e477a0e637857c83a3828f0adb6e544b2c2"></a><!-- doxytag: member="DatatypeValidatorCreationError" ref="efe9817ef5442905d86fd17cb0c35e477a0e637857c83a3828f0adb6e544b2c2" args="" -->DatatypeValidatorCreationError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47acbf9be3347d8b14335a1faa85176426"></a><!-- doxytag: member="InvalidChildFollowingSimpleContent" ref="efe9817ef5442905d86fd17cb0c35e47acbf9be3347d8b14335a1faa85176426" args="" -->InvalidChildFollowingSimpleContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47516b86f033ad8ba7cb534a104ba2c2ac"></a><!-- doxytag: member="InvalidChildFollowingConplexContent" ref="efe9817ef5442905d86fd17cb0c35e47516b86f033ad8ba7cb534a104ba2c2ac" args="" -->InvalidChildFollowingConplexContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4705ebb516bdf49eef2229eb0f4af17a93"></a><!-- doxytag: member="InvalidComplexTypeBlockValue" ref="efe9817ef5442905d86fd17cb0c35e4705ebb516bdf49eef2229eb0f4af17a93" args="" -->InvalidComplexTypeBlockValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47ae5759590db5d37e2b913a120837df24"></a><!-- doxytag: member="InvalidComplexTypeFinalValue" ref="efe9817ef5442905d86fd17cb0c35e47ae5759590db5d37e2b913a120837df24" args="" -->InvalidComplexTypeFinalValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47df07fd349badfaa3e98cd70fcd184e1f"></a><!-- doxytag: member="AttributeDefaultFixedValue" ref="efe9817ef5442905d86fd17cb0c35e47df07fd349badfaa3e98cd70fcd184e1f" args="" -->AttributeDefaultFixedValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e470f328255b8ea3d60915b2cc85910d6a2"></a><!-- doxytag: member="NotOptionalDefaultAttValue" ref="efe9817ef5442905d86fd17cb0c35e470f328255b8ea3d60915b2cc85910d6a2" args="" -->NotOptionalDefaultAttValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e477f1e222f00bbe0c15e39049298ee2627"></a><!-- doxytag: member="LocalAttributeWithNameRef" ref="efe9817ef5442905d86fd17cb0c35e477f1e222f00bbe0c15e39049298ee2627" args="" -->LocalAttributeWithNameRef</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e472d75f1a678b6a9bea8c58cbefbd9dfab"></a><!-- doxytag: member="GlobalAttributeWithNameRef" ref="efe9817ef5442905d86fd17cb0c35e472d75f1a678b6a9bea8c58cbefbd9dfab" args="" -->GlobalAttributeWithNameRef</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47adbc0833fde3d05334aad4d5774be89e"></a><!-- doxytag: member="DuplicateAttribute" ref="efe9817ef5442905d86fd17cb0c35e47adbc0833fde3d05334aad4d5774be89e" args="" -->DuplicateAttribute</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47c84909aba94838cc84f819820b99186e"></a><!-- doxytag: member="AttributeWithTypeAndSimpleType" ref="efe9817ef5442905d86fd17cb0c35e47c84909aba94838cc84f819820b99186e" args="" -->AttributeWithTypeAndSimpleType</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e472d4e5c5c8759fc9e3fae50407c792ac8"></a><!-- doxytag: member="AttributeSimpleTypeNotFound" ref="efe9817ef5442905d86fd17cb0c35e472d4e5c5c8759fc9e3fae50407c792ac8" args="" -->AttributeSimpleTypeNotFound</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e473df224e7478b476752312055984d14bc"></a><!-- doxytag: member="ElementWithFixedAndDefault" ref="efe9817ef5442905d86fd17cb0c35e473df224e7478b476752312055984d14bc" args="" -->ElementWithFixedAndDefault</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47943822dc971df7e72871c516aed71e41"></a><!-- doxytag: member="DeclarationWithNameRef" ref="efe9817ef5442905d86fd17cb0c35e47943822dc971df7e72871c516aed71e41" args="" -->DeclarationWithNameRef</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e475027c7e1fcd40b6e48207926a19f9802"></a><!-- doxytag: member="BadAttWithRef" ref="efe9817ef5442905d86fd17cb0c35e475027c7e1fcd40b6e48207926a19f9802" args="" -->BadAttWithRef</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e472ddc9a6e40a2b8b6da50e41bcdfc759e"></a><!-- doxytag: member="InvalidDeclarationName" ref="efe9817ef5442905d86fd17cb0c35e472ddc9a6e40a2b8b6da50e41bcdfc759e" args="" -->InvalidDeclarationName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47dba0ecab39b4d0c3db4393e5793a65d9"></a><!-- doxytag: member="GlobalElementWithRef" ref="efe9817ef5442905d86fd17cb0c35e47dba0ecab39b4d0c3db4393e5793a65d9" args="" -->GlobalElementWithRef</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47899b81dd2bedaf0ea4095147b9d87e63"></a><!-- doxytag: member="ElementWithTypeAndAnonType" ref="efe9817ef5442905d86fd17cb0c35e47899b81dd2bedaf0ea4095147b9d87e63" args="" -->ElementWithTypeAndAnonType</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47f713d7ed066e7ff251765bea124a962e"></a><!-- doxytag: member="NotSimpleOrMixedElement" ref="efe9817ef5442905d86fd17cb0c35e47f713d7ed066e7ff251765bea124a962e" args="" -->NotSimpleOrMixedElement</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47f4be689fa1416a5cee543c36c2af2bd9"></a><!-- doxytag: member="DisallowedSimpleTypeExtension" ref="efe9817ef5442905d86fd17cb0c35e47f4be689fa1416a5cee543c36c2af2bd9" args="" -->DisallowedSimpleTypeExtension</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e478a2fb7abcce24864901cde5784f2149c"></a><!-- doxytag: member="InvalidSimpleContentBase" ref="efe9817ef5442905d86fd17cb0c35e478a2fb7abcce24864901cde5784f2149c" args="" -->InvalidSimpleContentBase</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47d60daf4c7d6f017e02adb50ed9993c46"></a><!-- doxytag: member="InvalidComplexTypeBase" ref="efe9817ef5442905d86fd17cb0c35e47d60daf4c7d6f017e02adb50ed9993c46" args="" -->InvalidComplexTypeBase</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e9b68315328b5bd0f1ff93631303a924"></a><!-- doxytag: member="InvalidChildInSimpleContent" ref="efe9817ef5442905d86fd17cb0c35e47e9b68315328b5bd0f1ff93631303a924" args="" -->InvalidChildInSimpleContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47a646bdb9ac0618eb1b01ad1e0559baab"></a><!-- doxytag: member="InvalidChildInComplexContent" ref="efe9817ef5442905d86fd17cb0c35e47a646bdb9ac0618eb1b01ad1e0559baab" args="" -->InvalidChildInComplexContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e475cf5c0b407135880a9f7074590cb1887"></a><!-- doxytag: member="AnnotationError" ref="efe9817ef5442905d86fd17cb0c35e475cf5c0b407135880a9f7074590cb1887" args="" -->AnnotationError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e58edf226b3f6c9c9ecdf73b341f65ff"></a><!-- doxytag: member="DisallowedBaseDerivation" ref="efe9817ef5442905d86fd17cb0c35e47e58edf226b3f6c9c9ecdf73b341f65ff" args="" -->DisallowedBaseDerivation</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47aa3987e6101ca2366738c24f8ecee437"></a><!-- doxytag: member="SubstitutionRepeated" ref="efe9817ef5442905d86fd17cb0c35e47aa3987e6101ca2366738c24f8ecee437" args="" -->SubstitutionRepeated</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4773d87d371633d3978a4c91431147b7a5"></a><!-- doxytag: member="UnionRepeated" ref="efe9817ef5442905d86fd17cb0c35e4773d87d371633d3978a4c91431147b7a5" args="" -->UnionRepeated</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4795c8c17057724cc8a6fa72f5a0352280"></a><!-- doxytag: member="ExtensionRepeated" ref="efe9817ef5442905d86fd17cb0c35e4795c8c17057724cc8a6fa72f5a0352280" args="" -->ExtensionRepeated</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47cd782fdf920913adad821b33c55cab77"></a><!-- doxytag: member="ListRepeated" ref="efe9817ef5442905d86fd17cb0c35e47cd782fdf920913adad821b33c55cab77" args="" -->ListRepeated</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47a0471b96d5de09054fb5b00e70ad7356"></a><!-- doxytag: member="RestrictionRepeated" ref="efe9817ef5442905d86fd17cb0c35e47a0471b96d5de09054fb5b00e70ad7356" args="" -->RestrictionRepeated</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47831a18ea28ef6343102d248ab5bca175"></a><!-- doxytag: member="InvalidBlockValue" ref="efe9817ef5442905d86fd17cb0c35e47831a18ea28ef6343102d248ab5bca175" args="" -->InvalidBlockValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471541850d12fa05512206f453e8524e3a"></a><!-- doxytag: member="InvalidFinalValue" ref="efe9817ef5442905d86fd17cb0c35e471541850d12fa05512206f453e8524e3a" args="" -->InvalidFinalValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e477744f0b961cd3134641b126807d53f69"></a><!-- doxytag: member="InvalidSubstitutionGroupElement" ref="efe9817ef5442905d86fd17cb0c35e477744f0b961cd3134641b126807d53f69" args="" -->InvalidSubstitutionGroupElement</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e474a59ee3e3a29301fb1156f6a565f3b30"></a><!-- doxytag: member="SubstitutionGroupTypeMismatch" ref="efe9817ef5442905d86fd17cb0c35e474a59ee3e3a29301fb1156f6a565f3b30" args="" -->SubstitutionGroupTypeMismatch</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b7c900eb08545762b18cbc3ece920ed6"></a><!-- doxytag: member="DuplicateElementDeclaration" ref="efe9817ef5442905d86fd17cb0c35e47b7c900eb08545762b18cbc3ece920ed6" args="" -->DuplicateElementDeclaration</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e472ea1859fba3872d3a37a6fe1bf2faa42"></a><!-- doxytag: member="InvalidElementBlockValue" ref="efe9817ef5442905d86fd17cb0c35e472ea1859fba3872d3a37a6fe1bf2faa42" args="" -->InvalidElementBlockValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4755a126505312c94c4916255ea8a40211"></a><!-- doxytag: member="InvalidElementFinalValue" ref="efe9817ef5442905d86fd17cb0c35e4755a126505312c94c4916255ea8a40211" args="" -->InvalidElementFinalValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4794ba6deb2e6d5cb2ae2c8a4f733f8214"></a><!-- doxytag: member="InvalidAttValue" ref="efe9817ef5442905d86fd17cb0c35e4794ba6deb2e6d5cb2ae2c8a4f733f8214" args="" -->InvalidAttValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47aef583806bec6b4245ba54af97205692"></a><!-- doxytag: member="AttributeRefContentError" ref="efe9817ef5442905d86fd17cb0c35e47aef583806bec6b4245ba54af97205692" args="" -->AttributeRefContentError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47a6b8a1a2874fa31909c5f8d16d3effba"></a><!-- doxytag: member="DuplicateRefAttribute" ref="efe9817ef5442905d86fd17cb0c35e47a6b8a1a2874fa31909c5f8d16d3effba" args="" -->DuplicateRefAttribute</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e477488cf0ca2501750a5e64c832db3ac8d"></a><!-- doxytag: member="ForbiddenDerivationByRestriction" ref="efe9817ef5442905d86fd17cb0c35e477488cf0ca2501750a5e64c832db3ac8d" args="" -->ForbiddenDerivationByRestriction</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e475fe9b2be952cc83949c77fac80c1f2d2"></a><!-- doxytag: member="ForbiddenDerivationByExtension" ref="efe9817ef5442905d86fd17cb0c35e475fe9b2be952cc83949c77fac80c1f2d2" args="" -->ForbiddenDerivationByExtension</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e475233f33363d88019d6a9daee41d50b48"></a><!-- doxytag: member="BaseNotComplexType" ref="efe9817ef5442905d86fd17cb0c35e475233f33363d88019d6a9daee41d50b48" args="" -->BaseNotComplexType</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e472b82c6a63af29e4aaefc4cc8580179d3"></a><!-- doxytag: member="ImportNamespaceDifference" ref="efe9817ef5442905d86fd17cb0c35e472b82c6a63af29e4aaefc4cc8580179d3" args="" -->ImportNamespaceDifference</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e478ec2b442b386bd8de7443048a609262e"></a><!-- doxytag: member="ImportRootError" ref="efe9817ef5442905d86fd17cb0c35e478ec2b442b386bd8de7443048a609262e" args="" -->ImportRootError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47dc9146178161d46611d5d179da31584b"></a><!-- doxytag: member="DeclarationNoSchemaLocation" ref="efe9817ef5442905d86fd17cb0c35e47dc9146178161d46611d5d179da31584b" args="" -->DeclarationNoSchemaLocation</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e474bf09de562458addf4ad22128dec9bea"></a><!-- doxytag: member="IncludeNamespaceDifference" ref="efe9817ef5442905d86fd17cb0c35e474bf09de562458addf4ad22128dec9bea" args="" -->IncludeNamespaceDifference</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47bd4fb8a006718baa485c6a27816c5777"></a><!-- doxytag: member="OnlyAnnotationExpected" ref="efe9817ef5442905d86fd17cb0c35e47bd4fb8a006718baa485c6a27816c5777" args="" -->OnlyAnnotationExpected</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47efc4cca03883d9e5e8a59819794227ba"></a><!-- doxytag: member="InvalidAttributeContent" ref="efe9817ef5442905d86fd17cb0c35e47efc4cca03883d9e5e8a59819794227ba" args="" -->InvalidAttributeContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e477f8a7e294e0e21a3b8f815b655e03079"></a><!-- doxytag: member="AttributeRequired" ref="efe9817ef5442905d86fd17cb0c35e477f8a7e294e0e21a3b8f815b655e03079" args="" -->AttributeRequired</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e472a5ac152c7b89fbe4068b9d447d66fc8"></a><!-- doxytag: member="AttributeDisallowed" ref="efe9817ef5442905d86fd17cb0c35e472a5ac152c7b89fbe4068b9d447d66fc8" args="" -->AttributeDisallowed</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47909e083c60d135bdd67b61f26cf5b4f5"></a><!-- doxytag: member="InvalidMin2MaxOccurs" ref="efe9817ef5442905d86fd17cb0c35e47909e083c60d135bdd67b61f26cf5b4f5" args="" -->InvalidMin2MaxOccurs</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e478d8cf8141abb7e18e918a2d0611a7dfe"></a><!-- doxytag: member="AnyAttributeContentError" ref="efe9817ef5442905d86fd17cb0c35e478d8cf8141abb7e18e918a2d0611a7dfe" args="" -->AnyAttributeContentError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4716b8cc2b8304b997cdb0fbcf4fbceed1"></a><!-- doxytag: member="NoNameGlobalElement" ref="efe9817ef5442905d86fd17cb0c35e4716b8cc2b8304b997cdb0fbcf4fbceed1" args="" -->NoNameGlobalElement</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47747b7e2b49ea31a742b96f667368f9e4"></a><!-- doxytag: member="NoCircularDefinition" ref="efe9817ef5442905d86fd17cb0c35e47747b7e2b49ea31a742b96f667368f9e4" args="" -->NoCircularDefinition</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4727193d5f8ad92a94916cb475dc179f05"></a><!-- doxytag: member="DuplicateGlobalType" ref="efe9817ef5442905d86fd17cb0c35e4727193d5f8ad92a94916cb475dc179f05" args="" -->DuplicateGlobalType</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47c04cc8cdc5d0ad77e6b96e0315fcbe54"></a><!-- doxytag: member="DuplicateGlobalDeclaration" ref="efe9817ef5442905d86fd17cb0c35e47c04cc8cdc5d0ad77e6b96e0315fcbe54" args="" -->DuplicateGlobalDeclaration</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e474edf7c3063117b06911399b5b5e96c20"></a><!-- doxytag: member="WS_CollapseExpected" ref="efe9817ef5442905d86fd17cb0c35e474edf7c3063117b06911399b5b5e96c20" args="" -->WS_CollapseExpected</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4712f69e6c07aa8419ee28dcff4fb897bc"></a><!-- doxytag: member="Import_1_1" ref="efe9817ef5442905d86fd17cb0c35e4712f69e6c07aa8419ee28dcff4fb897bc" args="" -->Import_1_1</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4712024e4d8cbaa7fe0b35af14227e01f1"></a><!-- doxytag: member="Import_1_2" ref="efe9817ef5442905d86fd17cb0c35e4712024e4d8cbaa7fe0b35af14227e01f1" args="" -->Import_1_2</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4796dc3d16aca88596367ca87f49cca05e"></a><!-- doxytag: member="ElemIDValueConstraint" ref="efe9817ef5442905d86fd17cb0c35e4796dc3d16aca88596367ca87f49cca05e" args="" -->ElemIDValueConstraint</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47400ea7113569f80f36609d641bdca6d5"></a><!-- doxytag: member="NoNotationType" ref="efe9817ef5442905d86fd17cb0c35e47400ea7113569f80f36609d641bdca6d5" args="" -->NoNotationType</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47fcef4ecd680b68c07c1a8580b7095d3d"></a><!-- doxytag: member="EmptiableMixedContent" ref="efe9817ef5442905d86fd17cb0c35e47fcef4ecd680b68c07c1a8580b7095d3d" args="" -->EmptiableMixedContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471fce4a70b9e5e0cf332e0853d210e127"></a><!-- doxytag: member="EmptyComplexRestrictionDerivation" ref="efe9817ef5442905d86fd17cb0c35e471fce4a70b9e5e0cf332e0853d210e127" args="" -->EmptyComplexRestrictionDerivation</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4729f939961b1b7dbd5fde9d088ca5aea4"></a><!-- doxytag: member="MixedOrElementOnly" ref="efe9817ef5442905d86fd17cb0c35e4729f939961b1b7dbd5fde9d088ca5aea4" args="" -->MixedOrElementOnly</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e476c436c2f5226809cf117d94116056195"></a><!-- doxytag: member="InvalidContentRestriction" ref="efe9817ef5442905d86fd17cb0c35e476c436c2f5226809cf117d94116056195" args="" -->InvalidContentRestriction</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47eaeba02c72f9350babcaf96255812221"></a><!-- doxytag: member="ForbiddenDerivation" ref="efe9817ef5442905d86fd17cb0c35e47eaeba02c72f9350babcaf96255812221" args="" -->ForbiddenDerivation</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b2be5479363e7b15c032e945c1eee446"></a><!-- doxytag: member="AtomicItemType" ref="efe9817ef5442905d86fd17cb0c35e47b2be5479363e7b15c032e945c1eee446" args="" -->AtomicItemType</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47746f5469791f1962d990fc6425d9ba02"></a><!-- doxytag: member="MemberTypeNoUnion" ref="efe9817ef5442905d86fd17cb0c35e47746f5469791f1962d990fc6425d9ba02" args="" -->MemberTypeNoUnion</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47a132a9bde60b94d5aa304cdb89e7bcab"></a><!-- doxytag: member="GroupContentError" ref="efe9817ef5442905d86fd17cb0c35e47a132a9bde60b94d5aa304cdb89e7bcab" args="" -->GroupContentError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47fd192dfd24c05ee3773bc148bd74e9ec"></a><!-- doxytag: member="AttGroupContentError" ref="efe9817ef5442905d86fd17cb0c35e47fd192dfd24c05ee3773bc148bd74e9ec" args="" -->AttGroupContentError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47c5478434318121c8fff794079a753034"></a><!-- doxytag: member="MinMaxOnGroupChild" ref="efe9817ef5442905d86fd17cb0c35e47c5478434318121c8fff794079a753034" args="" -->MinMaxOnGroupChild</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47d88471d7a01d98cc37a9bf991435c4ee"></a><!-- doxytag: member="DeclarationNotFound" ref="efe9817ef5442905d86fd17cb0c35e47d88471d7a01d98cc37a9bf991435c4ee" args="" -->DeclarationNotFound</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e475cc2b8bb899ca5cf02765b54c98320c9"></a><!-- doxytag: member="AllContentLimited" ref="efe9817ef5442905d86fd17cb0c35e475cc2b8bb899ca5cf02765b54c98320c9" args="" -->AllContentLimited</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e474a1c781d468758c4b5b41270d1e1716f"></a><!-- doxytag: member="BadMinMaxAllCT" ref="efe9817ef5442905d86fd17cb0c35e474a1c781d468758c4b5b41270d1e1716f" args="" -->BadMinMaxAllCT</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471593fca28ab2a7ed004050d8c063c412"></a><!-- doxytag: member="BadMinMaxAllElem" ref="efe9817ef5442905d86fd17cb0c35e471593fca28ab2a7ed004050d8c063c412" args="" -->BadMinMaxAllElem</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4710e208b462e7435697ed1e19fe39f14f"></a><!-- doxytag: member="NoCircularAttGroup" ref="efe9817ef5442905d86fd17cb0c35e4710e208b462e7435697ed1e19fe39f14f" args="" -->NoCircularAttGroup</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47a2f8ebe9ec6644a19591b67b7b456891"></a><!-- doxytag: member="DuplicateAttInDerivation" ref="efe9817ef5442905d86fd17cb0c35e47a2f8ebe9ec6644a19591b67b7b456891" args="" -->DuplicateAttInDerivation</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47c3aca6d6db87e52e2b4594151cecfb13"></a><!-- doxytag: member="NotExpressibleWildCardIntersection" ref="efe9817ef5442905d86fd17cb0c35e47c3aca6d6db87e52e2b4594151cecfb13" args="" -->NotExpressibleWildCardIntersection</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e475850f1b6c77a33b029b8f27066547be2"></a><!-- doxytag: member="BadAttDerivation_1" ref="efe9817ef5442905d86fd17cb0c35e475850f1b6c77a33b029b8f27066547be2" args="" -->BadAttDerivation_1</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4783e454f3259db4bc7fb817a463fed13f"></a><!-- doxytag: member="BadAttDerivation_2" ref="efe9817ef5442905d86fd17cb0c35e4783e454f3259db4bc7fb817a463fed13f" args="" -->BadAttDerivation_2</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e479fc647da579f4e645897748e5734c1fb"></a><!-- doxytag: member="BadAttDerivation_3" ref="efe9817ef5442905d86fd17cb0c35e479fc647da579f4e645897748e5734c1fb" args="" -->BadAttDerivation_3</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47c257c42df6158445d51716a02422b75b"></a><!-- doxytag: member="BadAttDerivation_4" ref="efe9817ef5442905d86fd17cb0c35e47c257c42df6158445d51716a02422b75b" args="" -->BadAttDerivation_4</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47784a0f9125607f4b52b41decfd426881"></a><!-- doxytag: member="BadAttDerivation_5" ref="efe9817ef5442905d86fd17cb0c35e47784a0f9125607f4b52b41decfd426881" args="" -->BadAttDerivation_5</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e476cf7914194e5756e78a37ec88921a3ea"></a><!-- doxytag: member="BadAttDerivation_6" ref="efe9817ef5442905d86fd17cb0c35e476cf7914194e5756e78a37ec88921a3ea" args="" -->BadAttDerivation_6</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4762a1a9047662bbcee22fc0acff4a4ed8"></a><!-- doxytag: member="BadAttDerivation_7" ref="efe9817ef5442905d86fd17cb0c35e4762a1a9047662bbcee22fc0acff4a4ed8" args="" -->BadAttDerivation_7</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e479be79d4ed8553d06f3cf7464adfae74e"></a><!-- doxytag: member="BadAttDerivation_8" ref="efe9817ef5442905d86fd17cb0c35e479be79d4ed8553d06f3cf7464adfae74e" args="" -->BadAttDerivation_8</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e477105a0b0c491e3055a0dc132b23273c6"></a><!-- doxytag: member="BadAttDerivation_9" ref="efe9817ef5442905d86fd17cb0c35e477105a0b0c491e3055a0dc132b23273c6" args="" -->BadAttDerivation_9</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47d74082e17b755be5ee905389134b9e9b"></a><!-- doxytag: member="AllContentError" ref="efe9817ef5442905d86fd17cb0c35e47d74082e17b755be5ee905389134b9e9b" args="" -->AllContentError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e55c6c16c53ed0a66c665ad85c61c7ee"></a><!-- doxytag: member="RedefineNamespaceDifference" ref="efe9817ef5442905d86fd17cb0c35e47e55c6c16c53ed0a66c665ad85c61c7ee" args="" -->RedefineNamespaceDifference</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47366bc21e48f6cb5ae59ddb0f072618ad"></a><!-- doxytag: member="Redefine_InvalidSimpleType" ref="efe9817ef5442905d86fd17cb0c35e47366bc21e48f6cb5ae59ddb0f072618ad" args="" -->Redefine_InvalidSimpleType</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4798d186edb15c4d2927096587ba784e7e"></a><!-- doxytag: member="Redefine_InvalidSimpleTypeBase" ref="efe9817ef5442905d86fd17cb0c35e4798d186edb15c4d2927096587ba784e7e" args="" -->Redefine_InvalidSimpleTypeBase</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47ef320546fdd36a4fc9d2cff80f134377"></a><!-- doxytag: member="Redefine_InvalidComplexType" ref="efe9817ef5442905d86fd17cb0c35e47ef320546fdd36a4fc9d2cff80f134377" args="" -->Redefine_InvalidComplexType</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4799526ac08dcec84ba945b434e96e0dcf"></a><!-- doxytag: member="Redefine_InvalidComplexTypeBase" ref="efe9817ef5442905d86fd17cb0c35e4799526ac08dcec84ba945b434e96e0dcf" args="" -->Redefine_InvalidComplexTypeBase</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471d70f0545ccb09ccefc06d7390888d84"></a><!-- doxytag: member="Redefine_InvalidGroupMinMax" ref="efe9817ef5442905d86fd17cb0c35e471d70f0545ccb09ccefc06d7390888d84" args="" -->Redefine_InvalidGroupMinMax</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4741c1e0ae68189debb579b16669487aef"></a><!-- doxytag: member="Redefine_DeclarationNotFound" ref="efe9817ef5442905d86fd17cb0c35e4741c1e0ae68189debb579b16669487aef" args="" -->Redefine_DeclarationNotFound</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e472cc39925f9f84790c5013e944e64cb5e"></a><!-- doxytag: member="Redefine_GroupRefCount" ref="efe9817ef5442905d86fd17cb0c35e472cc39925f9f84790c5013e944e64cb5e" args="" -->Redefine_GroupRefCount</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b3e7b7833ebf8d5c0cd53106be1080d3"></a><!-- doxytag: member="Redefine_AttGroupRefCount" ref="efe9817ef5442905d86fd17cb0c35e47b3e7b7833ebf8d5c0cd53106be1080d3" args="" -->Redefine_AttGroupRefCount</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e0dce061eb99a47c315dfe328b141f8a"></a><!-- doxytag: member="Redefine_InvalidChild" ref="efe9817ef5442905d86fd17cb0c35e47e0dce061eb99a47c315dfe328b141f8a" args="" -->Redefine_InvalidChild</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e470a972bb45162345494d55c3af0f181b6"></a><!-- doxytag: member="Notation_InvalidDecl" ref="efe9817ef5442905d86fd17cb0c35e470a972bb45162345494d55c3af0f181b6" args="" -->Notation_InvalidDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47049f33084e76624f70a38946af012912"></a><!-- doxytag: member="Notation_DeclNotFound" ref="efe9817ef5442905d86fd17cb0c35e47049f33084e76624f70a38946af012912" args="" -->Notation_DeclNotFound</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b859224441413fb7b3fb387b6ac9d3f7"></a><!-- doxytag: member="IC_DuplicateDecl" ref="efe9817ef5442905d86fd17cb0c35e47b859224441413fb7b3fb387b6ac9d3f7" args="" -->IC_DuplicateDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47aee8864d840ca529012cd0c8c2b17dc9"></a><!-- doxytag: member="IC_BadContent" ref="efe9817ef5442905d86fd17cb0c35e47aee8864d840ca529012cd0c8c2b17dc9" args="" -->IC_BadContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47329a034bcf408ebb297f82b63267122f"></a><!-- doxytag: member="IC_KeyRefReferNotFound" ref="efe9817ef5442905d86fd17cb0c35e47329a034bcf408ebb297f82b63267122f" args="" -->IC_KeyRefReferNotFound</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47ec26accd72603df44341eff662785a54"></a><!-- doxytag: member="IC_KeyRefCardinality" ref="efe9817ef5442905d86fd17cb0c35e47ec26accd72603df44341eff662785a54" args="" -->IC_KeyRefCardinality</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e474a422c08177f109d53de5486df366200"></a><!-- doxytag: member="IC_XPathExprMissing" ref="efe9817ef5442905d86fd17cb0c35e474a422c08177f109d53de5486df366200" args="" -->IC_XPathExprMissing</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47400816c65e61eebc531b3a3251982af5"></a><!-- doxytag: member="AttUseCorrect" ref="efe9817ef5442905d86fd17cb0c35e47400816c65e61eebc531b3a3251982af5" args="" -->AttUseCorrect</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4712f6fd785a9e46ff220dcd008b4074bf"></a><!-- doxytag: member="AttDeclPropCorrect3" ref="efe9817ef5442905d86fd17cb0c35e4712f6fd785a9e46ff220dcd008b4074bf" args="" -->AttDeclPropCorrect3</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47f7091bfcc4579b9a0ccdc4189dc0c539"></a><!-- doxytag: member="AttDeclPropCorrect5" ref="efe9817ef5442905d86fd17cb0c35e47f7091bfcc4579b9a0ccdc4189dc0c539" args="" -->AttDeclPropCorrect5</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47fea59ee31ca2f69149587a4d96afee64"></a><!-- doxytag: member="AttGrpPropCorrect3" ref="efe9817ef5442905d86fd17cb0c35e47fea59ee31ca2f69149587a4d96afee64" args="" -->AttGrpPropCorrect3</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4747fd49e3d64ecb1356196781fd9547f2"></a><!-- doxytag: member="InvalidTargetNSValue" ref="efe9817ef5442905d86fd17cb0c35e4747fd49e3d64ecb1356196781fd9547f2" args="" -->InvalidTargetNSValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4711589472f455f10174162001cdef4258"></a><!-- doxytag: member="DisplayErrorMessage" ref="efe9817ef5442905d86fd17cb0c35e4711589472f455f10174162001cdef4258" args="" -->DisplayErrorMessage</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4741ab4979f1632724dd1ab7086b7cc2f1"></a><!-- doxytag: member="XMLException_Error" ref="efe9817ef5442905d86fd17cb0c35e4741ab4979f1632724dd1ab7086b7cc2f1" args="" -->XMLException_Error</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e189f69182e58b85c9340e06788ed898"></a><!-- doxytag: member="InvalidRedefine" ref="efe9817ef5442905d86fd17cb0c35e47e189f69182e58b85c9340e06788ed898" args="" -->InvalidRedefine</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4723683d9b9779affe1f5a0d1bd59b749c"></a><!-- doxytag: member="InvalidNSReference" ref="efe9817ef5442905d86fd17cb0c35e4723683d9b9779affe1f5a0d1bd59b749c" args="" -->InvalidNSReference</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47174b86a8eb83b95d41bfecdb2376a8eb"></a><!-- doxytag: member="NotAllContent" ref="efe9817ef5442905d86fd17cb0c35e47174b86a8eb83b95d41bfecdb2376a8eb" args="" -->NotAllContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47ed42d0e7daf13c71ad107ee6e2ddba0f"></a><!-- doxytag: member="InvalidAnnotationContent" ref="efe9817ef5442905d86fd17cb0c35e47ed42d0e7daf13c71ad107ee6e2ddba0f" args="" -->InvalidAnnotationContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47634c2452082394cb2101aff6efc11eaa"></a><!-- doxytag: member="InvalidFacetName" ref="efe9817ef5442905d86fd17cb0c35e47634c2452082394cb2101aff6efc11eaa" args="" -->InvalidFacetName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e478ce2c35e2108790d1e4d5717df2dced9"></a><!-- doxytag: member="InvalidXMLSchemaRoot" ref="efe9817ef5442905d86fd17cb0c35e478ce2c35e2108790d1e4d5717df2dced9" args="" -->InvalidXMLSchemaRoot</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4748b58d2749681ad7e0fd455310ab54d1"></a><!-- doxytag: member="CircularSubsGroup" ref="efe9817ef5442905d86fd17cb0c35e4748b58d2749681ad7e0fd455310ab54d1" args="" -->CircularSubsGroup</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e477cdaee9e4e37f7e1f1a3cc688f9b0abb"></a><!-- doxytag: member="SubsGroupMemberAbstract" ref="efe9817ef5442905d86fd17cb0c35e477cdaee9e4e37f7e1f1a3cc688f9b0abb" args="" -->SubsGroupMemberAbstract</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471cab290b7d6732cd49192a26fada4f08"></a><!-- doxytag: member="ELTSchemaNS" ref="efe9817ef5442905d86fd17cb0c35e471cab290b7d6732cd49192a26fada4f08" args="" -->ELTSchemaNS</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e478ec622bb0ac63924ef19cb709ce14a25"></a><!-- doxytag: member="InvalidAttTNS" ref="efe9817ef5442905d86fd17cb0c35e478ec622bb0ac63924ef19cb709ce14a25" args="" -->InvalidAttTNS</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e474f99c75a4dfd30e9c04554c33fdd904d"></a><!-- doxytag: member="NSDeclInvalid" ref="efe9817ef5442905d86fd17cb0c35e474f99c75a4dfd30e9c04554c33fdd904d" args="" -->NSDeclInvalid</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47d5316575f249264eb3e211951c6c199c"></a><!-- doxytag: member="DOMLevel1Node" ref="efe9817ef5442905d86fd17cb0c35e47d5316575f249264eb3e211951c6c199c" args="" -->DOMLevel1Node</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e478928b945c4516a1a76fb644be9549548"></a><!-- doxytag: member="E_HighBounds" ref="efe9817ef5442905d86fd17cb0c35e478928b945c4516a1a76fb644be9549548" args="" -->E_HighBounds</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4712468d943149ccad1eeb70857b9b0aef"></a><!-- doxytag: member="F_LowBounds" ref="efe9817ef5442905d86fd17cb0c35e4712468d943149ccad1eeb70857b9b0aef" args="" -->F_LowBounds</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e470369efa708c3d6ce9a7a14507cd4a906"></a><!-- doxytag: member="EntityExpansionLimitExceeded" ref="efe9817ef5442905d86fd17cb0c35e470369efa708c3d6ce9a7a14507cd4a906" args="" -->EntityExpansionLimitExceeded</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47be4312d8290ca9c39dfbebc81a2a10c3"></a><!-- doxytag: member="ExpectedCommentOrCDATA" ref="efe9817ef5442905d86fd17cb0c35e47be4312d8290ca9c39dfbebc81a2a10c3" args="" -->ExpectedCommentOrCDATA</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47c62425411ea26907d9c3ba2ed24b7bbd"></a><!-- doxytag: member="ExpectedAttrName" ref="efe9817ef5442905d86fd17cb0c35e47c62425411ea26907d9c3ba2ed24b7bbd" args="" -->ExpectedAttrName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e470839b28a5686137633c3f5c1d17e749b"></a><!-- doxytag: member="ExpectedNotationName" ref="efe9817ef5442905d86fd17cb0c35e470839b28a5686137633c3f5c1d17e749b" args="" -->ExpectedNotationName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4724538a662b1482c91232af612db32e93"></a><!-- doxytag: member="NoRepInMixed" ref="efe9817ef5442905d86fd17cb0c35e4724538a662b1482c91232af612db32e93" args="" -->NoRepInMixed</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e00a82982024dbe82adbf3435c1109d6"></a><!-- doxytag: member="BadDefAttrDecl" ref="efe9817ef5442905d86fd17cb0c35e47e00a82982024dbe82adbf3435c1109d6" args="" -->BadDefAttrDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e75345db3dd0973ab500076393be4504"></a><!-- doxytag: member="ExpectedDefAttrDecl" ref="efe9817ef5442905d86fd17cb0c35e47e75345db3dd0973ab500076393be4504" args="" -->ExpectedDefAttrDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e2c6341c40463fc0bebd265a63bb2179"></a><!-- doxytag: member="AttListSyntaxError" ref="efe9817ef5442905d86fd17cb0c35e47e2c6341c40463fc0bebd265a63bb2179" args="" -->AttListSyntaxError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e475d98e31897cf60b9573f30bec198c046"></a><!-- doxytag: member="ExpectedEqSign" ref="efe9817ef5442905d86fd17cb0c35e475d98e31897cf60b9573f30bec198c046" args="" -->ExpectedEqSign</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47a57792c912ee13a52082d743fbac2819"></a><!-- doxytag: member="DupAttrName" ref="efe9817ef5442905d86fd17cb0c35e47a57792c912ee13a52082d743fbac2819" args="" -->DupAttrName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4723b23dce94697ec83c589236a183e912"></a><!-- doxytag: member="BadIdForXMLLangAttr" ref="efe9817ef5442905d86fd17cb0c35e4723b23dce94697ec83c589236a183e912" args="" -->BadIdForXMLLangAttr</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e470130029f5eae63cecce983966514693a"></a><!-- doxytag: member="ExpectedElementName" ref="efe9817ef5442905d86fd17cb0c35e470130029f5eae63cecce983966514693a" args="" -->ExpectedElementName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e476a6cacdac625361d01714e0766aa85fa"></a><!-- doxytag: member="MustStartWithXMLDecl" ref="efe9817ef5442905d86fd17cb0c35e476a6cacdac625361d01714e0766aa85fa" args="" -->MustStartWithXMLDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47841b75ac806e9b39db2b97db77c26489"></a><!-- doxytag: member="CommentsMustStartWith" ref="efe9817ef5442905d86fd17cb0c35e47841b75ac806e9b39db2b97db77c26489" args="" -->CommentsMustStartWith</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471a7d069610584347e549e075f06a6c2d"></a><!-- doxytag: member="InvalidDocumentStructure" ref="efe9817ef5442905d86fd17cb0c35e471a7d069610584347e549e075f06a6c2d" args="" -->InvalidDocumentStructure</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4785dc49016a6bcc9100d98b55a3d1ca41"></a><!-- doxytag: member="ExpectedDeclString" ref="efe9817ef5442905d86fd17cb0c35e4785dc49016a6bcc9100d98b55a3d1ca41" args="" -->ExpectedDeclString</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47328d2685493a7a9d848b38a601725db5"></a><!-- doxytag: member="BadXMLVersion" ref="efe9817ef5442905d86fd17cb0c35e47328d2685493a7a9d848b38a601725db5" args="" -->BadXMLVersion</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e470fdd358e4a47e9c18ee84afca2e72d6d"></a><!-- doxytag: member="UnsupportedXMLVersion" ref="efe9817ef5442905d86fd17cb0c35e470fdd358e4a47e9c18ee84afca2e72d6d" args="" -->UnsupportedXMLVersion</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47740cbbbb7f906b166996d0bb7df6f8aa"></a><!-- doxytag: member="UnterminatedXMLDecl" ref="efe9817ef5442905d86fd17cb0c35e47740cbbbb7f906b166996d0bb7df6f8aa" args="" -->UnterminatedXMLDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4753c03ffba304a616b6e4dab51d2bee56"></a><!-- doxytag: member="BadXMLEncoding" ref="efe9817ef5442905d86fd17cb0c35e4753c03ffba304a616b6e4dab51d2bee56" args="" -->BadXMLEncoding</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47d74b3a2a890056beccf57ff7c300888e"></a><!-- doxytag: member="BadStandalone" ref="efe9817ef5442905d86fd17cb0c35e47d74b3a2a890056beccf57ff7c300888e" args="" -->BadStandalone</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47d3c17e0880f917c5f0c717899b54f810"></a><!-- doxytag: member="UnterminatedComment" ref="efe9817ef5442905d86fd17cb0c35e47d3c17e0880f917c5f0c717899b54f810" args="" -->UnterminatedComment</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47c8f0b0f570ec8b58140004a604467004"></a><!-- doxytag: member="PINameExpected" ref="efe9817ef5442905d86fd17cb0c35e47c8f0b0f570ec8b58140004a604467004" args="" -->PINameExpected</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47997d71033dd4a882fd04d112cdbec725"></a><!-- doxytag: member="UnterminatedPI" ref="efe9817ef5442905d86fd17cb0c35e47997d71033dd4a882fd04d112cdbec725" args="" -->UnterminatedPI</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e472700b0d17236237be514eacbe226bec6"></a><!-- doxytag: member="InvalidCharacter" ref="efe9817ef5442905d86fd17cb0c35e472700b0d17236237be514eacbe226bec6" args="" -->InvalidCharacter</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b89a3ead3eabb5c2963c9be1fdac19e3"></a><!-- doxytag: member="UnexpectedTextBeforeRoot" ref="efe9817ef5442905d86fd17cb0c35e47b89a3ead3eabb5c2963c9be1fdac19e3" args="" -->UnexpectedTextBeforeRoot</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4731e5a831988f6f65f853c8e506072e71"></a><!-- doxytag: member="UnterminatedStartTag" ref="efe9817ef5442905d86fd17cb0c35e4731e5a831988f6f65f853c8e506072e71" args="" -->UnterminatedStartTag</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e473819807917c055cfd40fbdf7d684f480"></a><!-- doxytag: member="ExpectedAttrValue" ref="efe9817ef5442905d86fd17cb0c35e473819807917c055cfd40fbdf7d684f480" args="" -->ExpectedAttrValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4772d25af3fdbb5e7d8e6e744ace7d3e4a"></a><!-- doxytag: member="UnterminatedEndTag" ref="efe9817ef5442905d86fd17cb0c35e4772d25af3fdbb5e7d8e6e744ace7d3e4a" args="" -->UnterminatedEndTag</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471f0ff6d002c55f48478e2be8396fbdbd"></a><!-- doxytag: member="ExpectedAttributeType" ref="efe9817ef5442905d86fd17cb0c35e471f0ff6d002c55f48478e2be8396fbdbd" args="" -->ExpectedAttributeType</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4734d17b77c08595f2b469e921835c6129"></a><!-- doxytag: member="ExpectedEndOfTagX" ref="efe9817ef5442905d86fd17cb0c35e4734d17b77c08595f2b469e921835c6129" args="" -->ExpectedEndOfTagX</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47975d2945e75b5abd794b5156580da225"></a><!-- doxytag: member="ExpectedMarkup" ref="efe9817ef5442905d86fd17cb0c35e47975d2945e75b5abd794b5156580da225" args="" -->ExpectedMarkup</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47970ef9f365f25d224a7e8677e7cf6094"></a><!-- doxytag: member="NotValidAfterContent" ref="efe9817ef5442905d86fd17cb0c35e47970ef9f365f25d224a7e8677e7cf6094" args="" -->NotValidAfterContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47f074b7c4ba5bc565d04f2253714dc65a"></a><!-- doxytag: member="ExpectedComment" ref="efe9817ef5442905d86fd17cb0c35e47f074b7c4ba5bc565d04f2253714dc65a" args="" -->ExpectedComment</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b44f38dcaf56390646d00984886fd4aa"></a><!-- doxytag: member="ExpectedCommentOrPI" ref="efe9817ef5442905d86fd17cb0c35e47b44f38dcaf56390646d00984886fd4aa" args="" -->ExpectedCommentOrPI</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b7f94a54d3b60e0cdc7a7676fe52e5bd"></a><!-- doxytag: member="ExpectedWhitespace" ref="efe9817ef5442905d86fd17cb0c35e47b7f94a54d3b60e0cdc7a7676fe52e5bd" args="" -->ExpectedWhitespace</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e479635ff7c4589650556d35a6cddbbd12e"></a><!-- doxytag: member="NoRootElemInDOCTYPE" ref="efe9817ef5442905d86fd17cb0c35e479635ff7c4589650556d35a6cddbbd12e" args="" -->NoRootElemInDOCTYPE</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b0eff77e462d776a91a7997953e7b91b"></a><!-- doxytag: member="ExpectedQuotedString" ref="efe9817ef5442905d86fd17cb0c35e47b0eff77e462d776a91a7997953e7b91b" args="" -->ExpectedQuotedString</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e564661b7da71a9718b1ae673c87fef7"></a><!-- doxytag: member="ExpectedPublicId" ref="efe9817ef5442905d86fd17cb0c35e47e564661b7da71a9718b1ae673c87fef7" args="" -->ExpectedPublicId</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47ca87b7f883bcc30a17f0c539a13515d3"></a><!-- doxytag: member="InvalidPublicIdChar" ref="efe9817ef5442905d86fd17cb0c35e47ca87b7f883bcc30a17f0c539a13515d3" args="" -->InvalidPublicIdChar</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47d70f61412f09fd325b4a6f02c9b28a4d"></a><!-- doxytag: member="UnterminatedDOCTYPE" ref="efe9817ef5442905d86fd17cb0c35e47d70f61412f09fd325b4a6f02c9b28a4d" args="" -->UnterminatedDOCTYPE</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471e6a277b755897ce09ec7d5cf7aa1bb7"></a><!-- doxytag: member="InvalidCharacterInIntSubset" ref="efe9817ef5442905d86fd17cb0c35e471e6a277b755897ce09ec7d5cf7aa1bb7" args="" -->InvalidCharacterInIntSubset</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471d085a488820c79bb38a7d5bccdc790e"></a><!-- doxytag: member="ExpectedCDATA" ref="efe9817ef5442905d86fd17cb0c35e471d085a488820c79bb38a7d5bccdc790e" args="" -->ExpectedCDATA</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4747c9000d71a059684c27f2ed69e27753"></a><!-- doxytag: member="InvalidInitialNameChar" ref="efe9817ef5442905d86fd17cb0c35e4747c9000d71a059684c27f2ed69e27753" args="" -->InvalidInitialNameChar</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e475ab1867d0376b349accfcbcb060941b7"></a><!-- doxytag: member="InvalidNameChar" ref="efe9817ef5442905d86fd17cb0c35e475ab1867d0376b349accfcbcb060941b7" args="" -->InvalidNameChar</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4767d38876cfa22b0194f865a3c46323f9"></a><!-- doxytag: member="UnexpectedWhitespace" ref="efe9817ef5442905d86fd17cb0c35e4767d38876cfa22b0194f865a3c46323f9" args="" -->UnexpectedWhitespace</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4735d8ed4a03712a306369ff5771bec5f9"></a><!-- doxytag: member="InvalidCharacterInAttrValue" ref="efe9817ef5442905d86fd17cb0c35e4735d8ed4a03712a306369ff5771bec5f9" args="" -->InvalidCharacterInAttrValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4755b1a1c12ae29a5337969f155b53b3d8"></a><!-- doxytag: member="ExpectedMarkupDecl" ref="efe9817ef5442905d86fd17cb0c35e4755b1a1c12ae29a5337969f155b53b3d8" args="" -->ExpectedMarkupDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4707803d6de93ad2c5bcd4f183a94d6179"></a><!-- doxytag: member="TextDeclNotLegalHere" ref="efe9817ef5442905d86fd17cb0c35e4707803d6de93ad2c5bcd4f183a94d6179" args="" -->TextDeclNotLegalHere</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4776f8c93de7e31051a1e2e2510fa3d9c5"></a><!-- doxytag: member="ConditionalSectInIntSubset" ref="efe9817ef5442905d86fd17cb0c35e4776f8c93de7e31051a1e2e2510fa3d9c5" args="" -->ConditionalSectInIntSubset</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47412b616f4f76a8f1aef856c212de68fe"></a><!-- doxytag: member="ExpectedPEName" ref="efe9817ef5442905d86fd17cb0c35e47412b616f4f76a8f1aef856c212de68fe" args="" -->ExpectedPEName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47a9db370434622e9caa4c96da460a3340"></a><!-- doxytag: member="UnterminatedEntityDecl" ref="efe9817ef5442905d86fd17cb0c35e47a9db370434622e9caa4c96da460a3340" args="" -->UnterminatedEntityDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4763a6c1637abe18b135cee00c12687639"></a><!-- doxytag: member="InvalidCharacterRef" ref="efe9817ef5442905d86fd17cb0c35e4763a6c1637abe18b135cee00c12687639" args="" -->InvalidCharacterRef</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47db2e48f1d4f1edea3947cc4bff3c25f9"></a><!-- doxytag: member="UnterminatedCharRef" ref="efe9817ef5442905d86fd17cb0c35e47db2e48f1d4f1edea3947cc4bff3c25f9" args="" -->UnterminatedCharRef</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4730747fe29f21cfda36cb5cdfd78a6424"></a><!-- doxytag: member="ExpectedEntityRefName" ref="efe9817ef5442905d86fd17cb0c35e4730747fe29f21cfda36cb5cdfd78a6424" args="" -->ExpectedEntityRefName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e475b8e3ccb2970e16f428c7a0429393d3c"></a><!-- doxytag: member="EntityNotFound" ref="efe9817ef5442905d86fd17cb0c35e475b8e3ccb2970e16f428c7a0429393d3c" args="" -->EntityNotFound</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e478c0e33ec92efd4d21b2679a85f30a6c7"></a><!-- doxytag: member="NoUnparsedEntityRefs" ref="efe9817ef5442905d86fd17cb0c35e478c0e33ec92efd4d21b2679a85f30a6c7" args="" -->NoUnparsedEntityRefs</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47f28460fa5a7a9cfcfdd5ff992a646a9b"></a><!-- doxytag: member="UnterminatedEntityRef" ref="efe9817ef5442905d86fd17cb0c35e47f28460fa5a7a9cfcfdd5ff992a646a9b" args="" -->UnterminatedEntityRef</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4779523c60f21afe54d3d10a66f15f3de5"></a><!-- doxytag: member="RecursiveEntity" ref="efe9817ef5442905d86fd17cb0c35e4779523c60f21afe54d3d10a66f15f3de5" args="" -->RecursiveEntity</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4765c9de2d64b2e5e24d8d4684a4db58d1"></a><!-- doxytag: member="PartialMarkupInEntity" ref="efe9817ef5442905d86fd17cb0c35e4765c9de2d64b2e5e24d8d4684a4db58d1" args="" -->PartialMarkupInEntity</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47ff0b9ab8a865c4ca0f24fc4ca506126a"></a><!-- doxytag: member="UnterminatedElementDecl" ref="efe9817ef5442905d86fd17cb0c35e47ff0b9ab8a865c4ca0f24fc4ca506126a" args="" -->UnterminatedElementDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e473070fe07595aa56ba011950f0d719bd4"></a><!-- doxytag: member="ExpectedContentSpecExpr" ref="efe9817ef5442905d86fd17cb0c35e473070fe07595aa56ba011950f0d719bd4" args="" -->ExpectedContentSpecExpr</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47bb606c7b91aadf83d03e89bb70927cc0"></a><!-- doxytag: member="ExpectedAsterisk" ref="efe9817ef5442905d86fd17cb0c35e47bb606c7b91aadf83d03e89bb70927cc0" args="" -->ExpectedAsterisk</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47c1210ba1345635f8367e55895fd6f7e6"></a><!-- doxytag: member="UnterminatedContentModel" ref="efe9817ef5442905d86fd17cb0c35e47c1210ba1345635f8367e55895fd6f7e6" args="" -->UnterminatedContentModel</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e477594972038398038d64a1a3199706578"></a><!-- doxytag: member="ExpectedSystemId" ref="efe9817ef5442905d86fd17cb0c35e477594972038398038d64a1a3199706578" args="" -->ExpectedSystemId</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47afa83372dea4f2da29f0706500187106"></a><!-- doxytag: member="ExpectedSystemOrPublicId" ref="efe9817ef5442905d86fd17cb0c35e47afa83372dea4f2da29f0706500187106" args="" -->ExpectedSystemOrPublicId</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e475f014acdb415a3d583abe4df2cf01799"></a><!-- doxytag: member="UnterminatedNotationDecl" ref="efe9817ef5442905d86fd17cb0c35e475f014acdb415a3d583abe4df2cf01799" args="" -->UnterminatedNotationDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e476f79fa484fb14879c48723269688774c"></a><!-- doxytag: member="ExpectedSeqChoiceLeaf" ref="efe9817ef5442905d86fd17cb0c35e476f79fa484fb14879c48723269688774c" args="" -->ExpectedSeqChoiceLeaf</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e478894af48093aef578664b0e7867f5970"></a><!-- doxytag: member="ExpectedChoiceOrCloseParen" ref="efe9817ef5442905d86fd17cb0c35e478894af48093aef578664b0e7867f5970" args="" -->ExpectedChoiceOrCloseParen</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4730cb83ebab69ba250ed0b60a6814e4c2"></a><!-- doxytag: member="ExpectedSeqOrCloseParen" ref="efe9817ef5442905d86fd17cb0c35e4730cb83ebab69ba250ed0b60a6814e4c2" args="" -->ExpectedSeqOrCloseParen</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e479c43c0b680490f8ffdf51bcc858af4b8"></a><!-- doxytag: member="ExpectedEnumValue" ref="efe9817ef5442905d86fd17cb0c35e479c43c0b680490f8ffdf51bcc858af4b8" args="" -->ExpectedEnumValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4745ff9a3ccd6cf47bbb0376b4b05b1adc"></a><!-- doxytag: member="ExpectedEnumSepOrParen" ref="efe9817ef5442905d86fd17cb0c35e4745ff9a3ccd6cf47bbb0376b4b05b1adc" args="" -->ExpectedEnumSepOrParen</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4764ecd7c69de1d4fddee1f34fe0b86465"></a><!-- doxytag: member="UnterminatedEntityLiteral" ref="efe9817ef5442905d86fd17cb0c35e4764ecd7c69de1d4fddee1f34fe0b86465" args="" -->UnterminatedEntityLiteral</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4731d85bb2daa5eaf27ff7c6255062d893"></a><!-- doxytag: member="MoreEndThanStartTags" ref="efe9817ef5442905d86fd17cb0c35e4731d85bb2daa5eaf27ff7c6255062d893" args="" -->MoreEndThanStartTags</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47040be16f9707af3148e9b77771c02a73"></a><!-- doxytag: member="ExpectedOpenParen" ref="efe9817ef5442905d86fd17cb0c35e47040be16f9707af3148e9b77771c02a73" args="" -->ExpectedOpenParen</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4769f8c28109cb461ac8332d79dd4f081e"></a><!-- doxytag: member="AttrAlreadyUsedInSTag" ref="efe9817ef5442905d86fd17cb0c35e4769f8c28109cb461ac8332d79dd4f081e" args="" -->AttrAlreadyUsedInSTag</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4770ee81538f1a13df4483d369927c92dc"></a><!-- doxytag: member="BracketInAttrValue" ref="efe9817ef5442905d86fd17cb0c35e4770ee81538f1a13df4483d369927c92dc" args="" -->BracketInAttrValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47fb395e8b6c4b6433f5a0700b07fc035a"></a><!-- doxytag: member="Expected2ndSurrogateChar" ref="efe9817ef5442905d86fd17cb0c35e47fb395e8b6c4b6433f5a0700b07fc035a" args="" -->Expected2ndSurrogateChar</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4796f51ada7aa1c31f61b0c194fa2b984f"></a><!-- doxytag: member="ExpectedEndOfConditional" ref="efe9817ef5442905d86fd17cb0c35e4796f51ada7aa1c31f61b0c194fa2b984f" args="" -->ExpectedEndOfConditional</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4753907cab15bf903765c8038a7943bacb"></a><!-- doxytag: member="ExpectedIncOrIgn" ref="efe9817ef5442905d86fd17cb0c35e4753907cab15bf903765c8038a7943bacb" args="" -->ExpectedIncOrIgn</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e478e9914a40c7568ab66616185d3eb2a27"></a><!-- doxytag: member="ExpectedINCLUDEBracket" ref="efe9817ef5442905d86fd17cb0c35e478e9914a40c7568ab66616185d3eb2a27" args="" -->ExpectedINCLUDEBracket</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47debdfeb630b16f7034716a2501cb1c9d"></a><!-- doxytag: member="ExpectedTextDecl" ref="efe9817ef5442905d86fd17cb0c35e47debdfeb630b16f7034716a2501cb1c9d" args="" -->ExpectedTextDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47ae102a492e900b42ac1fb439129aa3b2"></a><!-- doxytag: member="ExpectedXMLDecl" ref="efe9817ef5442905d86fd17cb0c35e47ae102a492e900b42ac1fb439129aa3b2" args="" -->ExpectedXMLDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b1e5742780e8761ccc3c8100f4e6ea50"></a><!-- doxytag: member="UnexpectedEOE" ref="efe9817ef5442905d86fd17cb0c35e47b1e5742780e8761ccc3c8100f4e6ea50" args="" -->UnexpectedEOE</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4721dbbf0d3e4db1a04504c89a7271d0d3"></a><!-- doxytag: member="PEPropogated" ref="efe9817ef5442905d86fd17cb0c35e4721dbbf0d3e4db1a04504c89a7271d0d3" args="" -->PEPropogated</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e479e65d45bfbe28bd8cec4f106702f41fe"></a><!-- doxytag: member="ExtraCloseSquare" ref="efe9817ef5442905d86fd17cb0c35e479e65d45bfbe28bd8cec4f106702f41fe" args="" -->ExtraCloseSquare</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4753618882a91fa2eb1e51000cbb3942dd"></a><!-- doxytag: member="PERefInMarkupInIntSubset" ref="efe9817ef5442905d86fd17cb0c35e4753618882a91fa2eb1e51000cbb3942dd" args="" -->PERefInMarkupInIntSubset</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e479a02a664ad6a630c0b696a6773b6e97b"></a><!-- doxytag: member="EntityPropogated" ref="efe9817ef5442905d86fd17cb0c35e479a02a664ad6a630c0b696a6773b6e97b" args="" -->EntityPropogated</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47712107a0d9d506e16671afb6e3f2afda"></a><!-- doxytag: member="ExpectedNumericalCharRef" ref="efe9817ef5442905d86fd17cb0c35e47712107a0d9d506e16671afb6e3f2afda" args="" -->ExpectedNumericalCharRef</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e472c690c88be88d47d2569864c4fc6667d"></a><!-- doxytag: member="ExpectedOpenSquareBracket" ref="efe9817ef5442905d86fd17cb0c35e472c690c88be88d47d2569864c4fc6667d" args="" -->ExpectedOpenSquareBracket</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e478acc275809b4d2af2a499a0a99aacbab"></a><!-- doxytag: member="BadSequenceInCharData" ref="efe9817ef5442905d86fd17cb0c35e478acc275809b4d2af2a499a0a99aacbab" args="" -->BadSequenceInCharData</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47891fe4c5df615f38f34f8c3ce79e840b"></a><!-- doxytag: member="IllegalSequenceInComment" ref="efe9817ef5442905d86fd17cb0c35e47891fe4c5df615f38f34f8c3ce79e840b" args="" -->IllegalSequenceInComment</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47eeba55eae592936faa12ace3b3ed5487"></a><!-- doxytag: member="UnterminatedCDATASection" ref="efe9817ef5442905d86fd17cb0c35e47eeba55eae592936faa12ace3b3ed5487" args="" -->UnterminatedCDATASection</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e477a96f08f9a252075c06622afd2e750a5"></a><!-- doxytag: member="ExpectedNDATA" ref="efe9817ef5442905d86fd17cb0c35e477a96f08f9a252075c06622afd2e750a5" args="" -->ExpectedNDATA</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47f3a0616e646e683611a2eb1c43508a54"></a><!-- doxytag: member="NDATANotValidForPE" ref="efe9817ef5442905d86fd17cb0c35e47f3a0616e646e683611a2eb1c43508a54" args="" -->NDATANotValidForPE</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b76210a29f5b170456f80c27a7cce6d5"></a><!-- doxytag: member="HexRadixMustBeLowerCase" ref="efe9817ef5442905d86fd17cb0c35e47b76210a29f5b170456f80c27a7cce6d5" args="" -->HexRadixMustBeLowerCase</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e478998f96b731e92c1e46e98f5e0cace88"></a><!-- doxytag: member="DeclStringRep" ref="efe9817ef5442905d86fd17cb0c35e478998f96b731e92c1e46e98f5e0cace88" args="" -->DeclStringRep</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47d5fa550236de1fb5b079f637743f60c9"></a><!-- doxytag: member="DeclStringsInWrongOrder" ref="efe9817ef5442905d86fd17cb0c35e47d5fa550236de1fb5b079f637743f60c9" args="" -->DeclStringsInWrongOrder</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e24b51294a4e69541752fdf0956a4f06"></a><!-- doxytag: member="NoExtRefsInAttValue" ref="efe9817ef5442905d86fd17cb0c35e47e24b51294a4e69541752fdf0956a4f06" args="" -->NoExtRefsInAttValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4708b7e8d27f479a872c648961ed876cc9"></a><!-- doxytag: member="XMLDeclMustBeLowerCase" ref="efe9817ef5442905d86fd17cb0c35e4708b7e8d27f479a872c648961ed876cc9" args="" -->XMLDeclMustBeLowerCase</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47c0ba323cf061cd4b595932b1e2df3927"></a><!-- doxytag: member="ExpectedEntityValue" ref="efe9817ef5442905d86fd17cb0c35e47c0ba323cf061cd4b595932b1e2df3927" args="" -->ExpectedEntityValue</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4737bca0a615800d67c9901325c7645484"></a><!-- doxytag: member="BadDigitForRadix" ref="efe9817ef5442905d86fd17cb0c35e4737bca0a615800d67c9901325c7645484" args="" -->BadDigitForRadix</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47ae7b790966a35e52a6f2dfd15cc6d97d"></a><!-- doxytag: member="EndedWithTagsOnStack" ref="efe9817ef5442905d86fd17cb0c35e47ae7b790966a35e52a6f2dfd15cc6d97d" args="" -->EndedWithTagsOnStack</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4716ed86daa03603517d2cc676a066bd65"></a><!-- doxytag: member="AmbiguousContentModel" ref="efe9817ef5442905d86fd17cb0c35e4716ed86daa03603517d2cc676a066bd65" args="" -->AmbiguousContentModel</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b2bfd86451b10a41ea11af7af81ee75b"></a><!-- doxytag: member="NestedCDATA" ref="efe9817ef5442905d86fd17cb0c35e47b2bfd86451b10a41ea11af7af81ee75b" args="" -->NestedCDATA</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e479d053e078c2e5c56300794e1c5145844"></a><!-- doxytag: member="UnknownPrefix" ref="efe9817ef5442905d86fd17cb0c35e479d053e078c2e5c56300794e1c5145844" args="" -->UnknownPrefix</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47326a1124d6270b396cfd3a1b68c177d6"></a><!-- doxytag: member="PartialTagMarkupError" ref="efe9817ef5442905d86fd17cb0c35e47326a1124d6270b396cfd3a1b68c177d6" args="" -->PartialTagMarkupError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e474beb6491b1afbc19e72b9c960313e435"></a><!-- doxytag: member="EmptyMainEntity" ref="efe9817ef5442905d86fd17cb0c35e474beb6491b1afbc19e72b9c960313e435" args="" -->EmptyMainEntity</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471d06bf38fe7b0bfe5f100f2a9a68bd48"></a><!-- doxytag: member="CDATAOutsideOfContent" ref="efe9817ef5442905d86fd17cb0c35e471d06bf38fe7b0bfe5f100f2a9a68bd48" args="" -->CDATAOutsideOfContent</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e476d4f03b83b4ae9c4d3250b0b51fddf1a"></a><!-- doxytag: member="OnlyCharRefsAllowedHere" ref="efe9817ef5442905d86fd17cb0c35e476d4f03b83b4ae9c4d3250b0b51fddf1a" args="" -->OnlyCharRefsAllowedHere</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e470a1a8e38d5533ede811618e1f40318c6"></a><!-- doxytag: member="Unexpected2ndSurrogateChar" ref="efe9817ef5442905d86fd17cb0c35e470a1a8e38d5533ede811618e1f40318c6" args="" -->Unexpected2ndSurrogateChar</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47256bbff1cfd0feb02ac8b71d88ee3543"></a><!-- doxytag: member="NoPIStartsWithXML" ref="efe9817ef5442905d86fd17cb0c35e47256bbff1cfd0feb02ac8b71d88ee3543" args="" -->NoPIStartsWithXML</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47055a5e5b2463fb021e23d60bda1e9b7b"></a><!-- doxytag: member="XMLDeclMustBeFirst" ref="efe9817ef5442905d86fd17cb0c35e47055a5e5b2463fb021e23d60bda1e9b7b" args="" -->XMLDeclMustBeFirst</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47bc1f19ec820d8e7fc5512f1067f62064"></a><!-- doxytag: member="XMLVersionRequired" ref="efe9817ef5442905d86fd17cb0c35e47bc1f19ec820d8e7fc5512f1067f62064" args="" -->XMLVersionRequired</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471c6807c8170aeef99103c2766e07a675"></a><!-- doxytag: member="StandaloneNotLegal" ref="efe9817ef5442905d86fd17cb0c35e471c6807c8170aeef99103c2766e07a675" args="" -->StandaloneNotLegal</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47a903a0771dda905dc74bd33304aaf7ba"></a><!-- doxytag: member="EncodingRequired" ref="efe9817ef5442905d86fd17cb0c35e47a903a0771dda905dc74bd33304aaf7ba" args="" -->EncodingRequired</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e470ba7b84abf8d6007ce6d732f8b3a7130"></a><!-- doxytag: member="TooManyColonsInName" ref="efe9817ef5442905d86fd17cb0c35e470ba7b84abf8d6007ce6d732f8b3a7130" args="" -->TooManyColonsInName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47cb636a4d70a299636baa5f3818b0b871"></a><!-- doxytag: member="InvalidColonPos" ref="efe9817ef5442905d86fd17cb0c35e47cb636a4d70a299636baa5f3818b0b871" args="" -->InvalidColonPos</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e476b8b5b4f7451084319cac1aca31b45c7"></a><!-- doxytag: member="ColonNotLegalWithNS" ref="efe9817ef5442905d86fd17cb0c35e476b8b5b4f7451084319cac1aca31b45c7" args="" -->ColonNotLegalWithNS</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47b2c240c710644bf7250f3a2c10fe26c0"></a><!-- doxytag: member="SysException" ref="efe9817ef5442905d86fd17cb0c35e47b2c240c710644bf7250f3a2c10fe26c0" args="" -->SysException</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47fcbc0f2ca6c41b3a21eb2837500e25ba"></a><!-- doxytag: member="XMLException_Fatal" ref="efe9817ef5442905d86fd17cb0c35e47fcbc0f2ca6c41b3a21eb2837500e25ba" args="" -->XMLException_Fatal</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47912fb67fa2b7f12b63c6315fa450ca7a"></a><!-- doxytag: member="UnexpectedEOF" ref="efe9817ef5442905d86fd17cb0c35e47912fb67fa2b7f12b63c6315fa450ca7a" args="" -->UnexpectedEOF</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47e7a34247bfb93c98dfeef2f53bfe40e8"></a><!-- doxytag: member="UnexpectedError" ref="efe9817ef5442905d86fd17cb0c35e47e7a34247bfb93c98dfeef2f53bfe40e8" args="" -->UnexpectedError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47f7c52324e6cc3e1e56de270970e8b76c"></a><!-- doxytag: member="BadSchemaLocation" ref="efe9817ef5442905d86fd17cb0c35e47f7c52324e6cc3e1e56de270970e8b76c" args="" -->BadSchemaLocation</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47c3fe1a44263b4ebc37f0acf5a71d7fd3"></a><!-- doxytag: member="NoGrammarResolver" ref="efe9817ef5442905d86fd17cb0c35e47c3fe1a44263b4ebc37f0acf5a71d7fd3" args="" -->NoGrammarResolver</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e474df8d2f6575bec81544393a0a18d357a"></a><!-- doxytag: member="SchemaScanFatalError" ref="efe9817ef5442905d86fd17cb0c35e474df8d2f6575bec81544393a0a18d357a" args="" -->SchemaScanFatalError</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e477d8cf838bd3244673e21dd6da59ff871"></a><!-- doxytag: member="IllegalRefInStandalone" ref="efe9817ef5442905d86fd17cb0c35e477d8cf838bd3244673e21dd6da59ff871" args="" -->IllegalRefInStandalone</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47f3fa65ebb794f7db947e1ed9ef0a69b3"></a><!-- doxytag: member="PEBetweenDecl" ref="efe9817ef5442905d86fd17cb0c35e47f3fa65ebb794f7db947e1ed9ef0a69b3" args="" -->PEBetweenDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471723473c1c7da40af4d7ba1f4d146bab"></a><!-- doxytag: member="NoEmptyStrNamespace" ref="efe9817ef5442905d86fd17cb0c35e471723473c1c7da40af4d7ba1f4d146bab" args="" -->NoEmptyStrNamespace</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e475db7c623098cbdd81173b35aff462751"></a><!-- doxytag: member="NoUseOfxmlnsAsPrefix" ref="efe9817ef5442905d86fd17cb0c35e475db7c623098cbdd81173b35aff462751" args="" -->NoUseOfxmlnsAsPrefix</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e477e7be94da13de6afd8f20c5279112106"></a><!-- doxytag: member="NoUseOfxmlnsURI" ref="efe9817ef5442905d86fd17cb0c35e477e7be94da13de6afd8f20c5279112106" args="" -->NoUseOfxmlnsURI</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e476988883e69fad1384254b596b51a4166"></a><!-- doxytag: member="PrefixXMLNotMatchXMLURI" ref="efe9817ef5442905d86fd17cb0c35e476988883e69fad1384254b596b51a4166" args="" -->PrefixXMLNotMatchXMLURI</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4779b026293565747f66a176f483d66838"></a><!-- doxytag: member="XMLURINotMatchXMLPrefix" ref="efe9817ef5442905d86fd17cb0c35e4779b026293565747f66a176f483d66838" args="" -->XMLURINotMatchXMLPrefix</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e471a956272fb4e8ef3219d7dc39ea1881f"></a><!-- doxytag: member="NoXMLNSAsElementPrefix" ref="efe9817ef5442905d86fd17cb0c35e471a956272fb4e8ef3219d7dc39ea1881f" args="" -->NoXMLNSAsElementPrefix</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47d49672a224db9fafc6ebd5d7aee42142"></a><!-- doxytag: member="CT_SimpleTypeChildRequired" ref="efe9817ef5442905d86fd17cb0c35e47d49672a224db9fafc6ebd5d7aee42142" args="" -->CT_SimpleTypeChildRequired</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e4742846ef9b2bf5aa295ab667d5ac2d48f"></a><!-- doxytag: member="InvalidRootElemInDOCTYPE" ref="efe9817ef5442905d86fd17cb0c35e4742846ef9b2bf5aa295ab667d5ac2d48f" args="" -->InvalidRootElemInDOCTYPE</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e470ee9d88900461695fd703844ee8a9179"></a><!-- doxytag: member="InvalidElementName" ref="efe9817ef5442905d86fd17cb0c35e470ee9d88900461695fd703844ee8a9179" args="" -->InvalidElementName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47f2f88286ecec87a598c233f535cf64f7"></a><!-- doxytag: member="InvalidAttrName" ref="efe9817ef5442905d86fd17cb0c35e47f2f88286ecec87a598c233f535cf64f7" args="" -->InvalidAttrName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47a3017ca39b601a9a4fecbe9c6456a355"></a><!-- doxytag: member="InvalidEntityRefName" ref="efe9817ef5442905d86fd17cb0c35e47a3017ca39b601a9a4fecbe9c6456a355" args="" -->InvalidEntityRefName</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e47dc1c7719e764b53069f9bce63a86a8c5"></a><!-- doxytag: member="DuplicateDocTypeDecl" ref="efe9817ef5442905d86fd17cb0c35e47dc1c7719e764b53069f9bce63a86a8c5" args="" -->DuplicateDocTypeDecl</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="efe9817ef5442905d86fd17cb0c35e479d6c9e02204312111c5c47f2493ee8e1"></a><!-- doxytag: member="F_HighBounds" ref="efe9817ef5442905d86fd17cb0c35e479d6c9e02204312111c5c47f2493ee8e1" args="" -->F_HighBounds</em>&nbsp;</td><td> </td></tr> </table> </dl> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="0bd81401b2211f0d45582eb2f3cf6aa3"></a><!-- doxytag: member="XMLErrs::isFatal" ref="0bd81401b2211f0d45582eb2f3cf6aa3" args="(const XMLErrs::Codes toCheck)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static bool XMLErrs::isFatal </td> <td>(</td> <td class="paramtype">const <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47">XMLErrs::Codes</a>&nbsp;</td> <td class="paramname"> <em>toCheck</em> </td> <td>&nbsp;)&nbsp;</td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="924a7b7c60bc6b8d70f22c05e27adc74"></a><!-- doxytag: member="XMLErrs::isWarning" ref="924a7b7c60bc6b8d70f22c05e27adc74" args="(const XMLErrs::Codes toCheck)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static bool XMLErrs::isWarning </td> <td>(</td> <td class="paramtype">const <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47">XMLErrs::Codes</a>&nbsp;</td> <td class="paramname"> <em>toCheck</em> </td> <td>&nbsp;)&nbsp;</td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="b8b064984e043c64764f3c8ad79fd894"></a><!-- doxytag: member="XMLErrs::isError" ref="b8b064984e043c64764f3c8ad79fd894" args="(const XMLErrs::Codes toCheck)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static bool XMLErrs::isError </td> <td>(</td> <td class="paramtype">const <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47">XMLErrs::Codes</a>&nbsp;</td> <td class="paramname"> <em>toCheck</em> </td> <td>&nbsp;)&nbsp;</td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="3a1f7b54e8812a36c8b6563e55f8c87f"></a><!-- doxytag: member="XMLErrs::errorType" ref="3a1f7b54e8812a36c8b6563e55f8c87f" args="(const XMLErrs::Codes toCheck)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classXMLErrorReporter.html#db34298ba3609a10c52328e5050d4434">XMLErrorReporter::ErrTypes</a> XMLErrs::errorType </td> <td>(</td> <td class="paramtype">const <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47">XMLErrs::Codes</a>&nbsp;</td> <td class="paramname"> <em>toCheck</em> </td> <td>&nbsp;)&nbsp;</td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="1e7fdefde07af9fb3af949ba6ba59ce7"></a><!-- doxytag: member="XMLErrs::DOMErrorType" ref="1e7fdefde07af9fb3af949ba6ba59ce7" args="(const XMLErrs::Codes toCheck)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classDOMError.html#e103dba9019c82cbd9ce0afbf30cdb1a">DOMError::ErrorSeverity</a> XMLErrs::DOMErrorType </td> <td>(</td> <td class="paramtype">const <a class="el" href="classXMLErrs.html#efe9817ef5442905d86fd17cb0c35e47">XMLErrs::Codes</a>&nbsp;</td> <td class="paramname"> <em>toCheck</em> </td> <td>&nbsp;)&nbsp;</td> <td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="XMLErrorCodes_8hpp-source.html">XMLErrorCodes.hpp</a></ul> </FONT></TD></TR></TABLE><BR> </TD></TR></TABLE></TD></TR></TABLE><BR><TABLE border="0" cellpadding="0" cellspacing="0" width="620"><TR><TD bgcolor="#0086b2"><IMG height="1" src="images/dot.gif" width="1" alt=""></TD></TR><TR><TD align="center"><FONT color="#0086b2" size="-1"><I> Copyright &copy; 1994-2004 The Apache Software Foundation. All Rights Reserved. </I></FONT></TD></TR></TABLE></BODY></HTML>
128.96748
2,706
0.778232
714988e5e237ac55b3d1977ee19ae045b77c55f9
1,347
ts
TypeScript
src/gxzjt-angular/src/app/index/index.module.ts
ou1260207429/10-10-2
48995704f61e079e1e727ebc7ab832eb6c0d3eb7
[ "MIT" ]
null
null
null
src/gxzjt-angular/src/app/index/index.module.ts
ou1260207429/10-10-2
48995704f61e079e1e727ebc7ab832eb6c0d3eb7
[ "MIT" ]
null
null
null
src/gxzjt-angular/src/app/index/index.module.ts
ou1260207429/10-10-2
48995704f61e079e1e727ebc7ab832eb6c0d3eb7
[ "MIT" ]
null
null
null
import { NgModule } from '@angular/core'; import { SharedModule } from '@shared/shared.module'; import { IndexRoutingModule } from './index-routing.module'; import { IndexComponent } from './index/index.component'; import { HandlingGuidListComponent } from './handling-guid-list/handling-guid-list.component'; import { AnnouncementInformationComponent } from './announcement-information/announcement-information.component'; import { FormDownloadListComponent } from './form-download-list/form-download-list.component'; import { LawsAndRegulationsComponent } from './laws-and-regulations/laws-and-regulations.component'; import { IndexHeaderComponent } from './index-header/index-header.component'; import { HandlingGuidListDetailComponent } from './handling-guid-list-detail/handling-guid-list-detail.component'; import { PipesModule } from 'pipes/pipes.module'; const COMPONENTS = []; const COMPONENTS_NOROUNT = [ IndexHeaderComponent, IndexComponent, HandlingGuidListComponent, AnnouncementInformationComponent, FormDownloadListComponent, HandlingGuidListDetailComponent, LawsAndRegulationsComponent]; @NgModule({ imports: [ SharedModule, PipesModule, IndexRoutingModule, ], declarations: [ ...COMPONENTS, ...COMPONENTS_NOROUNT, ], entryComponents: COMPONENTS_NOROUNT }) export class IndexModule { }
37.416667
114
0.775056