代码搜索:itself
找到约 5,630 项符合「itself」的源代码
代码结果 5,630
www.eeworm.com/read/479262/6690721
m myrandint.m
function y = myrandint(MaxInt,m,n)
%function y = myrandint(MaxInt,m,n)
% This functions creates random numbers between [1 MaxInt] (1 itself and MaxInt itself)
if nargin == 1
y = ceil(rand*MaxI
www.eeworm.com/read/339483/12231436
sh self-mailer.sh
#!/bin/sh
# self-mailer.sh: Self-mailing script
adr=${1:-`whoami`} # Default to current user, if not specified.
# Typing 'self-mailer.sh wiseguy@superdupergenius.com'
#+ sends this script to tha
www.eeworm.com/read/162614/5523101
m protocol-isequal-1.m
/* Contributed by Nicola Pero - Fri Jun 4 03:16:17 BST 2004 */
/* Test that a protocol is equal to itself. */
#include
@protocol Foo
- (void)foo;
@end
int main (void)
{
Protoco
www.eeworm.com/read/191613/8425754
cpp ex0213.cpp
// Programming with C++, Second Edition, by John R. Hubbard
// Copyright McGraw-Hill, 2000
// Example 2.13 on page 27
// Floating-point Overflow
#include
using namespace std;
www.eeworm.com/read/290607/8472529
m mpower.m
%MPOWER Raise quaternion to integer power
%
% Compound the quaternion with itself. Invoked by means of the caret
% operator.
% $Log: mpower.m,v $
% Revision 1.2 2002/04/01 12:06:47 pic
% General t
www.eeworm.com/read/103075/7087367
c g_debug.c
/* NNFS: Non-Networked File System.
* Copyright (C) 1995-1998 Thierry EXCOFFIER (exco@ligia.univ-lyon1.fr)
*
* This program is free software; you can redistribute it and/or modify
* i
www.eeworm.com/read/458682/7291765
sh self-source.sh
#!/bin/bash
# self-source.sh: a script sourcing itself "recursively."
# From "Stupid Script Tricks," Volume II.
MAXPASSCNT=100 # Maximum number of execution passes.
echo -n "$pass_count "
# At
www.eeworm.com/read/243539/12935333
m mpower.m
%MPOWER Raise quaternion to integer power
%
% Compound the quaternion with itself. Invoked by means of the caret
% operator.
% $Log: mpower.m,v $
% Revision 1.2 2002/04/01 12:06:47 pic
% General t
www.eeworm.com/read/319707/13445764
py using_name.py
# Filename : using_name.py
if __name__ == '__main__':
print 'This program is being run by itself'
else:
print 'I am being imported from another module'
www.eeworm.com/read/144216/5752024
jpl
#!/usr/bin/perl -w
# Copyright 1997, O'Reilly & Associate, Inc.
#
# This package may be copied under the same terms as Perl itself.
use JPL::Compile qw(files);
files(@ARGV);