Reflection Is Not Contemplation
•Recall ^^x reflects on x, [:y:] unreflects (splices) y; [:^^x:] is x •Large consensus on introspection query: contemplation is great •Fear and loathing about code generation • Expansion of existing introspection as: char c = '*';For Comparison: property Using The CodeReckons API consteval auto property(class_builder& b, type type, std::string name) -> void { auto member_name = identifier{("m_" + name).c_str()}; e_const(type))); append_method(b, identifier{("get_" + name).c_str()}, mp, [member_name](method_builder& b){ append_return(b, make_field_expr( make_deref_expr(make_this_expr(b)), member_name));0 码力 | 45 页 | 2.45 MB | 5 月前3Comprehensive Rust(English) 202412
Drop Trait . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 19.8 Exercise: Builder Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118 19.8.1 Solution . . . . . minutes Move Semantics 5 minutes Clone 2 minutes Copy Types 5 minutes Drop 10 minutes Exercise: Builder Type 20 minutes 19.1 Review of Program Memory Programs allocate memory in two ways: • Stack: Continuous replacing drop(a) with a.drop(). 19.8 Exercise: Builder Type In this example, we will implement a complex data type that owns all of its data. We will use the ”builder pattern” to support building a new value0 码力 | 382 页 | 1.00 MB | 10 月前3Conda 4.6.0 Documentation
conda command is the primary interface for managing installations of various packages. It can: • Query and search the Anaconda package index and current Anaconda installation. • Create new conda environments conda search Search for packages and display associated information. The input is a MatchSpec, a query language for conda packages. See examples below. Options: usage: conda search [-h] [--envs] [-i] command over to conda. Therefore it is sometimes necessary to use single or double quotes around the query. conda search ‘scikit’ conda search “*scikit” Search for packages for 64-bit Linux (by default,0 码力 | 190 页 | 728.67 KB | 7 月前3Conda 4.6.1 Documentation
conda command is the primary interface for managing installations of various packages. It can: • Query and search the Anaconda package index and current Anaconda installation. • Create new conda environments conda search Search for packages and display associated information. The input is a MatchSpec, a query language for conda packages. See examples below. Options: usage: conda search [-h] [--envs] [-i] command over to conda. Therefore it is sometimes necessary to use single or double quotes around the query. conda search ‘scikit’ conda search “*scikit” Search for packages for 64-bit Linux (by default,0 码力 | 190 页 | 728.57 KB | 7 月前3跟我学Shiro - 张开涛
公盐。默认就这个 hashService.setHashIterations(1); //生成 Hash 值的迭代次数 HashRequest request = new HashRequest.Builder() .setAlgorithmName("MD5").setSource(ByteSource.Util.bytes("hello")) .setSalt(ByteSource 即首先查看当前线程是否绑定了 Subject,如果没有通过 Subject.Builder 构建一个然后绑定 到现场返回。 如果想自定义创建,可以通过: 这种可以创建相应的 Subject 实例了,然后自己绑定到线程即可。在 new Builder()时如果没 有传入 SecurityManager,自动调用 SecurityUtils.getSecurityManager == null) { subject = (new Subject.Builder()).buildSubject(); ThreadContext.bind(subject); } return subject; } new Subject.Builder().principals(身份).authenticated(true/false)0 码力 | 219 页 | 4.16 MB | 10 月前3Conda 24.7.x Documentation
conda command is the primary interface for managing installations of various packages. It can: • Query and search the Anaconda package index and current Anaconda installation. • Create new conda environments Search for packages and display associated information using the MatchSpec format. MatchSpec is a query language for conda packages. 4.3. Commands 163 conda, Release 24.7.1 usage: conda search [-h] [--envs] command over to conda. Therefore, it is sometimes necessary to use single or double quotes around the query: conda search '*scikit' conda search "*scikit*" Search for packages for 64-bit Linux (by default0 码力 | 808 页 | 4.97 MB | 7 月前3Conda 24.1.x Documentation
conda command is the primary interface for managing installations of various packages. It can: • Query and search the Anaconda package index and current Anaconda installation. • Create new conda environments Search for packages and display associated information using the MatchSpec format. MatchSpec is a query language for conda packages. usage: conda search [-h] [--envs] [-i] [--subdir SUBDIR] [--skip-flexible-search] command over to conda. Therefore, it is sometimes necessary to use single or double quotes around the query: conda search '*scikit' conda search "*scikit*" Search for packages for 64-bit Linux (by default0 码力 | 795 页 | 4.73 MB | 7 月前3Conda 24.3.x Documentation
conda command is the primary interface for managing installations of various packages. It can: • Query and search the Anaconda package index and current Anaconda installation. • Create new conda environments Search for packages and display associated information using the MatchSpec format. MatchSpec is a query language for conda packages. usage: conda search [-h] [--envs] [-i] [--subdir SUBDIR] [--skip-flexible-search] command over to conda. Therefore, it is sometimes necessary to use single or double quotes around the query: conda search '*scikit' conda search "*scikit*" Search for packages for 64-bit Linux (by default0 码力 | 786 页 | 4.98 MB | 7 月前3Conda 24.4.x Documentation
conda command is the primary interface for managing installations of various packages. It can: • Query and search the Anaconda package index and current Anaconda installation. • Create new conda environments Search for packages and display associated information using the MatchSpec format. MatchSpec is a query language for conda packages. usage: conda search [-h] [--envs] [-i] [--subdir SUBDIR] [--skip-flexible-search] command over to conda. Therefore, it is sometimes necessary to use single or double quotes around the query: conda search '*scikit' conda search "*scikit*" Search for packages for 64-bit Linux (by default0 码力 | 786 页 | 4.99 MB | 7 月前3Conda 24.5.x Documentation
conda command is the primary interface for managing installations of various packages. It can: • Query and search the Anaconda package index and current Anaconda installation. • Create new conda environments Search for packages and display associated information using the MatchSpec format. MatchSpec is a query language for conda packages. 4.3. Commands 157 conda, Release 24.5.1.dev1 usage: conda search [-h] command over to conda. Therefore, it is sometimes necessary to use single or double quotes around the query: conda search '*scikit' conda search "*scikit*" Search for packages for 64-bit Linux (by default0 码力 | 794 页 | 5.01 MB | 7 月前3
共 175 条
- 1
- 2
- 3
- 4
- 5
- 6
- 18