 2022年美团技术年货 合辑保证剧本有序、正 确的执行;多媒体模块负责语音合成和动效绘制,在特定业务场景为剧本播放提供沉 浸式的体验。同时 PC 端在客户端的基础上进行了能力的扩展,对于常见的 React/ Vue/Svelte 网页应用都可以低成本地接入和使用。 管理后台:包括剧本编辑、导入和发布、权限控制、数据看板等功能模块。其中剧本 编辑模块,承载了剧本协议的解析、编辑、预览等关键功能,操作界面按功能划分为0 码力 | 1356 页 | 45.90 MB | 1 年前3 2022年美团技术年货 合辑保证剧本有序、正 确的执行;多媒体模块负责语音合成和动效绘制,在特定业务场景为剧本播放提供沉 浸式的体验。同时 PC 端在客户端的基础上进行了能力的扩展,对于常见的 React/ Vue/Svelte 网页应用都可以低成本地接入和使用。 管理后台:包括剧本编辑、导入和发布、权限控制、数据看板等功能模块。其中剧本 编辑模块,承载了剧本协议的解析、编辑、预览等关键功能,操作界面按功能划分为0 码力 | 1356 页 | 45.90 MB | 1 年前3
 Back to Basics: PointersIn this talk, we will discuss the low level foundations of what a raw pointer is--a variable that stores an address. We will then see some examples of raw pointers for creating data structures, passing pointer is a variable that stores the memory address of a specific object type ○ (Let’s look at an example) 13What is a Pointer? (2/8) ● A pointer is a variable that stores the memory address of a 14 ● px is a pointer ● px’s type is int* ○ px can stores addresses of integers.What is a Pointer? (3/8) ● A pointer is a variable that stores the memory address of a specific object type ● 150 码力 | 152 页 | 5.61 MB | 6 月前3 Back to Basics: PointersIn this talk, we will discuss the low level foundations of what a raw pointer is--a variable that stores an address. We will then see some examples of raw pointers for creating data structures, passing pointer is a variable that stores the memory address of a specific object type ○ (Let’s look at an example) 13What is a Pointer? (2/8) ● A pointer is a variable that stores the memory address of a 14 ● px is a pointer ● px’s type is int* ○ px can stores addresses of integers.What is a Pointer? (3/8) ● A pointer is a variable that stores the memory address of a specific object type ● 150 码力 | 152 页 | 5.61 MB | 6 月前3
 peewee Documentation Release 2.10.2columns. For the twitter clone, there are just three models: User: Represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime that contains two foreign-keys to the User model and stores which users follow one another. Message: Analagous to a tweet. The Message model stores the text content of the tweet, when it was created, MySQL database my_db. More examples in the db_url documentation. Multi-threaded applications peewee stores the connection state in a thread local, so each thread gets its own separate connection. If you prefer0 码力 | 275 页 | 276.96 KB | 1 年前3 peewee Documentation Release 2.10.2columns. For the twitter clone, there are just three models: User: Represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime that contains two foreign-keys to the User model and stores which users follow one another. Message: Analagous to a tweet. The Message model stores the text content of the tweet, when it was created, MySQL database my_db. More examples in the db_url documentation. Multi-threaded applications peewee stores the connection state in a thread local, so each thread gets its own separate connection. If you prefer0 码力 | 275 页 | 276.96 KB | 1 年前3
 peewee Documentation
Release 2.10.2columns. For the twitter clone, there are just three models: User: Represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime that contains two foreign-keys to the User model and stores which users follow one another. Message: Analagous to a tweet. The Message model stores the text content of the tweet, when it was created, and database my_db. • More examples in the db_url documentation. 1.6.7 Multi-threaded applications peewee stores the connection state in a thread local, so each thread gets its own separate connection. If you prefer0 码力 | 221 页 | 844.06 KB | 1 年前3 peewee Documentation
Release 2.10.2columns. For the twitter clone, there are just three models: User: Represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime that contains two foreign-keys to the User model and stores which users follow one another. Message: Analagous to a tweet. The Message model stores the text content of the tweet, when it was created, and database my_db. • More examples in the db_url documentation. 1.6.7 Multi-threaded applications peewee stores the connection state in a thread local, so each thread gets its own separate connection. If you prefer0 码力 | 221 页 | 844.06 KB | 1 年前3
 peewee Documentation
Release 2.0.2mended): concurrent_db = SqliteDatabase(’stats.db’, threadlocals=True) The above implementation stores connection state in a thread local and will only use that connection for a given thread. Pysqlite schema. For the twitter clone, there are just three models: User: represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime foreign-keys to the User model and represents “follow- ing”. Message: analagous to a tweet. this model stores the text content of the message, when it was created, and who posted it (foreign key to User). If0 码力 | 65 页 | 315.33 KB | 1 年前3 peewee Documentation
Release 2.0.2mended): concurrent_db = SqliteDatabase(’stats.db’, threadlocals=True) The above implementation stores connection state in a thread local and will only use that connection for a given thread. Pysqlite schema. For the twitter clone, there are just three models: User: represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime foreign-keys to the User model and represents “follow- ing”. Message: analagous to a tweet. this model stores the text content of the message, when it was created, and who posted it (foreign key to User). If0 码力 | 65 页 | 315.33 KB | 1 年前3
 peewee Documentation Release 1.0.0threadlocals=True: concurrent_db = SqliteDatabase('stats.db', threadlocals=True) The above implementation stores connection state in a thread local and will only use that connection for a given thread. Sqlite can schema. For the twitter clone, there are just three models: User: represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime foreign-keys to the User model and represents “following”. Message: analagous to a tweet. this model stores the text content of the message, when it was created, and who posted it (foreign key to User). If0 码力 | 101 页 | 163.20 KB | 1 年前3 peewee Documentation Release 1.0.0threadlocals=True: concurrent_db = SqliteDatabase('stats.db', threadlocals=True) The above implementation stores connection state in a thread local and will only use that connection for a given thread. Sqlite can schema. For the twitter clone, there are just three models: User: represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime foreign-keys to the User model and represents “following”. Message: analagous to a tweet. this model stores the text content of the message, when it was created, and who posted it (foreign key to User). If0 码力 | 101 页 | 163.20 KB | 1 年前3
 peewee Documentation
Release 1.0.0threadlocals=True) 6 Chapter 1. Contents: peewee Documentation, Release 1.0.0 The above implementation stores connection state in a thread local and will only use that connection for a given thread. Sqlite can schema. For the twitter clone, there are just three models: User: represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime foreign-keys to the User model and represents “follow- ing”. Message: analagous to a tweet. this model stores the text content of the message, when it was created, and who posted it (foreign key to User). 10 码力 | 71 页 | 405.29 KB | 1 年前3 peewee Documentation
Release 1.0.0threadlocals=True) 6 Chapter 1. Contents: peewee Documentation, Release 1.0.0 The above implementation stores connection state in a thread local and will only use that connection for a given thread. Sqlite can schema. For the twitter clone, there are just three models: User: represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime foreign-keys to the User model and represents “follow- ing”. Message: analagous to a tweet. this model stores the text content of the message, when it was created, and who posted it (foreign key to User). 10 码力 | 71 页 | 405.29 KB | 1 年前3
 peewee Documentation Release 0.9.7schema. For the twitter clone, there are just three models: User: represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime foreign-keys to the User model and represents “following”. Message: analagous to a tweet. this model stores the text content of the message, when it was created, and who posted it (foreign key to User). If exists on has been created. class CharField Stores: small strings (0-255 bytes) class TextField Stores: arbitrarily large strings class DateTimeField Stores: python datetime.datetime instances Accepts0 码力 | 78 页 | 143.68 KB | 1 年前3 peewee Documentation Release 0.9.7schema. For the twitter clone, there are just three models: User: represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime foreign-keys to the User model and represents “following”. Message: analagous to a tweet. this model stores the text content of the message, when it was created, and who posted it (foreign key to User). If exists on has been created. class CharField Stores: small strings (0-255 bytes) class TextField Stores: arbitrarily large strings class DateTimeField Stores: python datetime.datetime instances Accepts0 码力 | 78 页 | 143.68 KB | 1 年前3
 peewee Documentation
Release 0.9.7schema. For the twitter clone, there are just three models: User: represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime foreign-keys to the User model and represents “follow- ing”. Message: analagous to a tweet. this model stores the text content of the message, when it was created, and who posted it (foreign key to User). If exists on has been created. class CharField Stores: small strings (0-255 bytes) class TextField Stores: arbitrarily large strings class DateTimeField Stores: python datetime.datetime instances Accepts0 码力 | 53 页 | 347.03 KB | 1 年前3 peewee Documentation
Release 0.9.7schema. For the twitter clone, there are just three models: User: represents a user account and stores the username and password, an email address for generating avatars using gravatar, and a datetime foreign-keys to the User model and represents “follow- ing”. Message: analagous to a tweet. this model stores the text content of the message, when it was created, and who posted it (foreign key to User). If exists on has been created. class CharField Stores: small strings (0-255 bytes) class TextField Stores: arbitrarily large strings class DateTimeField Stores: python datetime.datetime instances Accepts0 码力 | 53 页 | 347.03 KB | 1 年前3
 Techniques to Optimise Multi-threaded Data Building During Game Developmentthreads SpinLock is sync primitive - spins rather than sleeping Flat map is associative container Stores items in arrays - keys in sorted array - giving O(logn) access Speaker notesJOB SYSTEM • Schedules tasks • Some regions will take longer to process 16Pre-process data to create read-only world cache Stores static world contents - for quick access - no duplicated effort Beware of memory cost Need to divide area queries - multiple traversals might be required Speaker notesINTRODUCING THE GRID CACHE • Stores static world elements for quick queries • Consider it a sparse 3D array • Process to create: ▪ Partition0 码力 | 99 页 | 2.40 MB | 6 月前3 Techniques to Optimise Multi-threaded Data Building During Game Developmentthreads SpinLock is sync primitive - spins rather than sleeping Flat map is associative container Stores items in arrays - keys in sorted array - giving O(logn) access Speaker notesJOB SYSTEM • Schedules tasks • Some regions will take longer to process 16Pre-process data to create read-only world cache Stores static world contents - for quick access - no duplicated effort Beware of memory cost Need to divide area queries - multiple traversals might be required Speaker notesINTRODUCING THE GRID CACHE • Stores static world elements for quick queries • Consider it a sparse 3D array • Process to create: ▪ Partition0 码力 | 99 页 | 2.40 MB | 6 月前3
共 962 条
- 1
- 2
- 3
- 4
- 5
- 6
- 97














 
  
 