view release on metacpan or search on metacpan
lib/Algorithm/NaiveBayes.pm view on Meta::CPAN
My first implementation of a Naive Bayes algorithm was in the
now-obsolete AI::Categorize module, first released in May 2001. I
replaced it with the Naive Bayes implementation in AI::Categorizer
(note the extra 'r'), first released in July 2002. I then extracted
that implementation into its own module that could be used outside the
framework, and that's what you see here.
=head1 AUTHOR
Ken Williams, ken@mathforum.org
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Algorithm/SixDegrees.pm view on Meta::CPAN
Thank you to Slaven ReziÄ and Peter John Acklam for bug reports.
Apologies it took so long to see and fix them. (So much for
notifications...)
Andy Lester and Ricardo Signes wrote Module::Starter, which helped
get the framework up and running fairly quickly.
Brad Fitzpatrick of L<http://livejournal.com> for giving me access
to a LiveJournal interface to determine linking information on that
site, which enabled me to write the algorithm that has been reduced
into this module.
view all matches for this distribution
view release on metacpan or search on metacpan
examples/corpus/EventThreadDemo.java view on Meta::CPAN
class EventThreadDemo {
public static void main( String[] args ) {
JFrame frame = new JFrame( "Event Thread Demo" );
frame.addWindowListener( new WindowAdapter() {
public void windowClosing( WindowEvent e ) {
System.exit( 0 );
}
});
examples/corpus/EventThreadDemo.java view on Meta::CPAN
BorderFactory.createCompoundBorder(
BorderFactory.createTitledBorder("Plain Text"),
BorderFactory.createEmptyBorder(5,5,5,5)),
areaScrollPane.getBorder()));
frame.getContentPane().add(
areaScrollPane, BorderLayout.CENTER );
frame.pack();
frame.setVisible( true );
keepBusy( 500, "main" ); //(A)
}
static class MyDocumentListener implements DocumentListener {
public void insertUpdate( final DocumentEvent e ) {
view all matches for this distribution
view release on metacpan or search on metacpan
t/Relativity.test view on Meta::CPAN
Before we deal with this, we shall introduce the following incidental
consideration. Up to the present we have only considered events taking
place along the embankment, which had mathematically to assume the
function of a straight line. In the manner indicated in Section 2
we can imagine this reference-body supplemented laterally and in a
vertical direction by means of a framework of rods, so that an event
which takes place anywhere can be localised with reference to this
framework. Fig. 2 Similarly, we can imagine the train travelling with
the velocity v to be continued across the whole of space, so that
every event, no matter how far off it may be, could also be localised
with respect to the second framework. Without committing any
fundamental error, we can disregard the fact that in reality these
frameworks would continually interfere with each other, owing to the
impenetrability of solid bodies. In every such framework we imagine
three surfaces perpendicular to each other marked out, and designated
as " co-ordinate planes " (" co-ordinate system "). A co-ordinate
system K then corresponds to the embankment, and a co-ordinate system
K' to the train. An event, wherever it may have taken place, would be
fixed in space with respect to K by the three perpendiculars x, y, z
t/Relativity.test view on Meta::CPAN
Finally, the general principle of relativity permits us to determine
the influence of the gravitational field on the course of all those
processes which take place according to known laws when a
gravitational field is absent i.e. which have already been fitted into
the frame of the special theory of relativity. In this connection we
proceed in principle according to the method which has already been
explained for measuring-rods, clocks and freely moving material
points.
The theory of gravitation derived in this way from the general
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alice/HTTP/WebSocket.pm view on Meta::CPAN
}
sub anyevent_read_type {
my ($handle, $cb) = @_;
$handle->{ws_frame} ||= Protocol::WebSocket::Frame->new(
version => $handle->{ws_version}
);
return sub {
my $frame = $_[0]->{ws_frame};
$frame->append(delete $_[0]{rbuf});
while (defined(my $message = $frame->next)) {
if ($frame->is_close) {
$_[0]->push_write(
Protocol::WebSocket::Frame->new(
type => 'close',
version => $_[0]->{ws_version},
)
);
return;
}
elsif ($frame->is_ping) {
$_[0]->push_write(
Protocol::WebSocket::Frame->new(
type => 'ping',
version => $_[0]->{ws_version},
)
view all matches for this distribution
view release on metacpan or search on metacpan
corpus/libpalindrome/config.guess view on Meta::CPAN
else # Add other i860-SVR4 vendors below as they are discovered.
echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
fi
exit ;;
mini*:CTIX:SYS*5:*)
# "miniframe"
echo m68010-convergent-sysv
exit ;;
mc68k:UNIX:SYSTEM5:3.51m)
echo m68k-convergent-sysv
exit ;;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Base/ModuleBuild/FAQ.pod view on Meta::CPAN
=head2 What is Alien and Alien::Base?
Alien is a Perl namespace for defining dependencies in CPAN for libraries and tools which are not "native"
to CPAN. For a manifesto style description of the Why, and How see L<Alien>. L<Alien::Base> is a base
class and framework for creating Alien distributions. The idea is to address as many of the common challenges
to developing Alien modules in the base class to simplify the process.
=head2 How do I specify a minimum or exact version requirement for packages that use pkg-config?
The C<alien_version_check> attribute to L<Alien::Base::ModuleBuild> will be executed to determine if
view all matches for this distribution
view release on metacpan or search on metacpan
Alien::Base is a base class and framework for creating Alien
distributions. The goal of the project is to make things as simple and
easy as possible for both developers and users of Alien modules.
Alien is a Perl namespace for defining dependencies in CPAN for
libraries and tools which are not "native" to CPAN. Alien modules will
view all matches for this distribution
view release on metacpan or search on metacpan
corpus/vcpkg/r2/installed/vcpkg/info/lz4_1.9.2_x64-windows.list view on Meta::CPAN
x64-windows/debug/bin/lz4d.pdb
x64-windows/debug/lib/
x64-windows/debug/lib/lz4d.lib
x64-windows/include/
x64-windows/include/lz4.h
x64-windows/include/lz4frame.h
x64-windows/include/lz4frame_static.h
x64-windows/include/lz4hc.h
x64-windows/lib/
x64-windows/lib/lz4.lib
x64-windows/share/
x64-windows/share/lz4/
view all matches for this distribution
view release on metacpan or search on metacpan
patch/cfitsio-4.6.2.patch view on Meta::CPAN
/* SUN Solaris7 in 64-bit mode */
#define BYTESWAPPED FALSE
! #define MACHINE NATIVE
#define LONGSIZE 64
/* IBM System z mainframe support */
--- 86,92 ----
#elif defined(__sparcv9) || (defined(__sparc__) && defined(__arch64__))
/* SUN Solaris7 in 64-bit mode */
#define BYTESWAPPED FALSE
! #define CFITSIO_MACHINE NATIVE
#define LONGSIZE 64
/* IBM System z mainframe support */
***************
*** 106,112 ****
#elif defined(_SX) /* Nec SuperUx */
#define BYTESWAPPED FALSE
view all matches for this distribution
view release on metacpan or search on metacpan
};
\@libs;
}
use constant PYTHON_FRAMEWORK_PREFIX => '/Library/Frameworks/Python.framework';
sub macos_relocatable_python {
my ($build, $base) = @_;
$base = path($base);
die "Not a directory: $base" unless -d $base;
my ($version_base) = $base->child( qw(Python.framework Versions) )->children( qr/^3\./ );
my @paths_to_check;
File::Find::find(
sub { push @paths_to_check, path($File::Find::name) if -f && -B },
$version_base );
my %paths_changed;
# Turn paths from PYTHON_FRAMEWORK_PREFIX to @rpath/Python.framework.
my $frameworks_path = path(PYTHON_FRAMEWORK_PREFIX)->parent;
my $rpathify = sub {
my ($path) = @_;
return unless index($path, PYTHON_FRAMEWORK_PREFIX . '/') == 0;
return File::Spec->catfile(
'@rpath',
File::Spec->abs2rel($path, $frameworks_path)
);
};
for my $change_path (@paths_to_check) {
next if exists $paths_changed{$change_path};
my $libs;
$change_path
]); # no or die to avoid duplicate rpath bits
}
if( $change_path->basename =~ /\.dylib$|^Python$/ ) {
my $to_python_framework_path = File::Spec->catfile(
$frameworks_path,
File::Spec->abs2rel($change_path, $base)
);
my $id_with_rpath = $rpathify->($to_python_framework_path);
$build->log("-id for $change_path: $id_with_rpath\n");
IPC::Cmd::run( command => [
qw(install_name_tool -id),
$id_with_rpath,
$change_path
]) or die;
}
$build->log("Processing libs for $change_path\n");
for my $lib (@$libs) {
my $lib_with_rpath_framework = $rpathify->($lib) or next;
$build->log("-change: $lib -> $lib_with_rpath_framework\n");
IPC::Cmd::run( command => [
qw(install_name_tool -change),
$lib,
$lib_with_rpath_framework,
$change_path
]) or die;
}
}
patch sub {
my ($build) = @_;
my @children = Path::Tiny->cwd->children;
$_->remove_tree for grep { $_->basename ne 'Python_Framework.pkg' } @children;
my $framework_src_dir = path('Python_Framework.pkg');
my $framework_dst_dir = path('Python.framework');
$framework_dst_dir->mkpath;
File::Copy::Recursive::rmove( "$framework_src_dir/Payload/*", $framework_dst_dir );
$framework_src_dir->remove_tree( { safe => 0 } );
macos_relocatable_python($build, $framework_dst_dir->parent);
};
plugin 'Build::Copy';
after build => sub {
my $prefix = path($build->install_prop->{prefix});
$build->runtime_prop->{'style'} = 'binary';
$build->runtime_prop->{command} = 'python3';
my $framework_dst_dir = path('Python.framework');
my ($version_base) = $framework_dst_dir->child( qw(Versions) )->children( qr/^3\./ );
$build->runtime_prop->{share_bin_dir_rel} = $version_base->child('bin')->stringify;
};
}
share {
view all matches for this distribution
view release on metacpan or search on metacpan
examples/opengl.pl view on Meta::CPAN
// clear the buffers
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
// draw...
// end the current frame (internally swaps the front and back buffers)
window.display();
}
// release resources...
view all matches for this distribution
view release on metacpan or search on metacpan
cp/codepress/codepress.js view on Meta::CPAN
*
* Read the full licence: http://www.opensource.org/licenses/lgpl-license.php
*/
CodePress = function(obj) {
var self = document.createElement('iframe');
self.textarea = obj;
self.textarea.disabled = true;
self.textarea.style.overflow = 'hidden';
self.style.height = self.textarea.clientHeight +'px';
self.style.width = self.textarea.clientWidth +'px';
self.textarea.style.overflow = 'auto';
self.style.border = '1px solid gray';
self.frameBorder = 0; // remove IE internal iframe border
self.style.visibility = 'hidden';
self.style.position = 'absolute';
self.options = self.textarea.className;
self.initialize = function() {
cp/codepress/codepress.js view on Meta::CPAN
self.editor.autocomplete = (self.editor.autocomplete) ? false : true;
}
self.toggleReadOnly = function() {
self.textarea.readOnly = (self.textarea.readOnly) ? false : true;
if(self.style.display != 'none') // prevent exception on FF + iframe with display:none
self.editor.readOnly(self.textarea.readOnly ? true : false);
}
self.toggleLineNumbers = function() {
var cn = self.editor.body.className;
view all matches for this distribution
view release on metacpan or search on metacpan
my @extra_linker_flags;
push @extra_linker_flags, ExtUtils::CppGuess->new->linker_flags;
if( $^O eq 'darwin' ) {
push @extra_linker_flags, qw(-framework CoreFoundation);
}
for my $type ('', '_static') {
$build->runtime_prop->{"cflags$type"} = join ' ',
$build->runtime_prop->{"cflags$type"},
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Electron.pm view on Meta::CPAN
__END__
=head1 NAME
Alien::Electron - Download and install the electron GUI framework
=head1 DESCRIPTION
This package will download a zip file containing github's L<Electron GUI framework|http://electron.atom.io/> and will then install it into its private distribution share directory.
The location of the binary is stored in the C<$Alien::Electron::electron_binary> variable:
$ perl -MAlien::Electron -E 'say $Alien::Electron::electron_binary'
/usr/local/share/perl/5.18.2/auto/share/dist/Alien-Electron/electron
view all matches for this distribution
view release on metacpan or search on metacpan
share/OFL1.1.txt view on Meta::CPAN
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
view all matches for this distribution
view release on metacpan or search on metacpan
src/Source/LibWebP/README
src/Source/LibWebP/README.mux
src/Source/LibWebP/src/dec/alphai.h
src/Source/LibWebP/src/dec/dec.alpha.c
src/Source/LibWebP/src/dec/dec.buffer.c
src/Source/LibWebP/src/dec/dec.frame.c
src/Source/LibWebP/src/dec/dec.idec.c
src/Source/LibWebP/src/dec/dec.io.c
src/Source/LibWebP/src/dec/dec.quant.c
src/Source/LibWebP/src/dec/dec.tree.c
src/Source/LibWebP/src/dec/dec.vp8.c
src/Source/LibWebP/src/enc/enc.analysis.c
src/Source/LibWebP/src/enc/enc.backward_references.c
src/Source/LibWebP/src/enc/enc.config.c
src/Source/LibWebP/src/enc/enc.cost.c
src/Source/LibWebP/src/enc/enc.filter.c
src/Source/LibWebP/src/enc/enc.frame.c
src/Source/LibWebP/src/enc/enc.histogram.c
src/Source/LibWebP/src/enc/enc.iterator.c
src/Source/LibWebP/src/enc/enc.near_lossless.c
src/Source/LibWebP/src/enc/enc.picture.c
src/Source/LibWebP/src/enc/enc.picture_csp.c
view all matches for this distribution
view release on metacpan or search on metacpan
GvaScript_Builder.pm view on Meta::CPAN
chmod 0777, $dest;
open my $dest_fh, ">$dest" or die "open >$dest : $!";
print $dest_fh <<__EOJS__;
/*-------------------------------------------------------------------------*
* GvaScript - Javascript framework born in Geneva.
*
* Authors: Laurent Dami <laurent.d...\@etat.ge.ch>
* Mona Remlawi
* Jean-Christophe Durand
* Sebastien Cuendet
GvaScript_Builder.pm view on Meta::CPAN
if((typeof Prototype=='undefined') ||
(typeof Element == 'undefined') ||
(typeof Element.Methods=='undefined') ||
(convertVersionString(Prototype.Version) <
convertVersionString(GvaScript.REQUIRED_PROTOTYPE)))
throw("GvaScript requires the Prototype JavaScript framework >= " +
GvaScript.REQUIRED_PROTOTYPE);
}
};
GvaScript.load();
view all matches for this distribution
view release on metacpan or search on metacpan
requires 'Alien::m4' => '0.11';
if ($^O eq 'darwin') {
meta->after_hook(gather_share => sub {
my($build) = @_;
$build->runtime_prop->{$_} .= '-framework CoreFoundation -framework IOKit' for qw( libs libs_static );
});
} elsif ($^O eq 'linux') {
requires 'Alien::LibUSB' => '0.2';
requires 'Alien::libudev' => '0.11';
view all matches for this distribution
view release on metacpan or search on metacpan
patches/Makefile_iup.mingw view on Meta::CPAN
CF_iup = -c -Wall -O2 -Iinclude -Isrc -Isrc/win -Ietc -D_WIN32_WINNT=0x0501 -D_WIN32_IE=0x600 -DWINVER=0x0501 -DNOTREEVIEW -DUNICODE -DIUP_DLL $(CF_iup_EXTRA)
LF_iup = -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -luuid -loleaut32 -lole32 -lcomctl32 $(LF_iup_EXTRA)
SLIB_iup = ./lib/$(BUILDNICK)/libiup.a
DLIB_iup = ./lib/$(BUILDNICK)/libiup.dll.a
ILIB_iup = ./lib/$(BUILDNICK)/iup_alien_.dll
OBJS_iup = ./obj/$(BUILDNICK)/iup/iup_array.o ./obj/$(BUILDNICK)/iup/iup_callback.o ./obj/$(BUILDNICK)/iup/iup_dlglist.o ./obj/$(BUILDNICK)/iup/iup_attrib.o ./obj/$(BUILDNICK)/iup/iup_focus.o ./obj/$(BUILDNICK)/iup/iup_font.o ./obj/$(BUILDNICK)/iup/i...
./obj/$(BUILDNICK)/iup/iup_array.o : src/iup_array.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iup_callback.o : src/iup_callback.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iup_dlglist.o : src/iup_dlglist.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iup_attrib.o : src/iup_attrib.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
patches/Makefile_iup.mingw view on Meta::CPAN
./obj/$(BUILDNICK)/iup/iup_colordlg.o : src/iup_colordlg.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iup_fontdlg.o : src/iup_fontdlg.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iup_filedlg.o : src/iup_filedlg.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iup_strmessage.o : src/iup_strmessage.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iup_menu.o : src/iup_menu.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iup_frame.o : src/iup_frame.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iup_user.o : src/iup_user.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iup_button.o : src/iup_button.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iup_radio.o : src/iup_radio.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iup_toggle.o : src/iup_toggle.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iup_progressbar.o : src/iup_progressbar.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
patches/Makefile_iup.mingw view on Meta::CPAN
./obj/$(BUILDNICK)/iup/iupwin_messagedlg.o : src/win/iupwin_messagedlg.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iupwin_timer.o : src/win/iupwin_timer.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iupwin_image.o : src/win/iupwin_image.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iupwin_label.o : src/win/iupwin_label.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iupwin_canvas.o : src/win/iupwin_canvas.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iupwin_frame.o : src/win/iupwin_frame.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iupwin_colordlg.o : src/win/iupwin_colordlg.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iupwin_fontdlg.o : src/win/iupwin_fontdlg.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iupwin_filedlg.o : src/win/iupwin_filedlg.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iupwin_dragdrop.o : src/win/iupwin_dragdrop.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
./obj/$(BUILDNICK)/iup/iupwin_button.o : src/win/iupwin_button.c ; gcc $(CF_ALL) $(CF_iup) $^ -o $@
patches/Makefile_iup.mingw view on Meta::CPAN
CF_iupglcontrols = -c -Wall -O2 -Iinclude -Isrc -Isrcglcontrols -I../ftgl/include -I../freetype/include -DFTGL_LIBRARY $(CF_iupglcontrols_EXTRA)
LF_iupglcontrols = -liupgl -liup -lftgl -lfreetype6 -lzlib1 -lglaux -lglu32 -lopengl32 -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -luuid -loleaut32 -lole32 -lcomctl32 $(LF_iupglcontrols_EXTRA)
SLIB_iupglcontrols = ./lib/$(BUILDNICK)/libiupglcontrols.a
DLIB_iupglcontrols = ./lib/$(BUILDNICK)/libiupglcontrols.dll.a
ILIB_iupglcontrols = ./lib/$(BUILDNICK)/iupglcontrols_alien_.dll
OBJS_iupglcontrols = ./obj/$(BUILDNICK)/iupglcontrols/iup_glcontrols.o ./obj/$(BUILDNICK)/iupglcontrols/iup_glcanvasbox.o ./obj/$(BUILDNICK)/iupglcontrols/iup_glsubcanvas.o ./obj/$(BUILDNICK)/iupglcontrols/iup_gllabel.o ./obj/$(BUILDNICK)/iupglcontro...
./obj/$(BUILDNICK)/iupglcontrols/iup_glcontrols.o : srcglcontrols/iup_glcontrols.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
./obj/$(BUILDNICK)/iupglcontrols/iup_glcanvasbox.o : srcglcontrols/iup_glcanvasbox.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
./obj/$(BUILDNICK)/iupglcontrols/iup_glsubcanvas.o : srcglcontrols/iup_glsubcanvas.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
./obj/$(BUILDNICK)/iupglcontrols/iup_gllabel.o : srcglcontrols/iup_gllabel.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
patches/Makefile_iup.mingw view on Meta::CPAN
./obj/$(BUILDNICK)/iupglcontrols/iup_glbutton.o : srcglcontrols/iup_glbutton.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
./obj/$(BUILDNICK)/iupglcontrols/iup_gltoggle.o : srcglcontrols/iup_gltoggle.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
./obj/$(BUILDNICK)/iupglcontrols/iup_gllink.o : srcglcontrols/iup_gllink.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
./obj/$(BUILDNICK)/iupglcontrols/iup_glprogressbar.o : srcglcontrols/iup_glprogressbar.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
./obj/$(BUILDNICK)/iupglcontrols/iup_glval.o : srcglcontrols/iup_glval.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
./obj/$(BUILDNICK)/iupglcontrols/iup_glframe.o : srcglcontrols/iup_glframe.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
./obj/$(BUILDNICK)/iupglcontrols/iup_glexpander.o : srcglcontrols/iup_glexpander.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
./obj/$(BUILDNICK)/iupglcontrols/iup_glscrollbars.o : srcglcontrols/iup_glscrollbars.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
./obj/$(BUILDNICK)/iupglcontrols/iup_glscrollbox.o : srcglcontrols/iup_glscrollbox.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
./obj/$(BUILDNICK)/iupglcontrols/iup_glsizebox.o : srcglcontrols/iup_glsizebox.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
./obj/$(BUILDNICK)/iupglcontrols/iup_gltext.o : srcglcontrols/iup_gltext.c ; gcc $(CF_ALL) $(CF_iupglcontrols) $^ -o $@
view all matches for this distribution
view release on metacpan or search on metacpan
src/judy-1.0.5/config.guess view on Meta::CPAN
else # Add other i860-SVR4 vendors below as they are discovered.
echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
fi
exit ;;
mini*:CTIX:SYS*5:*)
# "miniframe"
echo m68010-convergent-sysv
exit ;;
mc68k:UNIX:SYSTEM5:3.51m)
echo m68k-convergent-sysv
exit ;;
view all matches for this distribution
view release on metacpan or search on metacpan
libjit/ChangeLog view on Meta::CPAN
2009-01-01 Klaus Treichel <ktreichel@web.de>
* jit/jit-rules-x86-64.ins (JIT_OP_NFLOAT_TO_FLOAT32,
JIT_OP_NFLOAT_TO_FLOAT64): Add rules for the case that the
destination value is in the stack frame.
(JIT_OP_BR_ILT, JIT_OP_BR_ILE, JIT_OP_BR_IGT, JIT_OP_BR_IGE):
Handle the comparision with a constant 0 with a test opcode instead
of a cmp.
(JIT_OP_ISIGN, JIT_OP_LSIGN): Add handling of the integer sign
opcodes.
libjit/ChangeLog view on Meta::CPAN
* jit/jit-rules-x86.ins: Move declaration of patch to the start of
the block in JIT_OP_ULONG_TO_NFLOAT to be ANSI C compliant.
2008-05-21 Aleksey Demakov <ademakov@gmail.com>
* include/jit/jit-walk.h (jit_get_next_frame_address): use
JIT_ARCH_GET_NEXT_FRAME if defined, use gcc syntax only if
defined __GNUC__.
2008-05-12 Klaus Treichel <ktreichel@web.de>
libjit/ChangeLog view on Meta::CPAN
2008-04-13 Klaus Treichel <ktreichel@web.de>
* include/jit/Makefile.am:
* include/jit/jit-arch-x86-64.h: new file with x86-64 architecture
specific macros for stack frame inspection.
* configure.in: check for x86-64 arch, add -fno-omit-frame-pointer
flag.
* include/jit/jit-walk.h: use _JIT_ARCH_GET_RETURN_ADDRESS and
_JIT_ARCH_GET_CURRENT_RETURN if available.
libjit/ChangeLog view on Meta::CPAN
* jit/jit-reg-alloc.c (is_register_occupied): add new function;
(clobbers_register, spill_clobbered_register, _jit_regs_gen): fix
a problem that shows up with the new cleanup method.
* tools/gen-rules-parser.y (gensel_output_clauses): the conditions
for the local and frame patterns are changed. If the value is used
before it is defined then both in_frame and in_register flags are
clear. This situation is perfectly valid if there is a backward
branch form a point after the definition to a point before the use.
So if the value is not a constant and it is not in a register assume
that it is on the stack even if the in_frame flag is not set.
2007-02-10 Klaus Treichel <ktreichel@web.de>
* jit/jit-function.c: Use the on-demand compilation driver in
jit_function_apply too. Return the functions' entry point if the
libjit/ChangeLog view on Meta::CPAN
* include/jit/jit-arch-x86.h (_JIT_ARCH_GET_CURRENT_FRAME): tweak
gcc version of the macro.
* jit/jit-apply-x86.c (_jit_create_redirector): redirector does not
use stack frame so remove frame set up and restore instructions.
2007-01-23 Aleksey Demakov <ademakov@gmail.com>
* jit/jit-internal.h, jit/jit-function.c: remove the closure_entry
field from jit_function_t. Find this value on the fly in
libjit/ChangeLog view on Meta::CPAN
2006-09-25 Aleksey Demakov <ademakov@gmail.com>
* include/jit/jit-arch-x86.h, include/jit/jit-arch-generic.h: add
headers for architecture-specific definitions.
(_JIT_ARCH_GET_CURRENT_FRAME): add macro to find the stack frame
pointer.
* include/jit/Makefile.am: create jit-arch.h as a symlink to one of
the jit-arch-*.h files depending on the JIT_ARCH value.
* configure.in: set JIT_ARCH according to the system architecture.
* include/jit/jit-walk.h (jit_get_current_frame):
* jit/jit-walk.c (jit_get_starting_frame):
* tools/gen-apply.c (find_return_offset, detect_frame_offsets): use
_JIT_ARCH_GET_CURRENT_FRAME macro if available. This resolves the
problem with gcc 4.1.* where __builtin_frame_address() function is
broken (thanks Klaus for identifing the problem).
2006-09-15 Radek Polak <psonek2@seznam.cz>
* include/jit/jit-insn.h, jit/jit-insn.c, jit/jit-debugger.c: new
libjit/ChangeLog view on Meta::CPAN
* jitdynamic/Makefile.am, jitplus/Makefile.am: Add -no-undefined to the
LDFLAGS to enable building cygwin/mingw dlls.
2006-08-31 Aleksey Demakov <ademakov@gmail.com>
* tools/gen-rules-scanner.l, tools/gen-rules-parser.y: add "frame"
keyword that is just like "local" but forces the value out from the
register into the stack frame.
* jit/jit-rules-x86.ins: rewrite JIT_OP_COPY_STORE_BYTE,
JIT_OP_ADDRESS_OF, and JIT_OP_COPY_STORE_SHORT rules using the
"frame" keyword.
* jit/Makefile.am, jit/jit-rules-x86.c: remove all references to
jit-rules-x86.sel and jit-rules-x86.slc.
* jit/jit-rules-x86.c: remove mov_memindex_reg_byte() and
libjit/ChangeLog view on Meta::CPAN
changing nesting order of for and if statements.
2006-05-19 Aleksey Demakov <ademakov@gmail.com>
* jit-reg-alloc.h, jit/jit-reg-alloc.c: determine if input values
need to be saved and evicted from registers to stack frame at the
_jit_regs_assign() time. Uniformly save input values that need to
in _jit_regs_gen(), do not save them in _jit_regs_commit(). This
simplifies handling of stack registers. Remove initial_stack_top,
exchanges, num_exchages fields from the _jit_regs_t struct. Add
save and kill bit fields to the _jit_regdesc_t struct. Refactor
libjit/ChangeLog view on Meta::CPAN
and `copy' keywords. Fix bugs.
2006-03-23 Klaus Treichel <ktreichel@web.de>
* jit/jitc-except.c: Walk the stack to build the stack trace in
jit_exception_get_stack_trace when the frame is not broken.
2006-03-23 Aleksey Demakov <ademakov@gmail.com>
* tools/Makefile.am:
* tools/gen-rules-parser.y, tools/gen-rules-scanner.l: add
libjit/ChangeLog view on Meta::CPAN
implement or stub missing x86 instruction selection rules.
* include/jit/jit-insn.h, include/jit/jit-opcode.h,
include/jit/jit-plus.h, jit/jit-function.c, jit/jit-insn.c,
jit/jit-interp.c, jit/jit-opcode.c, jit/jit-rules-interp.c,
jitplus/jit-plus-function.cpp: add the "outgoing_frame_posn"
instruction, to support tail calls.
2004-06-11 Rhys Weatherley <rweather@southern-storm.com.au>
* doc/libjit.texi, jit/jit-insn.c, jit/jit-internal.h,
libjit/ChangeLog view on Meta::CPAN
the overhead of function calls that involve stacked arguments
on non-x86 platforms; use parameter areas in the ARM back end.
* include/jit/jit-plus.h, include/jit/jit-value.h, jit/jit-insn.c,
jit/jit-internal.h, jit/jit-reg-alloc.c, jit/jit-rules-x86.c,
jit/jit-value.c: don't over-allocate x86 stack frames if
EBX, ESI, and EDI don't need to be saved; don't perform global
register allocation on stacked parameters because it confuses
the register spill logic.
* jit/jit-reg-alloc.c (_jit_regs_load_value): avoid unnecessary
libjit/ChangeLog view on Meta::CPAN
* jit/jit-dump.c, jit/jit-reg-alloc.c: fix a register stack bug
in "_jit_regs_set_value"; add some more debug code.
* include/jit/jit-opcode.h, jit/jit-insn.c, jit/jit-internal.h,
jit/jit-interp.cpp, jit/jit-opcode.c: wrap function calls
with code to set up and remove exception frame information.
* jit/jit-function.c, jit/jit-insn.c, jit/jit-internal.h:
intuit "nothrow" and "noreturn" flags for compiled functions.
* include/jit/jit-insn.h, include/jit/jit-plus.h, jit/jit-insn.c,
view all matches for this distribution
view release on metacpan or search on metacpan
libjio/tests/behaviour/tf.py view on Meta::CPAN
"""
Our customized testing framework.
While not as sophisticated as the unittest module, it's targeted to our
particular kind of tests.
To that end, it has several simple but useful functions aimed to make tests
view all matches for this distribution
view release on metacpan or search on metacpan
'linux' => 'libtensorflow.so.2',
'darwin' => 'libtensorflow.2.dylib',
'MSWin32' => 'tensorflow.dll',
);
my %other_os_dynamic_lib = (
'linux' => 'libtensorflow_framework.so.2',
'darwin' => 'libtensorflow_framework.2.dylib',
);
probe sub {
# linux: ./lib/libtensorflow.so.2
# darwin: ./lib/libtensorflow.2.dylib
view all matches for this distribution
view release on metacpan or search on metacpan
corpus/config.guess view on Meta::CPAN
else # Add other i860-SVR4 vendors below as they are discovered.
echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
fi
exit ;;
mini*:CTIX:SYS*5:*)
# "miniframe"
echo m68010-convergent-sysv
exit ;;
mc68k:UNIX:SYSTEM5:3.51m)
echo m68k-convergent-sysv
exit ;;
view all matches for this distribution
view release on metacpan or search on metacpan
prototype.js view on Meta::CPAN
/* Prototype JavaScript framework, version 1.6.0
* (c) 2005-2007 Sam Stephenson
*
* Prototype is freely distributable under the terms of an MIT-style license.
* For details, see the Prototype web site: http://www.prototypejs.org/
*
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien.pm view on Meta::CPAN
library flags required for using the library.
=back
These are guidelines, and this module does not provide an implementation
or a framework, because of the diverse nature of non-Perl dependencies
on CPAN. The more common cases are handled by the L<Alien::Base> +
L<Alien::Build> system, which is recommended if you want to avoid
reinventing the wheel. See the L</SEE ALSO> section below for helpful
resources.
lib/Alien.pm view on Meta::CPAN
L<Alien::Base::ModuleBuild>. See L<Alien::Build::Manual::AlienAuthor>
for details on how to create your own L<Alien::Build> based Alien.
=item L<Alien::Base>
An (optional) base class and framework for creating Alien distributions.
=item L<#native on irc.perl.org|http://chat.mibbit.com/#native@irc.perl.org>
This channel on IRC is dedicated to those interested in using native interfaces
in Perl. It is specifically geared to Alien, L<Alien::Base> and FFI.
view all matches for this distribution