Result:
found 5 distributions and 7 files matching your query ! ( run in 0.267 )


Games-Axmud

 view release on metacpan or  search on metacpan

lib/Games/Axmud/Cmd.pm  view on Meta::CPAN


        # Setup
        my $self = Games::Axmud::Generic::Cmd->new('setcagemask', TRUE, FALSE);
        if (! $self) {return undef}

        $self->{defaultUserCmdList} = ['smk', 'setmask', 'setcagemask'];
        $self->{userCmdList} = \@{$self->{defaultUserCmdList}};
        $self->{descrip} = 'Manages cage masks';

        # Bless the object into existence
        bless $self, $class;

 view all matches for this distribution


HiPi

 view release on metacpan or  search on metacpan

lib/HiPi/Interface/MPL3115A2.pm  view on Meta::CPAN

sub active {
    my ($self, $set) = @_;
    my ( $curreg ) = $self->device->bus_read(MPL_REG_CTRL_REG1, 1);
    my $rval = $curreg & MPL_CTRL_REG1_SBYB;
    if (defined($set)) {
        my $setmask = ( $set ) ? MPL_CTRL_REG1_SBYB | $curreg : $curreg &~MPL_CTRL_REG1_SBYB;
        $self->device->bus_write(MPL_REG_CTRL_REG1, $setmask);
        $rval = $setmask & MPL_CTRL_REG1_SBYB;
    }
    return $rval;
}

sub reboot {

lib/HiPi/Interface/MPL3115A2.pm  view on Meta::CPAN

    if(defined($newmode)) {
        unless( $currentmode == $newmode ) {
            if( $curreg & MPL_CTRL_REG1_SBYB ) {
                croak('cannot set altitude / pressure mode while system is active');
            }
            my $setmask = ($newmode == MPL_FUNC_ALTITUDE) ? $curreg | MPL_CTRL_REG1_ALT : $curreg &~MPL_CTRL_REG1_ALT;
            $self->device->bus_write(MPL_REG_CTRL_REG1, $setmask );
            ( $curreg ) = $self->device->bus_read(MPL_REG_CTRL_REG1, 1);
            $currentmode = ( $curreg & MPL_CTRL_REG1_ALT ) ? MPL_FUNC_ALTITUDE : MPL_FUNC_PRESSURE;
        }
    }
    return $currentmode;

 view all matches for this distribution


Imager

 view release on metacpan or  search on metacpan

Imager.pm  view on Meta::CPAN

		i_color_set
		i_color_info

		i_img_info

		i_img_setmask
		i_img_getmask

		i_line
		i_line_aa
		i_box

Imager.pm  view on Meta::CPAN

  return i_img_getmask($self->{IMG});
}

# Set channel mask

sub setmask {
  my $self = shift;
  my %opts = @_;

  warnings::warnif("Imager::channelmask", "setmask: image channel masks are deprecated")
      if $] >= 5.014;

  $self->_valid_image("setmask")
    or return;

  unless (defined $opts{mask}) {
    $self->_set_error("mask parameter required");
    return;
  }

  i_img_setmask( $self->{IMG} , $opts{mask} );

  1;
}

# Get number of colors in an image

Imager.pm  view on Meta::CPAN

setcolors() - L<Imager::ImageTypes/setcolors()> - set palette colors
in a paletted image

set_file_limits() - L<Imager::Files/set_file_limits()>

setmask() - L<Imager::ImageTypes/setmask()>

setpixel() - L<Imager::Draw/setpixel()>

setsamples() - L<Imager::Draw/setsamples()>

 view all matches for this distribution


Linux-Seccomp

 view release on metacpan or  search on metacpan

lib/Linux/Seccomp.pm  view on Meta::CPAN

		   __NR_socket
		   __NR_socketcall
		   __NR_socketpair
		   __NR_spu_create
		   __NR_spu_run
		   __NR_ssetmask
		   __NR_stat
		   __NR_stat64
		   __NR_statfs64
		   __NR_stime
		   __NR_stty

lib/Linux/Seccomp.pm  view on Meta::CPAN

		   __PNR_socket
		   __PNR_socketcall
		   __PNR_socketpair
		   __PNR_spu_create
		   __PNR_spu_run
		   __PNR_ssetmask
		   __PNR_stat
		   __PNR_stat64
		   __PNR_statfs64
		   __PNR_stime
		   __PNR_stty

 view all matches for this distribution


Term-Gnuplot

 view release on metacpan or  search on metacpan

Gnuplot.pm  view on Meta::CPAN

Functions provided are

(internal fns ? - should probably be static, not external ?)

  b_setpixel(x,y,value)     
  b_setmaskpixel(x,y,value)
  b_putc(x,y,char,angle)
  b_setvalue(size)

setting up stuff

 view all matches for this distribution


( run in 0.267 second using v1.01-cache-2.11-cpan-a1d94b6210f )