Displaying 2 results from an estimated 2 matches for "rows_per_page".
2012 Nov 04
1
hexdump.c32 for Syslinux 5.00-pre9
...l
+++ b/com32/modules/hexdump.c
@@ -0,0 +1,245 @@
+#include <stddef.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <ctype.h>
+#include <console.h>
+#include <errno.h>
+#include <syslinux/loadfile.h>
+
+/* Macros */
+#define ROWS_PER_PAGE 24
+#define COLS_PER_ROW 16
+#define BYTES_PER_PAGE (ROWS_PER_PAGE * COLS_PER_ROW)
+
+/* Functions declarations */
+static int usage(void);
+static void eat_stdin(void);
+static int do_page(void);
+static void hexdump(const void *memory, size_t bytes);
+
+/* Objects */
+static const char *prog_name...
2006 Mar 30
6
MS SQL query strangeness for ActiveRecord in Rails
...uot;members.id as id, members.last_name,
members.first_name, members.phone, members.company_id, companies.name",
:order => @sort,
:joins => ", companies, engagements_members, engagements",
:conditions => [@cond_str] + @cond_params,
:limit => @user.rows_per_page,
:group => ''members.id, members.last_name, members.first_name,
members.phone, members.company_id, companies.name'',
:offset => @page * Integer(@user.rows_per_page)
)
</pre>
While this perfectly ok with MySQL, MS SQL choked on this. And the
sqlserver_a...