Compile-Time Validation## +24 ## Compile-Time Validation ## ALON WOLF ## 20 24 September 15 - 20 ## Software Validation "Confirmation, through the provision of objective evidence, that the requirements for a specific get_vec(); size_t index = get_index(); } vec.at(index) = 42; ## Runtime Performance Validation ## Detecting performance issues at runtime void must_be_fast() { using namespace std::chrono; end = high_resolution_clock::now(); } validate_performance(start, end); ## Static Performance Validation ## Static detection of performance issues void must_be_fast() { /*...*/ can_slowly_read_huge_file();0 码力 | 137 页 | 1.70 MB | 1 年前3
Expressive Compile-time Parsers## +23 ## Expressive Compile-time Parsers ## ALON WOLF ## 20 23 October 01 - 06 ## About me ## • Started learning C++ in high school with a passion for making video games ## Microsoft Visual C++ 2010  ## Dive Into Compile-Time Parsers Libraries Use Cases Implementation Techniques Reflection  for safety-critical applications that we deliver to our /p2_1.jpg) Errors have a high cost, so rigorous testing is a must We use increasingly more compile-time polymorphism and checks Question: how to test if something is compilable in a rigorous way? Imagine0 码力 | 50 页 | 1.37 MB | 1 年前3
Spring Framework 3.1.3 Changelogadded SmartValidator interface with general support for validation hints * added custom @Validated annotation with support for JSR-303 validation groups * JSR-303 SpringValidatorAdapter and MVC paths * added MethodValidationInterceptor/PostProcessor for Hibernate Validator 4.2 based method validation * fixed QuartzJobBean to work with Quartz 2.0/2.1 as well * @Transactional qualifiers match for 404 status * LocaleEditor and StringToLocaleConverter do not restrict variant part through validation * LinkedCaseInsensitiveMap overrides putAll method as well (for IBM JDK 1.6 compatibility) *0 码力 | 25 页 | 69.19 KB | 2 年前3
Django 2.2.x Documentationforgery (CSRF) protection SQL injection protection Clickjacking protection SSL/HTTPS Host header validation Session security User-uploaded content Additional security topics Performance and optimization Form fields Model Form Functions Formset Functions The form rendering API Widgets Form and field validation Middleware Available middleware Middleware ordering Migration Operations Schema Operations Special fields | Built-in widgets Advanced: Forms for models | Integrating media | Formsets | Customizing validation The development process Learn about the various components and tools to help you in the development0 码力 | 2915 页 | 2.83 MB | 2 年前3
Go Compile Time Instrumentationopportunity to work on brand new navigation stack. I’m also founding member of the OpenTelemetry Go compile-time instrumentation project https://github.com/open-telemetry/community/blob/main/projects/go-co0 码力 | 27 页 | 1.74 MB | 1 年前3
CakePHP Cookbook 3.x
Integration with Jenkins ..... 822 29 Validation ..... 825 Creating Validators ..... 825 Validating Data ..... 834 Validating Entity Data ..... 835 Core Validation Rules ..... 835 30 App Class .. entity classes that have not yet been defined. If we wanted to make a new user and save it (with validation) we would do something like: use Cake\ORM\TableRegistry; // Prior to 3.6 use TableRegistry::get('Users') for some reason it doesn’t save, just render the view. This gives us a chance to show the user validation errors or other warnings. Every CakePHP request includes a request object which is accessible0 码力 | 967 页 | 2.80 MB | 2 年前3
The Many Faces of Struct Tagsis it? Use struct tags to specify validators to be applied to a field. ## Why? We often need validation above and beyond type. Specify it declaratively in the struct tags. type Donor struct { Email DonorId: "a8392ac7", } result, _ := validator.ValidateStruct(donor) ## How About Type Validation? interface{} with type bounds? Something like type polymorphism. We can use struct tags to0 码力 | 18 页 | 148.80 KB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
Compile-Time ValidationMitziconstexprtemplate metaprogrammingC++23Expressive Compile-time ParsersMetaprogramming TricksAPI DesignReflectionDomain Specific LanguagesC++compile-timecollision detectionreal-time softwarerobotics algorithmsC++20lookup tablesconfiguration fusesUSB descriptors运行时单元测试框架编译时构造静态测试GoogleTest库C++14Spring FrameworkBeanTransactionJDBCValidationCheckConstraintUniqueConstraintModel validationDjango ORMSessionMiddlewareOpenTelemetryGo compile-time instrumentationinstrumentationASTcontext propagationCakePHP 3.xORMMigration GuideContainableBehaviorstruct tagsconfigurationinternationalizationvalidationcommand-line configuration













