Common Package Specification (CPS) in Practice: A Full Round Trip Implementation in Conan C++ Package## +24 ## Common Package Specification (CPS) in Practice: A Full Round Trip Implementation in Conan C++ Package Manager DIEGO RODRIGUEZ-LOSADA GONZALEZ  ### CONAN 2.0 C/C++ Package Manager ## Outline - Introduction to Common Package Specification (CPS) - Creation of CPS files from existing Conan packages - Loading native files from CPS - Location of CPS files - Lessons learned and conclusions ## Why a Common Package Specification (CPS) C/C++ projects top 4 pains: Managing libraries Build times Setting CI Managing0 码力 | 66 页 | 1.76 MB | 1 年前3
Go Context原理及其典型适用场景# Context原理及其适用场景 随手记 李帅(飞雪无情) ___ ¥ 随手记 👨👩👧👦 卡牛 📸 随管家 ___ ## 大纲 常见并发模式 ■ Context实现原理 ☑ TLS VS Context ☑ 典型适用场景 ## Channel func add(a,b int) <-chan int{ sum:=make(chan int) go ## Context ● 一个任务,需要多个goroutine完成 ● 一个请求,会触发好多个goroutine做不同的事情 ● 如果我们的任务终止了,请求取消了,这些正在运行的goroutine怎么办? ● 使用Context来简化这些操作 ## Context能做什么 ## ☑ 手动、定时、超时发出取消信号 ◆ 跨API传值 ☑ 控制生成Context树结构(Context链) func rootctx := context.Background() ctx, cancel := context.WithCancel(rootctx) go watch(ctx) go watch(ctx) time.Sleep(1 * time.Second) cancel() } func watch(ctx context.Context) { for0 码力 | 32 页 | 4.62 MB | 2 年前3
Common Package Specification: Getting Build Tools to Talk to Each OtherA Common Package Specification: Getting Build Tools to Talk to Each Other: Lessons Learned From Making Thousands of Binaries Consumable by Any Build System DIEGO RODRIGUEZ-LOSADA GONZALEZ  ### CONAN 2.0 C/C++ Package Manager ## Outline - Definition and scope - Implementation experience - CPS basics - Directories configuration: Windows, x86_64, VS-2022, Release, static library 3. Install (system package manager or language package manager), build from source by the user, with that configuration 4. Pass information0 码力 | 94 页 | 1.58 MB | 1 年前3
1.5 Go 业务开发中 Error & Context - 毛剑Go业务开发中Error&Context 毛剑 bilibili iammao@vip.qq.com 探探 Gopher China 2019 Agenda Error o Background o Handle Error o Best Practice • Context o Background o Context With API o Best Practice • Conclusion ErrSomething { … } Sentinel errors like io.EOF or low level errors like the constants in the syscall package, like syscall.ENOENT ’ alt=‘OCR图片’/> Error - Best Practice 全仓库支持pkg/errors 为后续完整记录调用栈,需要覆盖使用pkg/errors Error - Best Practice 集中处理错误:errorgroup 容易用错返回的context 扇出没有控制 业务代码容易panic type Group func WithContext(ctx context.Context) (*Group, context.Context) func (g *Group) Go(f func() error) func (g *Group)0 码力 | 26 页 | 10.58 MB | 1 月前3
DeepSeek-V4: Towards Highly Efficient Million-Token Context IntelligenceDeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligence DeepSeek-AI research@deepseek.com Abstract We present a preview version of DeepSeek-V4 series, including two strong Mixture-of- parameters (49B activated) and DeepSeek-V4-Flash with 284B parameters (13B activated) both supporting a context length of one million tokens. DeepSeek-V4 series incorporate several key upgrades in architecture combines Compressed Sparse Attention (CSA) and Heavily Compressed Attention (HCA) to improve long-context efficiency; (2) Manifold- Constrained Hyper-Connections (mHC) that enhance conventional residual0 码力 | 58 页 | 4.27 MB | 1 月前3
Spring Framework 1.2.6 ReferenceMessageSource ..... 3.12.2. Propagating events ..... 3.12.3. Low-level resources and the application context ..... 3.13. Customized behavior in the ApplicationContext ..... 3.13.1. ApplicationContextAware application contexts ..... 47 4.7.2. The classpath*: prefix ..... 47 4.7.3. Unexpected application context handling of FileSystemResource absolute paths ..... 48 5. PropertyEditors, data binding, validation 123 12.2.1. Resource management ..... 123 12.2.2. SessionFactory setup in a Spring application context ..... 124 12.2.3. Inversion of Control: HibernateTemplate and HibernateCallback ..... 125 120 码力 | 290 页 | 1.49 MB | 2 年前3
Conda 24.7.x Documentationwelcome 9 Python Module Index 749 Index 753 Welcome to conda's documentation! Conda provides package, dependency, and environment management for any language. Here, you will find everything you need 4.1 User guide #### 4.1.1 Getting started with conda Conda is a powerful command line tool for package and environment management that runs on Windows, macOS, and Linux. This guide to getting started Conda allows you to create separate environments, each containing their own files, packages, and package dependencies. The contents of each environment do not interact with each other. The most basic way0 码力 | 808 页 | 4.97 MB | 1 年前3
Spring Framework 1.2.2 ChangelogSPRING FRAMEWORK CHANGELOG http://www.springframework.org Changes in version 1.2.2 (5.7.2005) Package org.springframework.aop * added "TargetClass" method to AopProxyUtils (factored out from pre-instantiate and match beans with factory method / "factory-bean" definition Package org.springframework.context * added "alwaysUseMessageFormat" property to AbstractMessageSource, enforcing files with ".xml" filename Package org.springframework.core * fixed ClassPathResource to fall back to its ClassLoader if none specified and no thread context ClassLoader available * deprecated0 码力 | 72 页 | 205.76 KB | 2 年前3
Spring Framework 1.2.5 ReferenceMessageSource ..... 3.12.2. Propagating events ..... 3.12.3. Low-level resources and the application context ..... 3.13. Customized behavior in the ApplicationContext ..... 3.13.1. ApplicationContextAware application contexts ..... 47 4.7.2. The classpath*: prefix ..... 47 4.7.3. Unexpected application context handling of FileSystemResource absolute paths ..... 48 5. PropertyEditors, data binding, validation 123 12.2.1. Resource management ..... 123 12.2.2. SessionFactory setup in a Spring application context ..... 124 12.2.3. Inversion of Control: HibernateTemplate and HibernateCallback ..... 125 120 码力 | 290 页 | 1.49 MB | 2 年前3
Spring Framework 1.2.1 ChangelogBeanFactory registers BeanFactoryAware as default ignored dependency interface Package org.springframework.context * AbstractApplicationContext registers MessageSourceAware/ApplicationContextAware/etc logs message when a bean is not eligible for getting processed by all BeanPostProcessors Package org.springframework.dao * fixed DataAccessUtils' "(required)UniqueResult" methods to business interface Package org.springframework.jms * moved "sessionTransacted" and "sessionAcknowledgeMode(Name)" bean properties from JmsTemplate up to JmsAccessor Package org.springframework0 码力 | 69 页 | 197.87 KB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
Common Package Specification (CPS)Conan C++ Package ManagerCPS files生成build system native filesLocation of CPS filesContextgoroutineTLS并发模式取消信号build toolsinteroperabilityspecificationmodulesErrorerrgrouppkg/errorsCodesDeepSeek-V4Compressed Sparse Attention (CSA)Heavily Compressed Attention (HCA)hybrid attentionMixture-of-Experts (MoE)Dependency InjectionCore packageContext packageDAO supportAOP packageJMX supportcondapackage managernoarch packagepluginsrepositorySpring FrameworkBeanFactoryAOPTransactionORM packageException Handling













