Displaying 20 results from an estimated 64837 matches for "generate".
2023 Dec 23
1
ssh-keygen generator 3 broken.
Hello, I was re-generating the moduli for SSH, and during that process I noticed that, when running the following command:
ssh-keygen -M screen -O prime-tests=600 -O generator=3 -f moduli-2048-01.candidates moduli-2048-01c
It does not produce any errors, only the following:
ebug2: ???1467763: (4) Sophie-Germain
debug2: ???1467763: generator 0 != 3
debug2: ???1467764: (4) Sophie-Germain
2016 Feb 23
7
[PATCH 0/4] Various tweaks to the generator.
Use interfaces files (*.mli files) instead of exporting all symbols
randomly.
Change the 'file is generated' warnings at the top of generated files
so they accurately describe which source file generates each output
file.
Rich.
2023 Dec 23
1
ssh-keygen generator 3 broken
Hello, I was re-generating the moduli for SSH, and during that process I noticed that, when running the following command:
ssh-keygen -M screen -O prime-tests=600 -O generator=3 -f moduli-2048-01.candidates moduli-2048-01c
It does not produce any errors, only the following:
ebug2: ???1467763: (4) Sophie-Germain
debug2: ???1467763: generator 0 != 3
debug2: ???1467764: (4) Sophie-Germain
2019 May 19
5
[libnbd PATCH 0/4] Various interop fixes
Some of these affect attempts to connect to older qemu-nbd versions,
some of them were triggered by manual edits to qemu-nbd source code to
provoke various other compliant (if uncommon) server behaviors.
Eric Blake (4):
starttls: Skip error payload if falling back to unencrypted
states: Reject payload to NBD_REP_ACK
meta-context: Skip error payload if server lacks meta_context
states: Add
2016 Feb 26
1
[PATCH] doc: add info on per-function needed feature
...| Some txt -> pr "%s\n\n" txt
+ );
+
+ (match f.optional with
+ | None -> ()
+ | Some opt ->
+ pr "This command depends on the feature C<%s>. See also
+L</feature-available>.\n\n" opt
+ );
) fishdoc_functions_sorted
(* Generate documentation for guestfish-only commands. *)
diff --git a/generator/gobject.ml b/generator/gobject.ml
index 60c053c..b89463e 100644
--- a/generator/gobject.ml
+++ b/generator/gobject.ml
@@ -1081,6 +1081,14 @@ guestfs_session_close (GuestfsSession *session, GError **err)
pr " *\n";...
2014 Feb 10
5
[PATCH 0/4] add GUID validation (RHBZ#1008417)
...which would do
the same as String, but also validating (just in the C output) the
passed GUID string.
This allows to reject invalid GUIDs before passing them to low-level
tools.
Pino Toscano (4):
utils: add a function to validate a GUID string
generator: add a GUID parameter type
generator: generate code for parameter validation
actions/part_set_gpt_type: set type of "guid" parameter as "GUID"
(RHBZ#1008417).
generator/actions.ml | 11 +++++++++-
generator/bindtests.ml | 3 ++-
generator/c.ml | 54 ++++++++++++++++++++++++++++++++++++++++++++----
ge...
2006 Apr 25
3
Creating your own generators
So I''m interested in creating an application specific generator. The
script/generate command tells me that all I have to do is put a
generator in my rails_root/generators:
> 2. Unzip to directory /Users/{username}/.rails/generators/login
> to use the generator with all your Rails apps
> or to {app_root}/generators/login
> to use with this app only.
S...
2023 Aug 04
1
[libnbd PATCH] golang: Optionally use gofmt on generated .go files
Combine my recent work on improving the generated Go output with
Tage's work on using a canonical formatter for Rust. If gofmt is
available during the build, then the generated .go files will now use
TAB indents and have proper columnar alignment; if it is not
available, the project still compiles.
Signed-off-by: Eric Blake <eblake at re...
2008 Feb 27
6
"no space left on device" related to directory limit
Hello,
We have a 3-node cluster setup with ocfs2.
Since friday one of the nodes went down and would not become clustermember after a reboot because it was unable to write to the ocfs2 filesystem. Message: no space left on device.
There is plenty of diskspace though.
No problem whatsoever to create a file / directory on the filesystem using one of the other nodes.
Today one of the remaining
2016 Feb 23
0
[PATCH 1/4] generator: Add interfaces to all modules.
...R PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *)
+
+val generate_bindtests : unit -> unit
+val generate_erlang_bindtests : unit -> unit
+val generate_golang_bindtests : unit -> unit
+val generate_gobject_js_bindtests : unit -> unit
+val generate_haskell_bindtests : unit -> unit
+val generate_java_bindtests : unit -> unit
+val generate_lua_bindt...
2019 Apr 23
8
[PATCH 0/7] Make deprecation warnings more prominent
Since there are deprecated APIs, make sure that users notice they are
deprecated in more prominent ways than done so far:
- using deprecated C functions now warns by default
- it is possible to use the C library making sure no deprecated function
is ever used
- Python/Ruby/Perl scripts now get warning messages (configured
according to their own systems) when deprecated functions are used
The
2016 Sep 02
6
[PATCH 0/4] generator: Some work to split large C files
By splitting up large C files we can make parallel compiles
a bit faster.
Rich.
2019 Jul 01
2
Re: 1.39 proposal: Let's split up the libguestfs git repo and tarballs
...t; splitting virt-p2v, or copy code as you suggest? Maybe not, because
> > you can imagine for just this project copying the code needed from the
> > common/ directory, and creating a new "mini-generator" for the project
> > which handles the little bits that need to be generated in virt-p2v.
>
> I'm actually solving in a different way, i.e. avoiding altogether the
> generator for p2v stuff.
Hmm. There are parts of the current generator that apply to virt-p2v.
Can we split those parts of the generator out to have a new generator
that only applies to p2v?...
2015 May 28
4
[PATCH 1/4] generator: move api_version to a common version_added
..." version
+ | None -> assert false
+ );
(* Handling of optional argument variants. *)
if optargs <> [] then (
@@ -322,8 +324,8 @@ L</KEYS AND PASSPHRASES> for more information.\n\n";
pr "See L</CALLS WITH OPTIONAL ARGUMENTS>.\n\n";
)
-and generate_actions_pod_back_compat_entry { name = name; added = added;
- style = ret, args, _ } =
+and generate_actions_pod_back_compat_entry ({ name = name;
+ style = ret, args, _ } as f) =
pr "=head2 guestfs_%s\...
2012 Oct 30
7
[PATCH v2 0/7] Add symbol versioning (now working).
This rather more complex patch series adds symbol versioning (7/7
shows it in action). This works for me, tested by running old and new
virt-inspector binaries against the new library.
Rich.
1999 Nov 24
1
Need help..
Dear All,
I am trying to generate some Pareto random variates
using the inverse method. This is really straightfoward
and my R function looks as below :
pareto <- function(c, a, cnt=1000)
{
u <- runif(cnt)
x <- (c / ((u ^ (1 / a))))
mean.theo <- ((c * a) / (a - 1))
mean.gen <- mean(x)
cat('Pareto mean : t...
2005 Dec 22
2
Documentation for generate controller
I can find the API documentation, but where is the documentation for the
standard generators. The wiki has 3rd party generators- but I want to
know specifically what generate controller does, and how it differs from
generate scaffold, and what other generators there are.
Where is this succinctly documented?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 20
8
generate scaffold not generating views
Hi!
Sorry for the newbie question...
I''m following the depot example in AgileWebDevelopmentWithRails.
Stangelly, generating scaffolding using the command (page 53):
./script/generate scaffold Product Admin
does not generate any .rhtml file, but just:
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/
dependency model
exists app/models/
exists test/unit/
exists test/fixtur...
2012 Oct 30
5
[PATCH v3 0/5] Add symbol versioning.
This is a simpler patch series to add symbol versioning.
I have pushed patches 1-3 upstream.
Rich.
2015 Oct 20
3
[PATCH 1/2] generator: add a RelativePathnameList parameter type
...rintf (fp, \"%%d\\n\", %s);\n" n
| Int64 n -> pr " fprintf (fp, \"%%\" PRIi64 \"\\n\", %s);\n" n
diff --git a/generator/c.ml b/generator/c.ml
index 055b683..183bf94 100644
--- a/generator/c.ml
+++ b/generator/c.ml
@@ -131,7 +131,7 @@ let rec generate_prototype ?(extern = true) ?(static = false)
pr "const mountable_t *%s" n
else
pr "const char *%s" n
- | StringList n | DeviceList n ->
+ | StringList n | DeviceList n | RelativePathnameList n ->
next ();
pr "char...