Home
last modified time | relevance | path

Searched refs:NUM_PAGES (Results 1 – 25 of 64) sorted by relevance

123

/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/vm/
H A Dthuge-gen.c46 #define NUM_PAGES 4 macro
149 map = mmap(NULL, size*NUM_PAGES, PROT_READ|PROT_WRITE, in test_mmap()
153 memset(map, 0xff, size*NUM_PAGES); in test_mmap()
157 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_mmap()
170 id = shmget(IPC_PRIVATE, size * NUM_PAGES, IPC_CREAT|0600|flags); in test_shmget()
184 memset(map, 0xff, size*NUM_PAGES); in test_shmget()
189 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_shmget()
204 if (read_free(page_sizes[i]) < NUM_PAGES) { in sanity_checks()
207 NUM_PAGES); in sanity_checks()
212 if (read_sysfs(0, "/proc/sys/kernel/shmmax") < NUM_PAGES * largest) { in sanity_checks()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/vm/
H A Dthuge-gen.c46 #define NUM_PAGES 4 macro
149 map = mmap(NULL, size*NUM_PAGES, PROT_READ|PROT_WRITE, in test_mmap()
153 memset(map, 0xff, size*NUM_PAGES); in test_mmap()
157 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_mmap()
170 id = shmget(IPC_PRIVATE, size * NUM_PAGES, IPC_CREAT|0600|flags); in test_shmget()
184 memset(map, 0xff, size*NUM_PAGES); in test_shmget()
189 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_shmget()
204 if (read_free(page_sizes[i]) < NUM_PAGES) { in sanity_checks()
207 NUM_PAGES); in sanity_checks()
212 if (read_sysfs(0, "/proc/sys/kernel/shmmax") < NUM_PAGES * largest) { in sanity_checks()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/vm/
H A Dthuge-gen.c46 #define NUM_PAGES 4 macro
149 map = mmap(NULL, size*NUM_PAGES, PROT_READ|PROT_WRITE, in test_mmap()
153 memset(map, 0xff, size*NUM_PAGES); in test_mmap()
157 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_mmap()
170 id = shmget(IPC_PRIVATE, size * NUM_PAGES, IPC_CREAT|0600|flags); in test_shmget()
184 memset(map, 0xff, size*NUM_PAGES); in test_shmget()
189 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_shmget()
204 if (read_free(page_sizes[i]) < NUM_PAGES) { in sanity_checks()
207 NUM_PAGES); in sanity_checks()
212 if (read_sysfs(0, "/proc/sys/kernel/shmmax") < NUM_PAGES * largest) { in sanity_checks()
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/rust/parquet/src/column/
H A Dreader.rs582 NUM_PAGES,
594 NUM_PAGES,
607 NUM_PAGES,
619 NUM_PAGES,
632 NUM_PAGES,
644 NUM_PAGES,
658 NUM_PAGES,
670 NUM_PAGES,
683 NUM_PAGES,
695 NUM_PAGES,
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/rust/parquet/src/column/
H A Dreader.rs582 NUM_PAGES,
594 NUM_PAGES,
607 NUM_PAGES,
619 NUM_PAGES,
632 NUM_PAGES,
644 NUM_PAGES,
658 NUM_PAGES,
670 NUM_PAGES,
683 NUM_PAGES,
695 NUM_PAGES,
[all …]
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/extsrc/com/lightcrafts/media/jai/codec/
H A DFileSeekableStream.java41 private static final int NUM_PAGES = 32; field in FileSeekableStream
47 private byte[][] pageBuf = new byte[PAGE_SIZE][NUM_PAGES];
51 private int[] currentPage = new int[NUM_PAGES];
67 for (int i = 0; i < NUM_PAGES; i++) { in FileSeekableStream()
120 for (int i = 0; i < NUM_PAGES; i++) { in readPage()
127 int index = (int)(Math.random()*NUM_PAGES); in readPage()
/dports/x11-toolkits/lesstif/lesstif-0.95.2/test/Xm-2.0/notebook/
H A Dtest3.c25 #define NUM_PAGES 8 macro
55 for ( i=0; i< NUM_PAGES; i++ ) { in main()
69 for ( i=0; i< NUM_PAGES; i+=4 ) { in main()
/dports/graphics/gimp-app/gimp-2.10.30/app/display/
H A Dgimpdisplayxfer.c31 #define NUM_PAGES 2 macro
53 cairo_surface_t *render_surface[NUM_PAGES];
198 for (i = 0; i < NUM_PAGES; i++) in xfer_destroy()
244 for (n = 0; n < NUM_PAGES; n++) in gimp_display_xfer_realize()
277 xfer->page = (xfer->page + 1) % NUM_PAGES; in gimp_display_xfer_get_surface()
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/
H A Dplotware.c64 #define NUM_PAGES 3 macro
249 for (i = 0; PlotDisplays[i].page < NUM_PAGES; i++) { in mfd_plotware_expose()
311 if (PLOTWARE_VERSION == 0 || page >= NUM_PAGES) in plotware_showpage()
324 PLOTWARE_PAGENUM = (PLOTWARE_PAGENUM == 0) ? NUM_PAGES - 1 : PLOTWARE_PAGENUM - 1; in plotware_button_handler()
326 PLOTWARE_PAGENUM = (PLOTWARE_PAGENUM >= NUM_PAGES - 1) ? 0 : PLOTWARE_PAGENUM + 1; in plotware_button_handler()
/dports/graphics/openrm/rm160/include/rm/
H A Drmcmpmgr.h129 #define NUM_PAGES (1 << NUM_PAGES_BITS) macro
130 #define PAGE_INDEX_MASK (NUM_PAGES - 1)
/dports/emulators/stella/stella-6.6/src/emucore/
H A DSystem.hxx68 static constexpr uInt16 NUM_PAGES = 1 << (13 - PAGE_SHIFT); member in System
391 std::array<PageAccess, NUM_PAGES> myPageAccessTable;
394 std::array<bool, NUM_PAGES> myPageIsDirtyTable;
/dports/net/zmap/zmap-2.1.1/lib/
H A Dpbm.c13 #define NUM_PAGES 0x10000 macro
18 uint8_t** retv = xcalloc(NUM_PAGES, sizeof(void*)); in pbm_init()
/dports/graphics/p5-Cairo/Cairo-1.109/examples/
H A Dmime-unique-id.pl32 NUM_PAGES => 4, constant
241 for (my $i=0; $i<NUM_PAGES; $i++)
243 my $clip_margin = (NUM_PAGES-$i-1)*5;
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/drivers/dma-buf/
H A Dudmabuf.c16 #define NUM_PAGES 4 macro
49 size = getpagesize() * NUM_PAGES; in main()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/drivers/dma-buf/
H A Dudmabuf.c16 #define NUM_PAGES 4 macro
49 size = getpagesize() * NUM_PAGES; in main()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/drivers/dma-buf/
H A Dudmabuf.c16 #define NUM_PAGES 4 macro
49 size = getpagesize() * NUM_PAGES; in main()
/dports/emulators/mame/mame-mame0226/3rdparty/libflac/src/plugin_winamp2/
H A Dconfigure.c287 #define NUM_PAGES 2 macro
294 HWND all[NUM_PAGES];
322 for (i=0; i<NUM_PAGES; i++) in BroadcastCommand()
383 for (i=0; i<NUM_PAGES; i++) in DialogProc()
/dports/emulators/mess/mame-mame0226/3rdparty/libflac/src/plugin_winamp2/
H A Dconfigure.c287 #define NUM_PAGES 2 macro
294 HWND all[NUM_PAGES];
322 for (i=0; i<NUM_PAGES; i++) in BroadcastCommand()
383 for (i=0; i<NUM_PAGES; i++) in DialogProc()
/dports/graphics/cairo/cairo-1.17.4/test/
H A Dmime-unique-id.c62 #define NUM_PAGES 4 macro
334 for (i = 0; i < NUM_PAGES; i++) { in draw_pages()
335 clip_margin = (NUM_PAGES - i - 1) * 5; in draw_pages()
/dports/games/retroarch/RetroArch-1.9.7/gfx/drivers/
H A Doga_gfx.c51 #define NUM_PAGES 3 macro
93 oga_framebuf_t* pages[NUM_PAGES];
330 for (i = 0; i < NUM_PAGES; ++i) in oga_gfx_free()
418 for (i = 0; i < NUM_PAGES; ++i) in oga_gfx_init()
632 vid->cur_page = (vid->cur_page + 1) % NUM_PAGES; in oga_gfx_frame()
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/tokio-1.13.0/src/util/
H A Dslab.rs60 pages: [Arc<Page<T>>; NUM_PAGES],
63 cached: [CachedPage<T>; NUM_PAGES],
72 pages: [Arc<Page<T>>; NUM_PAGES],
98 const NUM_PAGES: usize = 19; const
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/tokio-1.10.1/src/util/
H A Dslab.rs60 pages: [Arc<Page<T>>; NUM_PAGES],
63 cached: [CachedPage<T>; NUM_PAGES],
72 pages: [Arc<Page<T>>; NUM_PAGES],
98 const NUM_PAGES: usize = 19; const
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/tokio-1.14.0/src/util/
H A Dslab.rs60 pages: [Arc<Page<T>>; NUM_PAGES],
63 cached: [CachedPage<T>; NUM_PAGES],
72 pages: [Arc<Page<T>>; NUM_PAGES],
98 const NUM_PAGES: usize = 19; const
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/tokio-1.15.0/src/util/
H A Dslab.rs60 pages: [Arc<Page<T>>; NUM_PAGES],
63 cached: [CachedPage<T>; NUM_PAGES],
72 pages: [Arc<Page<T>>; NUM_PAGES],
98 const NUM_PAGES: usize = 19; const
/dports/lang/gleam/gleam-0.18.2/cargo-crates/tokio-1.14.0/src/util/
H A Dslab.rs60 pages: [Arc<Page<T>>; NUM_PAGES],
63 cached: [CachedPage<T>; NUM_PAGES],
72 pages: [Arc<Page<T>>; NUM_PAGES],
98 const NUM_PAGES: usize = 19; const

123