File I/O for Game Developers: Past, Present, and Future
FILE I/O: PAST, PRESENT AND FUTURE CPPCON OCTOBER 3RD 2023 GUY DAVIDSON @HATCAT01INTRODUCTIONS • Head of Engineering Practice at Creative Assembly • 1980 – Acorn Atom • ISO/IEC JTC1/SC22/WG21 • BSI • Disk formatMORE RAM, MORE DISK CAPACITY “The Portable Operating System Interface (POSIX; IPA: /ˈpɒz.ɪks/) is a family of standards specified by the IEEE Computer Society for maintaining compatibility RAM, MORE DISK CAPACITY • Formatted i/o – scanf printf • Direct i/o – fread fwrite • File positioning – ftell fgetpos fseek fsetpos rewind • Unformatted i/o – fgetc/fgets fputc/fputs getchar putchar0 码力 | 64 页 | 2.69 MB | 5 月前3TiDB 2.1.7
published Large-scale Incremental Processing Using Distributed Transactions and Notifications, which de- scribed Percolator: a Google-internal database for ran- dom access transactional workloads where low nition of the ANSI SQL standard’s phantoms: phe- nomenon A3. The preventative definition of phantoms, P3, is “sometimes possible” under snapshot isolation. In discussion with Jepsen, PingCAP’s engineers clari- tested TiDB 2.1.7, 2.1.8, 3.0.0-beta.1, 3.0.0-beta.1- 40, and 3.0.0-rc.2. Our tests ran on a five-node De- bian Stretch cluster, with PD, TiKV, and TiDB on each node. We used a replication factor of 3 for0 码力 | 9 页 | 141.29 KB | 5 月前3Oracle VM VirtualBox 4.2.32 User Manual
Cloning disk images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 5.7 Host I/O caching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 5.8 Limiting bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 6.9 Limiting bandwidth for network I/O . . . . . . . . . . . . . . . . . . . . . . . . . 99 6.10 Improving network performance . . . . . . virtual serial and parallel ports and an Input/Output Advanced Pro- grammable Interrupt Controller (I/O APIC), which is found in many modern PC sys- tems. This eases cloning of PC images from real machines0 码力 | 348 页 | 5.93 MB | 5 月前3Oracle VM VirtualBox 4.3.36 User Manual
Cloning disk images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 5.7 Host I/O caching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 5.8 Limiting bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 6.10 Limiting bandwidth for network I/O . . . . . . . . . . . . . . . . . . . . . . . . . 101 6.11 Improving network performance . . . . . virtual serial and parallel ports and an Input/Output Advanced Pro- grammable Interrupt Controller (I/O APIC), which is found in many modern PC sys- tems. This eases cloning of PC images from real machines0 码力 | 380 页 | 3.79 MB | 5 月前3Django CMS 2.2.x Documentation
Please refer to the documentation on Handling media in custom CMS plugins and the django-sekizai documenta- tion for more information. Toolbar must be enabled explicitly in templates The toolbar no longer urls)), url(r'^', include('cms.urls')), ) if settings.DEBUG: urlpatterns = patterns('', url(r'^media/(?P.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}) Defines the languages available in django CMS. Example: CMS_LANGUAGES = ( ('fr', gettext('French')), ('de', gettext('German')), ('en', gettext('English')), ) Note: Make sure you only define languages which 0 码力 | 76 页 | 627.98 KB | 6 月前3Django CMS 3.0.x Documentation
tutorial-project cd tutorial-project Run it to create a new Django project called mysite: djangocms -p . mysite Windows users may need to do a little extra to make sure Python files are associated correctly yes • Languages to enable. Option can be provided multiple times, or as a comma separated list: en, de • Optional default time zone: America/Chicago: • Activate Django timezone support: yes • Activate CMS ample, if your processor wraps the output in a div tag, you might end up having div tags inside of p tags, which is invalid. You can prevent such cases by returning rendered_content unchanged if instance0 码力 | 180 页 | 1.56 MB | 6 月前3Django CMS 2.3.x Documentation
Please refer to the documentation on Handling media in custom CMS plugins and the django-sekizai documenta- tion for more information. 8 Chapter 1. Install django cms Documentation, Release 2.3.8 Toolbar to serve static media when developing: if settings.DEBUG: urlpatterns = patterns('', url(r'^media/(?P.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}) urls)), url(r'^', include('cms.urls')), ) if settings.DEBUG: urlpatterns = patterns('', url(r'^media/(?P .*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}) 0 码力 | 92 页 | 666.41 KB | 6 月前3Django CMS 2.4.x Documentation
urls)), url(r'^', include('cms.urls')), ) if settings.DEBUG: urlpatterns = patterns('', url(r'^media/(?P.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}) either via {% language %} templatetag or via activate("de") function call in views. Before: {% url "de:myview" %} After: {% load i18n %}{% language "de" %} {% url "myview_name" %} {% endlanguage %} • reverse 'en', 'name': gettext('English'), 'fallbacks': ['de', 'fr'], 'public': True, 'hide_untranslated': True, 'redirect_on_fallback':False, }, { 'code': 'de', 'name': gettext('Deutsch'), 'fallbacks': ['en', 0 码力 | 104 页 | 709.98 KB | 6 月前3Django CMS 3.9.x Documentation
serve, and must include the language in LANGUAGE_CODE. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] (For simplicity’s sake, at this stage it is worth changing the default en-us in that Python imaging library, will be installed. Pillow needs some system-level libraries - the Pillow documenta- tion describes in detail what is required to get this running on various operating systems. 36 page_language_url returns the URL of the current page in another language. Example: {% page_language_url "de" %} 44 Chapter 4. Software version requirements and release notes django cms Documentation, Release0 码力 | 298 页 | 1.79 MB | 6 月前3Django CMS 4.0.x Documentation
serve, and must include the language in LANGUAGE_CODE. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] (For simplicity’s sake, at this stage it is worth changing the default en-us in that Python imaging library, will be installed. Pillow needs some system-level libraries - the Pillow documenta- tion describes in detail what is required to get this running on various operating systems. Add: page_language_url returns the URL of the current page in another language. Example: {% page_language_url "de" %} Configuring language-handling behaviour CMS_LANGUAGES describes the all options available for determining0 码力 | 296 页 | 1.79 MB | 6 月前3
共 337 条
- 1
- 2
- 3
- 4
- 5
- 6
- 34