blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 4
214
| content_id
stringlengths 40
40
| detected_licenses
listlengths 0
50
| license_type
stringclasses 2
values | repo_name
stringlengths 6
115
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 21
values | visit_date
timestamp[us] | revision_date
timestamp[us] | committer_date
timestamp[us] | github_id
int64 141k
586M
⌀ | star_events_count
int64 0
30.4k
| fork_events_count
int64 0
9.67k
| gha_license_id
stringclasses 8
values | gha_event_created_at
timestamp[us] | gha_created_at
timestamp[us] | gha_language
stringclasses 50
values | src_encoding
stringclasses 23
values | language
stringclasses 1
value | is_vendor
bool 1
class | is_generated
bool 1
class | length_bytes
int64 5
10.4M
| extension
stringclasses 29
values | filename
stringlengths 2
96
| content
stringlengths 5
10.4M
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d1ecc8c8bf64e0a8e374ae05655821a7e12bdeda
|
84ea66af72ab1c482a1a03fd2d8bdc74e9ad1668
|
/Tutorial05-Solution_of_equations/Scilab_code/Tutorial5_nonlinear_equation.sce
|
7f2a9cec1034e2ca3aee87cdc70c0d2de3f7d69e
|
[] |
no_license
|
FOSSEE/scilab-tutorials
|
c4a9464a5b163074566234e42659f99e2012ecc0
|
301609f6ef1653dee4fa2ed74bca3e6f7abc1308
|
refs/heads/master
| 2020-03-26T23:48:04.178016
| 2018-10-08T00:44:39
| 2018-10-08T00:44:39
| 145,567,949
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 380
|
sce
|
Tutorial5_nonlinear_equation.sce
|
//This scilab script is to compute the solution of a nonlinear function with initial
//guess x_0
clear
clc
//The nonlinear equation for which solutions are sought
exec func.sci;
//Initial guess for the solution
t0 = 0;
//Computation of solution using fsolve
y_result = fsolve(t0,func);
//Display the solution in command window
disp(y_result,'Solution of the equation')
|
5a429cb68198dd470bc0154143473a40a9a6addb
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1067/CH20/EX20.05.b/20_5_b.sce
|
9b9ec95c422215bae1d6083f872e34caa522a227
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 405
|
sce
|
20_5_b.sce
|
clear;
clc;
v1=66e3;
v2=11e3;
x2=.461;
x1=.4527;
If=229;
I1=If*x2/(x1+x2);
I2=If*x1/(x1+x2);
I=I1+I2;
Ig1=I1*v1/v2;
Ig1=fix(Ig1);
I1=round(I1*10)/10;
I2=round(I2*10)/10;
mprintf("the fault current supplied by each transformer is\n I1=%fA\nI2=%fA\nI3=I1+I2=%dA\n",I1,I2,I);
I2=fix(I2);
Ig2=I2*v1/v2;
mprintf("the fault current supplied by each generator \n Ig1=%dA\n Ig2=%dA\n",Ig1,Ig2);
|
0fd5755974fd024683731bea27e4818365656ec5
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/773/CH17/EX17.11/17_11.sci
|
2a599a04db87641d00c4044d45e67c381111c9c4
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 605
|
sci
|
17_11.sci
|
//function//
A=[0 1;-6 -5]
x=[1;0];
disp(x,"x(t)=')
s=poly(0,'s');
[Row Col]=size(A) //Size of a matrix
m=s*eye(Row,Col)-A //sI-A
n=det(m) //To Find The Determinant of si-A
p=inv(m) ; // To Find The Inverse Of sI-A
syms t s;
disp(p,"phi(s)=") //Resolvent Matrix
for i=1:Row
for j=1:Col
//Taking Inverse Laplace of each element of Matrix phi(s)
q(i,j)=ilaplace(p(i,j),s,t);
end;
end;
disp(q,"phi(t)=")//State Transition Matrix
r=inv(q);
r=simple(r); //To Find phi(-t)
disp(r,"phi(-t)=")
y=q*x; //x(t)=phi(t)*x(0)
disp(y,"Solution To The given eq.=")
|
7912f5cfa09c240578aa06b069a1cdce97d3c420
|
a62e0da056102916ac0fe63d8475e3c4114f86b1
|
/set5/s_Electrical_And_Electronics_Engineering_Materials_J._B._Gupta_1730.zip/Electrical_And_Electronics_Engineering_Materials_J._B._Gupta_1730/CH3/EX3.6/Exa3_6.sce
|
54a5a7a6bb26550b9733cec79099e763e11296e3
|
[] |
no_license
|
hohiroki/Scilab_TBC
|
cb11e171e47a6cf15dad6594726c14443b23d512
|
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
|
refs/heads/master
| 2021-01-18T02:07:29.200029
| 2016-04-29T07:01:39
| 2016-04-29T07:01:39
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 353
|
sce
|
Exa3_6.sce
|
errcatch(-1,"stop");mode(2);//Exa3.6
;
;
// given data
n_i=2.5*10^13;// in cm^3
e=1.6*10^-19;// in coulomb
miu_h=1800;// in cm^2/V-s
miu_e=3800;// in cm^2/V-s
sigma_i=n_i*e*(miu_e+miu_h);
disp("Intrinsic conductivity is : "+string(sigma_i)+" /ohm-cm");
rho_i=1/sigma_i;
disp("Intrinsic resistiviry is : "+string(rho_i)+" ohm-cm")
exit();
|
47a7249e2c8e6fcb126675e7711e1769e403f71e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/858/CH5/EX5.14/example_14.sce
|
d44c28f7442ca538e44ab8fe119cdf7320bed8ba
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 274
|
sce
|
example_14.sce
|
clc
clear
printf("example 5.14 page number 193\n\n")
//to find the solar constant
R=7*10^10; //in cm
l=1.5*10^13; //in cm
sigma=5.3*10^-5; //in erd/s(cm2)(K)4
T=6000; //in K
S=(R/l)^2*(sigma)*(T^4)*60;
printf("solar constant = %f J/sq cm min",S/10^7)
|
9f62ad0ad25adaf1be3b210bcb692417bc84ff68
|
74c4c6d3c27c7c63edbb333b252ee3d01dbab00e
|
/assignment_3/scenes/solid_color/solid_color.sce
|
1015b01e76875db9ff5e90b4ad5edad80bc36210
|
[] |
no_license
|
robinmamie/intro_computer_graphics
|
495ba4339da31727608754ea43cc865997197b0c
|
861f218adb61e1d553d5cbc6f3d213a9ebc31670
|
refs/heads/master
| 2022-01-17T08:03:34.603786
| 2019-05-31T07:03:45
| 2019-05-31T07:03:45
| 171,866,665
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 57
|
sce
|
solid_color.sce
|
camera 0 0 0 0 1 0 0 1 0 45 512 512
background 0 0 0
|
6ed1c4ce4001d4fbe930c5785c2d5e3fccd8c85b
|
931090e82489a96a263c3a3f0747d2cf703d4672
|
/tests/mhi.tst
|
0bc28aaae4755d0ef51f7652d1e2be88c4f2a9dd
|
[
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause",
"Zlib",
"BSD-3-Clause"
] |
permissive
|
darindf/hyperion
|
2b70924f94fc5fa62eed330c3736f1adf9ff7c44
|
05652fb9d7993d942138196c4e9bad6b1c7a63e1
|
refs/heads/master
| 2020-12-03T10:29:01.460015
| 2016-07-30T09:37:00
| 2016-07-30T09:37:00
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 530
|
tst
|
mhi.tst
|
# This test file was generated from offline assembler source
# by bldhtc.rexx 16 Jan 2016 12:11:11
# Treat as object code. That is, modifications will be lost.
# assemble and listing files are provided for information only.
*Testcase mhi
sysclear
archmode z
r 60=00020000000000000000000000000000
r 1A0=00000001800000000000000000000200
r 1D0=0002000180000000FFFFFFFFDEADDEAD
r 200=412000211852A72C00021862B2220040
r 210=41322001B2B20060
runtest .1
*Compare
gpr
*Gpr 2 0042
*Gpr 3 0085
*Gpr 4 000000000000000
*Done
|
5f65ccae1eaf093f9f89dc39c0fb794ba791a56e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3772/CH9/EX9.3/Ex9_3.sce
|
6dfb0017e10363c8025b063e3856f18dafef1a19
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 730
|
sce
|
Ex9_3.sce
|
// Problem no 9.3,Page no.233
clc;clear;
close;
dell=1 //cm //Deflection
FOS=4 //Factor of safety
E=210 //GPa //Modulus of Elasticity of steel bar
W=40 //KN //Load
//Flange Dimensions
b=30 //cm //width of flange
d=5 //cm //depth of flange
//Web Dimensions
d_1=100 //cm //Depth of web
t_1=2 //cm //Thcikness of web
//Calculations
I_xx=(0.3*1.1**3-0.28*1**3)*12**-1 //m**4 //M.I about x-x axis
I_yy=2*0.05*0.3**3*12**-1+1*0.02**3*12**-1 //m**4 //M.I about y-y axis
//From the equation of deflection we get
L=(dell*10**-2*384*E*10**9*I_xx*(5*40*10**3)**-1)**0.25 //m //Length of beam
P=%pi**2*210*I_yy*10**9*4*(L**2)**-1 //N //crippling Load
S=P*4**-1 //N //Safe Load
//Result
printf("The Safe Load is %.2f",S);printf(" N")
|
2c4c84fa89b36e61debdd6543bb9bfe6ff47881e
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/source/2.4.1/macros/percent/%r_i_s.sci
|
dda007abf411308a4b2c8e6610a052fdbab1ae14
|
[
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] |
permissive
|
clg55/Scilab-Workbench
|
4ebc01d2daea5026ad07fbfc53e16d4b29179502
|
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
|
refs/heads/master
| 2023-05-31T04:06:22.931111
| 2022-09-13T14:41:51
| 2022-09-13T14:41:51
| 258,270,193
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 313
|
sci
|
%r_i_s.sci
|
function f2=%r_i_s(i,j,f2,n)
// %r_i_s(i,j,r,m)
//!
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==3 then
n=f2;f2=j
[l,c]=size(n),
d=ones(l,c);
n(i)=f2('num'),d(i)=f2('den')
f2('num')=n;f2('den')=d;
else
[l,c]=size(n),
d=ones(l,c);
n(i,j)=f2('num'),d(i,j)=f2('den')
f2('num')=n;f2('den')=d;
end
|
a0eb9ec74290ad6f0ed7b131264c07a10e23de7f
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1085/CH5/EX5.7/ex5_7.sce
|
340e06077060afac7530658421eef6f8d1d68646
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 456
|
sce
|
ex5_7.sce
|
//Exam:5.7
clc;
clear;
close;
E_f=3.75;//Fermi energy(in eV)
e=1.602*10^-19;
W_f=e*E_f;//fermi energy in joules
t=10^-14;//mean free time between the collisions(in second)
m=9.1*10^-31;//mass of electron
v_f=(2*W_f/m)^(1/2);//maximum velocity of an electron in a metal(in m/s)
mobility=e*t/m;//mobility of electrons(in m^2/V-s)
disp(v_f,'maximum velocity of an electron in a metal(in m/s)=');
disp(mobility,'mobility of electrons(in m^2/V-s)=')
|
b6054edf6e27347f6bbafc51877de667073ed9a3
|
f3f881644657ef90a25b7fde9be7d1a8f04d29bf
|
/04/04/Part B/AddConstant.tst
|
c294fa63adbdb069d39fc6ad9677063def6485ce
|
[] |
no_license
|
ThompsonNJ/CSC242-Computer-Organization
|
9da71fa5d024935637b2dbd1c732c1952e3eadd7
|
46eec94a0381db128af0d2340a588907568583ed
|
refs/heads/master
| 2020-08-10T08:04:24.779446
| 2019-10-10T23:36:54
| 2019-10-10T23:36:54
| 214,301,258
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 866
|
tst
|
AddConstant.tst
|
load AddConstant.asm,
output-file AddConstant.out,
compare-to AddConstant.cmp,
output-list RAM[0]%D2.6.2 RAM[1]%D2.6.2;
set RAM[0] 0;
repeat 20 {
ticktock;
}
output;
set PC 0,
set RAM[0] 1;
repeat 20 {
ticktock;
}
output;
set PC 0,
set RAM[0] -1;
repeat 20 {
ticktock;
}
output;
set PC 0,
set RAM[0] -1024;
repeat 20 {
ticktock;
}
output;
set PC 0,
set RAM[0] -1025;
repeat 20 {
ticktock;
}
output;
set PC 0,
set RAM[0] -1023;
repeat 20 {
ticktock;
}
output;
set PC 0,
set RAM[0] 1024;
repeat 20 {
ticktock;
}
output;
set PC 0,
set RAM[0] 1023;
repeat 20 {
ticktock;
}
output;
set PC 0,
set RAM[0] 1025;
repeat 20 {
ticktock;
}
output;
set PC 0,
set RAM[0] 555;
repeat 20 {
ticktock;
}
output;
set PC 0,
set RAM[0] -555;
repeat 20 {
ticktock;
}
output;
|
16a154a0b8a4d262da0ab0a4c58a61d348d920fc
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3020/CH16/EX16.8/ex16_8.sce
|
758894c9c8545425bf98cf7f86c8d779c8e72570
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 570
|
sce
|
ex16_8.sce
|
clc;
clear all;
e = 1.6e-19; // Charge of an electron
m = 9.1e-31; // Mass of an electron
k = 1.38e-23; //Boltzmann constant
tr = 1e-14; // The relaxation time in seconds
T = 300; // Temperature in kelvin
n = 6e28; //The electron concentration in cubic meters
sigma = (n*e^2*tr)/(m);// Electrical Conductivity
K = (n*%pi^2*k^2*T*tr)/(3*m); //Thermal Conductivity
L = K/(sigma*T); // Lorrentz number
disp('1/(ohm.meter)',sigma,'The electrical conductivity is')
disp('W/(m.k)',K,'The thermal conductivity is')
disp('(W.ohm)/K^2',L,'The lorrentz number is')
|
3d4b43838af5d2947a123733b56f5875dc00009d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3784/CH7/EX7.3/Ex7_3.sce
|
a95881064f14ae434f9a0255c94f04c493e4ef7a
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 803
|
sce
|
Ex7_3.sce
|
clc
//variable initialization
V=440 //voltage in volts
P=6 //number of poles
f=50 //frequency in Hz
R1=2 //resistance in ohm
R2=2 //resistance in ohm
X1=3 //reactance in ohm
X2=4 //reactance in ohm
N1=945 //speed in rpm
N2=800 //speed in rpm
//solution
Ns=(120*f)/P
s=(Ns-N1)/Ns
w=2*%pi*Ns/60
T=(3/w)*((V^(2)*(R2/s))/(((R1+(R2/s))^(2))+(X1+X2)^(2)))
k=T/(1-s)^2//The answer provided in the textbook is wrong
s1=(Ns-N2)/Ns
Tl=k*((1-s1)^(2))//The answer provided in the textbook is wrong
V2=sqrt((Tl*w*(((R1+(R2/s1))^2)+((X1+X2)^2))/((R2/s1)*3)))//The answer provided in the textbook is wrong
I=V2/((R1+(R2/s1))+(%i*(X1+X2)))//The answer provided in the textbook is wrong
Il=sqrt(3)*I//The answer provided in the textbook is wrong
printf('\n\n The Line Current=%0.1f Amp\n\n',Il)
|
f29e7c71b2e8b60cdd82fa0eed6809f859d3cd6a
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/662/CH6/EX6.18/ex6_18.sce
|
5a867b0710518445fe598d59922225e6db67ed90
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 673
|
sce
|
ex6_18.sce
|
//Programming Example 6.18
//Repeated Averaging a list of numbers
//read in number of lists
printf("How many lists ? ");
loops=scanf("%d");
//outer loop(process each list of numbers)
for loopcount =1:1:loops
//initialize and read in a value for n
Sum=0;
printf("\n List number %d\nHow many numbers? ",loopcount);
n=scanf("%d");
//read in the numbers
for count=1:1:n
printf("x= ");
x=scanf("%f");
Sum=Sum+x;
end //end inner loop
//Calculate the average and display the answer
average=Sum/n;
printf("\n The average is %f\n", average);
end //end outer loop
|
4c2aae9f2ef72c2c648d5d9ae2dd33c2c7b99aaf
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1394/CH5/EX5.1.3/Ex5_1_3.sce
|
ba409ca4abe39995b3474976df6de843cce216d1
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 384
|
sce
|
Ex5_1_3.sce
|
clc
//initialization of variables
p0 = 1//atm
p = 33 //atm
D0 = 0.043 // cm^2/sec
//Calculations
D = (p0*D0/p)*10^5 // x*10^-5 cm^2/sec
//Results
printf("The diffusion co efficient for the given conditions is %.3f x10^-5 cm^2/sec",D)
disp("The answer is a bit different due to rounding off error in textbook. Also please verify that 10^-5 factor is utilized outside.")
|
9c6dd9bdda7a7ca43f33f27fe6457022f530cd34
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1223/CH15/EX15.4/Ex15_4.sce
|
79e7e4dc8ac3db07f73a8f61240c7a182c34fc16
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 211
|
sce
|
Ex15_4.sce
|
clear;
clc;
//Example 15.4
C=0.1*10^-6;
R=1000;
fo=1/(2*%pi*R*C*sqrt(3));
printf('\nthe oscillation frequency =%.2fHz\n',fo)
//minimum amplifier gain=8
R=1;//KOhm
R2=8*R;
printf('\nR2=%.f KOhm\n',R2)
|
a995a3b2821a138a1936815140affff2187e9d4b
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1466/CH2/EX2.6/2_6.sce
|
7d559fea0726c7faaa6be0912784bd5fe01211f9
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 178
|
sce
|
2_6.sce
|
clc
//initialisation of variables
T= 20 //sec
m= 2 //kg
g= 32.2 //ft/sec^2
//CALCULATIONS
k= sqrt((T/(2*%pi))^2*2*g)
//RESULTS
printf (' Radius of gyration= % 2f ft',k)
|
1b9d241abae6948ef75b437cf25b5f7afc25938d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1370/CH1/EX1.16/chapter1_16.sce
|
acd3004f0925f90c76a17302a94430a45ec93838
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,485
|
sce
|
chapter1_16.sce
|
//example1.16
clc
disp("Case 1: R=10ohm")
disp("V=(V_m)sin(wt)")
v=150*sqrt(2)
format(7)
disp("(V_m)[in V]=sqrt(2)*V_rms=")
i=212.13/10
disp(i,"(I_m)[in A]=(V_m)/R=")
disp("In pure resistive circuit, currents is in phase with the voltage.")
disp("Therefore, psi=phase difference= 0 degree")
disp("Therefore, i=(I_m)sin(wt)=(I_m)sin(2*pi*f*t)")
disp("Therefore, i(in A) = 21.213sin(100*pi*t)")
disp("The phasor diagram is shown in the fig. 1.85(a)")
disp("Case 2: L=0.2 ohm")
x=2*%pi*50*0.2
format(6)
disp(x,"Inductive reactance, (X_L)[in ohm]=wL=(2*pi*f*L)=")
i=212/13/62.83
format(5)
disp("Therefore, (I_m)[in A]=(V_m)/(X_L)=")
disp("In pure inductive circuit, current lags voltage by 90 degree.")
disp("Therefore, psi=phase difference = -90 degree =(pi/2)rad")
disp("Therefore, i=(I_m)sin(wt-psi) i.e. i(in A)=3.37sin((100*pi*t)-(pi/2))")
disp("The phasor dig in shown in the fig 1.85(b).")
disp("Case 3: C=50 micro-F")
c=1/(2*%pi*50*50*10^-6)
format(6)
disp(c,"Capacitive reactance, X_c(in ohm)=1/wC=1/(2*pi*f*C)=")
i=212.13/63.66
format(5)
disp(i,"I_m(in A)=(V_m)/(X_c)=")
disp("In pure capacitive circuit, current leads voltage by 90 degree.")
disp("Therefore psi=phase difference =90 degree= (pi/2)radian")
disp("Therefore, i=(I_m)sin(wt+psi)")
disp("Therefore, i(in A)=3.33sin((100*pi*t)+(pi/2))")
disp("The phasor dig is as shown in the fig 1.85(c).")
disp("All the phasor dig represent r.m.s values of voltage and current")
|
8547a6fa3c3d5cbe7e044436befc70f2ba4734db
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2873/CH1/EX1.14/Ex1_14.sce
|
3b381696cbfef6d7fd1d878be4d60241d937a1d1
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 610
|
sce
|
Ex1_14.sce
|
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh,Chapter 1,Example 14")
P1=750*10^3;//initial pressure of gas in pa
V1=0.2;//initial volume of gas in m^3
T1=600;//initial temperature of gas in k
P2=2*10^5;//final pressure of gas i pa
V2=0.5;//final volume of gas in m^3
disp("using perfect gas equation")
disp("P1*V1/T1 = P2*V2/T2")
disp("=>T2=(P2*V2*T1)/(P1*V1)")
disp("so final temperature of gas(T2)in k")
T2=(P2*V2*T1)/(P1*V1)
disp("or final temperature of gas(T2)in degree celcius")
T2=T2-273
|
0e7e08cc7b49f9f513e9741bbc3a3136bc8203fe
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/61/CH15/EX15.8/ex15_8.sce
|
7824d37799c3c6ae487188507d04b9b59ff4a998
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 212
|
sce
|
ex15_8.sce
|
//ex15.8
R4=12*10^3;
C1=0.22*10^-6;
R7=R4;
C2=C1;
R6=3.3*10^3;
Q=10;
f0=1/(2*%pi*R7*C2);
R5=(3*Q-1)*R6;
disp(f0,'center frequency in hertz')
disp(R5,'R5 in ohms')
disp('Nearest value is 100 kilo-ohms')
|
c77f2962430d35b43eeb05cc51612411c32dc8d5
|
fcd4bce0080771389b4a69338ed6443153942183
|
/cores/n64/mupen64plus-rsp-paraLLEl/lightning/check/jmpr.tst
|
669f54e2a863b1aff4ad353d6b34cab116ad14d2
|
[
"GPL-2.0-only",
"MIT",
"LGPL-2.1-only",
"MPL-1.1",
"LicenseRef-scancode-mame",
"GPL-1.0-or-later",
"Zlib",
"LGPL-2.1-or-later",
"MPL-2.0",
"CC-PDDC",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-brian-gladman-3-clause",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"LGPL-3.0-only",
"GPL-3.0-only",
"GFDL-1.1-or-later",
"LicenseRef-scancode-other-copyleft",
"GFDL-1.1-only"
] |
permissive
|
wulfebw/retro
|
d4fcf9229b257b3c495f54b1aeb3ea36004ae4aa
|
dad4b509e99e729e39a2f27e9ee4120e3b607f58
|
refs/heads/master
| 2022-10-23T07:17:55.320585
| 2020-06-12T01:38:06
| 2020-06-12T01:38:06
| 260,832,205
| 8
| 1
|
MIT
| 2020-06-12T01:38:08
| 2020-05-03T05:06:17
|
C
|
UTF-8
|
Scilab
| false
| false
| 1,404
|
tst
|
jmpr.tst
|
/*
This is a very simple check to a condition that on lightning 2.0.5
could cause an assertion on some backends, due to correcting a problem
with temporaries that could not be saved/reloaded due to being used only
in the hardware instruction, or being considered live for too long on the
lightning instruction, and that could not be reloaded after the jump target
(or after false/true target on conditional branches).
If this code in lib/lightning.c:_jit_update():
for (regno = 0; regno < _jitc->reglen; regno++) {
spec = jit_class(_rvs[regno].spec);
if (jit_regset_tstbit(mask, regno) &&
(spec & (jit_class_gpr|jit_class_fpr)) &&
!(spec & jit_class_sav))
jit_regset_clrbit(mask, regno);
}
were removed, this test case, on x86_64 would fail like this:
lt-lightning: lightning.c:305: _jit_get_reg: Assertion `regspec & 0x02000000' failed.
Aborted (core dumped)
*/
.data 32
ret:
#if __WORDSIZE == 32
.i 0
#else
.l 0
#endif
ok:
.c "ok"
.code
prolog
jmpi start
add_v1_v2:
addr %v1 %v1 %v2
ldi %r0 ret
jmpr %r0
start:
movi %v1 1
movi %v2 2
movi %r0 ret_add_v1_v2
sti ret %r0
movi %v0 add_v1_v2
jmpr %v0
movi_d %f0 3
beqi_d pass_movi_f0 %f0 3
calli @abort
pass_movi_f0:
beqi pass_check_v2 %v2 2
calli @abort
pass_check_v2:
ret_add_v1_v2:
beqi pass_add_v1_v2 %v1 3
calli @abort
pass_add_v1_v2:
prepare
pushargi ok
finishi @puts
ret
epilog
|
551e85788275bd51cab012c9e1fa3375bcf025c1
|
d01bf962afff16bc1ce292c49da5923ebbe59775
|
/Maths/stellarCollapse.sce
|
b71184690872732420a0f5dcc617c033af9ee66e
|
[] |
no_license
|
fredkerdraon/Reference-research
|
71d0af22f84605ed0c53907acd6b248400c47388
|
1f48fdfebbe766bbd268b4f1853ab98162f57425
|
refs/heads/master
| 2023-05-05T12:18:18.655367
| 2020-02-08T22:08:15
| 2020-02-08T22:08:15
| 71,020,179
| 0
| 0
| null | 2023-04-19T18:37:49
| 2016-10-15T23:49:14
|
POV-Ray SDL
|
UTF-8
|
Scilab
| false
| false
| 2,449
|
sce
|
stellarCollapse.sce
|
function [ ] = Stellar_Collapse_1( )
//%Written by Elmer G. Wiens December 2018
//%Stellar Collapse
//%Eddington-Finkelstein Coordinates
M = 1;
M2 = 2;
rv = 4.5;
up = 22;
low = 7.5;
steps = 100;
//figure(1)
//hold on
vr = linspace(0, rv, steps);
vones = ones(1,steps);
tvones = [10.86, 11.37, 12.21, 15.42, 15.91, 17.03, 21] ;
for k = 1:length(tvones)
plot(vr, tvones(k) * vones, 'b','LineWidth',.1);
end
//axis([0 rv low up])
//line([0 rv], [0 0], 'Color','black','LineWidth',2)
//line([0 0], [low up], 'Color','black','LineWidth',2)
//line([M2 M2], [low up], 'Color','red','LineWidth',2)
//line([0, rv], [up, up], 'Color','black','LineWidth',1)
//line([rv, rv], [low, up], 'Color','black','LineWidth',1)
xlabel('r/M', 'FontSize',4)
ylabel('v', 'FontSize',4)
//title({'Eddington-Finkelstein Coordinates','Null Geodesics: blue; Radial Geodesics: red'}, 'FontSize',2)
title('Eddington-Finkelstein Coordinates','FontSize',2)
c = 10;
ct = [4, 0, -4, -8, -12, -16, -20];
rtu = 2.01;
r2 = linspace(rtu, rv, steps);
for j = 1:length(r2)
rs2(j) = r2(j) + M2 * log(r2(j) / M2 -1) + c;
end
for i =1:length(ct)
plot(r2, 2*rs2 + ct(i), 'b','LineWidth',.1)
end
//%return
c = 13.5;
stu = .01;
r1 = linspace(0, M2 -stu, steps);
for j = 1:length(r1)
rs1(j) = r1(j) + M2 * log(abs( r1(j) / M2 -1)) + c;
end
for i =1:length(ct)
plot(r1, 2*rs1 + ct(i), 'b', 'LineWidth',.1)
end
r = [.5, 1.5, 2.5, 3.0000, 3.5000, 4];
for i = 1:length(r)
line([r(i) r(i)], [low up], 'Color','red','LineWidth',1)
end
line([M2 M2], [low up], 'Color','red','LineWidth',2)
%taustar = 5.2704;
taustar = 8.83;
tau = linspace(0, taustar, steps*3);
for j = 1:length(r)
tstar = -M2 * ( (-2/3) * (r(j)/M2)^(3/2) -2 * (r(j)/M2)^(1/2) + log(abs(( (r(j)/M2)^(1/2) + 1) / ((r(j)/M2)^(1/2) -1 ))));
for i = 1:length(tau)
rtau(i) = (3/2)^(2/3) * M2^(1/3)* (taustar -tau(i))^(2/3);
ttau(i) = tstar + M2 * ( (-2/3) * (rtau(i)/M2)^(3/2) -2 * (rtau(i)/M2)^(1/2) + log(abs(( (rtau(i)/M2)^(1/2) + 1) / ((rtau(i)/M2)^(1/2) -1 ))));
end
for i = 1:length(rtau)
rstau(i) = rtau(i) + M2 * log(abs( rtau(i) / M2 -1)) + c;
vtau(i) = ttau(i) +rstau(i);
end
plot(rtau, vtau, 'r', 'LineWidth', .5);
end
text(2.42, 13.6, 'r = 2.5M', 'FontSize',1)
plot(2.5, 13.23, 'k*', 'LineWidth', .5)
text(0.42, 12.8, 'r = 0.5M', 'FontSize',1)
plot(0.5, 12.51, 'k*', 'LineWidth', .5)
text(3.42, 16.9, 'r = 3.5M', 'FontSize',1)
plot(3.5, 16.42, 'k*', 'LineWidth', .5)
set(gca,'FontSize',2)
endfunction
|
a5fa6e56001156d57fe77cfa22729989af5e8d9c
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/773/CH17/EX17.16/17_16.sci
|
c3fc51a110ece0581ed3735cdc24145c493d7c23
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 200
|
sci
|
17_16.sci
|
//function//
s=%s;
//Creating cont-time transfer function
TFcont=syslin('c',((5*s^2)+(2*s)+6)/(s^3+(7*s^2)+(11*s)+8))
SScont=tf2ss(TFcont)
//CCF form
[Ac,Bc,U,ind]=canon(SScont(2),SScont(3))
|
c04f1072b6b95d667cef4121cbc9fbcaac48b82d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/26/CH6/EX6.3.13/6_3_13.sce
|
3a3dcc9eb3073c57aa877c81643bdb8346c047ab
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 447
|
sce
|
6_3_13.sce
|
disp('Given vectors are:')
v1=[2;-1;-3;1]
v2=[1;1;0;-1]
z=[3;-7;2;3]
disp(z,'z=',v2,'v2=',v1,'v1=')
a=v1'*v2
disp(a,'v1.v2=')
if(a==0)
disp('v1 and v2 are orthogonal')
end
disp('By best spproximation theorem, closest point in span{v1 v2} to z is the orthogonal projection')
disp('=((z.v1)/(v1.v1))*v1+((z.v2)/(v2.v2))*v2')
a1=z'*v1
a2=v1'*v1
b1=z'*v2
b2=v2'*v2
disp((a1/a2)*v1,'+',(b1/b2)*v2,'=')
disp((a1/a2)*v1+(b1/b2)*v2,'=')
|
acd45645249732cbe3b546a04df728c0bda6efdf
|
1db0a7f58e484c067efa384b541cecee64d190ab
|
/macros/var.sci
|
9496da1956d380e4360f9c1087c9b7a6423aaa0a
|
[] |
no_license
|
sonusharma55/Signal-Toolbox
|
3eff678d177633ee8aadca7fb9782b8bd7c2f1ce
|
89bfeffefc89137fe3c266d3a3e746a749bbc1e9
|
refs/heads/master
| 2020-03-22T21:37:22.593805
| 2018-07-12T12:35:54
| 2018-07-12T12:35:54
| 140,701,211
| 2
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 4,768
|
sci
|
var.sci
|
function y = var(x,w,dim)
// This function var estimate the variance of the values in X.
// Calling Sequence
// y=var(x)
// y=var(x,w)
// y=var(x,w,dim)
// Parameters
// x: a vector or matrix.
// w: weight vector W of length X, or may take the value of 0 and 1. The default value is 0. Consider only non-negative values.
// dim: consider the variance along the dimension of X. 1 for clumun wise variamce and 2 for row wise variance.
// y: returns the variance of the values in X.
// Examples
// x=[1.2, 5, 10, -20, 12,10,5,20,32,20];
// w=1:10;
// dim=2;
// y=var(x, w, dim) ;
// See also
// Authors
// Jitendra Singh
if argn(2)==1 then
if type(x)==10 then
x=ascii(x)
end
if size(x,1)==1 |size(x,2)==1 then
sd=stdev(x)
else
sd=stdev(x,1)
end
y=sd.^2;
end
if argn(2)<=3 & argn(2)>1 then
if size(x,1)==1 |size(x,2)==1 then
sd=stdev(x);
n=length(x);
y1= sd.^2;
if length(w)==1 & w==0 then
y=y1;
elseif length(w)==1 & w==1 then
y=y1*((n-1)/n);
elseif length(w)==n & and(w>=0) then
if size(x,1)~=size(w,1) then
w=w';
end
wmean=sum(x.*w)/sum(w);
x1=(x-wmean).^2;
l=length(find(w>0));
sd=((sum(w.*x1))/(((l-1)/l)*sum(w)));
y=(sd)*((n-1)/n);
elseif length(w)~=size(x)& length(w)>1 then
error ('The length of W must be compatible with X.')
else
error('W must be a vector of nonnegative weights, or a scalar 0 or 1.')
end
else
n=size(x,1)
sd=stdev(x,1)
y1=sd.^2;
if length(w)==1 & w==0 then
y=y1;
elseif length(w)==1 & w==1 then
y=y1*((n-1)/n);
elseif length(w)==n & and(w>=0) then
for i=1:size(x,2)
xx=(x(:,i))
if size(xx,1)~=size(w,1) then
w=w';
end
wmean=sum(xx.*w)/sum(w);
x1=(x(:,i)-wmean).^2;
l=length(find(w>0));
sd(i)=sum((w.*x1)/(((l-1)/l)*sum(w)));
end
y=sd*((l-1)/l);
elseif length(w)~=size(x,1) & length(w)>1 then
error ('The length of W must be compatible with X.')
else
error('W must be a vector of nonnegative weights, or a scalar 0 or 1.')
end
end
end
if argn(2)==3 then
if dim==2 then
if size(x,1)==1 | size(x,2)==1 then
if size(x,1)==1 then
y=y;
elseif size(x,2)==1 & length(w)== length(x) then
error ('The length of W must be compatible with X.')
else
y=zeros(size(x,1),size(x,2))
end
else
n=size(x,2)
sd=stdev(x,2)
y1=sd.^2;
if length(w)==1 & w==0 then
y=y1;
elseif length(w)==1 & w==1 then
y=y1*((n-1)/n);
elseif length(w)==n & and(w>=0) then
for i=1:size(x,1)
xx=(x(:,i))
if size(xx,1)~=size(w,1) then
w=w';
end
wmean=sum(xx.*w)/sum(w);
x1=(x(:,i)-wmean).^2;
l=length(find(w>0));
sd(i)=sum((w.*x1)/(((l-1)/l)*sum(w)));
end
y=sd*((l-1)/l);
else
error('The length of W must be compatible with X.')
end
end
end
if dim==1 then
if size(x,1)==1 | size(x,2)==1 then
if size(x,2)==1 then
y=y;
elseif size(x,1)==1 & length(w)== length(x) then
error ('The length of W must be compatible with X.')
else
y=zeros(size(x,1),size(x,2))
end
end
end
if dim>2 then
if length(w)==1 & w==1 | w==0 then
y=zeros(size(x,1), size(x,2))
else
error ('The length of W must be compatible with X.')
end
end
if dim<=0 then
error('Dimension argument must be a positive integer scalar within indexing range.')
end
end
endfunction
|
c55a69a08704d1f61e2f25f1ffdc2bae7edb57b8
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1223/CH15/EX15.13/Ex15_13.sce
|
207a5f139e334d6fcae217e6812a1ee57c4e7a26
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 292
|
sce
|
Ex15_13.sce
|
clear;
clc;
//Example 15.13
Rl=10;//load resistance
Pl=20;//power delivered to the load
Ps=20;//(W)
Vp=sqrt(2*Rl*Pl);
printf('\npeak output voltage=%.2f V\n',Vp)
Ip=Vp/Rl;
printf('\npeak load current =%.2fA\n',Ip)
Vs=%pi*Rl*Ps/Vp;
printf('\nrequired supply voltage=%.2f V\n',Vs)
|
b4b6e3451cbe393955cad6d0e606a7cffdf44f13
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/browsable_source/2.3/Unix-Windows/scilab-2.3/tests/breakpoints.tst
|
8310accb35c7903252acf44304debe00f8a08287
|
[
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] |
permissive
|
clg55/Scilab-Workbench
|
4ebc01d2daea5026ad07fbfc53e16d4b29179502
|
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
|
refs/heads/master
| 2023-05-31T04:06:22.931111
| 2022-09-13T14:41:51
| 2022-09-13T14:41:51
| 258,270,193
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,697
|
tst
|
breakpoints.tst
|
mode(-1)
//
// (setbpt delbpt).
deff('[]=lig()',[
'shlig(2),';
'if 1>2 then,';
' shlig(4),';
',';
' shlig(6) ,'; // break-point
',';
'end,shlig(8) ,'; // break-point
'shlig(9),';
'for k=1:3,';
' k;shlig(11) ,'; // break-point
'end,shlig(12) ,'; // break-point
',';
'for l=1:10,';
' if l=5 then break,end,';
' l,';
'end,shlig(17) ,'; // break-point
'shlig(18),';
'select 2,';
'case 1 then,';
',';
'case 2 then,';
' shlig(23) ,'; // break-point
'case 3 then,';
'1,';
'else,';
'2,';
'end,shlig(28) ,'; // break-point
'shlig(29),';
'select 0,';
'case 1 then,';
'1,';
'case 2 then,';
'2,';
'case 3 then,';
'3,';
'else,';
' shlig(38) ,'; // break-point
'end,shlig(39),'; // break-point
'shlig(40) ,'; // break-point
'i=0,';
'while i<3,';
'i=i+1,shlig(43) ,'; // break-point
'end,shlig(44) ,'; //break-point
'i=0;,';
'while i<10,';
'i=i+1,if i=2 then break,end,shlig(47),';
'end,shlig(48) ,' //break-point
],'n')
deff('[]=shlig(n)','write(%io(2),''ligne ''+string(n))')
//definition des points d'arrets
setbpt('lig',6)
setbpt('lig',8)
setbpt('lig',11)
setbpt('lig',12)
setbpt('lig',17)
setbpt('lig',23)
setbpt('lig',28)
setbpt('lig',38)
setbpt('lig',39)
setbpt('lig',40)
setbpt('lig',43)
setbpt('lig',44)
setbpt('lig',48)
write(%io(2),[
'user should check the line number'])
write(%io(2),[' ';'MACRO NOT COMPILED';'-----------------';' '])
lig()
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
comp(lig)
write(%io(2),[' ';'COMPILED MACRO';'-----------------';' '])
lig()
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
resume
delbpt('lig')
clear lig shlig
|
e1a07d7efecc2f991c46466a38342118cab92191
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1445/CH2/EX2.16/ch2_ex_16.sce
|
c0acf18c523e4dddc2f65320ff258c75ca9e35d3
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 2,470
|
sce
|
ch2_ex_16.sce
|
//CHAPTER 2- STEADY-STATE ANALYSIS OF SINGLE-PHASE A.C. CIRCUIT
//Example 16
disp("CHAPTER 2");
disp("EXAMPLE 16");
//VARIABLE INITIALIZATION
r1=5; //in Ohms
r2=10; //in Ohms
L1=0.04; //in Henry
L2=0.05; //in Henry
v=200; //in Volts
f=50; //in Hertz
//SOLUTION
//solution (i)
xl1=L1*(2*%pi*f);
xl2=L2*(2*%pi*f);
z1=r1+(%i*xl1);
z2=r2+(%i*xl2);
//function to convert from rectangular form to polar form
function [z,angle]=rect2pol(x,y);
z=sqrt((x^2)+(y^2)); //z is impedance & the resultant of x and y
angle=atan(y/x)*(180/%pi); //to convert the angle from radians to degrees
endfunction;
[z1,angle1]=rect2pol(r1,xl1);
[z2,angle2]=rect2pol(r2,xl2);
Y1=1/z1; //admittance
Y2=1/z2;
//function to convert from polar form to rectangular form
function [x,y]=pol2rect(mag,angle);
x=mag*cos(angle*(%pi/180)); //to convert the angle from degrees to radians
y=mag*sin(angle*(%pi/180));
endfunction;
[G1,B1]=pol2rect(Y1,angle1);
[G2,B2]=pol2rect(Y2,angle2);
disp("......................................");
disp("SOLUTION (i)");
disp(sprintf("Conductance of 1st coil is %f S",G1));
disp(sprintf("Conductance of 2nd coil is %f S",G2));
disp(" ");
disp(sprintf("Susceptance of 1st coil is %f S",B1));
disp(sprintf("Susceptance of 2nd coil is %f S",B2));
disp(" ");
disp(sprintf("Admittance of 1st coil is %f S",Y1));
disp(sprintf("Admittance of 2nd coil is %f S",Y2));
disp("......................................");
//solution (ii)
G=G1+G2;
B=B1+B2;
[Y,angle]=rect2pol(G,B);
I=v*Y;
pf=cos((angle)*(%pi/180));
disp("SOLUTION (ii)");
disp(sprintf("Total current drawn by the circuit is %f A, %f degrees",I,-angle));
disp(sprintf("Power factor of the circuit is %f (lagging)",pf));
disp("......................................");
//solution (iii)
p=v*I*pf;
disp("SOLUTION (iii)");
disp(sprintf("Power absorbed by the circuit is %f kW",p/1000));
disp("......................................");
//solution (iv)
z=v/I;
function [x,y]=pol2rect(mag,angle);
x=mag*cos(angle*(%pi/180)); //to convert the angle from degrees to radians
y=mag*sin(angle*(%pi/180));
endfunction;
[r,x]=pol2rect(z,angle);
L=x/(2*%pi*f);
disp("SOLUTION (iv)");
disp(sprintf("Resitance of single coil is %f Ω",r));
disp(sprintf("Inductance of single coil is %f H",L));
disp("......................................");
//END
|
7ac8897abbd0f21b3c414ded9fe90b71c2e1034e
|
28f88c035b368ddbe3efd8f5dbf48f01496d1ad0
|
/lab1/Or8.tst
|
bc04b41ff6e7b3ddca35531be4b1f5c853edaa6f
|
[] |
no_license
|
sandeepkasimalla/Computer_System_Design_CS4110
|
46c06acd04c7b0477ff37b76d127c15f005feb9b
|
79d89db0b19f18b9a337fd8e18926114959c5323
|
refs/heads/master
| 2020-07-11T22:45:14.966087
| 2019-11-21T18:46:33
| 2019-11-21T18:46:33
| 204,659,866
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 467
|
tst
|
Or8.tst
|
load Or8.hdl,
output-file Or8.out,
compare-to Or8.cmp,
output-list ip1%B1.8.1 ip2%B1.8.1 out%B1.8.1;
set ip1 %B00000000,
set ip2 %B00000000,
eval,
output;
set ip1 %B11111111,
set ip2 %B00000000,
eval,
output;
set ip1 %B11111111,
set ip2 %B11111111,
eval,
output;
set ip1 %B10101010,
set ip2 %B01010101,
eval,
output;
set ip1 %B00111100,
set ip2 %B00001111,
eval,
output;
set ip1 %B00010010,
set ip2 %B10011000,
eval,
output;
|
9f2798bd67cdcb5deb8acfd326cd24eec61c9520
|
25ecbf436e9499640445c5f8dd256d12dcfecf2a
|
/Vclamp/StochHH_K5 DAG Vclamp.sci
|
4d08a6e0b3a44c9f08f6f645daf05c3f2173bb60
|
[] |
no_license
|
ModelDBRepository/141272
|
89fa654099db5fe443f1d34b43071108882d740e
|
67f44e52600c751f37f731f71a5b13a21fd28e8e
|
refs/heads/master
| 2020-05-29T18:22:46.893645
| 2019-05-31T02:44:35
| 2019-05-31T02:44:35
| 189,298,198
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 2,491
|
sci
|
StochHH_K5 DAG Vclamp.sci
|
// Potassium channel from original HH model
// Voltage clamp simulations with non-stationary noise analysis
// UNcoupled activation particles (2-state independent particles),
// Goldwyn et al. (Phys Rev E 83:041908 (2011)) implementation of the
// Diffusion Approximation. Coupled activation particles WITHOUT
// steady state approximation of variables in the stochastic terms
// See "StochHH_K2 F1 Vclamp noise.sci" for more comments
stacksize('max');
nsim=200;
Tstop=6; dt=0.001; //ms
points = round(Tstop/dt)
NK=300;
//Iamp=10;
Vhold=-90;
Vtest=70;
rand('normal');
tic();
p=1;
Norec = zeros(points,nsim);
// mrec = zeros(points,nsim);
// nrec=mrec;
v = Vhold*ones(1,nsim);
an=0.01*(v+55)./(1-exp(-(v+55)/10));
bn=0.125*exp(-(v+65)/80);
N=an./bn;
Kstatesum=(1+N)^4;
n=[ones(1,nsim);4*N;6*N.^2;4*N.^3;N.^4]./(ones(5,1)*Kstatesum);
v = Vtest;
an=0.01*(v+55)./(1-exp(-(v+55)/10));
bn=0.125*exp(-(v+65)/80);
tint=1;
for tt=dt:tint:Tstop
for t = tt:dt:tt+tint-dt
Norec(p,:) = n(5,:)*NK;
p=p+1;
trans_n=[-(bn+3*an).*n(2,:)+4*an.*n(1,:)+2*bn.*n(3,:);
-(2*bn+2*an).*n(3,:)+3*an.*n(2,:)+3*bn.*n(4,:);
-(3*bn+an).*n(4,:)+2*an.*n(3,:)+4*bn.*n(5,:);
-4*bn.*n(5,:)+an.*n(4,:)];
trans_n=[-(bn+3*an).*n(2,:)+4*an.*n(1,:)+2*bn.*n(3,:);
-(2*bn+2*an).*n(3,:)+3*an.*n(2,:)+3*bn.*n(4,:);
-(3*bn+an).*n(4,:)+2*an.*n(3,:)+4*bn.*n(5,:);
-4*bn.*n(5,:)+an.*n(4,:)];
na=abs(n);
for ii = 1:nsim //because this algorithm needs a matrix operation (line 90) it has to be done iterating over independent simulations
Dmtx = [4*an*na(1,ii)+(3*an+bn)*na(2,ii)+2*bn*na(3,ii),-(3*an*na(2,ii)+2*bn*na(3,ii)),0,0;
-(3*an*na(2,ii)+2*bn*na(3,ii)),3*an*na(2,ii)+2*(an+bn)*na(3,ii)+3*bn*na(4,ii),-(2*an*na(3,ii)+3*bn*na(4,ii)),0;
0,-(2*an*na(3,ii)+3*bn*na(4,ii)),2*an*na(3,ii)+(an+3*bn)*na(4,ii)+4*bn*na(5,ii),-(an*na(4,ii)+4*bn*na(5,ii));
0,0,-(an*na(4,ii)+4*bn*na(5,ii)),an*na(4,ii)+4*bn*na(5,ii)]/NK;
Rvec_n(:,ii)=sqrtm(dt*Dmtx)*rand(4,1);
end
n(2:5,:)=n(2:5,:)+dt*trans_n+Rvec_n;
n(1,:)=ones(1,nsim)-sum(n(2:5,:),1);
end
printf("time %g ms\n",t)
end
time=toc()
scf(0);
clf
plot(dt:dt:Tstop,Norec)
scf(1);
clf
plot(dt:dt:Tstop,[mean(Norec,2),variance(Norec,2)])
scf(2);
clf
plot(mean(Norec,2),variance(Norec,2))
printf("time = %g\n",time);
|
585667339ea88b9c1e690b3e385e41502374365e
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1271/CH18/EX18.20/example18_20.sce
|
1949b97390a03ba6cf926d02c66acac1e0a84eca
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 365
|
sce
|
example18_20.sce
|
clc
// Given that
a = 250 // area of the B-H loop in J/m^3
f = 50 // frequency in Hz
d = 7.5e3 // density of iron in kg/m^3
m = 100 // mass of core in kg
// Sample Problem 20 on page no. 18.28
printf("\n # PROBLEM 20 # \n")
printf("Standard formula used \n ")
printf(" M = V*d \n")
V = m / d
n = 3600 * f
A = a * V * n
printf("\n Energy loss per hour is %e J.",A)
|
76b7fb771664c5cc3976339f974709cfb3ee73a4
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/770/CH10/EX10.9/10_9.sce
|
5a8a373ec6c4a5ca90cfbde2546f21a1df581dcd
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 2,098
|
sce
|
10_9.sce
|
clear;
clc;
//Example - 10.9
//Page number - 344
printf("Example - 10.9 and Page number - 344\n\n");
//Given
T = 0 + 273.15;//[K] - Temperature
R = 8.314;//[J/mol*K] - Universal gas constant
// Pressure in 'atm' is given below
P = [100,200,300,400,500,600,700,800,900,1000];
// The compressibility factor values are
Z = [1.069,1.138,1.209,1.283,1.356,1.431,1.504,1.577,1.649,1.720];
// Z = 1 + (B/V) + (C/V^(2))
// (Z-1)*V = B + (C/V)
V = zeros(1,10);
k = zeros(1,10);
t = zeros(1,10);
for i=1:10;
V(1,i)=Z(i)*R*T/(P(i)*101325);//[m^(3)/mol]
k(1,i)=(Z(i)-1)*V(i);
t(1,i)=1/V(i);
end
[C,B,sig]=reglin(t,k);
//From the regression, we get intercept = B and slope = C,and thus,
printf(" (1).The second virial coefficient of H2 is given by B = %e m^(3)/mol\n",B);
printf(" The thied virial coefficient of H2 is given by C = %e m^(6)/mol^(2)\n\n",C);
// (2)
// We know that, limit P tending to zero (V-(R*T)/P) = B, therfore P = 0, V-(R*T)/P = B
// Now let us tabulate V-(R*T)/P and determine the integral integrate('(V-(R*T)/P)','P',0,1000)
P_prime = [0,100,200,300,400,500,600,700,800,900,1000];
Z_prime = [0,1.069,1.138,1.209,1.283,1.356,1.431,1.504,1.577,1.649,1.720];
summation = 0;
V_prime = zeros(1,11);
x = zeros(1,11);
y = zeros(1,11);
z = zeros(1,11);
for j=2:11;
V_prime(1,j)=Z_prime(j)*R*T/(P_prime(j)*101325);//[m^(3)/mol]
x(1,j)=V_prime(j)-(R*T)/(P_prime(j)*101325);
y(1,j)=(x(j) + x(j-1))/2;
z(1,j)=y(j)*((P_prime(j)-P_prime(j-1)))*101325;
summation = summation + z(j) ;//[J/mol]
end
summation = summation + 2*z(2) - z(2);// Because in the above calculation,in order to calculate the average a summation of z(2) is not included,only half of it gets added
// Now we have
// R*T*log(f/P) = summation
P_dash = 1000;//[atm] - Pressure at which fugacity is to be calculated
T_dash = 273.15;//[K] - Temperature at which fugacity is to be calculated
f = P_dash*exp(summation/(R*T_dash));//[atm]
printf(" (2).The fugacity of H2 at 0 C and 1000 atm pressure is, f = %f atm\n",f);
|
413c36f01b8b39e191019ba0d3472e0e3c49bd57
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/52/CH1/EX1.62/Example1_62.sce
|
fefc888d97bdac2ff14583e483aca4d88e8e7560
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 319
|
sce
|
Example1_62.sce
|
//Example 1.62
//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM
//Fourier transform of (0.8)^|n| u(n)
clear;
clc ;
close ;
syms w n;
X= symsum ((0.8)^n*%e^(%i*w*n),n ,1, %inf )+symsum ((0.8)^n*%e^(-%i*w*n),n ,0, %inf )
//Display the result in command window
disp (X,"The Fourier Transform comes out to be:");
|
7d0b1f12cdf8866c348423ae200d3bd50339dab8
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1733/CH8/EX8.12/8_12.sce
|
ac5d7a45ba5036de310bbef0bfc49bb6e2b0869e
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 370
|
sce
|
8_12.sce
|
//8.12
clc;
R2=100*10^3;
R1=100;
Zin=2*10^6;
Zo=75;
Gain=(R1+R2)/R1;
printf("Closed loop voltage gain=%.0f", Gain)
Av=100000;
beta=R1/(R1+R2);
Z_closed=Zin*(1+Av*beta)*10^-6;
printf("\nClosed loop input impedance=%.1f mega-ohm", Z_closed)
closed_loop_output_impe=Zo/(1+Av*beta);
printf("\nClosed loop output impedance=%.3f ohm", closed_loop_output_impe)
|
4e50ac352fbc70314b27904487f25b8462ea9c21
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3717/CH2/EX2.5/Ex2_5.sce
|
892b95a507b905ddefeae63c0ee069799423fc29
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 780
|
sce
|
Ex2_5.sce
|
// Ex2_5 Page:35 (2014)
clc; clear;
h = 6.626e-034; // Planck's constant, Js
c = 3e+08; // Speed of light, m/s
m0 = 9.1e-031; // Mass of the electron, kg
lambda = 0.15e-09; // Wavelength of the incident X-rays, m
theta = zeros(3); // Declare a row matrix for theta
theta = [0, 90, 180]; // Scattering angles of photons, degree
for i = 1:3
lambda_prime = lambda + h/(m0*c)*(1 - cosd(theta(i))); // New wavelength due to Compton Shift, m
printf("\nThe wavelength of X-rays scattered at %d degrees = %5.3f nm", theta(i), lambda_prime/1e-09);
end
// Result
// The wavelength of X-rays scattered at 0 degrees = 0.150 nm
// The wavelength of X-rays scattered at 90 degrees = 0.152 nm
// The wavelength of X-rays scattered at 180 degrees = 0.155 nm
|
80e23841956f9fbf2db0116c0b3dacb9d76a1c79
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/536/CH3/EX3.11/Example_3_11.sce
|
5727c6d5be73dd2f674ba1b0a0cf69cedf5646d4
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 865
|
sce
|
Example_3_11.sce
|
clc;
printf("Example 3.11\n");
// given:
Meu=0.1; // Viscosity of liquid
printf("\n Given \n Viscosity of liquid = %.1f N s/m^2",Meu);
d=25e-3; // Diameter of pipe
printf("\n Diameter of pipe = %.3f m",d);
l=20; // length of pipe
printf("\n length of pipe = %d m",l);
DP=1e5; // Pressure drop
printf("\n Pressure drop = %d N/m^2",DP);
n=1/3; // flow index of polymer solution
printf("\n flow index = %.2f",n);
dux_dy=1000;
k=Meu;
Meu_a=Meu;
k_poly_sol=Meu_a/(dux_dy)^(n-1);
Ry=10*(dux_dy)^n;
//From equation 3.136:
//For a power-law fluid:
u2=((DP/(4*k_poly_sol*l))^3)*(n*(d^((n+1)/n)))/(2*(3*n+1));
printf("\n\n Velocity for polymer solution = %.4f m/s",u2);
u1=(DP/(4*k*l))*(d^2)/8
printf("\n Velocity for original solution = %.3f m/s",u1);
ratio=u2/u1;
printf("\n Ratio of the volumetric flow rates of the two liquids = %.3f",ratio);
|
830bfd1b0c1079f18a18b6e2f6fbbad7f28fe4c0
|
717ddeb7e700373742c617a95e25a2376565112c
|
/3044/CH5/EX5.16/Ex5_16.sce
|
c16ee5b9611f188150a203ebd0476d40af3039f1
|
[] |
no_license
|
appucrossroads/Scilab-TBC-Uploads
|
b7ce9a8665d6253926fa8cc0989cda3c0db8e63d
|
1d1c6f68fe7afb15ea12fd38492ec171491f8ce7
|
refs/heads/master
| 2021-01-22T04:15:15.512674
| 2017-09-19T11:51:56
| 2017-09-19T11:51:56
| 92,444,732
| 0
| 0
| null | 2017-05-25T21:09:20
| 2017-05-25T21:09:19
| null |
UTF-8
|
Scilab
| false
| false
| 582
|
sce
|
Ex5_16.sce
|
// Variable declaration
alpha = 0.1 // Mean of normal distribution
beta = 0.5
// Calculation
Mean = (0.1^(-1.0/0.5))* gamma(int(1+1/0.5)) // Mean life
Mean = round(Mean)
function ans = f1(x)
ans = 0.1*0.5*(x^-0.5)*%e^(-0.1*(x^0.5))
endfunction
result = intg(300, 8000,f1) // probability of battery life > 300 hours
// Result
printf ( "Mean lifetime: %d hours",Mean)
printf ( "probability of battery life > 300 hours: %.3f",result)
|
5b7ed811f64e70b123c6cd0db5c567b689b55a0e
|
2ba48648eefadee113a7c2f5d608cab5209c3a8b
|
/Unit&Func Test/单元测试文档/CagOS单元测试结果/LIBC/testcase/strncpy.tst
|
07a9bdbaef1048edc3f18988b5bcb3c52c1cc6cb
|
[] |
no_license
|
wangdong412/Consen-SIS
|
879762175575d0a62f26ec1effeb46c3fd62e3e8
|
bca3fac35c961c3558a3438bca55e6d20825da3a
|
refs/heads/master
| 2020-07-11T05:17:18.814104
| 2019-08-27T09:41:41
| 2019-08-27T09:41:41
| 204,450,874
| 1
| 5
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 3,273
|
tst
|
strncpy.tst
|
-- VectorCAST 6.4c (02/03/16)
-- Test Case Script
--
-- Environment : LIBC
-- Unit(s) Under Test: abort1 abs atof atoi atol bLib memchr memcmp memcpy memmove memset ns16550 qsort rand random random_r strcat strchr strcmp strcpy strlcat strlcpy strlen strncat strncmp strncpy strpbrk strspn strtod strtok strtok_r strtol strtoul
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FEATURE:STATIC_HEADER_FUNCS_IN_UUTS
--
-- Unit: strncpy
-- Subprogram: strncpy
-- Test Case: strncpy
TEST.UNIT:strncpy
TEST.SUBPROGRAM:strncpy
TEST.NEW
TEST.NAME:strncpy
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (n != (0)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strncpy.strncpy.s1:<<malloc 4>>
TEST.VALUE:strncpy.strncpy.s1:"abc"
TEST.VALUE:strncpy.strncpy.s2:<<malloc 5>>
TEST.VALUE:strncpy.strncpy.s2:"ABCD"
TEST.VALUE:strncpy.strncpy.n:0
TEST.EXPECTED:strncpy.strncpy.return:"abc"
TEST.END
-- Test Case: strncpy2
TEST.UNIT:strncpy
TEST.SUBPROGRAM:strncpy
TEST.NEW
TEST.NAME:strncpy2
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (n != (0)) ==> TRUE
(2) while ((*(d++) = *(s2++)) != 0) ==> FALSE
(4) while (--n > (0)) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:strncpy.strncpy.s1:<<malloc 2>>
TEST.VALUE:strncpy.strncpy.s1:"a"
TEST.VALUE:strncpy.strncpy.s2:<<malloc 2>>
TEST.VALUE:strncpy.strncpy.s2:"A"
TEST.VALUE:strncpy.strncpy.n:1
TEST.EXPECTED:strncpy.strncpy.return:"A"
TEST.END
-- Test Case: strncpy3
TEST.UNIT:strncpy
TEST.SUBPROGRAM:strncpy
TEST.NEW
TEST.NAME:strncpy3
TEST.BASIS_PATH:5 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 5
(1) if (n != (0)) ==> TRUE
(2) while ((*(d++) = *(s2++)) != 0) ==> TRUE
(3) if (--n == (0)) ==> FALSE
(4) while (--n > (0)) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 3
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:strncpy.strncpy.s1:<<malloc 6>>
TEST.VALUE:strncpy.strncpy.s1:"abcde"
TEST.VALUE:strncpy.strncpy.s2:<<malloc 6>>
TEST.VALUE:strncpy.strncpy.s2:"ABCDE"
TEST.VALUE:strncpy.strncpy.n:3
TEST.EXPECTED:strncpy.strncpy.return:"ABCde"
TEST.END
-- Test Case: strncpy4
TEST.UNIT:strncpy
TEST.SUBPROGRAM:strncpy
TEST.NEW
TEST.NAME:strncpy4
TEST.BASIS_PATH:3 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (n != (0)) ==> TRUE
(2) while ((*(d++) = *(s2++)) != 0) ==> FALSE
(4) while (--n > (0)) ==> TRUE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:strncpy.strncpy.s1:<<malloc 1>>
TEST.VALUE:strncpy.strncpy.s2:<<malloc 1>>
TEST.VALUE:strncpy.strncpy.s2[0]:0x0
TEST.VALUE:strncpy.strncpy.n:1
TEST.EXPECTED:strncpy.strncpy.return:"\0"
TEST.END
|
9b36d3b4392a98196d98a68d3b8d4a19ced35595
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2582/CH3/EX3.8/Ex3_8.sce
|
0724b65b6800e057fdeca3d241efddb79e7e7d04
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 465
|
sce
|
Ex3_8.sce
|
//Ex 3.8
clc;clear;close;
format('v',6);
fo=2;//kHz
alfa=1.414;//for butterworth filter
Ap=3-alfa;//band pass gain
RfBYRi=(Ap-1);//op-amp gain
C=0.05;//micro F(Assumed)
R=1/(2*%pi*fo*10^3*C*10^-6)/1000;//kohm
//For offset minimization 2*R=Rf||Ri
Rf=2*R*RfBYRi+2*R;//kohm
Ri=Rf/RfBYRi;//kohm
disp("Design values are :");
disp(C,"Capacitance C(micro F)");
disp(R,"Resistance R(kohm)");
disp(Rf,"Resistance Rf(kohm)");
disp(Ri,"Resistance Ri(kohm)");
|
cb497418d8890046b868d86c587debd44b16b534
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/704/CH2/EX2.39/2_39.txt
|
2c708984cf3ff21857828942a329ba623fd14b5b
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,090
|
txt
|
2_39.txt
|
//Caption:Calculate the speed and calculate the electro magnetic torque.
//Exam:2.39
clc;
clear;
close;
V_1=230;//supply voltage(in V)
I_a1=100;//motor taking current from supply(in Amp)
N_1=600;//speed of the motor when I_a1 current taking from supply(in rpm)
R_a=0.12;//resistance of armature circuit(in Ohm)
R_f=0.03;//resistance of series winding(in Ohm)
R=R_a+R_f;//total resistance(in Ohm)
I_a2=50;//desired current of the motor
E_1=V_1-I_a1*R;//emf induced when current I_a1 flowing
E_2=V_1-I_a2*R;//emf induced when current I_a2 flowing
N_2=(E_2/E_1)*(I_a1/I_a2)*N_1;//speed of the motor when 50 Amp current taking from supply(in rpm)
disp(N_2,'speed of the motor when 50 Amp current taking from supply(in rpm)=');
T_1=E_1*I_a1*60/(2*3.14*N_1);//electro-magnetic torque generated when motor running at 600 rpm(in Nw-m)
disp(T_1,'electro-magnetic torque generatedwhen motor running at 600 rpm(in Nw-m)');
T_2=E_2*I_a2*60/(2*3.14*N_2);//electro-magnetic torque generated in second case(in Nw-m)
disp(T_2,'electro-magnetic torque generated in second case(in Nw-m)');
|
413e77bbe50c28888fa2817667c1d57b0cae5d08
|
776c9715b4adba254a4ce6ad7391bae87e8086a2
|
/warnerd/utsrs2.tst
|
714e097677a79bf6e5836c70795cb4e08470638e
|
[] |
no_license
|
TYMCOM-X/169279.tape
|
b0cf2f2cc6a400acb6b0ca2f44ef17f0a4854666
|
a80150749ad1dc588b6768dfd53c1a21cfc7d783
|
refs/heads/master
| 2023-03-23T08:41:21.289217
| 2021-03-19T11:26:42
| 2021-03-19T11:26:42
| 345,965,036
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,595
|
tst
|
utsrs2.tst
|
PATCH(900629,1500,WARNERD,UTSEXC+4,,2)
LIS R10,02 :INCREASE NO. OF TIMES THORUGH RUN
:LIST LOOP FROM 1 TO 3
LO UTSFEX
CONPATCH(RDMISS,,6)
J PA1PTR,,
CONPATCH(PA1PTR,,0C)
ST R5,RRUNL,RL2,RL2 :REPLACE OLD INSTRUCTION
J XRUNOF,, :GO TO PROTOCOL RUN LIST RATHER
:THAN TRANSMIT RUN LIST FROM
:RECEIVE
CONPATCH(PDMISS,,6)
J PA1PTR,,
CONPATCH(PA1PTR,,0C)
ST R5,PRUNL,RL2,RL2 :REPLACE OLD INSTRUCTION
J RRUNOF,, :GO TO TRANSMIT RUN LIST AFTER
:PROTOCOL RUN LIST
CONPATCH(XDMISS,,6)
J PA1PTR,,
CONPATCH(PA1PTR,,0C)
ST R5,XRUNL,RL2,RL2 :REPLACE OLD INSTRUCTION
J PRUNOF,, :GO BACK TO F.G.
FO UTSFEX
CONPATCH(EXEC,,6)
J PA1PTR,,
CONPATCH(PA1PTR,,18)
LIS R0,1 :SET UP FOR SVC
SVC SYS,0D :SVC TO SAVE F.G. RETURN ADDR. TO
:SEE IF FORCE DISMISS DUE TO F.G.
:LOOPS
ST R0,PA0PTR,, :STORE ADDRESS
LH R0,BDEBUG,, :REPLACE OLD INSTRUCTION
J EXEC+6,, :GO BACK
ENDPATCH(Re-arrange run list order, increase f.g. loops)
|
edc35410750b50818a97ad89465f2464b5c1190d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2453/CH2/EX2.11/2_11.sce
|
ac642992c16b17dadc3d24389b745eb9b0ad8daf
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 795
|
sce
|
2_11.sce
|
//To calculate the number of atoms per square millimetre
//in (100) plane the total number of atoms are n
n = (1/4)*4;
//A = a^2. number of atoms per mm^2 is n/a^2
printf("number of atoms in (100) plane are %d",n);
printf("number of atoms per mm^2 is 1/a^2");
//in (110) plane, area is sqrt(2)*a*a = sqrt(2)*a^2
printf("number of atoms in (100) plane is 1");
printf("unit area contains 1/(sqrt(2)*a^2) = 0.707/a^2 atoms/mm^2");
//in (111) plane, area = (1/2)*base*height = (1/2)*a*sqrt(2)*a*sqrt(2)*cosd(30)
x = cosd(30);
//area = (1/2)*a*sqrt(2)*a*sqrt(2)*x = 0.866*a^2 = 0.58/a^2
n1 = (1/360)*60*3;
//number of atoms per unit area is 0.5/(0.866*a^2) =
printf("total number of atoms in (111) plane is %5.1f",n1);
printf("number of atoms per unit area is 0.58/a^2 atoms/mm^2");
|
a2704c974d44d42bb86aeb99c668c4d953cc12b8
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/125/DEPENDENCIES/dct_mtx.sce
|
b42bec4a8900037fbf036a69e51dede73cd3d1da
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 183
|
sce
|
dct_mtx.sce
|
function[DCT] = dct_mtx(n)
[cc,rr] = meshgrid(0:n-1);
//disp(cc)
//disp(rr)
DCT = sqrt(2 / n) * cos(%pi * (2*cc + 1) .* rr / (2 * n));
DCT(1,:) = DCT(1,:) / sqrt(2);
endfunction
|
8f36251f5ed16d1eae7a8290fbacfbe9a17fa4b5
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3871/CH13/EX13.5/Ex13_5.sce
|
2c0bf2960cb6a1936103d227f95c1a248cddcb8e
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 771
|
sce
|
Ex13_5.sce
|
//=====================================================================================
//Chapter 13 example 5
clc;clear all;
//variable declaration
N = 1; //number of turns on search coil
Rc = 0.025; //resistance of search coil in Ω
Nw = 1.5*10^-4; //number of wb-turns required for deflection of 1 division
M = 120000; //reluctane of magnetic circuit
MMF = 8000; //magnetic circuit is excited in ampere-turn
f = 1.5*10^-4; //fluxmeter without shunt (K/N = phi/theta)
theta =120;
//calculations
phi = (MMF/(M)); //flux produced in WB
//phi = ((Rs+Rc)/Rs)*((K*theta)/N)
Rs = (Rc*f*theta)/(phi-(f*theta)); //resistance of shunt in Ω
//result
mprintf("resistance of shunt = %3.2e Ω",Rs);
|
366abf7be31484f49ffe5ce32e8bd3feb25734e3
|
4260199547a8184417d4f5571cbef35d37fe09eb
|
/PSO algorithm.sce
|
1cd4504f52aebe37140349c04b03a9a62d2525cf
|
[] |
no_license
|
24608491/Optimisation
|
17d5c52cf388bc714cd6a566f6dba87e29a1459c
|
65b78688a0055519790b17f838d7193477872f7c
|
refs/heads/main
| 2022-12-25T10:41:41.020916
| 2020-10-02T04:58:52
| 2020-10-02T04:58:52
| 300,388,139
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,728
|
sce
|
PSO algorithm.sce
|
clc
clf
function z=f(x, y)
z=-(y+47)*sin(sqrt(abs(y+(x/2)+47)))-x*sin(sqrt(abs(x-(y+47))));
endfunction
xx=linspace(-530,530,513);
yy=linspace(-530,530,513);
contour(xx,yy,f,30);
xset("fpf"," ")
wx=0.1*ones(50,1);
c1x=0.1*ones(50,1);
c2x=0.1*ones(50,1);
wy=0.1*ones(50,1);
c1y=0.1*ones(50,1);
c2y=0.1*ones(50,1);
//
vx=rand(50,1);
x=[grand(50,1,'unf',-512,512)];
p1x=rand(50,1);
p2x=rand(50,1);
vy=rand(50,1);
y=[grand(50,1,'unf',-512,512)];
p1y=rand(50,1);
p2y=rand(50,1);
z=feval(x,y,f)';
Cand=diag(z);
[a,b]=find(Cand==min(Cand));
min_x=x(a);
min_y=y(a);
Pix=x;
Pgx=zeros(50,1)+min_x;
Piy=y;
Pgy=zeros(50,1)+min_y;
Pg=min(Cand)
L=0;
L_max=50;
WW=0;
while (L<L_max)
p1x=rand(50,1);
p2x=rand(50,1);
p1y=rand(50,1);
p2y=rand(50,1);
x=x+wx.*vx+p1x.*c1x.*(Pix-x)+p2x.*c2x.*(Pgx-x);
y=y+wy.*vy+p1y.*c1y.*(Piy-y)+p2y.*c2y.*(Pgy-y);
for i=1:length(x)
if x(i)>512
then x(i)=512;
elseif x(i)<-512
then x(i)=-512;
else
x(i)=x(i);
end
end
for i=1:1:length(y)
if y(i)> 512
then y(i)=512;
elseif y(i)< -512
then y(i)=-512;
else
y(i)=y(i);
end
end
Cand1=diag(feval(x,y,f));
if min(Cand1)<Pg then
[a,b]=find(Cand1==min(Cand1));
min_x=x(a);
min_y=y(a);
Pgx=zeros(50,1)+min_x;
Pgy=zeros(50,1)+min_y;
Pg=min(Cand1);
WW=WW+1
else
L=L+1
end
for i=1:1:length(Cand1)
if Cand1(i)<Cand(i)then
Pix(i)=x(i);
Piy(i)=y(i);
else
Pix(i)=Pix(i);
Piy(i)=Piy(i);
end
end
Cand=Cand1;
scatter(x,y,msizes=8,'black','fill');
end
|
dc59c3b0b7f42da39599d821877db347d3f23676
|
5a857e4907a4990f4631bf63b468cdd7bbc8c175
|
/empath.sce
|
2bddcf1239fce56dc0f5241b0d229f5487672358
|
[] |
no_license
|
jangwoopark/presentation-empathy
|
5a72123fb7ad9c81de4db2504daaac989500d057
|
2ca5ab3aee410a60be326ef527cd4e5b18a0e4b3
|
refs/heads/master
| 2020-12-02T11:29:56.873088
| 2017-09-15T06:49:02
| 2017-09-15T06:49:02
| 96,644,451
| 1
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 7,877
|
sce
|
empath.sce
|
scenario = "empathy";
scenario_type = fMRI_emulation;
pulses_per_scan = 32;
scan_period = 3000;
#scenario_type = fMRI;
sequence_interrupt=false; #default
#active_buttons = 8;
#button_codes=1,2,3,4,5,6,7,8;
default_font="times";
default_font_size=28;
default_text_color=255,255,255;
default_background_color=0,0,0;
begin;
picture {} default; #blank screen
text { caption = " "; font_size = 12; } cross;
text { caption = "RATE
YOUR CONCERN
FROM
ZERO TO TEN"; } select;
text { caption = "RATING:"; } sending;
text { caption = "UNRATING:"; } keeping;
text { caption = "_"; } dollar_2;
text { caption = "_"; } dollar_3;
box { height = 486; width = 2; color = 255,255,255; } vert;
box { height = 2; width = 142; color = 255,255,255; } horiz;
box { height = 2; width = 4; color = 255,255,255; } divide;
box { height = 42; width = 140; color = 0,0,0; } zero;
picture { text { caption =
"Rate your concern in a scale
from zero to ten when asked."; }; x=0; y=0; } inst;
picture { text { caption = "+"; font_size = 200; }; x=0; y=0; } fix;
picture { bitmap { filename = "01e.jpg"; }; x=0; y=0; } ae;
picture { bitmap { filename = "01n.jpg"; }; x=0; y=0; } bn;
picture { bitmap { filename = "02e.jpg"; }; x=0; y=0; } ce;
picture { bitmap { filename = "02n.jpg"; }; x=0; y=0; } dn;
picture { bitmap { filename = "03e.jpg"; }; x=0; y=0; } ee;
picture { bitmap { filename = "03n.jpg"; }; x=0; y=0; } fn;
picture { bitmap { filename = "04e.jpg"; }; x=0; y=0; } ge;
picture { bitmap { filename = "04n.jpg"; }; x=0; y=0; } hn;
picture { bitmap { filename = "05e.jpg"; }; x=0; y=0; } ie;
picture { bitmap { filename = "05n.jpg"; }; x=0; y=0; } jn;
picture { bitmap { filename = "06e.jpg"; }; x=0; y=0; } ke;
picture { bitmap { filename = "06n.jpg"; }; x=0; y=0; } ln;
picture { bitmap { filename = "07e.jpg"; }; x=0; y=0; } me;
picture { bitmap { filename = "07n.jpg"; }; x=0; y=0; } nn;
picture { bitmap { filename = "08e.jpg"; }; x=0; y=0; } oe;
picture { bitmap { filename = "08n.jpg"; }; x=0; y=0; } pn;
picture { bitmap { filename = "09e.jpg"; }; x=0; y=0; } qe;
picture { bitmap { filename = "09n.jpg"; }; x=0; y=0; } rn;
picture { bitmap { filename = "10e.jpg"; }; x=0; y=0; } se;
picture { bitmap { filename = "10n.jpg"; }; x=0; y=0; } tn;
picture { bitmap { filename = "11e.jpg"; }; x=0; y=0; } ue;
picture { bitmap { filename = "11n.jpg"; }; x=0; y=0; } vn;
picture { bitmap { filename = "12e.jpg"; }; x=0; y=0; } we;
picture { bitmap { filename = "12n.jpg"; }; x=0; y=0; } xn;
picture { bitmap { filename = "13e.jpg"; }; x=0; y=0; } ye;
picture { bitmap { filename = "13n.jpg"; }; x=0; y=0; } zn;
picture { bitmap { filename = "14e.jpg"; }; x=0; y=0; } aae;
picture { bitmap { filename = "14n.jpg"; }; x=0; y=0; } abn;
picture { bitmap { filename = "15e.jpg"; }; x=0; y=0; } ace;
picture { bitmap { filename = "15n.jpg"; }; x=0; y=0; } adn;
picture { bitmap { filename = "16e.jpg"; }; x=0; y=0; } aee;
picture { bitmap { filename = "16n.jpg"; }; x=0; y=0; } afn;
trial { picture inst; duration=6000; } instructions;
trial { picture fix; duration=6000; } fixation;
trial { picture fix; duration=12000; } fixing;
trial { picture bn; duration=3000; } p01n;
trial { picture ye; duration=3000; } p13e;
trial { picture ce; duration=3000; } p02e;
trial { picture abn; duration=3000; } p14n;
trial { picture fn; duration=3000; } p03n;
trial { picture adn; duration=3000; } p15n;
trial { picture ge; duration=3000; } p04e;
trial { picture afn; duration=3000; } p16n;
trial { picture ie; duration=3000; } p05e;
trial { picture rn; duration=3000; } p09n;
trial { picture ke; duration=3000; } p06e;
trial { picture se; duration=3000; } p10e;
trial { picture nn; duration=3000; } p07n;
trial { picture ue; duration=3000; } p11e;
trial { picture pn; duration=3000; } p08n;
trial { picture xn; duration=3000; } p12n;
trial { picture qe; duration=3000; } p09e;
trial { picture jn; duration=3000; } p05n;
trial { picture tn; duration=3000; } p10n;
trial { picture ln; duration=3000; } p06n;
trial { picture vn; duration=3000; } p11n;
trial { picture me; duration=3000; } p07e;
trial { picture we; duration=3000; } p12e;
trial { picture oe; duration=3000; } p08e;
trial { picture zn; duration=3000; } p13n;
trial { picture ae; duration=3000; } p01e;
trial { picture aae; duration=3000; } p14e;
trial { picture dn; duration=3000; } p02n;
trial { picture ace; duration=3000; } p15e;
trial { picture ee; duration=3000; } p03e;
trial { picture aee; duration=3000; } p16e;
trial { picture hn; duration=3000; } p04n;
array { LOOP $i 10; $t = '$i+1'; box {height = '440/10-2'; width = 140; color = 0,0,0;} "red10_10_$t"; ENDLOOP; } rex10;
picture { text cross; x=0; y=0;
LOOP $i 10; $t='$i+1';
box "red10_10_$t"; x=0; y='-220+(440/(2*10))+$i*440/10';
ENDLOOP;
LOOP $i 11;
box divide; x=68; y='220-$i*(440/10)';
box divide; x=-68; y='220-$i*(440/10)';
ENDLOOP;
text select; x = -250; y = 0;
text sending; x = 250; y = 23;
text dollar_2; x = 400; y = 23;
text keeping; x = 250; y = -23;
text dollar_3; x = 400; y = -23;
box zero; x=0; y=-242;
box vert; x=70; y=-22;
box vert; x=-70; y=-22;
box horiz; x=0; y=220;
box horiz; x=0; y=-264;
} cursor10;
trial { stimulus_event {picture cursor10;} coding10; } codes10;
begin_pcl;
mouse stick = response_manager.get_mouse( 1 );
#joystick stick = response_manager.get_joystick( 1 );
stick.set_min_max( 1, -1, 1 );
stick.set_min_max( 2, -264, 220 );
#stick.set_saturation( 1, 0.999 );
#stick.set_saturation( 2, 0.999 );
#stick.set_dead_zone( 1, 0.001 );
#stick.set_dead_zone( 2, 0.001 );
sub box10 (int duration10)
begin
loop int end_time = clock.time() + duration10
until clock.time() >= end_time
begin
array <int> seq10[10] = {-220, -176, -132, -88, -44, 0, 44, 88, 132, 176};
array <string> num[10] = {"1","2","3","4","5","6","7","8","9","10"};
array <string> mun[10] = {"9","8","7","6","5","4","3","2","1","0"};
stick.poll();
cursor10.set_part_x( 1, stick.x() );
cursor10.set_part_y( 1, stick.y() );
if (stick.y()==-264) then zero.set_color(0,0,0);
dollar_2.set_caption("_"); dollar_2.redraw();
dollar_3.set_caption("_"); dollar_3.redraw();
coding10.set_event_code("_");
end;
if (stick.y()>-264)
then zero.set_color(0,255,0);
dollar_2.set_caption("0"); dollar_2.redraw();
dollar_3.set_caption("10"); dollar_3.redraw();
coding10.set_event_code("0");
elseif (stick.y()<-264) then zero.set_color(0,0,0);
end;
loop int t=1 until t>10 begin
if (stick.y()>seq10[t])
then rex10[t].set_color(255,0,0);
dollar_2.set_caption(num[t]); dollar_2.redraw();
dollar_3.set_caption(mun[t]); dollar_3.redraw();
coding10.set_event_code(num[t]);
elseif (stick.y()<seq10[t])
then rex10[t].set_color(0,0,0);
end;
t = t + 1;
end;
codes10.present();
end;
end;
instructions.present();
fixation.present();
p01n.present();
box10(6000);
p13e.present();
box10(6000);
p02e.present();
box10(6000);
p14n.present();
box10(6000);
p03n.present();
box10(6000);
p15n.present();
box10(6000);
p04e.present();
box10(6000);
p16n.present();
box10(6000);
fixing.present();
p05e.present();
box10(6000);
p09n.present();
box10(6000);
p06e.present();
box10(6000);
p10e.present();
box10(6000);
p07n.present();
box10(6000);
p11e.present();
box10(6000);
p08n.present();
box10(6000);
p12n.present();
box10(6000);
fixing.present();
p09e.present();
box10(6000);
p05n.present();
box10(6000);
p10n.present();
box10(6000);
p06n.present();
box10(6000);
p11n.present();
box10(6000);
p07e.present();
box10(6000);
p12e.present();
box10(6000);
p08e.present();
box10(6000);
fixing.present();
p13n.present();
box10(6000);
p01e.present();
box10(6000);
p14e.present();
box10(6000);
p02n.present();
box10(6000);
p15e.present();
box10(6000);
p03e.present();
box10(6000);
p16e.present();
box10(6000);
p04n.present();
box10(6000);
fixing.present();
|
761f35b5cfacd3ef7b274b72d4e2079f42878b78
|
f542bc49c4d04b47d19c88e7c89d5db60922e34e
|
/PresentationFiles_Subjects/CONT/HG63QMJ/ATWM1_Working_Memory_MEG_HG63QMJ_Session1/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce
|
9354603458508254be0fdb765c4eb5d0679cd9af
|
[] |
no_license
|
atwm1/Presentation
|
65c674180f731f050aad33beefffb9ba0caa6688
|
9732a004ca091b184b670c56c55f538ff6600c08
|
refs/heads/master
| 2020-04-15T14:04:41.900640
| 2020-02-14T16:10:11
| 2020-02-14T16:10:11
| 56,771,016
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 49,597
|
sce
|
ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run1.sce
|
# ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor_sounds = false;
active_buttons = 2;
response_matching = simple_matching;
button_codes = 10, 20;
default_font_size = 36;
default_font = "Arial";
default_background_color = 0 ,0 ,0 ;
write_codes=true; # for MEG only
begin;
#Picture definitions
box { height = 382; width = 382; color = 0, 0, 0;} frame1;
box { height = 369; width = 369; color = 255, 255, 255;} frame2;
box { height = 30; width = 4; color = 0, 0, 0;} fix1;
box { height = 4; width = 30; color = 0, 0, 0;} fix2;
box { height = 30; width = 4; color = 255, 0, 0;} fix3;
box { height = 4; width = 30; color = 255, 0, 0;} fix4;
box { height = 369; width = 369; color = 42, 42, 42;} background;
TEMPLATE "StimuliDeclaration.tem" {};
trial {
sound sound_incorrect;
time = 0;
duration = 1;
} wrong;
trial {
sound sound_correct;
time = 0;
duration = 1;
} right;
trial {
sound sound_no_response;
time = 0;
duration = 1;
} miss;
# Start of experiment (MEG only) - sync with CTF software
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
} expStart;
time = 0;
duration = 1000;
code = "ExpStart";
port_code = 80;
};
# baselinePre (at the beginning of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
}default;
time = 0;
duration = 10000;
#mri_pulse = 1;
code = "BaselinePre";
port_code = 91;
};
TEMPLATE "ATWM1_Working_Memory_MEG.tem" {
trigger_encoding trigger_retrieval cue_time preparation_time encoding_time single_stimulus_presentation_time delay_time retrieval_time intertrial_interval alerting_cross stim_enc1 stim_enc2 stim_enc3 stim_enc4 stim_enc_alt1 stim_enc_alt2 stim_enc_alt3 stim_enc_alt4 trial_code stim_retr1 stim_retr2 stim_retr3 stim_retr4 stim_cue1 stim_cue2 stim_cue3 stim_cue4 fixationcross_cued retr_code the_target_button posX1 posY1 posX2 posY2 posX3 posY3 posX4 posY4;
43 62 292 292 399 125 1792 2992 1992 fixation_cross gabor_080 gabor_065 gabor_137 gabor_097 gabor_080 gabor_065_alt gabor_137_alt gabor_097 "1_1_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_080_065_137_097_target_position_1_4_retrieval_position_1" gabor_080_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_1_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_080_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1742 2992 2392 fixation_cross gabor_033 gabor_018 gabor_151 gabor_096 gabor_033_alt gabor_018 gabor_151 gabor_096_alt "1_2_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_2400_gabor_patch_orientation_033_018_151_096_target_position_2_3_retrieval_position_2" gabor_circ gabor_018_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_2_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_018_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1992 2992 1942 fixation_cross gabor_076 gabor_108 gabor_056 gabor_040 gabor_076 gabor_108_alt gabor_056 gabor_040_alt "1_3_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_1950_gabor_patch_orientation_076_108_056_040_target_position_1_3_retrieval_position_1" gabor_076_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_3_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_076_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2242 2992 2342 fixation_cross gabor_023 gabor_131 gabor_070 gabor_041 gabor_023 gabor_131 gabor_070_alt gabor_041_alt "1_4_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2350_gabor_patch_orientation_023_131_070_041_target_position_1_2_retrieval_position_2" gabor_circ gabor_176_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_4_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_176_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2242 2992 2192 fixation_cross gabor_096 gabor_169 gabor_134 gabor_061 gabor_096_alt gabor_169_alt gabor_134 gabor_061 "1_5_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2200_gabor_patch_orientation_096_169_134_061_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_012_framed blank blank blank blank fixation_cross_target_position_3_4 "1_5_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_012_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2042 2992 1992 fixation_cross gabor_180 gabor_099 gabor_074 gabor_045 gabor_180 gabor_099_alt gabor_074 gabor_045_alt "1_6_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2000_gabor_patch_orientation_180_099_074_045_target_position_1_3_retrieval_position_1" gabor_135_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_6_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_135_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 2042 2992 2542 fixation_cross gabor_094 gabor_113 gabor_050 gabor_139 gabor_094 gabor_113_alt gabor_050 gabor_139_alt "1_7_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2050_3000_2550_gabor_patch_orientation_094_113_050_139_target_position_1_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_139_framed blank blank blank blank fixation_cross_target_position_1_3 "1_7_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_139_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2242 2992 2342 fixation_cross gabor_156 gabor_097 gabor_128 gabor_048 gabor_156_alt gabor_097 gabor_128 gabor_048_alt "1_8_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2350_gabor_patch_orientation_156_097_128_048_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_175_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_8_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_175_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 2092 2992 1942 fixation_cross gabor_081 gabor_102 gabor_022 gabor_169 gabor_081 gabor_102_alt gabor_022 gabor_169_alt "1_9_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2100_3000_1950_gabor_patch_orientation_081_102_022_169_target_position_1_3_retrieval_position_2" gabor_circ gabor_148_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_9_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_148_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1942 2992 1942 fixation_cross gabor_077 gabor_164 gabor_056 gabor_098 gabor_077_alt gabor_164_alt gabor_056 gabor_098 "1_10_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_1950_gabor_patch_orientation_077_164_056_098_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_144_framed blank blank blank blank fixation_cross_target_position_3_4 "1_10_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_144_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2242 2992 2492 fixation_cross gabor_034 gabor_090 gabor_117 gabor_058 gabor_034 gabor_090_alt gabor_117 gabor_058_alt "1_11_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2500_gabor_patch_orientation_034_090_117_058_target_position_1_3_retrieval_position_1" gabor_172_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_11_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_172_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1892 2992 2492 fixation_cross gabor_057 gabor_090 gabor_163 gabor_178 gabor_057_alt gabor_090 gabor_163 gabor_178_alt "1_12_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2500_gabor_patch_orientation_057_090_163_178_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_163_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_12_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_163_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1892 2992 2292 fixation_cross gabor_071 gabor_051 gabor_087 gabor_176 gabor_071_alt gabor_051 gabor_087 gabor_176_alt "1_13_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_2300_gabor_patch_orientation_071_051_087_176_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_132_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_13_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_132_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1792 2992 2592 fixation_cross gabor_029 gabor_096 gabor_009 gabor_148 gabor_029 gabor_096_alt gabor_009 gabor_148_alt "1_14_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2600_gabor_patch_orientation_029_096_009_148_target_position_1_3_retrieval_position_1" gabor_029_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_14_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_029_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 1742 2992 2142 fixation_cross gabor_079 gabor_123 gabor_001 gabor_050 gabor_079 gabor_123_alt gabor_001 gabor_050_alt "1_15_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1750_3000_2150_gabor_patch_orientation_079_123_001_050_target_position_1_3_retrieval_position_2" gabor_circ gabor_169_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_15_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_169_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1892 2992 2292 fixation_cross gabor_043 gabor_178 gabor_119 gabor_095 gabor_043_alt gabor_178 gabor_119 gabor_095_alt "1_16_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2300_gabor_patch_orientation_043_178_119_095_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_119_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_16_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_119_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1942 2992 2142 fixation_cross gabor_106 gabor_089 gabor_176 gabor_016 gabor_106 gabor_089 gabor_176_alt gabor_016_alt "1_17_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2150_gabor_patch_orientation_106_089_176_016_target_position_1_2_retrieval_position_1" gabor_106_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_17_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_106_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1842 2992 2342 fixation_cross gabor_144 gabor_088 gabor_162 gabor_128 gabor_144_alt gabor_088_alt gabor_162 gabor_128 "1_18_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2350_gabor_patch_orientation_144_088_162_128_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_178_framed blank blank blank blank fixation_cross_target_position_3_4 "1_18_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_178_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1792 2992 2192 fixation_cross gabor_086 gabor_131 gabor_155 gabor_067 gabor_086 gabor_131_alt gabor_155 gabor_067_alt "1_19_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2200_gabor_patch_orientation_086_131_155_067_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_155_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_19_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_155_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1742 2992 2042 fixation_cross gabor_020 gabor_063 gabor_088 gabor_104 gabor_020 gabor_063_alt gabor_088_alt gabor_104 "1_20_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1750_3000_2050_gabor_patch_orientation_020_063_088_104_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_150_framed blank blank blank blank fixation_cross_target_position_1_4 "1_20_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_150_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1992 2992 1892 fixation_cross gabor_153 gabor_136 gabor_179 gabor_094 gabor_153 gabor_136_alt gabor_179 gabor_094_alt "1_21_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_1900_gabor_patch_orientation_153_136_179_094_target_position_1_3_retrieval_position_1" gabor_015_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_21_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_015_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2142 2992 2592 fixation_cross gabor_118 gabor_142 gabor_090 gabor_180 gabor_118 gabor_142 gabor_090_alt gabor_180_alt "1_22_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2600_gabor_patch_orientation_118_142_090_180_target_position_1_2_retrieval_position_1" gabor_118_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_22_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_118_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 1842 2992 2442 fixation_cross gabor_072 gabor_160 gabor_110 gabor_139 gabor_072_alt gabor_160 gabor_110 gabor_139_alt "1_23_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1850_3000_2450_gabor_patch_orientation_072_160_110_139_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_139_framed blank blank blank blank fixation_cross_target_position_2_3 "1_23_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_139_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2092 2992 2092 fixation_cross gabor_156 gabor_067 gabor_102 gabor_176 gabor_156_alt gabor_067 gabor_102 gabor_176_alt "1_24_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2100_gabor_patch_orientation_156_067_102_176_target_position_2_3_retrieval_position_2" gabor_circ gabor_067_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_24_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_067_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 2142 2992 2092 fixation_cross gabor_172 gabor_124 gabor_012 gabor_141 gabor_172_alt gabor_124 gabor_012 gabor_141_alt "1_25_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2150_3000_2100_gabor_patch_orientation_172_124_012_141_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_093_framed blank blank blank blank fixation_cross_target_position_2_3 "1_25_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_093_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2042 2992 2042 fixation_cross gabor_119 gabor_170 gabor_100 gabor_031 gabor_119_alt gabor_170_alt gabor_100 gabor_031 "1_26_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2050_gabor_patch_orientation_119_170_100_031_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_081_framed blank blank blank blank fixation_cross_target_position_3_4 "1_26_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_081_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1942 2992 2542 fixation_cross gabor_157 gabor_099 gabor_117 gabor_177 gabor_157 gabor_099_alt gabor_117_alt gabor_177 "1_27_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2550_gabor_patch_orientation_157_099_117_177_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_037_framed blank blank blank blank fixation_cross_target_position_1_4 "1_27_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_037_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2142 2992 2192 fixation_cross gabor_088 gabor_013 gabor_042 gabor_147 gabor_088 gabor_013_alt gabor_042 gabor_147_alt "1_28_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2150_3000_2200_gabor_patch_orientation_088_013_042_147_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_178_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_28_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_178_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2042 2992 2042 fixation_cross gabor_168 gabor_038 gabor_116 gabor_146 gabor_168_alt gabor_038_alt gabor_116 gabor_146 "1_29_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2050_gabor_patch_orientation_168_038_116_146_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_009_framed blank blank blank blank fixation_cross_target_position_3_4 "1_29_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_009_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1792 2992 2242 fixation_cross gabor_144 gabor_121 gabor_097 gabor_072 gabor_144 gabor_121 gabor_097_alt gabor_072_alt "1_30_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1800_3000_2250_gabor_patch_orientation_144_121_097_072_target_position_1_2_retrieval_position_1" gabor_009_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_30_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_009_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 2192 2992 2342 fixation_cross gabor_160 gabor_022 gabor_048 gabor_002 gabor_160_alt gabor_022 gabor_048_alt gabor_002 "1_31_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_2200_3000_2350_gabor_patch_orientation_160_022_048_002_target_position_2_4_retrieval_position_1" gabor_160_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_31_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_160_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1992 2992 2242 fixation_cross gabor_003 gabor_085 gabor_111 gabor_164 gabor_003_alt gabor_085_alt gabor_111 gabor_164 "1_32_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2250_gabor_patch_orientation_003_085_111_164_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_164_framed blank blank blank blank fixation_cross_target_position_3_4 "1_32_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_164_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1842 2992 2392 fixation_cross gabor_061 gabor_167 gabor_006 gabor_114 gabor_061_alt gabor_167 gabor_006 gabor_114_alt "1_33_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2400_gabor_patch_orientation_061_167_006_114_target_position_2_3_retrieval_position_2" gabor_circ gabor_031_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_33_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_031_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2192 2992 2492 fixation_cross gabor_177 gabor_136 gabor_072 gabor_007 gabor_177_alt gabor_136 gabor_072 gabor_007_alt "1_34_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_2500_gabor_patch_orientation_177_136_072_007_target_position_2_3_retrieval_position_2" gabor_circ gabor_089_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_34_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_089_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2042 2992 1992 fixation_cross gabor_162 gabor_079 gabor_102 gabor_047 gabor_162_alt gabor_079 gabor_102 gabor_047_alt "1_35_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2000_gabor_patch_orientation_162_079_102_047_target_position_2_3_retrieval_position_2" gabor_circ gabor_125_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_35_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_125_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2192 2992 1942 fixation_cross gabor_071 gabor_104 gabor_052 gabor_036 gabor_071 gabor_104_alt gabor_052_alt gabor_036 "1_36_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2200_3000_1950_gabor_patch_orientation_071_104_052_036_target_position_1_4_retrieval_position_1" gabor_121_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_36_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_121_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 1842 2992 2242 fixation_cross gabor_014 gabor_147 gabor_177 gabor_038 gabor_014_alt gabor_147_alt gabor_177 gabor_038 "1_37_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1850_3000_2250_gabor_patch_orientation_014_147_177_038_target_position_3_4_retrieval_position_2" gabor_circ gabor_147_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_37_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_147_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1992 2992 2542 fixation_cross gabor_126 gabor_171 gabor_056 gabor_099 gabor_126 gabor_171_alt gabor_056 gabor_099_alt "1_38_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2000_3000_2550_gabor_patch_orientation_126_171_056_099_target_position_1_3_retrieval_position_3" gabor_circ gabor_circ gabor_056_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_38_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_056_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1942 2992 2092 fixation_cross gabor_058 gabor_121 gabor_178 gabor_094 gabor_058_alt gabor_121 gabor_178 gabor_094_alt "1_39_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1950_3000_2100_gabor_patch_orientation_058_121_178_094_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_178_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_39_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_178_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1842 2992 2092 fixation_cross gabor_011 gabor_081 gabor_048 gabor_121 gabor_011 gabor_081 gabor_048_alt gabor_121_alt "1_40_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2100_gabor_patch_orientation_011_081_048_121_target_position_1_2_retrieval_position_2" gabor_circ gabor_081_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_40_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_081_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1892 2992 2092 fixation_cross gabor_135 gabor_048 gabor_030 gabor_154 gabor_135 gabor_048_alt gabor_030 gabor_154_alt "1_41_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2100_gabor_patch_orientation_135_048_030_154_target_position_1_3_retrieval_position_1" gabor_135_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_41_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_135_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2242 2992 2242 fixation_cross gabor_168 gabor_043 gabor_062 gabor_086 gabor_168_alt gabor_043_alt gabor_062 gabor_086 "1_42_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2250_3000_2250_gabor_patch_orientation_168_043_062_086_target_position_3_4_retrieval_position_3" gabor_circ gabor_circ gabor_112_framed gabor_circ blank blank blank blank fixation_cross_target_position_3_4 "1_42_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_112_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 1792 2992 2592 fixation_cross gabor_086 gabor_019 gabor_101 gabor_124 gabor_086_alt gabor_019 gabor_101_alt gabor_124 "1_43_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1800_3000_2600_gabor_patch_orientation_086_019_101_124_target_position_2_4_retrieval_position_3" gabor_circ gabor_circ gabor_101_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_43_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_101_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1992 2992 2142 fixation_cross gabor_116 gabor_078 gabor_057 gabor_002 gabor_116 gabor_078_alt gabor_057_alt gabor_002 "1_44_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2150_gabor_patch_orientation_116_078_057_002_target_position_1_4_retrieval_position_1" gabor_163_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_44_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_163_retrieval_position_1" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1792 2992 1992 fixation_cross gabor_052 gabor_141 gabor_125 gabor_109 gabor_052 gabor_141_alt gabor_125 gabor_109_alt "1_45_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2000_gabor_patch_orientation_052_141_125_109_target_position_1_3_retrieval_position_1" gabor_052_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_45_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_052_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2142 2992 2492 fixation_cross gabor_010 gabor_075 gabor_116 gabor_145 gabor_010 gabor_075_alt gabor_116 gabor_145_alt "1_46_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2500_gabor_patch_orientation_010_075_116_145_target_position_1_3_retrieval_position_1" gabor_010_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_46_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_010_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 1742 2992 2442 fixation_cross gabor_088 gabor_146 gabor_169 gabor_112 gabor_088 gabor_146_alt gabor_169_alt gabor_112 "1_47_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1750_3000_2450_gabor_patch_orientation_088_146_169_112_target_position_1_4_retrieval_position_2" gabor_circ gabor_146_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_47_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_146_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2192 2992 1992 fixation_cross gabor_086 gabor_107 gabor_130 gabor_161 gabor_086 gabor_107_alt gabor_130 gabor_161_alt "1_48_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2000_gabor_patch_orientation_086_107_130_161_target_position_1_3_retrieval_position_1" gabor_086_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_48_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_086_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1892 2992 1892 fixation_cross gabor_129 gabor_107 gabor_085 gabor_175 gabor_129_alt gabor_107 gabor_085 gabor_175_alt "1_49_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_1900_gabor_patch_orientation_129_107_085_175_target_position_2_3_retrieval_position_2" gabor_circ gabor_057_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_49_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_057_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2092 2992 2192 fixation_cross gabor_100 gabor_124 gabor_165 gabor_018 gabor_100 gabor_124_alt gabor_165 gabor_018_alt "1_50_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2100_3000_2200_gabor_patch_orientation_100_124_165_018_target_position_1_3_retrieval_position_1" gabor_100_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_50_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_100_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2142 2992 2292 fixation_cross gabor_002 gabor_175 gabor_108 gabor_035 gabor_002_alt gabor_175 gabor_108 gabor_035_alt "1_51_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_2300_gabor_patch_orientation_002_175_108_035_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_108_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_51_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_108_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 2092 2992 2342 fixation_cross gabor_130 gabor_061 gabor_042 gabor_016 gabor_130 gabor_061_alt gabor_042 gabor_016_alt "1_52_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2100_3000_2350_gabor_patch_orientation_130_061_042_016_target_position_1_3_retrieval_position_2" gabor_circ gabor_106_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_52_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_106_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1842 2992 2292 fixation_cross gabor_065 gabor_132 gabor_004 gabor_046 gabor_065_alt gabor_132 gabor_004_alt gabor_046 "1_53_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1850_3000_2300_gabor_patch_orientation_065_132_004_046_target_position_2_4_retrieval_position_2" gabor_circ gabor_132_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_2_4 "1_53_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_132_retrieval_position_2" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1742 2992 1892 fixation_cross gabor_023 gabor_137 gabor_165 gabor_107 gabor_023_alt gabor_137_alt gabor_165 gabor_107 "1_54_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1750_3000_1900_gabor_patch_orientation_023_137_165_107_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_107_framed blank blank blank blank fixation_cross_target_position_3_4 "1_54_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_107_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 64 292 292 399 125 1742 2992 2142 fixation_cross gabor_071 gabor_025 gabor_180 gabor_110 gabor_071_alt gabor_025 gabor_180 gabor_110_alt "1_55_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_300_300_399_1750_3000_2150_gabor_patch_orientation_071_025_180_110_target_position_2_3_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_110_framed blank blank blank blank fixation_cross_target_position_2_3 "1_55_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_UncuedRetriev_retrieval_patch_orientation_110_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2192 2992 2542 fixation_cross gabor_136 gabor_018 gabor_171 gabor_108 gabor_136 gabor_018_alt gabor_171_alt gabor_108 "1_56_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_2550_gabor_patch_orientation_136_018_171_108_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_108_framed blank blank blank blank fixation_cross_target_position_1_4 "1_56_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_108_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1992 2992 2292 fixation_cross gabor_098 gabor_134 gabor_013 gabor_045 gabor_098_alt gabor_134_alt gabor_013 gabor_045 "1_57_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2000_3000_2300_gabor_patch_orientation_098_134_013_045_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_180_framed blank blank blank blank fixation_cross_target_position_3_4 "1_57_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_180_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1842 2992 2592 fixation_cross gabor_110 gabor_037 gabor_152 gabor_065 gabor_110 gabor_037 gabor_152_alt gabor_065_alt "1_58_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1850_3000_2600_gabor_patch_orientation_110_037_152_065_target_position_1_2_retrieval_position_2" gabor_circ gabor_172_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_58_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_172_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2192 2992 1892 fixation_cross gabor_001 gabor_177 gabor_019 gabor_035 gabor_001_alt gabor_177 gabor_019 gabor_035_alt "1_59_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2200_3000_1900_gabor_patch_orientation_001_177_019_035_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_019_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_59_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_019_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 2092 2992 2192 fixation_cross gabor_163 gabor_039 gabor_018 gabor_094 gabor_163 gabor_039_alt gabor_018 gabor_094_alt "1_60_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2100_3000_2200_gabor_patch_orientation_163_039_018_094_target_position_1_3_retrieval_position_2" gabor_circ gabor_179_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_3 "1_60_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_179_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1942 2992 2142 fixation_cross gabor_158 gabor_002 gabor_121 gabor_044 gabor_158_alt gabor_002 gabor_121_alt gabor_044 "1_61_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2150_gabor_patch_orientation_158_002_121_044_target_position_2_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_090_framed blank blank blank blank fixation_cross_target_position_2_4 "1_61_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_090_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1892 2992 1942 fixation_cross gabor_067 gabor_022 gabor_038 gabor_157 gabor_067_alt gabor_022 gabor_038 gabor_157_alt "1_62_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1900_3000_1950_gabor_patch_orientation_067_022_038_157_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_176_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_62_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_176_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2242 2992 2392 fixation_cross gabor_172 gabor_104 gabor_040 gabor_127 gabor_172_alt gabor_104_alt gabor_040 gabor_127 "1_63_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2250_3000_2400_gabor_patch_orientation_172_104_040_127_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_127_framed blank blank blank blank fixation_cross_target_position_3_4 "1_63_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_127_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 1742 2992 2042 fixation_cross gabor_118 gabor_074 gabor_002 gabor_138 gabor_118 gabor_074 gabor_002_alt gabor_138_alt "1_64_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_1750_3000_2050_gabor_patch_orientation_118_074_002_138_target_position_1_2_retrieval_position_3" gabor_circ gabor_circ gabor_050_framed gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_64_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_050_retrieval_position_3" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1892 2992 2242 fixation_cross gabor_084 gabor_155 gabor_019 gabor_047 gabor_084_alt gabor_155_alt gabor_019 gabor_047 "1_65_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1900_3000_2250_gabor_patch_orientation_084_155_019_047_target_position_3_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_047_framed blank blank blank blank fixation_cross_target_position_3_4 "1_65_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_047_retrieval_position_4" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 2142 2992 1892 fixation_cross gabor_162 gabor_018 gabor_092 gabor_074 gabor_162_alt gabor_018 gabor_092 gabor_074_alt "1_66_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_2150_3000_1900_gabor_patch_orientation_162_018_092_074_target_position_2_3_retrieval_position_3" gabor_circ gabor_circ gabor_092_framed gabor_circ blank blank blank blank fixation_cross_target_position_2_3 "1_66_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_092_retrieval_position_3" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 2042 2992 2042 fixation_cross gabor_074 gabor_143 gabor_027 gabor_101 gabor_074 gabor_143_alt gabor_027_alt gabor_101 "1_67_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_2050_3000_2050_gabor_patch_orientation_074_143_027_101_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_055_framed blank blank blank blank fixation_cross_target_position_1_4 "1_67_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_055_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 61 292 292 399 125 1942 2992 2392 fixation_cross gabor_090 gabor_002 gabor_123 gabor_172 gabor_090 gabor_002_alt gabor_123_alt gabor_172 "1_68_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_300_300_399_1950_3000_2400_gabor_patch_orientation_090_002_123_172_target_position_1_4_retrieval_position_4" gabor_circ gabor_circ gabor_circ gabor_037_framed blank blank blank blank fixation_cross_target_position_1_4 "1_68_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_CuedRetrieval_retrieval_patch_orientation_037_retrieval_position_4" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 63 292 292 399 125 2092 2992 2442 fixation_cross gabor_053 gabor_139 gabor_022 gabor_179 gabor_053 gabor_139_alt gabor_022_alt gabor_179 "1_69_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_300_300_399_2100_3000_2450_gabor_patch_orientation_053_139_022_179_target_position_1_4_retrieval_position_2" gabor_circ gabor_004_framed gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_4 "1_69_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_DoChange_UncuedRetriev_retrieval_patch_orientation_004_retrieval_position_2" 2 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
43 62 292 292 399 125 1792 2992 2442 fixation_cross gabor_059 gabor_098 gabor_043 gabor_082 gabor_059 gabor_098 gabor_043_alt gabor_082_alt "1_70_Encoding_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_300_300_399_1800_3000_2450_gabor_patch_orientation_059_098_043_082_target_position_1_2_retrieval_position_1" gabor_059_framed gabor_circ gabor_circ gabor_circ blank blank blank blank fixation_cross_target_position_1_2 "1_70_Retrieval_Working_Memory_MEG_P6_LR_Nonsalient_NoChange_CuedRetrieval_retrieval_patch_orientation_059_retrieval_position_1" 1 58.69 58.69 -58.69 58.69 -58.69 -58.69 58.69 -58.69;
};
# baselinePost (at the end of the session)
trial {
picture {
box frame1; x=0; y=0;
box frame2; x=0; y=0;
box background; x=0; y=0;
bitmap fixation_cross_black; x=0; y=0;
};
time = 0;
duration = 5000;
code = "BaselinePost";
port_code = 92;
};
|
4a730656f355195b6787ad6137fd6ab2b6d6c3b6
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1529/CH19/EX19.6/19_06.sce
|
0d93b8c68a9b501a0c60e0320d648ff0509773c5
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 443
|
sce
|
19_06.sce
|
//Chapter 19, Problem 6, Fig.19.6
clc;
Av=40; //voltage gain
B=5000; //bandwidth
Ri=10000; //input resistance
A=10^(Av/20); //voltage gain in decibels
Rf=A*Ri; //feedback resistance
f=A*B; //frequency
printf("Gain = %d\n\nFeedback Resistor Rf = %d Megaohm\n\nFrequency = %d Khz",A,Rf/10^6,f/1000);
|
692cac5c1a900bd7bd807aa0cf062a6f93d4f8f9
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/377/CH5/EX5.4/5_4.sce
|
25ba35159aa65015479e0e32952b36d66b136e03
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 261
|
sce
|
5_4.sce
|
disp("From Boltzmann approximation, n=Nc=2.78*10^19 cm^3");
Nc=2.78*10^19;
n=Nc*0.78;
pi=3.14;
a=0.65; //say a=ξ(0)
printf('\n The value of n form Joyce-Dixon approximation is %f',n);
n1=2*a/sqrt(pi);
printf('\n The value of n form graph is %f*Nc',n1);
|
39fa4072e6d2c67d96deb8e7e4776ac83f54c896
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/source/2.0/macros/percent/%pmlss.sci
|
3735aafb38cf12360f7dae804ff7a560f631058b
|
[
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] |
permissive
|
clg55/Scilab-Workbench
|
4ebc01d2daea5026ad07fbfc53e16d4b29179502
|
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
|
refs/heads/master
| 2023-05-31T04:06:22.931111
| 2022-09-13T14:41:51
| 2022-09-13T14:41:51
| 258,270,193
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 188
|
sci
|
%pmlss.sci
|
//[s]=%pmlss(d2,s1)
// [s]=%lssmp(d2,s1)
// d2*s1
//
// s1 : state-space
// d2 : polynomial matrix
//!
// origine s. steer inria 1992
//
s=list('lss',[],[],[],d2,[],[])*s1
//end
|
4080fc547b59c5c1f0f474596499bc471b783fec
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/548/CH4/EX4.03/4_03.sce
|
e971c68a1e0bfceadb6d6dce5a41cd38fa0f1dd4
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 296
|
sce
|
4_03.sce
|
pathname=get_absolute_file_path('4_03.sce')
filename=pathname+filesep()+'4_03data.sci'
exec(filename)
disp("P1+(D*V1^2/2)=Pa+(D*Va^2/2)","Bernoulli equation");
Va=[(2*(P1-Pa)/D)+(V1)^2]^0.5;disp(Va,"Va=")
printf("\Answer:\n")
printf("\n\velocity at a point A on airfoil: %f m/s\n\n",Va)
|
cc1532821505ec4440e648802a069e6a12f8eca1
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/416/CH4/EX4.15/exp4_15c.sce
|
e1fc15296ca25620b2deae625e50f49918e073d6
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 575
|
sce
|
exp4_15c.sce
|
clc
clear
disp("example 4 15")
p=30 //b.h.p of induction motor
f=50//line frequency
v=400//line voltage
e=0.85//effiency
pf=0.8 //power factor
i=p*746/(v*e*pf*sqrt(3))
i=i*complex(pf,-sind(acosd(pf)))
ccb=imag(i)/sqrt(3)
xc=v/ccb
c=10^6/(2*f*%pi*xc)
prl=((abs(i)^2-real(i)^2)/abs(i)^2)*100
printf(" current drawn by motor is %.1fA \n the line loss will be minimum when i is munimum.the minimum value of i is %dA and occurs when the capacitor bank draws a line current of %djA \n capacitor C %.2fuf \n percentage loss reduction %d",abs(i),i,imag(i),abs(c),prl)
|
dba33a874eb35657e7459a427fecb6c110360891
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1385/CH2/EX2.2/2_2.sce
|
97c852fb09f5f1a5a6b72a62c1d4c6389b59111f
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 227
|
sce
|
2_2.sce
|
clc
//initialisation of variables
N= 6*10^23 //molcules
R= 0.0821 //lit atm mole^-1
V= 20 //lit
P= 730 //mm of Hg
T= -20 //C
//CALCULATIONS
M= N*P*V/(760*R*(273+T))
//RESULTS
printf (' Molecules = %.2e molecules',M)
|
be23fbcd430c052b65a8abfb5cefb8805efba2e2
|
fdc5047b7bf8122bad1e621df236b0481226c36e
|
/exemplos/xls-link-0.5.0-src/tests/unit_tests/xls_SetDfltSaveFmt.tst
|
09b0bc3c1edab18a54314410a64e9352a7f79c10
|
[] |
no_license
|
jpbevila/virtualHartSci
|
aea3c6ba23d054670eb193f441ea7de982b531cc
|
a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5
|
refs/heads/main
| 2023-07-26T23:05:28.044194
| 2021-09-09T11:50:59
| 2021-09-09T11:50:59
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 755
|
tst
|
xls_SetDfltSaveFmt.tst
|
// ====================================================================
// Allan CORNET
// DIGITEO 2008 - 2010
// ====================================================================
// <-- CLI SHELL MODE -->
// ====================================================================
r = xls_NewExcel();
assert_checktrue(r);;
r = xls_AddWorkbook();
assert_checktrue(r);
r = xls_SetWorksheet(1);
assert_checktrue(r);
ierr = execstr('xls_fmt = xls_GetDfltSaveFmt();','errcatch');
assert_checkequal(ierr, 0);
ierr = execstr('r = xls_SetDfltSaveFmt(xls_fmt);','errcatch');
assert_checkequal(ierr, 0);
assert_checktrue(r);
ierr = execstr('r = xls_SetDfltSaveFmt(''toto'');','errcatch');
assert_checkfalse(ierr == 0);
r = xls_Quit();
assert_checktrue(r);;
|
db7f1225662c207f234f56a90a93de3d48f6f62d
|
01697f0dc71290a6b6e233849a73d19a883845f1
|
/sem03/lab03/q02.sce
|
1a0235bf5cdd605e8b4b61d98ffb86168f5ea54f
|
[] |
no_license
|
aaruni96/Math-Lab
|
5d83a13547308bd9d1b7daa28be29a49e1020fbd
|
488469c9aba9251f5725e0851fb19e2aef38d234
|
refs/heads/master
| 2021-01-12T06:29:53.790743
| 2018-04-27T09:21:40
| 2018-04-27T09:21:40
| 77,370,232
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 387
|
sce
|
q02.sce
|
clear;
clc;
z=[0:5];
h=[0,3];
m=length(z);
n=length(h);
i=m/n;
mprintf("Index of the group is %d \n", i);
mprintf("The distinct right cosets are \n");
for i=1:n
y(1,i) = h(i);
mprintf("%d \t",y(1,i));
end
mprintf('\n');
for i=2:m
for j=1:n
y(i,j) = modulo (h(j)+i-1,m);
if y(i,j)==y(1,1) | y(i,j)==y(1,2)
abort
else
mprintf("%d \t",y(i,j));
end
end
mprintf('\n');
end
|
f02a1648ad6e049da5d035d89e66cb702356c27c
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2672/CH3/EX3.43/Ex3_43.sce
|
cd34f8bb612bdb7c9cf28fbfa4cec72bcebcd5a6
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 389
|
sce
|
Ex3_43.sce
|
//Example 3_43
clc;
clear;
close;
format('v',6);
//given data :
XL1=6;//ohm
R2=10;//ohm
XC2=4;//ohm
R1=poly(0,'R1');
Z1=R1+%i*XL1;//ohm
Z2=R2-%i*XC2;//ohm
Z=Z1*Z2/(Z1+Z2);//ohm
//Imaginary part of Z will be zero
//For Calculation
eq=imag(numer(Z)*denom(Z'));//equaltion of imaginary part
R1=roots(eq);//ohm
R1=R1(1);//ohm//leaving -ve value
disp(R1,"Value of R1(ohm)");
|
65c0c580ac1667e46f790733d1fbc998a02e53e0
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/source/2.2/macros/scicos/INTEGRAL_f.sci
|
098cd042e7de727de60c88ace5832dfd833ad666
|
[
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] |
permissive
|
clg55/Scilab-Workbench
|
4ebc01d2daea5026ad07fbfc53e16d4b29179502
|
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
|
refs/heads/master
| 2023-05-31T04:06:22.931111
| 2022-09-13T14:41:51
| 2022-09-13T14:41:51
| 258,270,193
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 892
|
sci
|
INTEGRAL_f.sci
|
function [x,y,typ]=INTEGRAL_f(job,arg1,arg2)
x=[];y=[];typ=[]
select job
case 'plot' then
standard_draw(arg1)
graphics=arg1(2); [orig,sz,orient,label]=graphics(1:4)
xstringb(orig(1),orig(2),[' 1/s '],sz(1),sz(2),'fill')
case 'getinputs' then
[x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then
[x,y,typ]=standard_outputs(arg1)
case 'getorigin' then
[x,y]=standard_origin(arg1)
case 'set' then
x=arg1
graphics=arg1(2);label=graphics(4)
model=arg1(3);x0=model(6);
while %t do
[ok,label,x0]=getvalue('Set continuous linear system parameters',..
['Block label';
'Initial state'],..
list('str',1,'vec',1),..
[label;
strcat(sci2exp(x0))])
if ~ok then break,end
graphics(4)=label;
model(6)=x0;
x(2)=graphics;x(3)=model
break
end
case 'define' then
model=list('integr',1,1,0,0,0,[],[],[],'c',%f,[%f %f])
x=standard_define([2 2],model)
end
|
5757de078f9da01231409caef3f14824e8b01109
|
0bb08b35184b47c6f5e74d41f7cb0b927162dd82
|
/test/teste5.tst
|
00c886ed795bd9694446f8d4dc510e1aaeb21b93
|
[] |
no_license
|
DanielPBL/tp_compiladores
|
6df7d3bde74d7e4098a32914396f1bdfef7f4843
|
6536f3588785819f5e28d6358fc36e53c7d52adb
|
refs/heads/master
| 2021-01-19T01:10:25.009830
| 2017-06-29T20:20:23
| 2017-06-29T20:20:23
| 87,229,469
| 1
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 216
|
tst
|
teste5.tst
|
init
// Programa com if
k, m, result is integer;
a, j is string;
read(j);
read(k);
if (j = "ok")
begin
result := k/m;
end
else
begin
result := 0;
write("Invalid entry");
end;
write(result);
stop
|
c261612d7499d8f0e1e78c968f0b4428db1102ba
|
2f7b1fa044c246ffe96b7e6e7b96aa95f9031cdf
|
/Anul 2/Anul_2/Metode_Numerice/Laborator/MN rezolvari/MN_Lab/lab6/exemplu plot 3D.sce
|
e382b9380582e318537c6ac981e277642a9ca9e8
|
[] |
no_license
|
stickyrst/automatica
|
1f902091376c0f65c08a66721de3185a70f88d26
|
2ac48ae78f45b787724fa90c0e7acd8052e6725c
|
refs/heads/master
| 2020-06-11T18:39:23.768638
| 2018-05-30T19:55:38
| 2018-05-30T19:55:38
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 75
|
sce
|
exemplu plot 3D.sce
|
//Exemplu plot 3D
t=[0:0.3:2*%pi]';
z=sin(t)*cos(t');
plot3d(t,t,z)
|
086fdee6980700037de9db2995c04da6e5a6ee7c
|
bf5755ded671dac6e8bb0a1df3cac29ad7628045
|
/lab2/AddSub16/AddSub16.tst
|
b4a5ff86a5e2813dc49b836314b39b7a9a7b766f
|
[] |
no_license
|
RohithS98/CSDLab
|
3050b18fd72f8f439a5f904fe76c731b6b356223
|
46328f5ec88afdd635535c08fbd92116ab3ad451
|
refs/heads/master
| 2020-07-10T15:13:19.806382
| 2019-11-05T11:22:44
| 2019-11-05T11:22:44
| 204,295,049
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 849
|
tst
|
AddSub16.tst
|
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/02/Add16.tst
load AddSub16.hdl,
output-file AddSub16.out,
compare-to AddSub16.cmp,
output-list a%B1.16.1 b%B1.16.1 control%B4.1.4 out%B1.16.1;
set a %B0000000000110000,
set b %B0000000000000001,
set control %B0,
eval,
output;
set a %B0000000000110000,
set b %B0000000000000001,
set control %B1,
eval,
output;
set a %B1111111111111111,
set b %B1111111111111111,
set control %B0,
eval,
output;
set a %B1111111111111111,
set b %B1111111111111111,
set control %B1,
eval,
output;
set a %B0011110011000011,
set b %B0000111111110000,
set control %B0,
eval,
output;
set a %B0011110011000011,
set b %B0000111111110000,
set control %B1,
eval,
output;
|
8f7aa69f55282046acb7279564051673c1e7e3da
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1092/CH1/EX1.8/Example1_8.sce
|
5b12a448e3a0754c3941ce8bcf3e64593c80581a
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 716
|
sce
|
Example1_8.sce
|
// Electric Machinery and Transformers
// Irving L kosow
// Prentice Hall of India
// 2nd editiom
// Chapter 1: Electromechanical Fundamentals
// Example 1-8
clear; clc; close; // Clear the work space and console.
// Given data
phi_lines = 6.48 * 10 ^ 8; // magnetic flux in lines
N = 1; // no. of turns
// Calculations
phi = phi_lines * 10 ^ -8; // Magnetic flux in weber
omega = ( 30 ) * ( 2 * %pi ) * ( 1 / 60 ); // angular velocity in rad/s
E_av_per_coil = 0.63662 * omega * phi * N; // average voltage per coil
// for the above formula refer section 1-14 eqn (1-4b)
// Display the result
disp("Example 1-8 Solution : ");
printf("\n Eav/coil = % 0.2f V/coil ", E_av_per_coil);
|
4bbac1c9888d06b900c41729f25edd176739b13a
|
aa2ea56adac7d55902e03912833928383b6e484c
|
/P3_BPSK.sce
|
66070c521186fde1aefd307ba0e6eae5affe3b55
|
[
"MIT"
] |
permissive
|
Yash-Yadav/DC_MatLab
|
dbe2e02d2f15b469c30e21dd318a12dddb3c3376
|
351529f652c905191fc0b56972651665d47aa25f
|
refs/heads/master
| 2020-04-02T19:49:11.097720
| 2018-10-30T08:29:55
| 2018-10-30T08:29:55
| 154,747,428
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 533
|
sce
|
P3_BPSK.sce
|
clc
clear all
t=0:0.001:1;
fc=input('Enter the freq of Sine Wave carrier: ');
fm=input('Enter the freq of Message signal: ');
amp=input('Enter the Amplitude of For Carrier & Message (Assuming then as equal): ');
c=amp.*sin(2*%pi*fc*t);
subplot(3,1,1);
xlabel('Time')
ylabel('Amplitude')
title('Carrier Wave')
plot(t,c);
m=squarewave(2*%pi*fm*t);
subplot(3,1,2);
xlabel('Time')
ylabel('Amplitude')
title('Message')
plot(t,m);
x=c.*m;
subplot(3,1,3);
xlabel('t')
ylabel('y')
title('PSK')
plot(t,x);
|
4b0df9c0e16b14ef110bdb6d69c0992fcf393da9
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/409/CH29/EX29.5/Example29_5.sce
|
78f28eb6e80becf5f94be396aa34426cd5e3ce28
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,047
|
sce
|
Example29_5.sce
|
clear ;
clc;
// Example 29.5
printf('Example 29.5\n\n');
//page no. 902
// Solution fig. E29.5
// Given
W = 100 ;// Amount of entering water -[lb/hr]
H1 = .020 ;// Humidity of entering air -[lb H2O / lb dry air]
T1 = 155 ;//Temperature of entering air -[degree F]
DTB = 110 ;// Dry bulb temperature of exit air -[degree F]
WTB = 100 ;// Wet bulb temperature of exit air -[degree F]
// Additional data is obtained from humidity chart, it is as follows
H2 = .0405 ;//Humidity of exit air -[lb H2O / lb dry air]
del_H = H2 - H1 ;// Change in humidity betwween two states -[lb H2O / lb dry air]
air_in = (W*1.02)/(del_H * 1) ;// Amount of wet air entering -[lb]
mol_air = 29 ;// Molecular wt. of air -[lb]
Ref_T = 32 + 460 ;// Reference temperature - [ degree R]
gi_T = 90 + 460; // Given temperature on which calculation is based - [degree R]
air = (air_in *359*gi_T)/( mol_air*Ref_T) ;// Air consumption of dryer at 90 degree F and 1 atm -[cubic feet]
printf('Air consumption of dryer at 90 degree F and 1 atm is %.2e cubic feet .\n',air);
|
7eba6d407a1086115793a2bb4db4f3c5c7e8b915
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2471/CH1/EX1.7/Ex1_7.sce
|
1dc8ea9fe794927762896ea77255bce92e9f1bcc
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 575
|
sce
|
Ex1_7.sce
|
close
clear ;
clc;
// Example 1.7
printf('Example 1.7\n\n');
printf('Page No. 12\n\n');
// Solution
// Given
O= 150*10^3;// energy consumption in office heating in Watts
L= 120*10^3;// energy consumption in lighting in Watts
B= 90*10^3;// energy consumption in boiler house in Watts
P= 180*10^3;// energy consumption in process in Watts
// Pie Chart Representation : one input argument x=[O L B P]
pie([O L B P],["office heating" "lighting" "boiler heating" "process"]);// Please see the graphics window
printf('The Pie chart is plotted in the figure');
|
cb806e88fe70d86b034d69bf6db356e610154787
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/mini.man.tst
|
2179926408016cd1b772db699fd5197512a9c0a5
|
[
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] |
permissive
|
clg55/Scilab-Workbench
|
4ebc01d2daea5026ad07fbfc53e16d4b29179502
|
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
|
refs/heads/master
| 2023-05-31T04:06:22.931111
| 2022-09-13T14:41:51
| 2022-09-13T14:41:51
| 258,270,193
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 138
|
tst
|
mini.man.tst
|
clear;lines(0);
[m,n]=mini([1,3,1])
[m,n]=mini([3,1,1],[1,3,1],[1,1,3])
[m,n]=mini(list([3,1,1],[1,3,1],[1,1,3]))
[m,n]=mini(list(1,3,1))
|
51a0e6d6999e8ea617e9b69475a3d78c9f5d11fb
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1919/CH4/EX4.5/Ex4_5.sce
|
e7502aa4b6ab3c17cbcfd082be46b0420d386ed3
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,525
|
sce
|
Ex4_5.sce
|
// Theory and Problems of Thermodynamics
// Chapter 4
// Energy Analysis of Process
// Example 5
clear ;clc;
//Given data
m_f = 1 // mass flow rate in kg/s
X1 = 0.8 // wet steam quality
P1 = 3 // Entering steam Pressure in MPa
T = 300 // Temperature in C
vel_1 = 10 // entering Velocity in m/s
Z1 = 5 // Initial elevation above the ground level
// Data for discharging steam
X2 = 0.85 // Discharge steam quality
P2 = 50 // Discharge steam pressure in kPa
vel_2 = 50 // discharging Velocity in m/s
Z2 = 10 // Final elevation above the ground level
Q = -10 // Energy loss as heat from turbine casing in kJ/s
g = 9.81 // acceleration due to gravity in m/s
// From Super heated steam tables at P = 3.0 MPa and T = 300 c
h1 = 2993.5 // enthalpy in kJ/kg
// From Super heated steam tables at P = 50 kPa
h_f = 340.49 // in kJ/kg
h_fg = 2305.4 // in kJ/kg
h2 = h_f + X2*h_fg
// Power output expression after subjecting
W_s = Q - ((h2 - h1) + (vel_2^2 - vel_1^2)/2*1e-3 + g*(Z2 - Z1)*1e-3 )
//in above equation term 2 and term 3 are multiplied with 1e-3 to convert to kW
del_KE_PE = (vel_2^2 - vel_1^2)/2*1e-3 + g*(Z2 - Z1)*1e-3
err_KE_PE = del_KE_PE*100/W_s
// Output Results
mprintf('Turbine output power = %6.2f kW',W_s)
mprintf('\n Error percentage ignored in KE and PE terms = %4.3f ',err_KE_PE)
|
0fc1e025511eeb642786eecf43cb2f2b815497f9
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1787/CH6/EX6.9/Exa6_9.sce
|
a08ef6e368fde7851a1812808f5a19e121d76ec6
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 177
|
sce
|
Exa6_9.sce
|
//Exa 6.9
clc;
clear;
close;
//given data
RL=1;//in Kohm
VL=1.2;//in volt
Beta=60;//unitless
IC=VL/RL;//in mA
IB=IC/Beta;//in mA
disp(IB*1000,"Base current in uA : ");
|
104b5a95436ef0d974b40b489c9e1113a78311b2
|
6fcc975cf51b3119356ccc4d7d2693b977e81c4a
|
/BFGS.sci
|
71fdaf7ca4ffe36dc4450c095b1099e225886af2
|
[] |
no_license
|
daniel-artchounin/RO04_TP2
|
a6982e38e2471d0f3592b7012d8f20fc696fc9f9
|
b9a5e4cd54d0e392c0684f43fff80228ba4c3a3d
|
refs/heads/master
| 2021-01-11T11:10:00.767159
| 2015-06-18T17:37:46
| 2015-06-18T17:37:46
| 37,153,466
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 2,645
|
sci
|
BFGS.sci
|
//
//------------------------------------------------------
// BFGS for Rastrigin
disp('BFGS for Rastrigin');
//
//-----------------------------------------------------
//
function y=rastrigin(x) // the function to optimize
n=max(size(x));
y=n+sum(x.^2-cos(2*%pi*x));
endfunction
//-----------------------------------------------------
function y=rastrigingrad(x) // the gradient of the function to optimize
y=2*x+2*%pi*sin(2*%pi*x);
endfunction
//--------------------------------------------------------
function z=dotprod(x,y); // computes the dot product of x and y
z=sum(x.*y);
endfunction
//-----------------------------------------------------
function [d,gx]=descentdirection(Bk,gx); // descent direction: gradient
d=linsolve(Bk,gx);
endfunction
//----------------------------------------------------
function [xnew,fnew]=backtracking(f,x,fx,gx,d);// line search by backtracking until Armijo condition
tau=0.3;
bet=0.0001;
alphainit=1;
alpha=alphainit;
xnew=x+alpha*d;
fnew=f(xnew);
while(fnew>fx+bet*alpha*dotprod(gx,d))
alpha=tau*alpha;
xnew=x+alpha*d;
fnew=f(xnew);
end
endfunction
//-------------------------------------------------
// main program
//
timer();
n=2;
epsilon=1E-5;
//
xmin=-5*ones(1,n);
xmax=5*ones(1,n);
u=rand(1,n);
x0=xmin+(xmax-xmin).*u;
x=x0;fx=rastrigin(x);gx=rastrigingrad(x);
itgrad=1;
Xbest=x;Fbest=fx;
Bk=eye(n,n);
//
while (norm(gx)>epsilon)
x0=x;gx0=gx;
d=descentdirection(Bk,gx');
// [x,fx]=backtracking(rastrigin,x,fx,gx,d');
rho = wolf();
x = x0 + pd;
Xbest=[Xbest;x];
Fbest=[Fbest;fx];
gx=rastrigingrad(x);
itgrad=itgrad+1;
yk=gx'-gx0';sk=x'-x0';
Bk=Bk+(yk*yk')/dotprod(sk,yk)-(Bk*sk*sk'*Bk)/dotprod(sk,Bk*sk);
// disp(mini(spec(Bk)));
end
//------------------------------------------------------
// results display
//
disp('function evaluation number:');disp(itfct);
disp('gradient evaluation number:');disp(itgrad);
//
disp('minimum obtained:');disp(x);
disp('corresponding value by f:');disp(fx);
//disp('computational time:');disp(timer());
//
// case of the rastrigin function with 2 parameters (n=2)------
if (n==2)
xmin=-5.12;xmax=5.12;N=300;
xplot=xmin:((xmax-xmin)/(N-1)):xmax;
yplot=xplot;
zplot=zeros(N,N);
for i=1:N
for j=1:N
zplot(i,j)=rastrigin([xplot(i),yplot(j)]);
end
end
xset('window',0)
clf()
plot2d(Xbest(:,1),Xbest(:,2),rect=[-5.12,-5.12,5.12,5.12]);
contour2d(xplot,yplot,zplot,[0:0.01:0.1,0.2:1,1:10]);
xset('window',1)
clf()
plot2d(Xbest(:,1),Xbest(:,2),rect=[x(1)-0.1,x(2)-0.1,x(1)+0.1,x(2)+0.1]);
contour2d(xplot,yplot,zplot,[fx:0.1:(fx+1)]);
end
|
190172cf91c312c7a479840d134061a2f66ea984
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2360/CH5/EX5.16/ex5_16.sce
|
671c8bc0f6c285d5c8f1f52ceaa95d65b00cf940
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 411
|
sce
|
ex5_16.sce
|
// Exa 5.16
format('v',7);clc;clear;close;
// Given data
R = 1000;// in ohm
E = 20;// in V
Ig = 0.1;// in nA
Ig = Ig * 10^-9;// in A
Req = R;// in ohm
//For small change in resistance, Thevenin's voltage, V_TH = (E*del_r)/(4*R);
// Ig = V_TH/Req;
del_r = (Ig*4*R*R)/E;//smallest change in resistance in ohm
del_r= del_r*10^6;// in µΩ
disp(del_r,"The smallest change in resistance in µΩ is");
|
b47f3e72b2e667a4a3c215b1c6d9b286edb50c92
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3169/CH2/EX2.3/Ex2_3.sce
|
17c61e273d5d799f1a82f76134c9fb35fb4ce700
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 405
|
sce
|
Ex2_3.sce
|
//developed in windows XP operating system
//platform Scilab 5.4.1
clc;clear;
//example 2.3
//calculation of Townsend secondary ionization coefficient
//given data
d=0.9//gap distance(in cm)
alpha=7.676//value of alpha
//calculation
//from condition of breakdown.....gama*exp(alpha*d)=1
gama=1/(exp(d*alpha))
printf('the value of Townsend secondary ioniztion coefficient is %3.3e',gama)
|
0e2d067d1634b20b6cfa919e7cdcf4a8c8755eb0
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3547/CH2/EX2.13/Ex2_13.sce
|
faf055dbec5b1e3da30a1a2f7b8d5d748111647d
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 1,186
|
sce
|
Ex2_13.sce
|
// Example no. 2.13
// To calculate the propagation constant
// Page no. 82
clc;
clear;
// Given data
lambda0=1550*10^-9; // wavelength in meter
beta0=6*10^6; // propagation constant in rad/m
lambda1=1551*10^-9; // wavelength in meter
beta1=0.5*10^-8; // inverse group velocity in sec/meter
beta2=-10*10^-24; // second-order dispersion coefficient in sec^2/km
c=3*10^8; // Speed of ligth in m/s
omega0=(2*%pi*c)/lambda0; // Radial frequency at lambda0
omega1=(2*%pi*c)/lambda1; // Radial frequency at lambda1
omega=omega1-omega0;
// The propagation constant at 1551nm wavelength
betaomega1=(beta0+beta1*omega+beta2*omega^2/2); // Propagation constant at 1551nm wavelength
// Displaying the result in command window
printf('\n The propagation constant at 1551nm wavelength = %0.4f X 10^6 rad/s',betaomega1*10^-6);
|
b8265f74e2e045d86bba17bd85370a351ecfebc8
|
a62e0da056102916ac0fe63d8475e3c4114f86b1
|
/set10/s_Fluid_Mechanics_I._A._Khan_1962.zip/Fluid_Mechanics_I._A._Khan_1962/CH2/EX2.5/example2_5.sce
|
5a2a0ae8e550e6d389e9c382108f203c4b90efa1
|
[] |
no_license
|
hohiroki/Scilab_TBC
|
cb11e171e47a6cf15dad6594726c14443b23d512
|
98e421ab71b2e8be0c70d67cca3ecb53eeef1df6
|
refs/heads/master
| 2021-01-18T02:07:29.200029
| 2016-04-29T07:01:39
| 2016-04-29T07:01:39
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 222
|
sce
|
example2_5.sce
|
errcatch(-1,"stop");mode(2);
//example 2.5
//page 57
; funcprot(0);
//initialisation of variable
Gamma=9810;
ha=950*1.5-500*1;
ha=ha/1000;//m of H2O;
Pa=ha*Gamma;
disp(Pa/1000,"Pressure at A (kPa)=");
exit();
|
78ced6e250e0e74c5b2cd4522044b4c5d42d30fd
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/323/CH2/EX2.47/ex2_47.sci
|
3b93ac7f72bea8845028000737f38bc24eec5201
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 346
|
sci
|
ex2_47.sci
|
//Chapter2,Ex2.47,Pg2.58
clc;
disp("Refer to the diagram shown in the question")
I1=220/(30+50)
I2=220/(20+5)
printf("\n I1=%.2f A \n",I1)
printf("\n I2=%.2f A \n",I2)
Vth=(20*I2)-(30*I1)
printf("\n Vth=%.1f V \n",Vth)
Rth=(30*50/(30+50))+(20*5/(20+5))
printf("\n Rth=%.2f ohms \n",Rth)
Il=Vth/(Rth+24)
printf("\n Iload=%.0f A \n",Il)
|
e978084d3fac08c370be97459bd9d2bcb8919e48
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/284/CH3/EX3.5/ex_5.sce
|
6137586caac9cc7a1e18dbd8269b244158086894
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 451
|
sce
|
ex_5.sce
|
// Chapter 3_The Semiconductor in Equilibrium
//Caption_Extrinsic Semiconductor
//Ex_5//page 101
T=300 //temperature in kelvin
Nc=2.8*(10^19);
Nv=1.04*(10^19); //
Fe=0.25 //Fermi energy is FeeV below the conduction band
Eg=1.12 // Bandgap energy of silicon is Eg in eV
no=Nc*exp(-Fe/0.0259);
po=Nv*exp(-(Eg-Fe)/0.0259);
printf('Thermal equilibrium concentration of electrons is %1.2fd cm ^-3 and of holes is %1.2fd cm^-3 ',no,po)
|
460f93c128694cff35235b0eea579ba7515369ca
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3717/CH18/EX18.7/Ex18_7.sce
|
8a0572f22757bdf97216aaa59a6d492dd8858ffb
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 522
|
sce
|
Ex18_7.sce
|
// Ex18_7 Page:359 (2014)
clc;clear;
m_AX = 11.011433; // Mass of parent nucleus, MeV
m_AX_prime = 11.009305; // Mass of daughter nucleus, MeV
m_e = 0.511; // Mass of an electron, MeV
Q_min = 0;
Q = (m_AX - m_AX_prime)*931.5 - 2*m_e; // Q value for the decay, MeV
printf("\nThe maximum energy of the neutrino = %4.2f MeV", Q);
printf("\nThe minimum energy of the neutrino = %d MeV", Q_min);
// Result
// The maximum energy of the neutrino = 0.96 MeV
// The minimum energy of the neutrino = 0 MeV
|
ff3763703f00aab1e8b0860e041e3d2da6f88bd9
|
db6c77c95fe7a97b791d5689c2ac3b39e791ea17
|
/tests/cases/europepmc-json_002.tst
|
8ed068a52625a73f89393e737e02e77141ffbddc
|
[] |
no_license
|
sauliusg/bibliophile
|
9623cd5e8b163d36a253eaa36b558ed87666450a
|
1e6f63b1e08209af5c6c87ee05098d8fa53a4345
|
refs/heads/master
| 2021-01-19T05:49:43.075428
| 2018-11-20T19:30:36
| 2018-11-20T19:30:36
| 100,584,633
| 1
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 443
|
tst
|
europepmc-json_002.tst
|
Test the '--count' option of europepmc-json script with a known number of
results (just four of them), queried by their IDs, fetched from the command line
as arguments (using '--search' option), using the default page size.
The post-processing just extracts the hitcount from Europe-pmc response (json
formated), and outputs it. We assume that the IDs will not change in the future,
so we always expect to get the same result for this query.
|
66203961b953529297e53f28c92730a0503cb172
|
06a62d768e69fd9dda11b30011c252807e301813
|
/pgm8.sci
|
7c3a33b86cd211f93e5f300149d450de0f80ec44
|
[] |
no_license
|
vikram-niit/matlab
|
36ce3d9539629128251eab060164ce81c03aa690
|
da8aeb4d727c47474d37676650664bd028d7e41d
|
refs/heads/master
| 2020-03-18T13:40:37.068765
| 2018-05-25T03:51:55
| 2018-05-25T03:51:55
| 134,800,217
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 107
|
sci
|
pgm8.sci
|
x = [0:0.1:1];
y = x .* exp(-2 * x);
//[maximum, index] = max(y);
[m, index] = max(y);
disp(x(index));
|
a190e290296003f666805b81f05c9ce959b8ef62
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1202/CH2/EX2.4/2_4.sce
|
d93bc56827fbc88cd7161b620797242d2f82ef37
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 999
|
sce
|
2_4.sce
|
clear
clc
//Example 2.4
disp('Example 2.4')
mprintf('\n Important Note: Errata for book: Values of the parameters \n...
meCe/heAe and meCe/wC should be 1 min each and not 0.5 min %s \n','')
Tibar=100;//deg C
Qbar=5000;//kcal/min
wc_inv=0.05;// 1/wc degC min/kcal
//(a)
Tbar=Tibar+wc_inv*Qbar;
mprintf('\n (a) Nominal steady state temperature= %i',Tbar)
mprintf(' degree celsius %s \n','')
//(b)
mprintf('\n Eqn 2-29 becomes 10 d2T/dt2 + 12 dT/dt + T = 370 with T(0)=350 %s \n','')
t=0:0.1:80; //Time values
Tt_2=350+20*(1-1.089*exp(-t/11.099)+0.084*exp(-t/0.901));//T(t) from order 2 equation
//(c)
mprintf('\n Eqn 2-29 becomes 12 dT/dt + T = 370 with T(0)=350 %s \n','')
Tt_1=350+20*(1-exp(-t/12));//T(t) from order 1 equation
plot2d(t,[Tt_2',Tt_1'],[2 5],rect=[0 350 80 370])
xtitle('Ex-2.4','Time(min)','$T(^0C)$');
a=legend("a Second order","b First order",position=4);
a.font_size=5;
a=get("current_axes");b=a.title;b.font_size=5;c=a.x_label;c.font_size=5;
c=a.y_label;c.font_size=5;
|
84796c13ec58516b7975276e70933e965b07ad15
|
b26cbe6bc3e201f030705aaf9eb82da94def231f
|
/tests/invert-005.tst
|
5804d4fc0bdb97df5715248359ad01a682febfbb
|
[] |
no_license
|
RP-pbm/Recurrence-plot
|
f86c5cd85460661b01a609f8f4281d2cda6b4e07
|
b5da95f9b30c1a924a002102219bf0a2ad47df2c
|
refs/heads/master
| 2022-07-24T12:11:34.163543
| 2022-07-09T19:32:43
| 2022-07-09T19:32:43
| 92,934,698
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 23
|
tst
|
invert-005.tst
|
../inputs/cross-5x5.ssv
|
db816adbc11f589a79c81366f787695273f0a470
|
f7e335e2af57c686554eb057f28ddd8d21aab1e4
|
/tests/fuzz/c-wsp/0063.tst
|
7af1c99a8283a0c33fc2fa69c98997c4aa8ce81b
|
[
"MIT"
] |
permissive
|
scravy/abnf
|
76515bd820b3b9d8e2dbc2cec2a2f845720a6022
|
cc4228f403b436cc4e34ff4d6a7def83922174be
|
refs/heads/master
| 2023-01-09T14:30:50.095268
| 2020-06-07T16:18:09
| 2020-06-07T16:18:09
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 6
|
tst
|
0063.tst
|
;U<
|
f495cddd4e970573c2cd491d3f4312e715ecf99c
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1985/CH7/EX7.5/Chapter7_Example5.sce
|
e3583ec13a0ff96e906e1df87f4b29bcbbc41b6c
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 334
|
sce
|
Chapter7_Example5.sce
|
clc
clear
//Input data
P=1.5//The acoustic power produced by the loudspeaker in J/s
r=20//Distance in m
//Calculations
I=(P/(4*3.14*r^2))//Intensity of the sound produced by the loudspeaker in W/m^2
b=10*log10(I/10^-12)//Intensity level in dB
//Output
printf('The intensity level at a distance of %i m is %3.1f dB',r,b)
|
466492b2dc9a13109cb40614e6ec549815c5d415
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/29/CH6/EX6.10.23/exa6_10_23.sce
|
2abaf3686e14a0b1b7ce58e1e5107c1d033c42e0
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 461
|
sce
|
exa6_10_23.sce
|
//caption:determine_sensitivity_w.r.t_K_and_H
//example 6.10.23
//page 192
syms Wn zeta K H;
s=%s;
A=sym('Wn^2/(s^2+2*zeta*Wn*s)');
B=(A*K);
CL=B/(1+B*H);
CL=simple(CL);
disp(CL,"overall_transfer_function:M(s)=");
disp("sensitivity_w.r.t_K:");
a=diff(CL,K);
b=K/CL;
b=simple(b);
Sk=a*b;
Sk=simple(Sk);
disp(Sk,"sensitivity_w.r.t_K,Sk=");
disp("sensitivity_w.r.t_H:");
c=diff(CL,H);
d=H/CL;
d=simple(d);
Sh=c*d;
Sh=simple(Sh);
disp(Sh,"sensitivity_w.r.t_H,Sh=");
|
cff1ba5511ff7852bf2fd593024bd19d34d79d56
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/63/CH2/EX2.2/Exa2_2.sci
|
01a00147b71b2239a1703ef302824947f9d22880
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 178
|
sci
|
Exa2_2.sci
|
//Determine noise voltage
f = 6e+6;
R1 = 200;
R2 = 300;
T = 17;
R = R1 + R2;
k = 1.38e-23;
T = T + 273;
Vn = sqrt(4*k*T*f*R);
disp(Vn, 'Noise voltage is (in V)')
|
8dfccc696de91886055628d224adaa6e6b2fd485
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3869/CH2/EX2.16/Ex2_16.sce
|
8e08cf34063daf7093e0365330d7f80fd3003aab
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 523
|
sce
|
Ex2_16.sce
|
clear
//
//
//
//Variable declaration
N=10000/2*10**2 //number of lines/m
m=1 //order
lamda1=5890*10**-10 //wavelength(m)
lamda2=5896*10**-10 //wavelength(m)
//Calculation
sintheta1=m*N*lamda1
theta1=asin(sintheta1)*180/%pi //angle(degrees)
sintheta2=m*N*lamda2
theta2=asin(sintheta2)*180/%pi //angle(degrees)
theta=theta2-theta1 //angular separation(degrees)
//Result
printf("\n angular separation is %0.3f degrees",theta)
|
6d3d52021198f7188c4343797f34dab4691a85f0
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/866/CH12/EX12.3/12_3.sce
|
bb944108694162d61c5f377b790fab78443808cf
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 311
|
sce
|
12_3.sce
|
clc
b=200 //mm
d=350 //mm
dia=20 //mm
BM=30*10^3 //Nm
m=15
As=2*%pi*dia^2 /4
n=m*As*(sqrt(1+ 2*b*d/(m*As))-1)/b
Ic=b*n^3 /3 + m*As*(d-n)^2
SigmaC=-BM*n*10^3/Ic
printf("Stress in concrete=%f N/mm^2 compression",SigmaC)
SigmaS=m*BM*10^3*(d-n)/Ic
printf("\n Stress in Steel=%f N/mm^2 tension",SigmaS)
|
4784eb2b8bd11b2eb5f30c326e5a7ffb7ae0f1f8
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/70/CH4/EX4.3.1/4_3_1.sci
|
a09e0e170a4c504ebce8292ad0c6605f53031213
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 428
|
sci
|
4_3_1.sci
|
clear;
close;
clc;
n=input('Enter the value of n:');
for i=1
for j=i;
a(i,j)=2;
a(i,j+1)=-1;
end
end
for i=2:n-1
for j=i
a(i,j-1)=-1;
a(i,j)=2;
a(i,j+1)=-1;
end
end
for i=n
for j=i
a(i,j-1)=-1;
a(i,j)=2;
end
end
disp(a,'a=');
[L,D,U]=lu(a)
determinant=1;
for i=1:n
determinant=determinant*D(i,i);
end
disp(determinant,'Determinant=')
//end
|
d147806531a0fdf62bf9a650405dc9e17670880d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2912/CH5/EX5.4/Ex5_4.sce
|
a49ceb120d00926105bf0e3c4579550fe75a16b0
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 670
|
sce
|
Ex5_4.sce
|
//chapter 5
//example 5.3
//Calculate de-Broglie wavelength
//page 104
clear;
clc;
//given
m_e=9.1E-31; // in Kg (mass of electron)
m_n=1.676E-27; // in Kg (mass of neutron)
h=6.625E-34; // in J-s (Planck's constant)
c=3E8; // in m/s (velocity of light)
//calculate
E_e=m_e*c^2; // rest mass energy of electron
E_n=2*E_e; // given (kinetic energy of neutron)
//Since K=m*v^2/2
// Therefore v=sqrt(2*K/m)
// Since lambda=h/(m*v)
// Therefore we have
lambda=h/sqrt(2*m_n*E_n); //calculation of wavelength
printf('\nThe wavelength is\t=%1.1E m',lambda);
lambda=lambda*1E10; //changing unit from m to Angstrom
printf('\n\t\t\t=%1.1E Angstrom',lambda);
|
527567fd0bcc77e45a45940c46b6149027ea1781
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/source/2.1.1/macros/robust/parrot.sci
|
ff9652fbaf91c61070956578b46b1d0c72a468bc
|
[
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] |
permissive
|
clg55/Scilab-Workbench
|
4ebc01d2daea5026ad07fbfc53e16d4b29179502
|
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
|
refs/heads/master
| 2023-05-31T04:06:22.931111
| 2022-09-13T14:41:51
| 2022-09-13T14:41:51
| 258,270,193
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 564
|
sci
|
parrot.sci
|
//[Kopt,gamaopt]=parrot(D,r)
//Given a matrix D partionned as [D11 D12
// D21 D22]
//where size(D22)=r=[r1,r2]
//compute a matrix K such that
//largest singular value of [D11 D12
// D21 D22+K]
//is minimal (Parrot's theorem)
//F.D. (1990)
//!
[l,k]=size(D);
l1=1:(l-r(1));
l2=(l-r(1)+1):l;
k1=1:(k-r(2))
k2=(k-r(2)+1):k;
D11=D(l1,k1);
D12=D(l1,k2);
D21=D(l2,k1);
D22=D(l2,k2);
D1=[D11,D12];D2=[D11;D21];
gamaopt=maxi(maxi(svd(D1),svd(D2)));
Kopt=-D22-D21*inv(gamaopt*gamaopt*eye-D11'*D11)*D11'*D12;
//end
|
82ac7eb53eca75ddf8b29af234b7444543d357f8
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/181/CH2/EX2.12/example2_12.sce
|
16a5211ffadbbe3ff51991e0acd2b9d43693fc9c
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 587
|
sce
|
example2_12.sce
|
// Find reverse saturation current
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 2-12 in page 94
clear; clc; close;
// Given data
A=5*10^-2; // Cross sectional area in m^2
b=2.6; // Constant of calculation
Lsigma=10^-4; // Constant of calculation
sigmai=4.32*10^-6; // Intrinsic conductivity in ohm/cm
Vt=0.026; // Constant in eV
// Calculation
I_0=A*Vt*(b/(1+b)^2)*sigmai^2*(2*10^4);
printf("The reverse saturation current = %0.2e A",I_0);
// Result
// The reverse saturation current = 97.25 pA
|
f534e313a1be637f4872ff1304d3b8316e8bbd91
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/281/CH5/EX5.7/example5_7.sce
|
64f496bf7a43983910aece5e64d427b204cdf3d2
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 467
|
sce
|
example5_7.sce
|
disp('chapter 5 ex5.7')
disp('given')
disp('Using the gain-bandwidth product estimate upper cut off frequencies in example5.6')
disp('741 op-amp')
disp('fu=800kHz and Av=100')
fu=800000
Av=100
disp('f2=fu/Av')
f2=fu/Av
disp('Hz',f2)
disp('For 709 op-amp with C1=100pF R1=1.5kohms C2=3pF')
disp('cutoff frequency cannot be calculated with above compensating components because voltage gain doesnot fall off at 20dB per decade throughout frequency response')
|
f2908026c63797e1a2df31165c5dc394d6bdca46
|
8217f7986187902617ad1bf89cb789618a90dd0a
|
/browsable_source/2.5/Unix-Windows/scilab-2.5/macros/percent/%p_l_s.sci
|
1efd0ce424a0376e3a7024e59752930ed30988f7
|
[
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] |
permissive
|
clg55/Scilab-Workbench
|
4ebc01d2daea5026ad07fbfc53e16d4b29179502
|
9f8fd29c7f2a98100fa9aed8b58f6768d24a1875
|
refs/heads/master
| 2023-05-31T04:06:22.931111
| 2022-09-13T14:41:51
| 2022-09-13T14:41:51
| 258,270,193
| 0
| 1
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 339
|
sci
|
%p_l_s.sci
|
function f=%p_l_s(p,m)
// f=%p_l_s(p,m) <=>f= p\m.
//!
// Copyright INRIA
[mp,np]=size(p)
if mp*np<>1 then
f=invr(p)*m,
else
[l,c]=size(m)
if m<>[] then m=m+poly(0,varn(p),'c'),end
if mp==-1&l*c==1|l==-1 then
f=tlist(['r','num','den','dt'],m,p*eye(),[])
else
f=tlist(['r','num','den','dt'],m,p*ones(l,c),[])
end
end
|
e84a950dd697149d109427653bcf760ce21f6ad8
|
dbd504f73f233675d0c8c2c8c5730e866aabcd96
|
/codes/Alamouti.sce
|
bba3f6203c831745a7f31ad796f2bd20ea67cd01
|
[] |
no_license
|
surajdurgesht/Wireless-Communication-Lab
|
f5019be42d24fe6568e98d666efd901283a0c7a7
|
e8fac339daf91d24ee0dd9e22e9236fcbb68dac3
|
refs/heads/master
| 2020-06-04T19:07:54.824459
| 2019-06-16T06:30:21
| 2019-06-16T06:30:21
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 292
|
sce
|
Alamouti.sce
|
clear all;
clf();
P_s=0:10:1000;
S=100;
h1=15;
h2=20;
SNR=(h1^2+h2^2)*P_s/S;
function y = qfunc(x)
y = 0.5*erfc(x/sqrt(2));
endfunction
P_e=qfunc(sqrt(SNR));
plot2d("ln",P_e,P_s,style=2);
xlabel("power");
ylabel("probability of error");
title("Alamouti coding");
|
9e8d894460d840553f0b434384e09d26b5e5b152
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2825/CH14/EX14.7/Ex14_7.sce
|
812a5cd089144160c150f45541a7d882bacc4da3
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 304
|
sce
|
Ex14_7.sce
|
//Ex14_7 Pg-697
clc
NA=0.22 //numerical apperture
del=0.012 //fractional difference of refractive indices
n1=NA/(sqrt(2*del)) //core refractive index
printf("Core refractive index = %.2f \n",n1)
n2=n1-del*n1 //cladding refractive index
printf(" Cladding refractive index = %.2f \n",n2)
|
86ba55c4b014a85694525d022a7f050af7de74b3
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/1208/CH4/EX4.10/Exa10.sce
|
e27fa74a70d6e35bca9c2e67a9837aa7891636c7
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 902
|
sce
|
Exa10.sce
|
//Exa 10
clc;
clear;
close;
//given data :
//initial cash outflows
ICO=40000;//in Rs.
//cash in flows of 1st,2nd,3rd and 4th years is same
CIF=16000;//in Rs.
//PV Factor
PV=ICO/CIF;//unitless
disp(PV,"PV fator of the project is : ")
disp("This value is in between 2.4936 and 2.5887");
disp("Hence IRR of the project is expected to lie between 20% and 22%")
//PV of cash in flows at 20%
PV20=CIF*2.5887;//in Rs
PV22=CIF*2.4936;//in Rs
disp(PV20,"at 20% PV of cash in flows(in Rs) is : ")
disp(PV22,"at 22% PV of cash in flows(in Rs) is : ")
//By interpolation
LDR=20;//in % ;Lower discount rate
HDR=22;//in % ;Higher discount rate
P1=41419;//in Rs; Present value at lower rate of interest
P2=39898;//in Rs; Present value at higher rate of interest
IRR=LDR+((P1-ICO)/(P1-P2))*(HDR-LDR);//in % : Internal rate of return
disp(IRR,"Internal rate of return of the project(in %) : ")
|
43c33f1cc44b0c493e7829d8ca06f419abcf7dba
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/2144/CH8/EX8.6/ex8_6.sce
|
a54fa8bc8dafdb3b38ad740c77f3da73484ec296
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 246
|
sce
|
ex8_6.sce
|
// Exa 8.6
clc;
clear;
close;
// Given data
C = 0.83;// in kg
H = 0.05;// in kg
O = 0.02;// in kg
S = 0.002;// in kg
AbyF_min = (11.6 * C) + +(34.8*(H-(O/8))) + (4.35 * S);// in kg
disp(AbyF_min,"The therotical mass of air in kg is");
|
436dc3588cf6270037dba055d2e63e40156087b1
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/3856/CH16/EX16.1/Ex16_1.sce
|
cca2dfe30e79976bd1a941fb58f47f9fee5f25ed
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 609
|
sce
|
Ex16_1.sce
|
//Calculate the Dipole-Dipole interaction energy in kJ mol^-1
//Example 16.1
clc;
clear;
mewA=1.08*3.3356*10^-30; //Dipole moment in C m for one molecule
mewB=1.08*3.3356*10^-30; //Dipole moment in C m for other molecule
epsilone=8.854*10^-12; //Molar absorptivity or molar extinction coefficient in C^2 N^-1 m^-2
r=4*10^-10; //Distance between two molecule of HCl in m
V1=-(2*mewA*mewB)/(4*%pi*epsilone*(r)^3); //Diploe-Diplole interaction in N m
V=(V1*6.022*10^23)/1000; //Dipole-Dipole interaction in kJ mol^-1
printf("Dipole-Dipole interaction = %.1f kJ mol^-1 ",V);
|
4d612f538f7a44756e226386330aae6fd2be409c
|
2ba48648eefadee113a7c2f5d608cab5209c3a8b
|
/Unit&Func Test/单元测试文档/CagOS单元测试结果/LIBC/LIBC2.tst
|
161c29e7b127499b56af0bcd4bff1744d91d1fee
|
[] |
no_license
|
wangdong412/Consen-SIS
|
879762175575d0a62f26ec1effeb46c3fd62e3e8
|
bca3fac35c961c3558a3438bca55e6d20825da3a
|
refs/heads/master
| 2020-07-11T05:17:18.814104
| 2019-08-27T09:41:41
| 2019-08-27T09:41:41
| 204,450,874
| 1
| 5
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 160,598
|
tst
|
LIBC2.tst
|
-- VectorCAST 6.4c (02/03/16)
-- Test Case Script
--
-- Environment : LIBC
-- Unit(s) Under Test: abort1 abs atof atoi atol bLib memchr memcmp memcpy memmove memset ns16550 qsort rand random random_r strcat strchr strcmp strcpy strlcat strlcpy strlen strncat strncmp strncpy strpbrk strspn strtod strtok strtok_r strtol strtoul
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FEATURE:STATIC_HEADER_FUNCS_IN_UUTS
--
-- Unit: abort1
-- Subprogram: abort1
-- Test Case: abort1
TEST.UNIT:abort1
TEST.SUBPROGRAM:abort1
TEST.NEW
TEST.NAME:abort1
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while 1 ==> TRUE
Test Case Generation Notes:
Only one possible value for condition in branch 1
TEST.END_NOTES:
TEST.END
-- Unit: abs
-- Subprogram: abs
-- Test Case: abs.001
TEST.UNIT:abs
TEST.SUBPROGRAM:abs
TEST.NEW
TEST.NAME:abs.001
TEST.VALUE:abs.abs.j:0
TEST.EXPECTED:abs.abs.return:0
TEST.END
-- Test Case: abs2
TEST.UNIT:abs
TEST.SUBPROGRAM:abs
TEST.NEW
TEST.NAME:abs2
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (j < 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:abs.abs.j:<<MAX>>
TEST.EXPECTED:abs.abs.return:<<MAX>>
TEST.END
-- Test Case: abs3
TEST.UNIT:abs
TEST.SUBPROGRAM:abs
TEST.NEW
TEST.NAME:abs3
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (j < 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:abs.abs.j:<<MIN>>
TEST.EXPECTED:abs.abs.return:<<MIN>>
TEST.END
-- Unit: atof
-- Subprogram: atof
-- Test Case: atof
TEST.UNIT:atof
TEST.SUBPROGRAM:atof
TEST.NEW
TEST.NAME:atof
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:atof.atof.ascii:<<malloc 1>>
TEST.EXPECTED:atof.atof.return:0.0
TEST.END
-- Unit: atoi
-- Subprogram: atoi
-- Test Case: atoi
TEST.UNIT:atoi
TEST.SUBPROGRAM:atoi
TEST.NEW
TEST.NAME:atoi
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.STUB:strtol.strtol
TEST.VALUE:atoi.atoi.str:<<malloc 1>>
TEST.VALUE:atoi.atoi.str[0]:0xB
TEST.VALUE:strtol.strtol.return:11
TEST.EXPECTED:atoi.atoi.return:11
TEST.END
-- Unit: atol
-- Subprogram: atol
-- Test Case: atol1
TEST.UNIT:atol
TEST.SUBPROGRAM:atol
TEST.NEW
TEST.NAME:atol1
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:atol.atol.str:<<malloc 1>>
TEST.EXPECTED:atol.atol.return:0
TEST.END
-- Unit: bLib
-- Subprogram: bcmp
-- Test Case: bcmp1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcmp
TEST.NEW
TEST.NAME:bcmp1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (nbytes == (0)) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.bcmp.buf1:VECTORCAST_INT1
TEST.VALUE:bLib.bcmp.buf2:VECTORCAST_INT1
TEST.VALUE:bLib.bcmp.nbytes:0
TEST.EXPECTED:bLib.bcmp.return:0
TEST.END
-- Test Case: bcmp2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcmp
TEST.NEW
TEST.NAME:bcmp2
TEST.BASIS_PATH:2 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (nbytes == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> FALSE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:bLib.bcmp.buf1:VECTORCAST_INT1
TEST.VALUE:bLib.bcmp.buf2:VECTORCAST_INT1
TEST.VALUE:bLib.bcmp.nbytes:1
TEST.EXPECTED:bLib.bcmp.return:0
TEST.END
-- Test Case: bcmp3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcmp
TEST.NEW
TEST.NAME:bcmp3
TEST.BASIS_PATH:3 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (nbytes == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> TRUE
(3) if (--nbytes == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
Conflict: A condition in this branch uses an operand that cannot be set (--nbytes) in branch 3
TEST.END_NOTES:
TEST.VALUE:bLib.bcmp.buf1:VECTORCAST_INT1
TEST.VALUE:bLib.bcmp.buf2:VECTORCAST_INT1
TEST.VALUE:bLib.bcmp.nbytes:5
TEST.EXPECTED:bLib.bcmp.return:0
TEST.END
-- Test Case: bcmp4
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcmp
TEST.NEW
TEST.NAME:bcmp4
TEST.BASIS_PATH:4 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (nbytes == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> TRUE
(3) if (--nbytes == (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
Conflict: A condition in this branch uses an operand that cannot be set (--nbytes) in branch 3
TEST.END_NOTES:
TEST.VALUE:bLib.bcmp.nbytes:3
TEST.EXPECTED:bLib.bcmp.return:-3
TEST.VALUE_USER_CODE:bLib.bcmp.buf1
<<bLib.bcmp.buf1>> = ( "123" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcmp.buf2
char str[3]={0xc};
char *p2=str;
<<bLib.bcmp.buf2>> = ( "456" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bcopy
-- Test Case: bcopy.001
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopy
TEST.NEW
TEST.NAME:bcopy.001
TEST.VALUE:bLib.bcopy.nbytes:3
TEST.VALUE_USER_CODE:bLib.bcopy.source
<<bLib.bcopy.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopy.destination
<<bLib.bcopy.destination>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.EXPECTED_USER_CODE:bLib.bcopy.destination
{{ <<bLib.bcopy.destination>> == ( "abc" ) }}
TEST.END_EXPECTED_USER_CODE:
TEST.END
-- Test Case: bcopy2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopy
TEST.NEW
TEST.NAME:bcopy2
TEST.BASIS_PATH:2 of 10
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if ((size_t)(dst - src) >= nbytes) ==> FALSE
(6) if (nbytes < (2) * sizeof(long) - (1) || ((long)dst ^ (long)src) & sizeof(long) - (1)) ==> TRUE
(9) while (dst != dstend) ==> TRUE
Test Case Generation Notes:
Cannot set local variable dst in branch 6
Cannot set local variable src in branch 6
Cannot set dst due to assignment
TEST.END_NOTES:
TEST.VALUE:bLib.bcopy.nbytes:0
TEST.VALUE_USER_CODE:bLib.bcopy.source
<<bLib.bcopy.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopy.destination
<<bLib.bcopy.destination>> = ( "cde" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bcopy3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopy
TEST.NEW
TEST.NAME:bcopy3
TEST.BASIS_PATH:3 of 10
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if ((size_t)(dst - src) >= nbytes) ==> FALSE
(6) if (nbytes < (2) * sizeof(long) - (1) || ((long)dst ^ (long)src) & sizeof(long) - (1)) ==> FALSE
(7) while ((long)dst & sizeof(long) - (1)) ==> FALSE
(8) while ((char *)dstl != dsttmp) ==> FALSE
(9) while (dst != dstend) ==> FALSE
Test Case Generation Notes:
Cannot set local variable dst in branch 6
Cannot set local variable src in branch 6
Cannot set dst due to assignment
Cannot set dst due to assignment
Cannot set dsttmp due to assignment
Cannot set dst due to assignment
TEST.END_NOTES:
TEST.VALUE:bLib.bcopy.nbytes:9
TEST.VALUE_USER_CODE:bLib.bcopy.source
char cc[]="abcd";
<<bLib.bcopy.source>> = ( cc );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopy.destination
long a[1024];
char * p=a;
p=p+5;
<<bLib.bcopy.destination>> = ( p );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bcopyBytes
-- Test Case: bcopybyte3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyBytes
TEST.NEW
TEST.NAME:bcopybyte3
TEST.BASIS_PATH:3 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> FALSE
(4) while (dst != dstend) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set local variable dst in branch 4
Cannot set local variable src in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyBytes.source:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyBytes.destination:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyBytes.nbytes:<<MAX>>
TEST.END
-- Test Case: bcopybytes1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyBytes
TEST.NEW
TEST.NAME:bcopybytes1
TEST.BASIS_PATH:4 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> TRUE
(3) while (dst != dstend) ==> FALSE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set variable to unknown value in branch 3
Cannot set dstend due to assignment
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyBytes.nbytes:<<MIN>>
TEST.EXPECTED:bLib.bcopyBytes.nbytes:0
TEST.VALUE_USER_CODE:bLib.bcopyBytes.source
<<bLib.bcopyBytes.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyBytes.destination
<<bLib.bcopyBytes.destination>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bcopybytes2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyBytes
TEST.NEW
TEST.NAME:bcopybytes2
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (offset == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyBytes.nbytes:3
TEST.VALUE_USER_CODE:bLib.bcopyBytes.source
<<bLib.bcopyBytes.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyBytes.destination
<<bLib.bcopyBytes.destination>> = ( "qwe" );
TEST.END_VALUE_USER_CODE:
TEST.EXPECTED_USER_CODE:bLib.bcopyBytes.destination
{{ <<bLib.bcopyBytes.destination>> == ( "abc" ) }}
TEST.END_EXPECTED_USER_CODE:
TEST.END
-- Test Case: bcopybytes3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyBytes
TEST.NEW
TEST.NAME:bcopybytes3
TEST.VALUE:bLib.bcopyBytes.nbytes:10
TEST.VALUE_USER_CODE:bLib.bcopyBytes.source
<<bLib.bcopyBytes.source>> = ( "ABC" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyBytes.destination
<<bLib.bcopyBytes.destination>> = ( "EFD" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bcopyLongs
-- Test Case: bcopylongs1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyLongs
TEST.NEW
TEST.NAME:bcopylongs1
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> FALSE
(4) while (dst != dstend) ==> FALSE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set local variable offset in branch 2
Cannot set local variable nbytes in branch 2
Cannot set dst due to assignment
Cannot set local variable dst in branch 4
Cannot set local variable dst in branch 4
Cannot set local variable src in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyLongs.source:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyLongs.destination:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyLongs.nlongs:<<MIN>>
TEST.END
-- Test Case: bcopylongs2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyLongs
TEST.NEW
TEST.NAME:bcopylongs2
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (offset == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyLongs.nlongs:3
TEST.VALUE_USER_CODE:bLib.bcopyLongs.source
<<bLib.bcopyLongs.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyLongs.destination
<<bLib.bcopyLongs.destination>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bcopylongs2.001
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyLongs
TEST.NEW
TEST.NAME:bcopylongs2.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (offset == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyLongs.nlongs:1
TEST.VALUE_USER_CODE:bLib.bcopyLongs.source
<<bLib.bcopyLongs.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyLongs.destination
<<bLib.bcopyLongs.destination>> = ( "aaaaaaaaaaaaaaaaaaaaaaa" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bcopyQuads
-- Test Case: bcopyquads1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyQuads
TEST.NEW
TEST.NAME:bcopyquads1
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (offset == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyQuads.source:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyQuads.destination:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyQuads.nquads:<<MIN>>
TEST.END
-- Test Case: bcopyquads2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyQuads
TEST.NEW
TEST.NAME:bcopyquads2
TEST.BASIS_PATH:3 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> FALSE
(4) while (dst != dstend) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set local variable offset in branch 2
Cannot set local variable nbytes in branch 2
Cannot set local variable dst in branch 4
Cannot set local variable src in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyQuads.nquads:3
TEST.VALUE_USER_CODE:bLib.bcopyQuads.source
<<bLib.bcopyQuads.source>> = ( "abcdefgh" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyQuads.destination
<<bLib.bcopyQuads.destination>> = ( "higklmn" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bcopyquads3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyQuads
TEST.NEW
TEST.NAME:bcopyquads3
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> FALSE
(4) while (dst != dstend) ==> FALSE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set local variable offset in branch 2
Cannot set local variable nbytes in branch 2
Cannot set dst due to assignment
Cannot set local variable dst in branch 4
Cannot set local variable dst in branch 4
Cannot set local variable src in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyQuads.nquads:1
TEST.VALUE_USER_CODE:bLib.bcopyQuads.source
<<bLib.bcopyQuads.source>> = ( "dtdhgdhgdghdh56745342545455768gda" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyQuads.destination
<<bLib.bcopyQuads.destination>> = ( "1dfdfgdfgdfgdgdgfd2" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bcopyWords
-- Test Case: bcopywords1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyWords
TEST.NEW
TEST.NAME:bcopywords1
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (offset == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyWords.source:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyWords.destination:VECTORCAST_INT1
TEST.VALUE:bLib.bcopyWords.nwords:<<MIN>>
TEST.END
-- Test Case: bcopywords2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyWords
TEST.NEW
TEST.NAME:bcopywords2
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> FALSE
(4) while (dst != dstend) ==> FALSE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set local variable offset in branch 2
Cannot set local variable nbytes in branch 2
Cannot set dst due to assignment
Cannot set local variable dst in branch 4
Cannot set local variable dst in branch 4
Cannot set local variable src in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyWords.nwords:3
TEST.VALUE_USER_CODE:bLib.bcopyWords.source
<<bLib.bcopyWords.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyWords.destination
<<bLib.bcopyWords.destination>> = ( "efg" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bcopyworlds3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bcopyWords
TEST.NEW
TEST.NAME:bcopyworlds3
TEST.BASIS_PATH:3 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (offset == (0)) ==> FALSE
(2) if (offset >= nbytes) ==> FALSE
(4) while (dst != dstend) ==> TRUE
Test Case Generation Notes:
Cannot set local variable offset in branch 1
Cannot set local variable offset in branch 2
Cannot set local variable nbytes in branch 2
Cannot set local variable dst in branch 4
Cannot set local variable src in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bcopyWords.nwords:1
TEST.VALUE_USER_CODE:bLib.bcopyWords.source
<<bLib.bcopyWords.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bcopyWords.destination
<<bLib.bcopyWords.destination>> = ( "aaaaaaaaaaaaaaaaaaaa" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bfill
-- Test Case: bfill.001
TEST.UNIT:bLib
TEST.SUBPROGRAM:bfill
TEST.NEW
TEST.NAME:bfill.001
TEST.VALUE:bLib.bfill.nbytes:<<MAX>>
TEST.VALUE:bLib.bfill.ch:92
TEST.VALUE_USER_CODE:bLib.bfill.buf
<<bLib.bfill.buf>> = ( "aa" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bfill1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bfill
TEST.NEW
TEST.NAME:bfill1
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (nbytes < (2) * sizeof(long) - (1)) ==> TRUE
(4) while (bufc != bufend) ==> TRUE
Test Case Generation Notes:
Cannot set local variable bufend in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bfill.nbytes:10
TEST.VALUE_USER_CODE:bLib.bfill.buf
long a[1024];
char * p= a;
p++;
<<bLib.bfill.buf>> = ( p );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bfill.ch
<<bLib.bfill.ch>> = ( "c" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bfill2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bfill
TEST.NEW
TEST.NAME:bfill2
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (nbytes < (2) * sizeof(long) - (1)) ==> TRUE
(4) while (bufc != bufend) ==> TRUE
Test Case Generation Notes:
Cannot set local variable bufend in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bfill.nbytes:0
TEST.VALUE_USER_CODE:bLib.bfill.buf
<<bLib.bfill.buf>> = ( "a\0" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bfill.ch
<<bLib.bfill.ch>> = ( "c" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bfill3
TEST.UNIT:bLib
TEST.SUBPROGRAM:bfill
TEST.NEW
TEST.NAME:bfill3
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (nbytes < (2) * sizeof(long) - (1)) ==> TRUE
(4) while (bufc != bufend) ==> FALSE
Test Case Generation Notes:
Cannot set variable to unknown value in branch 4
Cannot set local variable bufend in branch 4
TEST.END_NOTES:
TEST.VALUE:bLib.bfill.nbytes:5
TEST.VALUE_USER_CODE:bLib.bfill.buf
<<bLib.bfill.buf>> = ( "b" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bfill.ch
<<bLib.bfill.ch>> = ( "a" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: bfillBytes
-- Test Case: bfillbytes
TEST.UNIT:bLib
TEST.SUBPROGRAM:bfillBytes
TEST.NEW
TEST.NAME:bfillbytes
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (bufc != bufend) ==> FALSE
Test Case Generation Notes:
Cannot set variable to unknown value in branch 1
Cannot set local variable bufend in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bfillBytes.nbytes:2
TEST.VALUE_USER_CODE:bLib.bfillBytes.buf
<<bLib.bfillBytes.buf>> = ( "ee" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bfillBytes.ch
<<bLib.bfillBytes.ch>> = ( "a" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bfillbytes.001
TEST.UNIT:bLib
TEST.SUBPROGRAM:bfillBytes
TEST.NEW
TEST.NAME:bfillbytes.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (bufc != bufend) ==> FALSE
Test Case Generation Notes:
Cannot set variable to unknown value in branch 1
Cannot set local variable bufend in branch 1
TEST.END_NOTES:
TEST.VALUE:bLib.bfillBytes.nbytes:<<MAX>>
TEST.VALUE_USER_CODE:bLib.bfillBytes.buf
<<bLib.bfillBytes.buf>> = ( "ee" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bfillBytes.ch
<<bLib.bfillBytes.ch>> = ( "a" );
TEST.END_VALUE_USER_CODE:
TEST.EXPECTED_USER_CODE:bLib.bfillBytes.buf
{{ <<bLib.bfillBytes.buf>> == ( "eeaa" ) }}
TEST.END_EXPECTED_USER_CODE:
TEST.END
-- Subprogram: binvert
-- Test Case: binvert1
TEST.UNIT:bLib
TEST.SUBPROGRAM:binvert
TEST.NEW
TEST.NAME:binvert1
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (bufc < buf_end) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.binvert.buf:VECTORCAST_INT1
TEST.VALUE:bLib.binvert.nbytes:1
TEST.END
-- Test Case: binvert2
TEST.UNIT:bLib
TEST.SUBPROGRAM:binvert
TEST.NEW
TEST.NAME:binvert2
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (bufc < buf_end) ==> TRUE
Test Case Generation Notes:
Cannot set local variable buf_end in branch 2
Cannot set local variable buf_end in branch 2
TEST.END_NOTES:
TEST.VALUE:bLib.binvert.buf:VECTORCAST_INT1
TEST.VALUE:bLib.binvert.nbytes:5
TEST.END
-- Subprogram: bswap
-- Test Case: bswap1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bswap
TEST.NEW
TEST.NAME:bswap1
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (nbytes >= (1)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.bswap.nbytes:2
TEST.VALUE_USER_CODE:bLib.bswap.buf1
<<bLib.bswap.buf1>> = ( "ab" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.bswap.buf2
<<bLib.bswap.buf2>> = ( "cd" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: bswap2
TEST.UNIT:bLib
TEST.SUBPROGRAM:bswap
TEST.NEW
TEST.NAME:bswap2
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (nbytes >= (1)) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.bswap.nbytes:0
TEST.EXPECTED:bLib.bswap.nbytes:0
TEST.END
-- Subprogram: bzero
-- Test Case: bzero1
TEST.UNIT:bLib
TEST.SUBPROGRAM:bzero
TEST.NEW
TEST.NAME:bzero1
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:bLib.bzero.buffer:VECTORCAST_INT1
TEST.VALUE:bLib.bzero.nbytes:<<MIN>>
TEST.END
-- Subprogram: index
-- Test Case: index1
TEST.UNIT:bLib
TEST.SUBPROGRAM:index
TEST.NEW
TEST.NAME:index1
TEST.BASIS_PATH:2 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while ((ch = *(s++)) != c && ch != 0) ==> FALSE
(2) if (ch == 0 && c != 0) ==> TRUE
Test Case Generation Notes:
Cannot set local variable ch in branch 1
Cannot set local variable ch in branch 2
TEST.END_NOTES:
TEST.VALUE:bLib.index.s:<<malloc 4>>
TEST.VALUE:bLib.index.s:"abc"
TEST.EXPECTED:bLib.index.return:"c"
TEST.VALUE_USER_CODE:bLib.index.c
<<bLib.index.c>> = ( 'c' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: index2
TEST.UNIT:bLib
TEST.SUBPROGRAM:index
TEST.NEW
TEST.NAME:index2
TEST.BASIS_PATH:3 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while ((ch = *(s++)) != c && ch != 0) ==> TRUE
(2) if (ch == 0 && c != 0) ==> FALSE
Test Case Generation Notes:
Cannot set local variable ch in branch 1
Cannot set local variable ch in branch 2
TEST.END_NOTES:
TEST.VALUE:bLib.index.s:<<malloc 4>>
TEST.VALUE:bLib.index.s:"abc"
TEST.EXPECTED:bLib.index.return:<<null>>
TEST.VALUE_USER_CODE:bLib.index.c
<<bLib.index.c>> = ( 'd' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: index3
TEST.UNIT:bLib
TEST.SUBPROGRAM:index
TEST.NEW
TEST.NAME:index3
TEST.BASIS_PATH:1 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while ((ch = *(s++)) != c && ch != 0) ==> FALSE
(2) if (ch == 0 && c != 0) ==> FALSE
Test Case Generation Notes:
Cannot set local variable ch in branch 1
Cannot set local variable ch in branch 2
TEST.END_NOTES:
TEST.VALUE:bLib.index.s:<<malloc 1>>
TEST.VALUE:bLib.index.s[0]:0x0
TEST.VALUE:bLib.index.c:0
TEST.END
-- Subprogram: rindex2
-- Test Case: rindex21
TEST.UNIT:bLib
TEST.SUBPROGRAM:rindex2
TEST.NEW
TEST.NAME:rindex21
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:bLib.rindex2.s:<<malloc 4>>
TEST.VALUE:bLib.rindex2.s:"abc"
TEST.EXPECTED:bLib.rindex2.return:"abc"
TEST.VALUE_USER_CODE:bLib.rindex2.c
<<bLib.rindex2.c>> = ( 'a' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: rindex22
TEST.UNIT:bLib
TEST.SUBPROGRAM:rindex2
TEST.NEW
TEST.NAME:rindex22
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:bLib.rindex2.s:<<malloc 5>>
TEST.VALUE:bLib.rindex2.s:"abcd"
TEST.EXPECTED:bLib.rindex2.return:<<null>>
TEST.VALUE_USER_CODE:bLib.rindex2.c
<<bLib.rindex2.c>> = ( 'f' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: swab
-- Test Case: swab1
TEST.UNIT:bLib
TEST.SUBPROGRAM:swab
TEST.NEW
TEST.NAME:swab1
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) for (dst < dst_end) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.swab.nbytes:2
TEST.EXPECTED:bLib.swab.nbytes:2
TEST.VALUE_USER_CODE:bLib.swab.source
<<bLib.swab.source>> = ( "ab" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.swab.destination
<<bLib.swab.destination>> = ( "cd" );
TEST.END_VALUE_USER_CODE:
TEST.EXPECTED_USER_CODE:bLib.swab.source
{{ <<bLib.swab.source>> == ( "cd" ) }}
TEST.END_EXPECTED_USER_CODE:
TEST.EXPECTED_USER_CODE:bLib.swab.destination
{{ <<bLib.swab.destination>> == ( "ab" ) }}
TEST.END_EXPECTED_USER_CODE:
TEST.END
-- Test Case: swab2
TEST.UNIT:bLib
TEST.SUBPROGRAM:swab
TEST.NEW
TEST.NAME:swab2
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) for (dst < dst_end) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.swab.nbytes:0
TEST.EXPECTED:bLib.swab.nbytes:0
TEST.VALUE_USER_CODE:bLib.swab.source
<<bLib.swab.source>> = ( "ab" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.swab.destination
<<bLib.swab.destination>> = ( "cd" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: uswab
-- Test Case: uswab2
TEST.UNIT:bLib
TEST.SUBPROGRAM:uswab
TEST.NEW
TEST.NAME:uswab2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (dst < dst_end) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.uswab.nbytes:3
TEST.VALUE_USER_CODE:bLib.uswab.source
<<bLib.uswab.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.uswab.destination
<<bLib.uswab.destination>> = ( "efd" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: uswab2.001
TEST.UNIT:bLib
TEST.SUBPROGRAM:uswab
TEST.NEW
TEST.NAME:uswab2.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (dst < dst_end) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:bLib.uswab.nbytes:2
TEST.VALUE_USER_CODE:bLib.uswab.source
<<bLib.uswab.source>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:bLib.uswab.destination
<<bLib.uswab.destination>> = ( "efd" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: memchr
-- Subprogram: memchr
-- Test Case: memchr.001
TEST.UNIT:memchr
TEST.SUBPROGRAM:memchr
TEST.NEW
TEST.NAME:memchr.001
TEST.VALUE:memchr.memchr.n:3
TEST.VALUE_USER_CODE:memchr.memchr.m
<<memchr.memchr.m>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:memchr.memchr.c
<<memchr.memchr.c>> = ( 'a' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: memchr.002
TEST.UNIT:memchr
TEST.SUBPROGRAM:memchr
TEST.NEW
TEST.NAME:memchr.002
TEST.VALUE:memchr.memchr.n:3
TEST.VALUE_USER_CODE:memchr.memchr.m
<<memchr.memchr.m>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:memchr.memchr.c
<<memchr.memchr.c>> = ( 'e' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: memchr1
TEST.UNIT:memchr
TEST.SUBPROGRAM:memchr
TEST.NEW
TEST.NAME:memchr1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (n != (0)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:memchr.memchr.m:VECTORCAST_INT1
TEST.VALUE:memchr.memchr.c:<<MIN>>
TEST.VALUE:memchr.memchr.n:0
TEST.VALUE:memchr.memchr.return:VECTORCAST_INT1
TEST.EXPECTED_USER_CODE:memchr.memchr.return
{{ <<memchr.memchr.return>> == ( NULL ) }}
TEST.END_EXPECTED_USER_CODE:
TEST.END
-- Unit: memcmp
-- Subprogram: memcmp
-- Test Case: memcmp1
TEST.UNIT:memcmp
TEST.SUBPROGRAM:memcmp
TEST.NEW
TEST.NAME:memcmp1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (n == (0)) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:memcmp.memcmp.s1:VECTORCAST_INT1
TEST.VALUE:memcmp.memcmp.s2:VECTORCAST_INT1
TEST.VALUE:memcmp.memcmp.n:0
TEST.EXPECTED:memcmp.memcmp.return:0
TEST.END
-- Test Case: memcmp2
TEST.UNIT:memcmp
TEST.SUBPROGRAM:memcmp
TEST.NEW
TEST.NAME:memcmp2
TEST.BASIS_PATH:2 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (n == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> FALSE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:memcmp.memcmp.n:3
TEST.EXPECTED:memcmp.memcmp.return:-1
TEST.VALUE_USER_CODE:memcmp.memcmp.s1
<<memcmp.memcmp.s1>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:memcmp.memcmp.s2
<<memcmp.memcmp.s2>> = ( "acd" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: memcmp2.001
TEST.UNIT:memcmp
TEST.SUBPROGRAM:memcmp
TEST.NEW
TEST.NAME:memcmp2.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (n == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> FALSE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:memcmp.memcmp.n:3
TEST.EXPECTED:memcmp.memcmp.return:1
TEST.VALUE_USER_CODE:memcmp.memcmp.s1
<<memcmp.memcmp.s1>> = ( "acc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:memcmp.memcmp.s2
<<memcmp.memcmp.s2>> = ( "acb" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: memcmp3
TEST.UNIT:memcmp
TEST.SUBPROGRAM:memcmp
TEST.NEW
TEST.NAME:memcmp3
TEST.BASIS_PATH:3 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (n == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> TRUE
(3) if (--n == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 3
TEST.END_NOTES:
TEST.VALUE:memcmp.memcmp.n:3
TEST.EXPECTED:memcmp.memcmp.return:0
TEST.VALUE_USER_CODE:memcmp.memcmp.s1
<<memcmp.memcmp.s1>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:memcmp.memcmp.s2
<<memcmp.memcmp.s2>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: memcmp4
TEST.UNIT:memcmp
TEST.SUBPROGRAM:memcmp
TEST.NEW
TEST.NAME:memcmp4
TEST.BASIS_PATH:4 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (n == (0)) ==> FALSE
(2) while (*(p1++) == *(p2++)) ==> TRUE
(3) if (--n == (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable *(p1++) in branch 2 since it requires user code.
Cannot set const variable Cannot set variable *(p2++) in branch 2 since it requires user code.
:
Cannot set variable p2++ in branch 2 since it requires user code.
Cannot set variable p1++ in branch 2 since it requires user code.
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 3
TEST.END_NOTES:
TEST.VALUE:memcmp.memcmp.n:3
TEST.EXPECTED:memcmp.memcmp.return:0
TEST.VALUE_USER_CODE:memcmp.memcmp.s1
<<memcmp.memcmp.s1>> = ( "abc1234" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:memcmp.memcmp.s2
<<memcmp.memcmp.s2>> = ( "abc" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: memcpy
-- Subprogram: memcpy
-- Test Case: memcpy
TEST.UNIT:memcpy
TEST.SUBPROGRAM:memcpy
TEST.NEW
TEST.NAME:memcpy
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:memcpy.memcpy.destination:VECTORCAST_BUFFER
TEST.VALUE:memcpy.memcpy.size:10
TEST.VALUE_USER_CODE:memcpy.memcpy.source
<<memcpy.memcpy.source>> = ( "bed" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: memmove
-- Subprogram: memmove
-- Test Case: memmove
TEST.UNIT:memmove
TEST.SUBPROGRAM:memmove
TEST.NEW
TEST.NAME:memmove
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:memmove.memmove.destination:VECTORCAST_INT1
TEST.VALUE:memmove.memmove.source:VECTORCAST_INT1
TEST.VALUE:memmove.memmove.size:<<MIN>>
TEST.END
-- Unit: memset
-- Subprogram: memset
-- Test Case: BASIS-PATH-001
TEST.UNIT:memset
TEST.SUBPROGRAM:memset
TEST.NEW
TEST.NAME:BASIS-PATH-001
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:memset.memset.c:0
TEST.VALUE:memset.memset.size:3
TEST.VALUE_USER_CODE:memset.memset.m
<<memset.memset.m>> = ( "aaa" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: BASIS-PATH-001.001
TEST.UNIT:memset
TEST.SUBPROGRAM:memset
TEST.NEW
TEST.NAME:BASIS-PATH-001.001
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:memset.memset.c:0
TEST.VALUE:memset.memset.size:3000
TEST.VALUE_USER_CODE:memset.memset.m
<<memset.memset.m>> = ( "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: memset.001
TEST.UNIT:memset
TEST.SUBPROGRAM:memset
TEST.NEW
TEST.NAME:memset.001
TEST.VALUE:memset.memset.c:92
TEST.VALUE:memset.memset.size:3529
TEST.VALUE_USER_CODE:memset.memset.m
<<memset.memset.m>> = ( "ad");
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: ns16550
-- Subprogram: ns16550DevInit
-- Test Case: Devinit
TEST.UNIT:ns16550
TEST.SUBPROGRAM:ns16550DevInit
TEST.NEW
TEST.NAME:Devinit
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.STUB:uut_prototype_stubs.writeb
TEST.VALUE:ns16550.<<GLOBAL>>.siodev:<<malloc 1>>
TEST.END
-- Subprogram: ns16550InputChar
-- Test Case: inputchar1
TEST.UNIT:ns16550
TEST.SUBPROGRAM:ns16550InputChar
TEST.NEW
TEST.NAME:inputchar1
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while ((readb(&(siodev->lsr)) & 0x1) == 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.STUB:uut_prototype_stubs.readb
TEST.VALUE:uut_prototype_stubs.readb.return:1
TEST.VALUE:ns16550.<<GLOBAL>>.siodev:<<malloc 1>>
TEST.EXPECTED:ns16550.ns16550InputChar.return:\1
TEST.END
-- Test Case: inputchar2
TEST.UNIT:ns16550
TEST.SUBPROGRAM:ns16550InputChar
TEST.NEW
TEST.NAME:inputchar2
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while ((readb(&(siodev->lsr)) & 0x1) == 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.STUB:uut_prototype_stubs.readb
TEST.VALUE:uut_prototype_stubs.readb.return:0
TEST.EXPECTED:ns16550.ns16550InputChar.return:\0
TEST.END
-- Subprogram: ns16550OutputChar
-- Test Case: outputchar1
TEST.UNIT:ns16550
TEST.SUBPROGRAM:ns16550OutputChar
TEST.NEW
TEST.NAME:outputchar1
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while ((readb(&(siodev->lsr)) & 0x20) == 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.STUB:uut_prototype_stubs.readb
TEST.STUB:uut_prototype_stubs.writeb
TEST.VALUE:uut_prototype_stubs.readb.return:32
TEST.STUB_EXP_USER_CODE:uut_prototype_stubs.writeb.val
{{ <<uut_prototype_stubs.writeb.val>> == ( 'A' ) }}
TEST.END_STUB_EXP_USER_CODE:
TEST.VALUE_USER_CODE:ns16550.ns16550OutputChar.c
<<ns16550.ns16550OutputChar.c>> = ( 'A' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: outputchar2
TEST.UNIT:ns16550
TEST.SUBPROGRAM:ns16550OutputChar
TEST.NEW
TEST.NAME:outputchar2
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while ((readb(&(siodev->lsr)) & 0x20) == 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.STUB:uut_prototype_stubs.readb
TEST.STUB:uut_prototype_stubs.writeb
TEST.VALUE:uut_prototype_stubs.readb.return:0
TEST.STUB_EXP_USER_CODE:uut_prototype_stubs.writeb.val
{{ <<uut_prototype_stubs.writeb.val>> == ( 'B' ) }}
TEST.END_STUB_EXP_USER_CODE:
TEST.VALUE_USER_CODE:ns16550.ns16550OutputChar.c
<<ns16550.ns16550OutputChar.c>> = ( 'B' );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: ns16550SioInit
-- Test Case: IOinit
TEST.UNIT:ns16550
TEST.SUBPROGRAM:ns16550SioInit
TEST.NEW
TEST.NAME:IOinit
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.STUB:ns16550.ns16550DevInit
TEST.END
-- Unit: qsort
-- Subprogram: med3
-- Test Case: med31
TEST.UNIT:qsort
TEST.SUBPROGRAM:med3
TEST.NEW
TEST.NAME:med31
TEST.BASIS_PATH:1 of 6
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (cmp(a, b) < 0) ==> FALSE
(4) if (cmp(b, c) > 0) ==> FALSE
(5) if (cmp(a, c) < 0) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
TEST.END_NOTES:
TEST.VALUE:qsort.med3.a:<<malloc 2>>
TEST.VALUE:qsort.med3.a:"a"
TEST.VALUE:qsort.med3.b:<<malloc 2>>
TEST.VALUE:qsort.med3.b:"b"
TEST.VALUE:qsort.med3.c:<<malloc 2>>
TEST.VALUE:qsort.med3.c:"c"
TEST.EXPECTED:qsort.med3.return:"b"
TEST.VALUE_USER_CODE:qsort.med3.cmp
<<qsort.med3.cmp>> = (strcmp);
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: med32
TEST.UNIT:qsort
TEST.SUBPROGRAM:med3
TEST.NEW
TEST.NAME:med32
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (cmp(a, b) < 0) ==> FALSE
(4) if (cmp(b, c) > 0) ==> FALSE
(5) if (cmp(a, c) < 0) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
TEST.END_NOTES:
TEST.VALUE:qsort.med3.a:<<malloc 2>>
TEST.VALUE:qsort.med3.a:"b"
TEST.VALUE:qsort.med3.b:<<malloc 2>>
TEST.VALUE:qsort.med3.b:"a"
TEST.VALUE:qsort.med3.c:<<malloc 2>>
TEST.VALUE:qsort.med3.c:"c"
TEST.EXPECTED:qsort.med3.return:"b"
TEST.VALUE_USER_CODE:qsort.med3.cmp
<<qsort.med3.cmp>> = (strcmp);
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: med33
TEST.UNIT:qsort
TEST.SUBPROGRAM:med3
TEST.NEW
TEST.NAME:med33
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (cmp(a, b) < 0) ==> FALSE
(4) if (cmp(b, c) > 0) ==> FALSE
(5) if (cmp(a, c) < 0) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
TEST.END_NOTES:
TEST.VALUE:qsort.med3.a:<<malloc 2>>
TEST.VALUE:qsort.med3.a:"a"
TEST.VALUE:qsort.med3.b:<<malloc 2>>
TEST.VALUE:qsort.med3.b:"c"
TEST.VALUE:qsort.med3.c:<<malloc 2>>
TEST.VALUE:qsort.med3.c:"b"
TEST.EXPECTED:qsort.med3.return:"b"
TEST.VALUE_USER_CODE:qsort.med3.cmp
<<qsort.med3.cmp>> = (strcmp);
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: med34
TEST.UNIT:qsort
TEST.SUBPROGRAM:med3
TEST.NEW
TEST.NAME:med34
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (cmp(a, b) < 0) ==> FALSE
(4) if (cmp(b, c) > 0) ==> FALSE
(5) if (cmp(a, c) < 0) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
TEST.END_NOTES:
TEST.VALUE:qsort.med3.a:<<malloc 2>>
TEST.VALUE:qsort.med3.a:"c"
TEST.VALUE:qsort.med3.b:<<malloc 2>>
TEST.VALUE:qsort.med3.b:"a"
TEST.VALUE:qsort.med3.c:<<malloc 2>>
TEST.VALUE:qsort.med3.c:"b"
TEST.EXPECTED:qsort.med3.return:"b"
TEST.VALUE_USER_CODE:qsort.med3.cmp
<<qsort.med3.cmp>> = (strcmp);
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: med35
TEST.UNIT:qsort
TEST.SUBPROGRAM:med3
TEST.NEW
TEST.NAME:med35
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (cmp(a, b) < 0) ==> FALSE
(4) if (cmp(b, c) > 0) ==> FALSE
(5) if (cmp(a, c) < 0) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
TEST.END_NOTES:
TEST.VALUE:qsort.med3.a:<<malloc 2>>
TEST.VALUE:qsort.med3.a:"c"
TEST.VALUE:qsort.med3.b:<<malloc 2>>
TEST.VALUE:qsort.med3.b:"b"
TEST.VALUE:qsort.med3.c:<<malloc 2>>
TEST.VALUE:qsort.med3.c:"a"
TEST.EXPECTED:qsort.med3.return:"b"
TEST.VALUE_USER_CODE:qsort.med3.cmp
<<qsort.med3.cmp>> = (strcmp);
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: med36
TEST.UNIT:qsort
TEST.SUBPROGRAM:med3
TEST.NEW
TEST.NAME:med36
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (cmp(a, b) < 0) ==> FALSE
(4) if (cmp(b, c) > 0) ==> FALSE
(5) if (cmp(a, c) < 0) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
TEST.END_NOTES:
TEST.VALUE:qsort.med3.a:<<malloc 2>>
TEST.VALUE:qsort.med3.a:"b"
TEST.VALUE:qsort.med3.b:<<malloc 2>>
TEST.VALUE:qsort.med3.b:"c"
TEST.VALUE:qsort.med3.c:<<malloc 2>>
TEST.VALUE:qsort.med3.c:"a"
TEST.EXPECTED:qsort.med3.return:"b"
TEST.VALUE_USER_CODE:qsort.med3.cmp
<<qsort.med3.cmp>> = (strcmp);
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: qsort
-- Test Case: qsort1
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort1
TEST.BASIS_PATH:1 of 29
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:41
TEST.VALUE:qsort.qsort.es:4
TEST.EXPECTED:qsort.qsort.n:41
TEST.EXPECTED:qsort.qsort.es:4
TEST.VALUE_USER_CODE:qsort.qsort.a
<<qsort.qsort.a>> = ( "zzzzzxxxxxcccccaaaaasssssdddddeeeeeqqqqqwwwwwaaaaabbbbb" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort10
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort10
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:43
TEST.VALUE:qsort.qsort.es:1
TEST.EXPECTED:qsort.qsort.n:43
TEST.EXPECTED:qsort.qsort.es:1
TEST.VALUE_USER_CODE:qsort.qsort.a
long a[100]={"z","s","z","s","z","s","a","a","a","f","f","f","a","f","b","s","s","s","s","s","z","s","z","s","z","s","a","a","a","f","f","f", "a","f","b","s","s","s","s","s","z","s","z","s"};
char *p=a;
<<qsort.qsort.a>> = ( p );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort11.001
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort11.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:41
TEST.VALUE:qsort.qsort.es:4
TEST.EXPECTED:qsort.qsort.n:41
TEST.EXPECTED:qsort.qsort.es:4
TEST.VALUE_USER_CODE:qsort.qsort.a
long a[100]={"z","s","z","s","z","s","a","a","a","f","f","f","a","f","b","s","s","s","s","s","z","s","z","s","z","s","a","a","a","f","f","f", "a","f","b","s","s","s","s","s","z","s","z","s","z","s","a","a","a","f","f","f", "a","f","b","s","s","s","s","s"};
char *p=a;
<<qsort.qsort.a>> = ( p );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort2
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort2
TEST.VALUE:qsort.qsort.n:6
TEST.VALUE:qsort.qsort.es:1
TEST.VALUE_USER_CODE:qsort.qsort.a
<<qsort.qsort.a>> = ( "abced" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort3
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort3
TEST.BASIS_PATH:2 of 29
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> TRUE
(5) for (pl > (char *)a && cmp(pl - es, pl) > 0) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:3
TEST.VALUE:qsort.qsort.es:1
TEST.VALUE_USER_CODE:qsort.qsort.a
<<qsort.qsort.a>> = ( "aecbzyxvub" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort4
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort4
TEST.BASIS_PATH:4 of 29
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> TRUE
(5) for (pl > (char *)a && cmp(pl - es, pl) > 0) ==> TRUE
(6) if (swaptype == 0) ==> TRUE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
Conflict: Unable to validate expression-to-expression comparison in branch 5
Cannot set swaptype due to assignment
Cannot set local variable pl in branch 7
Cannot set local variable pl in branch 7
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.a:<<null>>
TEST.VALUE:qsort.qsort.n:<<MIN>>
TEST.VALUE:qsort.qsort.es:<<MIN>>
TEST.END
-- Test Case: qsort5
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort5
TEST.BASIS_PATH:28 of 29
TEST.NOTES:
This is an automatically generated test case.
Test Path 28
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> TRUE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.a:VECTORCAST_INT1
TEST.VALUE:qsort.qsort.n:<<MIN>>
TEST.VALUE:qsort.qsort.es:4
TEST.END
-- Test Case: qsort6
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort6
TEST.VALUE:qsort.qsort.n:3
TEST.VALUE:qsort.qsort.es:4
TEST.VALUE_USER_CODE:qsort.qsort.a
long a[3]={"a","b","c"};
char *p=a+1;
<<qsort.qsort.a>> = ( p);
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort7
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort7
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:44
TEST.VALUE:qsort.qsort.es:1
TEST.EXPECTED:qsort.qsort.n:44
TEST.EXPECTED:qsort.qsort.es:1
TEST.VALUE_USER_CODE:qsort.qsort.a
long a[100]={"z","s","z","s","z","s","a","a","a","f","f","f","a","f","b","s","s","s","s","s","z","s","z","s","z","s","a","a","a","f","f","f", "a","f","b","s","s","s","s","s","z","s","z","s","z","s","a","a","a","f","f","f", "a","f","b","s","s","s","s","s"};
char *p=a;
<<qsort.qsort.a>> = ( p );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort8
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort8
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:41
TEST.VALUE:qsort.qsort.es:1
TEST.EXPECTED:qsort.qsort.n:41
TEST.EXPECTED:qsort.qsort.es:1
TEST.VALUE_USER_CODE:qsort.qsort.a
<<qsort.qsort.a>> = ( "ABCDEFGHIGKLMNOPQRSTUVWXYZabcdefghigklmnopqrstuvwxyz" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: qsort9
TEST.UNIT:qsort
TEST.SUBPROGRAM:qsort
TEST.NEW
TEST.NAME:qsort9
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (((char *)a - (char *)0) % sizeof(long) || es % sizeof(long)) ==> FALSE
(2) if (es == sizeof(long)) ==> FALSE
(3) if (n < (7)) ==> TRUE
(4) for (pm < (char *)a + n * es) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (((char *)a - (char *)0) % sizeof(long)) in branch 1
Conflict: A condition in this branch uses an operand that cannot be set (es % sizeof(long)) in branch 1
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:qsort.qsort.n:20
TEST.VALUE:qsort.qsort.es:1
TEST.EXPECTED:qsort.qsort.n:20
TEST.EXPECTED:qsort.qsort.es:1
TEST.VALUE_USER_CODE:qsort.qsort.a
<<qsort.qsort.a>> = ( "abcdefghijklmn" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:qsort.qsort.cmp
<<qsort.qsort.cmp>> = ( strcmp );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Subprogram: swapfunc
-- Test Case: swapfunc1
TEST.UNIT:qsort
TEST.SUBPROGRAM:swapfunc
TEST.NEW
TEST.NAME:swapfunc1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (swaptype <= 1) ==> FALSE
(3) while (--i > (0)) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 3
TEST.END_NOTES:
TEST.VALUE:qsort.swapfunc.a:<<malloc 4>>
TEST.VALUE:qsort.swapfunc.a:"aaa"
TEST.VALUE:qsort.swapfunc.b:<<malloc 4>>
TEST.VALUE:qsort.swapfunc.b:"bbb"
TEST.VALUE:qsort.swapfunc.n:3
TEST.VALUE:qsort.swapfunc.swaptype:<<MAX>>
TEST.EXPECTED:qsort.swapfunc.a:"bbb"
TEST.EXPECTED:qsort.swapfunc.b:"aaa"
TEST.END
-- Test Case: swapfunc1.001
TEST.UNIT:qsort
TEST.SUBPROGRAM:swapfunc
TEST.NEW
TEST.NAME:swapfunc1.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (swaptype <= 1) ==> FALSE
(3) while (--i > (0)) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 3
TEST.END_NOTES:
TEST.VALUE:qsort.swapfunc.a:<<malloc 4>>
TEST.VALUE:qsort.swapfunc.a:"aaa"
TEST.VALUE:qsort.swapfunc.b:<<malloc 4>>
TEST.VALUE:qsort.swapfunc.b:"bbb"
TEST.VALUE:qsort.swapfunc.n:0
TEST.VALUE:qsort.swapfunc.swaptype:<<MAX>>
TEST.EXPECTED:qsort.swapfunc.a:"bbb"
TEST.EXPECTED:qsort.swapfunc.b:"aaa"
TEST.END
-- Test Case: swapfunc11
TEST.UNIT:qsort
TEST.SUBPROGRAM:swapfunc
TEST.NEW
TEST.NAME:swapfunc11
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (swaptype <= 1) ==> FALSE
(3) while (--i > (0)) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 3
TEST.END_NOTES:
TEST.VALUE:qsort.swapfunc.a:<<malloc 4>>
TEST.VALUE:qsort.swapfunc.a:"aaa"
TEST.VALUE:qsort.swapfunc.b:<<malloc 4>>
TEST.VALUE:qsort.swapfunc.b:"bbb"
TEST.VALUE:qsort.swapfunc.n:1
TEST.VALUE:qsort.swapfunc.swaptype:<<MAX>>
TEST.EXPECTED:qsort.swapfunc.a:"baa"
TEST.EXPECTED:qsort.swapfunc.b:"abb"
TEST.END
-- Test Case: swapfunc2
TEST.UNIT:qsort
TEST.SUBPROGRAM:swapfunc
TEST.NEW
TEST.NAME:swapfunc2
TEST.BASIS_PATH:4 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (swaptype <= 1) ==> TRUE
(2) while (--i > (0)) ==> TRUE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 2
TEST.END_NOTES:
TEST.VALUE:qsort.swapfunc.a:<<malloc 5>>
TEST.VALUE:qsort.swapfunc.a:"aaaa"
TEST.VALUE:qsort.swapfunc.b:<<malloc 5>>
TEST.VALUE:qsort.swapfunc.b:"bbbb"
TEST.VALUE:qsort.swapfunc.n:12
TEST.VALUE:qsort.swapfunc.swaptype:1
TEST.EXPECTED:qsort.swapfunc.a:"bbbb"
TEST.EXPECTED:qsort.swapfunc.b:"aaaa"
TEST.END
-- Test Case: swapfunc2.001
TEST.UNIT:qsort
TEST.SUBPROGRAM:swapfunc
TEST.NEW
TEST.NAME:swapfunc2.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (swaptype <= 1) ==> TRUE
(2) while (--i > (0)) ==> TRUE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 2
TEST.END_NOTES:
TEST.VALUE:qsort.swapfunc.a:<<malloc 5>>
TEST.VALUE:qsort.swapfunc.a:"aaaa"
TEST.VALUE:qsort.swapfunc.b:<<malloc 5>>
TEST.VALUE:qsort.swapfunc.b:"bbbb"
TEST.VALUE:qsort.swapfunc.n:1
TEST.VALUE:qsort.swapfunc.swaptype:<<MAX>>
TEST.EXPECTED:qsort.swapfunc.a:"baaa"
TEST.EXPECTED:qsort.swapfunc.b:"abbb"
TEST.END
-- Unit: rand
-- Subprogram: rand
-- Test Case: rand
TEST.UNIT:rand
TEST.SUBPROGRAM:rand
TEST.NEW
TEST.NAME:rand
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.END
-- Unit: random
-- Subprogram: __random
-- Test Case: random
TEST.UNIT:random
TEST.SUBPROGRAM:__random
TEST.NEW
TEST.NAME:random
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.END
-- Unit: random_r
-- Subprogram: __random_r
-- Test Case: __random_r.001
TEST.UNIT:random_r
TEST.SUBPROGRAM:__random_r
TEST.NEW
TEST.NAME:__random_r.001
TEST.VALUE:random_r.__random_r.result:<<malloc 1>>
TEST.EXPECTED:random_r.__random_r.return:0
TEST.VALUE_USER_CODE:random_r.__random_r.buf
int a[1000];
struct random_data *buf1,buf11;
buf1=&buf11;
buf1->fptr=&a[50];
buf1->end_ptr=&a[10];
buf1->rptr=&a[70];
buf1->rand_type=1;
<<random_r.__random_r.buf>> = ( buf1 );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: __random_r.002
TEST.UNIT:random_r
TEST.SUBPROGRAM:__random_r
TEST.NEW
TEST.NAME:__random_r.002
TEST.VALUE:random_r.__random_r.result:<<malloc 1>>
TEST.EXPECTED:random_r.__random_r.return:0
TEST.VALUE_USER_CODE:random_r.__random_r.buf
int a2[1000];
struct random_data *buf2,buf3;
buf2=&buf3;
buf2->fptr=&a2[10];
buf2->end_ptr=&a2[50];
buf2->rptr=&a2[100];
buf2->rand_type=1;
<<random_r.__random_r.buf>> = ( buf2 );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: random_r1
TEST.UNIT:random_r
TEST.SUBPROGRAM:__random_r
TEST.NEW
TEST.NAME:random_r1
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (buf == (0) || result == (0)) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:random_r.__random_r.buf:<<null>>
TEST.VALUE:random_r.__random_r.result:<<null>>
TEST.EXPECTED:random_r.__random_r.return:-1
TEST.END
-- Test Case: random_r2
TEST.UNIT:random_r
TEST.SUBPROGRAM:__random_r
TEST.NEW
TEST.NAME:random_r2
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (buf == (0) || result == (0)) ==> FALSE
(2) if (buf->rand_type == 0) ==> FALSE
(3) if (fptr >= end_ptr) ==> FALSE
(4) if (rptr >= end_ptr) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:random_r.__random_r.buf:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].fptr:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].rptr:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].state:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].state[0]:0
TEST.VALUE:random_r.__random_r.buf[0].rand_type:0
TEST.VALUE:random_r.__random_r.buf[0].end_ptr:<<malloc 1>>
TEST.VALUE:random_r.__random_r.result:<<malloc 1>>
TEST.EXPECTED:random_r.__random_r.buf[0].state[0]:12345
TEST.EXPECTED:random_r.__random_r.return:0
TEST.END
-- Test Case: random_r2.001
TEST.UNIT:random_r
TEST.SUBPROGRAM:__random_r
TEST.NEW
TEST.NAME:random_r2.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (buf == (0) || result == (0)) ==> FALSE
(2) if (buf->rand_type == 0) ==> FALSE
(3) if (fptr >= end_ptr) ==> FALSE
(4) if (rptr >= end_ptr) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:random_r.__random_r.buf:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].fptr:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].fptr[0]:13
TEST.VALUE:random_r.__random_r.buf[0].rptr:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].rptr[0]:13
TEST.VALUE:random_r.__random_r.buf[0].state:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].state[0]:0
TEST.VALUE:random_r.__random_r.buf[0].rand_type:1
TEST.VALUE:random_r.__random_r.buf[0].end_ptr:<<malloc 1>>
TEST.VALUE:random_r.__random_r.buf[0].end_ptr[0]:0
TEST.VALUE:random_r.__random_r.result:<<malloc 1>>
TEST.EXPECTED:random_r.__random_r.buf[0].state[0]:0
TEST.EXPECTED:random_r.__random_r.buf[0].rand_type:1
TEST.EXPECTED:random_r.__random_r.buf[0].end_ptr[0]:0
TEST.EXPECTED:random_r.__random_r.result[0]:0xD
TEST.EXPECTED:random_r.__random_r.return:0
TEST.END
-- Unit: strcat
-- Subprogram: strcat
-- Test Case: strcat1
TEST.UNIT:strcat
TEST.SUBPROGRAM:strcat
TEST.NEW
TEST.NAME:strcat1
TEST.BASIS_PATH:1 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (*(destination++) != 0) ==> FALSE
(2) while ((*(destination++) = *(append++)) != 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strcat.strcat.destination:<<malloc 4>>
TEST.VALUE:strcat.strcat.destination:"abc"
TEST.VALUE:strcat.strcat.append:<<malloc 1>>
TEST.VALUE:strcat.strcat.append[0]:0x0
TEST.EXPECTED:strcat.strcat.return:"abc"
TEST.ATTRIBUTES:strcat.strcat.destination[0]:INPUT_BASE=16
TEST.END
-- Test Case: strcat2
TEST.UNIT:strcat
TEST.SUBPROGRAM:strcat
TEST.NEW
TEST.NAME:strcat2
TEST.BASIS_PATH:2 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (*(destination++) != 0) ==> FALSE
(2) while ((*(destination++) = *(append++)) != 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strcat.strcat.destination:<<malloc 1>>
TEST.VALUE:strcat.strcat.destination[0]:0x0
TEST.VALUE:strcat.strcat.append:<<malloc 4>>
TEST.VALUE:strcat.strcat.append:"abc"
TEST.EXPECTED:strcat.strcat.return:"abc"
TEST.END
-- Test Case: strcat3
TEST.UNIT:strcat
TEST.SUBPROGRAM:strcat
TEST.NEW
TEST.NAME:strcat3
TEST.BASIS_PATH:3 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (*(destination++) != 0) ==> TRUE
(2) while ((*(destination++) = *(append++)) != 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strcat.strcat.destination:<<malloc 4>>
TEST.VALUE:strcat.strcat.destination:"abc"
TEST.VALUE:strcat.strcat.append:<<malloc 4>>
TEST.VALUE:strcat.strcat.append:"def"
TEST.EXPECTED:strcat.strcat.return:"abcdef"
TEST.END
-- Unit: strchr
-- Subprogram: strchr
-- Test Case: STRCHR1
TEST.UNIT:strchr
TEST.SUBPROGRAM:strchr
TEST.NEW
TEST.NAME:STRCHR1
TEST.BASIS_PATH:1 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (*r != (char)c) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strchr.strchr.s:<<malloc 1>>
TEST.VALUE:strchr.strchr.s[0]:0x0
TEST.VALUE:strchr.strchr.c:0
TEST.EXPECTED:strchr.strchr.return:"\0"
TEST.END
-- Test Case: strchr2
TEST.UNIT:strchr
TEST.SUBPROGRAM:strchr
TEST.NEW
TEST.NAME:strchr2
TEST.BASIS_PATH:2 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (*r != (char)c) ==> TRUE
(2) if (*(r++) == 0) ==> TRUE
Test Case Generation Notes:
Conflict: Cannot resolve multiple comparisons ( strchr.strchr.s[0] ) in branches 1/2
TEST.END_NOTES:
TEST.VALUE:strchr.strchr.s:<<malloc 1>>
TEST.VALUE:strchr.strchr.s[0]:<<MIN>>
TEST.VALUE:strchr.strchr.c:-127
TEST.EXPECTED:strchr.strchr.return:<<null>>
TEST.END
-- Test Case: strchr3
TEST.UNIT:strchr
TEST.SUBPROGRAM:strchr
TEST.NEW
TEST.NAME:strchr3
TEST.BASIS_PATH:3 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (*r != (char)c) ==> TRUE
(2) if (*(r++) == 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strchr.strchr.s:<<malloc 4>>
TEST.VALUE:strchr.strchr.s:"abc"
TEST.EXPECTED:strchr.strchr.return:<<null>>
TEST.VALUE_USER_CODE:strchr.strchr.c
<<strchr.strchr.c>> = ( "b" );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: strcmp
-- Subprogram: strcmp
-- Test Case: strcmp1
TEST.UNIT:strcmp
TEST.SUBPROGRAM:strcmp
TEST.NEW
TEST.NAME:strcmp1
TEST.BASIS_PATH:1 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (*(s1++) == *(s2++)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strcmp.strcmp.s1:<<malloc 2>>
TEST.VALUE:strcmp.strcmp.s1:"a"
TEST.VALUE:strcmp.strcmp.s2:<<malloc 2>>
TEST.VALUE:strcmp.strcmp.s2:"b"
TEST.EXPECTED:strcmp.strcmp.return:-1
TEST.END
-- Test Case: strcmp2
TEST.UNIT:strcmp
TEST.SUBPROGRAM:strcmp
TEST.NEW
TEST.NAME:strcmp2
TEST.BASIS_PATH:2 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (*(s1++) == *(s2++)) ==> TRUE
(2) if (s1[-1] == 0) ==> TRUE
Test Case Generation Notes:
Cannot set const variable TEST.VALUE:strcmp.strcmp.s1: in branch 2
TEST.END_NOTES:
TEST.VALUE:strcmp.strcmp.s1:<<malloc 3>>
TEST.VALUE:strcmp.strcmp.s1:"ab"
TEST.VALUE:strcmp.strcmp.s2:<<malloc 2>>
TEST.VALUE:strcmp.strcmp.s2:"a"
TEST.EXPECTED:strcmp.strcmp.return:98
TEST.ATTRIBUTES:strcmp.strcmp.s1[1]:INPUT_BASE=16
TEST.END
-- Test Case: strcmp3
TEST.UNIT:strcmp
TEST.SUBPROGRAM:strcmp
TEST.NEW
TEST.NAME:strcmp3
TEST.BASIS_PATH:3 of 3
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (*(s1++) == *(s2++)) ==> TRUE
(2) if (s1[-1] == 0) ==> FALSE
Test Case Generation Notes:
Cannot set const variable TEST.VALUE:strcmp.strcmp.s1: in branch 2
TEST.END_NOTES:
TEST.VALUE:strcmp.strcmp.s1:<<malloc 2>>
TEST.VALUE:strcmp.strcmp.s1:"a"
TEST.VALUE:strcmp.strcmp.s2:<<malloc 4>>
TEST.VALUE:strcmp.strcmp.s2:"a\0"
TEST.EXPECTED:strcmp.strcmp.return:0
TEST.END
-- Unit: strcpy
-- Subprogram: strcpy
-- Test Case: strcpy.001
TEST.UNIT:strcpy
TEST.SUBPROGRAM:strcpy
TEST.NEW
TEST.NAME:strcpy.001
TEST.VALUE:strcpy.strcpy.s1:<<malloc 2>>
TEST.VALUE:strcpy.strcpy.s1:"a"
TEST.VALUE:strcpy.strcpy.s2:<<malloc 7>>
TEST.VALUE:strcpy.strcpy.s2:"bbbbbb"
TEST.EXPECTED:strcpy.strcpy.return:"bbbbbb"
TEST.END
-- Test Case: strcpy2
TEST.UNIT:strcpy
TEST.SUBPROGRAM:strcpy
TEST.NEW
TEST.NAME:strcpy2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while ((*(s1++) = *(s2++)) != 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strcpy.strcpy.s1:<<malloc 4>>
TEST.VALUE:strcpy.strcpy.s1:"aaa"
TEST.VALUE:strcpy.strcpy.s2:<<malloc 4>>
TEST.VALUE:strcpy.strcpy.s2:"bbb"
TEST.EXPECTED:strcpy.strcpy.return:"bbb"
TEST.END
-- Unit: strlcat
-- Subprogram: strlcat
-- Test Case: strlcat1
TEST.UNIT:strlcat
TEST.SUBPROGRAM:strlcat
TEST.NEW
TEST.NAME:strlcat1
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (n-- != (0) && *d != 0) ==> FALSE
(2) if (n == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set n due to assignment
TEST.END_NOTES:
TEST.VALUE:strlcat.strlcat.dst:<<malloc 1>>
TEST.VALUE:strlcat.strlcat.dst[0]:0x0
TEST.VALUE:strlcat.strlcat.src:<<malloc 1>>
TEST.VALUE:strlcat.strlcat.siz:0
TEST.EXPECTED:strlcat.strlcat.return:0
TEST.END
-- Test Case: strlcat2
TEST.UNIT:strlcat
TEST.SUBPROGRAM:strlcat
TEST.NEW
TEST.NAME:strlcat2
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (n-- != (0) && *d != 0) ==> FALSE
(2) if (n == (0)) ==> FALSE
(3) while (*s != 0) ==> FALSE
Test Case Generation Notes:
Cannot set n due to assignment
Cannot set variable *s in branch 3 since it requires user code.
Cannot set variable s in branch 3 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strlcat.strlcat.dst:<<malloc 6>>
TEST.VALUE:strlcat.strlcat.dst:"hello"
TEST.VALUE:strlcat.strlcat.src:<<malloc 6>>
TEST.VALUE:strlcat.strlcat.src:"world"
TEST.VALUE:strlcat.strlcat.siz:5
TEST.EXPECTED:strlcat.strlcat.return:10
TEST.END
-- Test Case: strlcat3
TEST.UNIT:strlcat
TEST.SUBPROGRAM:strlcat
TEST.NEW
TEST.NAME:strlcat3
TEST.BASIS_PATH:3 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (n-- != (0) && *d != 0) ==> FALSE
(2) if (n == (0)) ==> FALSE
(3) while (*s != 0) ==> TRUE
(4) if (n != (1)) ==> FALSE
Test Case Generation Notes:
Cannot set n due to assignment
Cannot set variable *s in branch 3 since it requires user code.
Cannot set variable s in branch 3 since it requires user code.
Cannot set n due to assignment
TEST.END_NOTES:
TEST.VALUE:strlcat.strlcat.dst:<<malloc 3>>
TEST.VALUE:strlcat.strlcat.dst:"\0"
TEST.VALUE:strlcat.strlcat.src:<<malloc 4>>
TEST.VALUE:strlcat.strlcat.src:"aaa"
TEST.VALUE:strlcat.strlcat.siz:3
TEST.EXPECTED:strlcat.strlcat.return:3
TEST.END
-- Test Case: strlcat4
TEST.UNIT:strlcat
TEST.SUBPROGRAM:strlcat
TEST.NEW
TEST.NAME:strlcat4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (n-- != (0) && *d != 0) ==> FALSE
(2) if (n == (0)) ==> FALSE
(3) while (*s != 0) ==> TRUE
(4) if (n != (1)) ==> FALSE
Test Case Generation Notes:
Cannot set n due to assignment
Cannot set variable *s in branch 3 since it requires user code.
Cannot set variable s in branch 3 since it requires user code.
Cannot set n due to assignment
TEST.END_NOTES:
TEST.VALUE:strlcat.strlcat.dst:<<malloc 5>>
TEST.VALUE:strlcat.strlcat.dst:"aaaa"
TEST.VALUE:strlcat.strlcat.src:<<malloc 3>>
TEST.VALUE:strlcat.strlcat.src:"\0"
TEST.VALUE:strlcat.strlcat.siz:3
TEST.EXPECTED:strlcat.strlcat.return:3
TEST.END
-- Unit: strlcpy
-- Subprogram: strlcpy
-- Test Case: strlcpy2
TEST.UNIT:strlcpy
TEST.SUBPROGRAM:strlcpy
TEST.NEW
TEST.NAME:strlcpy2
TEST.BASIS_PATH:3 of 7
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (n != (0) && --n != (0)) ==> FALSE
(4) if (n == (0)) ==> TRUE
(5) if (siz != (0)) ==> FALSE
(6) while (*(s++)) ==> TRUE
Test Case Generation Notes:
Cannot set variable s++ in branch 6 since it requires user code.
Cannot set variable *(s++) in branch 6 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strlcpy.strlcpy.dst:<<malloc 1>>
TEST.VALUE:strlcpy.strlcpy.src:<<malloc 1>>
TEST.VALUE:strlcpy.strlcpy.siz:0
TEST.EXPECTED:strlcpy.strlcpy.return:0
TEST.END
-- Test Case: strlcpy3
TEST.UNIT:strlcpy
TEST.SUBPROGRAM:strlcpy
TEST.NEW
TEST.NAME:strlcpy3
TEST.BASIS_PATH:7 of 7
TEST.NOTES:
This is an automatically generated test case.
Test Path 7
(1) if (n != (0) && --n != (0)) ==> TRUE
(2) if ((*(d++) = *(s++)) == 0) ==> FALSE
(3) while (--n != (0)) ==> TRUE
(4) if (n == (0)) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 1
Cannot set variable *(d++) = *(s++) in branch 2 since it requires user code.
Cannot set variable s++ in branch 2 since it requires user code.
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 3
TEST.END_NOTES:
TEST.VALUE:strlcpy.strlcpy.dst:<<malloc 10>>
TEST.VALUE:strlcpy.strlcpy.dst:"abcdefdsf"
TEST.VALUE:strlcpy.strlcpy.src:<<malloc 3>>
TEST.VALUE:strlcpy.strlcpy.src:"w0"
TEST.VALUE:strlcpy.strlcpy.siz:7
TEST.EXPECTED:strlcpy.strlcpy.dst:"w0"
TEST.EXPECTED:strlcpy.strlcpy.return:2
TEST.END
-- Test Case: strlcpy4
TEST.UNIT:strlcpy
TEST.SUBPROGRAM:strlcpy
TEST.NEW
TEST.NAME:strlcpy4
TEST.BASIS_PATH:6 of 7
TEST.NOTES:
This is an automatically generated test case.
Test Path 6
(1) if (n != (0) && --n != (0)) ==> TRUE
(2) if ((*(d++) = *(s++)) == 0) ==> FALSE
(3) while (--n != (0)) ==> FALSE
(4) if (n == (0)) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 1
Cannot set variable *(d++) = *(s++) in branch 2 since it requires user code.
Cannot set variable s++ in branch 2 since it requires user code.
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 3
TEST.END_NOTES:
TEST.VALUE:strlcpy.strlcpy.dst:<<malloc 4>>
TEST.VALUE:strlcpy.strlcpy.dst:"abc"
TEST.VALUE:strlcpy.strlcpy.src:<<malloc 6>>
TEST.VALUE:strlcpy.strlcpy.src:"abcd5"
TEST.VALUE:strlcpy.strlcpy.siz:3
TEST.EXPECTED:strlcpy.strlcpy.dst:"ab"
TEST.EXPECTED:strlcpy.strlcpy.return:5
TEST.END
-- Unit: strlen
-- Subprogram: strlen
-- Test Case: BASIS-PATH-001
TEST.UNIT:strlen
TEST.SUBPROGRAM:strlen
TEST.NEW
TEST.NAME:BASIS-PATH-001
TEST.BASIS_PATH:1 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (*(s++) != 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strlen.strlen.s:<<malloc 1>>
TEST.VALUE:strlen.strlen.s[0]:0x0
TEST.EXPECTED:strlen.strlen.return:0
TEST.END
-- Test Case: BASIS-PATH-002
TEST.UNIT:strlen
TEST.SUBPROGRAM:strlen
TEST.NEW
TEST.NAME:BASIS-PATH-002
TEST.BASIS_PATH:2 of 2
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (*(s++) != 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strlen.strlen.s:<<malloc 4>>
TEST.VALUE:strlen.strlen.s:"aaa"
TEST.EXPECTED:strlen.strlen.return:3
TEST.END
-- Unit: strncat
-- Subprogram: strncat
-- Test Case: strncat1
TEST.UNIT:strncat
TEST.SUBPROGRAM:strncat
TEST.NEW
TEST.NAME:strncat1
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (n != (0)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strncat.strncat.dst:<<malloc 6>>
TEST.VALUE:strncat.strncat.dst:"hello"
TEST.VALUE:strncat.strncat.src:<<malloc 6>>
TEST.VALUE:strncat.strncat.src:"world"
TEST.VALUE:strncat.strncat.n:0
TEST.EXPECTED:strncat.strncat.return:"hello"
TEST.END
-- Test Case: strncat2
TEST.UNIT:strncat
TEST.SUBPROGRAM:strncat
TEST.NEW
TEST.NAME:strncat2
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (n != (0)) ==> TRUE
(2) while (*(d++) != 0) ==> FALSE
(3) while ((*(d++) = *(src++)) != 0 && --n > (0)) ==> FALSE
(4) if (n == (0)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strncat.strncat.dst:<<malloc 6>>
TEST.VALUE:strncat.strncat.dst:"hello"
TEST.VALUE:strncat.strncat.src:<<malloc 6>>
TEST.VALUE:strncat.strncat.src:"world"
TEST.VALUE:strncat.strncat.n:1
TEST.EXPECTED:strncat.strncat.return:"hellow"
TEST.END
-- Test Case: strncat3
TEST.UNIT:strncat
TEST.SUBPROGRAM:strncat
TEST.NEW
TEST.NAME:strncat3
TEST.BASIS_PATH:3 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (n != (0)) ==> TRUE
(2) while (*(d++) != 0) ==> FALSE
(3) while ((*(d++) = *(src++)) != 0 && --n > (0)) ==> FALSE
(4) if (n == (0)) ==> TRUE
Test Case Generation Notes:
Conflict: Trying to set variable strncat.strncat.n 'equal to' and 'not equal to' same value in branches 1/4
Cannot set local variable d in branch 5
TEST.END_NOTES:
TEST.VALUE:strncat.strncat.dst:<<malloc 12>>
TEST.VALUE:strncat.strncat.dst:"hello\0eeee"
TEST.VALUE:strncat.strncat.src:<<malloc 8>>
TEST.VALUE:strncat.strncat.src:"world\0"
TEST.VALUE:strncat.strncat.n:5
TEST.EXPECTED:strncat.strncat.dst:"helloworld"
TEST.EXPECTED:strncat.strncat.return:"helloworld"
TEST.END
-- Test Case: strncat4
TEST.UNIT:strncat
TEST.SUBPROGRAM:strncat
TEST.NEW
TEST.NAME:strncat4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (n != (0)) ==> TRUE
(2) while (*(d++) != 0) ==> FALSE
(3) while ((*(d++) = *(src++)) != 0 && --n > (0)) ==> FALSE
(4) if (n == (0)) ==> TRUE
Test Case Generation Notes:
Conflict: Trying to set variable strncat.strncat.n 'equal to' and 'not equal to' same value in branches 1/4
Cannot set local variable d in branch 5
TEST.END_NOTES:
TEST.VALUE:strncat.strncat.dst:<<malloc 12>>
TEST.VALUE:strncat.strncat.dst:"hello\0eeee"
TEST.VALUE:strncat.strncat.src:<<malloc 8>>
TEST.VALUE:strncat.strncat.src:"world\0"
TEST.VALUE:strncat.strncat.n:8
TEST.EXPECTED:strncat.strncat.dst:"helloworld"
TEST.EXPECTED:strncat.strncat.return:"helloworld"
TEST.END
-- Unit: strncmp
-- Subprogram: strncmp
-- Test Case: strncmp1
TEST.UNIT:strncmp
TEST.SUBPROGRAM:strncmp
TEST.NEW
TEST.NAME:strncmp1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (n == (0)) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strncmp.strncmp.s1:<<malloc 1>>
TEST.VALUE:strncmp.strncmp.s2:<<malloc 1>>
TEST.VALUE:strncmp.strncmp.n:0
TEST.EXPECTED:strncmp.strncmp.return:0
TEST.END
-- Test Case: strncmp2
TEST.UNIT:strncmp
TEST.SUBPROGRAM:strncmp
TEST.NEW
TEST.NAME:strncmp2
TEST.BASIS_PATH:2 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (n == (0)) ==> FALSE
(2) while (*(s1++) == *(s2++)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strncmp.strncmp.s1:<<malloc 2>>
TEST.VALUE:strncmp.strncmp.s1:"a"
TEST.VALUE:strncmp.strncmp.s2:<<malloc 2>>
TEST.VALUE:strncmp.strncmp.s2:"b"
TEST.VALUE:strncmp.strncmp.n:1
TEST.EXPECTED:strncmp.strncmp.return:-1
TEST.END
-- Test Case: strncmp3
TEST.UNIT:strncmp
TEST.SUBPROGRAM:strncmp
TEST.NEW
TEST.NAME:strncmp3
TEST.BASIS_PATH:3 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (n == (0)) ==> FALSE
(2) while (*(s1++) == *(s2++)) ==> TRUE
(3) if (s1[-1] == 0 || --n == (0)) ==> TRUE
Test Case Generation Notes:
Cannot set const variable TEST.VALUE:strncmp.strncmp.s1: in branch 3
TEST.END_NOTES:
TEST.VALUE:strncmp.strncmp.s1:<<malloc 2>>
TEST.VALUE:strncmp.strncmp.s1[0]:<<MIN>>
TEST.VALUE:strncmp.strncmp.s1[1]:0x0
TEST.VALUE:strncmp.strncmp.s2:<<malloc 1>>
TEST.VALUE:strncmp.strncmp.s2[0]:<<MIN>>
TEST.VALUE:strncmp.strncmp.n:1
TEST.EXPECTED:strncmp.strncmp.return:0
TEST.END
-- Test Case: strncmp4
TEST.UNIT:strncmp
TEST.SUBPROGRAM:strncmp
TEST.NEW
TEST.NAME:strncmp4
TEST.BASIS_PATH:4 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) if (n == (0)) ==> FALSE
(2) while (*(s1++) == *(s2++)) ==> TRUE
(3) if (s1[-1] == 0 || --n == (0)) ==> FALSE
Test Case Generation Notes:
Cannot set const variable TEST.VALUE:strncmp.strncmp.s1: in branch 3
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 3
TEST.END_NOTES:
TEST.VALUE:strncmp.strncmp.s1:<<malloc 2>>
TEST.VALUE:strncmp.strncmp.s1[0]:<<MIN>>
TEST.VALUE:strncmp.strncmp.s1[1]:<<MIN>>
TEST.VALUE:strncmp.strncmp.s2:<<malloc 1>>
TEST.VALUE:strncmp.strncmp.s2[0]:<<MIN>>
TEST.VALUE:strncmp.strncmp.n:1
TEST.EXPECTED:strncmp.strncmp.return:0
TEST.END
-- Unit: strncpy
-- Subprogram: strncpy
-- Test Case: strncpy
TEST.UNIT:strncpy
TEST.SUBPROGRAM:strncpy
TEST.NEW
TEST.NAME:strncpy
TEST.BASIS_PATH:1 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (n != (0)) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strncpy.strncpy.s1:<<malloc 4>>
TEST.VALUE:strncpy.strncpy.s1:"abc"
TEST.VALUE:strncpy.strncpy.s2:<<malloc 5>>
TEST.VALUE:strncpy.strncpy.s2:"ABCD"
TEST.VALUE:strncpy.strncpy.n:0
TEST.EXPECTED:strncpy.strncpy.return:"abc"
TEST.END
-- Test Case: strncpy2
TEST.UNIT:strncpy
TEST.SUBPROGRAM:strncpy
TEST.NEW
TEST.NAME:strncpy2
TEST.BASIS_PATH:2 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (n != (0)) ==> TRUE
(2) while ((*(d++) = *(s2++)) != 0) ==> FALSE
(4) while (--n > (0)) ==> FALSE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:strncpy.strncpy.s1:<<malloc 2>>
TEST.VALUE:strncpy.strncpy.s1:"a"
TEST.VALUE:strncpy.strncpy.s2:<<malloc 2>>
TEST.VALUE:strncpy.strncpy.s2:"A"
TEST.VALUE:strncpy.strncpy.n:1
TEST.EXPECTED:strncpy.strncpy.return:"A"
TEST.END
-- Test Case: strncpy3
TEST.UNIT:strncpy
TEST.SUBPROGRAM:strncpy
TEST.NEW
TEST.NAME:strncpy3
TEST.BASIS_PATH:5 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 5
(1) if (n != (0)) ==> TRUE
(2) while ((*(d++) = *(s2++)) != 0) ==> TRUE
(3) if (--n == (0)) ==> FALSE
(4) while (--n > (0)) ==> FALSE
Test Case Generation Notes:
Conflict: A condition in this branch uses an operand that cannot be set (--n) in branch 3
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:strncpy.strncpy.s1:<<malloc 6>>
TEST.VALUE:strncpy.strncpy.s1:"abcde"
TEST.VALUE:strncpy.strncpy.s2:<<malloc 6>>
TEST.VALUE:strncpy.strncpy.s2:"ABCDE"
TEST.VALUE:strncpy.strncpy.n:3
TEST.EXPECTED:strncpy.strncpy.return:"ABCde"
TEST.END
-- Test Case: strncpy4
TEST.UNIT:strncpy
TEST.SUBPROGRAM:strncpy
TEST.NEW
TEST.NAME:strncpy4
TEST.BASIS_PATH:3 of 5
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (n != (0)) ==> TRUE
(2) while ((*(d++) = *(s2++)) != 0) ==> FALSE
(4) while (--n > (0)) ==> TRUE
Test Case Generation Notes:
Conflict: Unable to validate expression-to-expression comparison in branch 4
TEST.END_NOTES:
TEST.VALUE:strncpy.strncpy.s1:<<malloc 1>>
TEST.VALUE:strncpy.strncpy.s2:<<malloc 1>>
TEST.VALUE:strncpy.strncpy.s2[0]:0x0
TEST.VALUE:strncpy.strncpy.n:1
TEST.EXPECTED:strncpy.strncpy.return:"\0"
TEST.END
-- Unit: strpbrk
-- Subprogram: strpbrk
-- Test Case: strpbrk1
TEST.UNIT:strpbrk
TEST.SUBPROGRAM:strpbrk
TEST.NEW
TEST.NAME:strpbrk1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while ((c = *(s1++)) != 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strpbrk.strpbrk.s1:<<malloc 6>>
TEST.VALUE:strpbrk.strpbrk.s1:"abcde"
TEST.VALUE:strpbrk.strpbrk.s2:<<malloc 2>>
TEST.VALUE:strpbrk.strpbrk.s2:"f"
TEST.VALUE:strpbrk.strpbrk.return:<<malloc 1>>
TEST.EXPECTED:strpbrk.strpbrk.return:<<null>>
TEST.END
-- Test Case: strpbrk2
TEST.UNIT:strpbrk
TEST.SUBPROGRAM:strpbrk
TEST.NEW
TEST.NAME:strpbrk2
TEST.BASIS_PATH:3 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while ((c = *(s1++)) != 0) ==> TRUE
(2) for ((sc = *(scanp++)) != 0) ==> TRUE
(3) if (sc == c) ==> TRUE
Test Case Generation Notes:
Cannot set local variable sc in branch 3
Cannot set local variable c in branch 3
TEST.END_NOTES:
TEST.VALUE:strpbrk.strpbrk.s1:<<malloc 6>>
TEST.VALUE:strpbrk.strpbrk.s1:"abcde"
TEST.VALUE:strpbrk.strpbrk.s2:<<malloc 2>>
TEST.VALUE:strpbrk.strpbrk.s2:"d"
TEST.EXPECTED:strpbrk.strpbrk.return:"de"
TEST.END
-- Test Case: strpbrk3
TEST.UNIT:strpbrk
TEST.SUBPROGRAM:strpbrk
TEST.NEW
TEST.NAME:strpbrk3
TEST.BASIS_PATH:4 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) while ((c = *(s1++)) != 0) ==> TRUE
(2) for ((sc = *(scanp++)) != 0) ==> TRUE
(3) if (sc == c) ==> FALSE
Test Case Generation Notes:
Cannot set local variable sc in branch 3
Cannot set local variable c in branch 3
TEST.END_NOTES:
TEST.VALUE:strpbrk.strpbrk.s1:<<malloc 5>>
TEST.VALUE:strpbrk.strpbrk.s1:"abcd"
TEST.VALUE:strpbrk.strpbrk.s2:<<malloc 5>>
TEST.VALUE:strpbrk.strpbrk.s2:"abcd"
TEST.EXPECTED:strpbrk.strpbrk.return:"abcd"
TEST.END
-- Test Case: strpbrk4
TEST.UNIT:strpbrk
TEST.SUBPROGRAM:strpbrk
TEST.NEW
TEST.NAME:strpbrk4
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) while ((c = *(s1++)) != 0) ==> TRUE
(2) for ((sc = *(scanp++)) != 0) ==> TRUE
(3) if (sc == c) ==> FALSE
Test Case Generation Notes:
Cannot set local variable sc in branch 3
Cannot set local variable c in branch 3
TEST.END_NOTES:
TEST.VALUE:strpbrk.strpbrk.s1:<<malloc 7>>
TEST.VALUE:strpbrk.strpbrk.s1:"bbbbba"
TEST.VALUE:strpbrk.strpbrk.s2:<<malloc 8>>
TEST.VALUE:strpbrk.strpbrk.s2:"efsdfds"
TEST.VALUE:strpbrk.strpbrk.return:<<malloc 1>>
TEST.EXPECTED:strpbrk.strpbrk.return:<<null>>
TEST.END
-- Test Case: strpbrk5
TEST.UNIT:strpbrk
TEST.SUBPROGRAM:strpbrk
TEST.NEW
TEST.NAME:strpbrk5
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) while ((c = *(s1++)) != 0) ==> TRUE
(2) for ((sc = *(scanp++)) != 0) ==> TRUE
(3) if (sc == c) ==> FALSE
Test Case Generation Notes:
Cannot set local variable sc in branch 3
Cannot set local variable c in branch 3
TEST.END_NOTES:
TEST.VALUE:strpbrk.strpbrk.s1:<<malloc 6>>
TEST.VALUE:strpbrk.strpbrk.s1:"abcde"
TEST.VALUE:strpbrk.strpbrk.s2:<<malloc 3>>
TEST.VALUE:strpbrk.strpbrk.s2:"fe"
TEST.EXPECTED:strpbrk.strpbrk.return:"e"
TEST.END
-- Unit: strspn
-- Subprogram: strspn
-- Test Case: strspn1
TEST.UNIT:strspn
TEST.SUBPROGRAM:strspn
TEST.NEW
TEST.NAME:strspn1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) for ((c1 = *(s++)) != 0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strspn.strspn.s:<<malloc 1>>
TEST.VALUE:strspn.strspn.s[0]:0x0
TEST.VALUE:strspn.strspn.sep:<<malloc 1>>
TEST.EXPECTED:strspn.strspn.return:0
TEST.END
-- Test Case: strspn2
TEST.UNIT:strspn
TEST.SUBPROGRAM:strspn
TEST.NEW
TEST.NAME:strspn2
TEST.BASIS_PATH:2 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) for ((c1 = *(s++)) != 0) ==> TRUE
(2) for ((c2 = *(p++)) != c1) ==> FALSE
Test Case Generation Notes:
Cannot set variable c2 = *(p++) in branch 2 since it requires user code.
Cannot set local variable c1 in branch 2
Cannot set variable p++ in branch 2 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strspn.strspn.s:<<malloc 8>>
TEST.VALUE:strspn.strspn.s:"abcdeds"
TEST.VALUE:strspn.strspn.sep:<<malloc 3>>
TEST.VALUE:strspn.strspn.sep:"ab"
TEST.EXPECTED:strspn.strspn.return:2
TEST.END
-- Test Case: strspn3
TEST.UNIT:strspn
TEST.SUBPROGRAM:strspn
TEST.NEW
TEST.NAME:strspn3
TEST.BASIS_PATH:3 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) for ((c1 = *(s++)) != 0) ==> TRUE
(2) for ((c2 = *(p++)) != c1) ==> TRUE
(3) if (c2 == 0) ==> TRUE
Test Case Generation Notes:
Cannot set variable c2 = *(p++) in branch 2 since it requires user code.
Cannot set local variable c1 in branch 2
Cannot set variable p++ in branch 2 since it requires user code.
Cannot set local variable c2 in branch 3
TEST.END_NOTES:
TEST.VALUE:strspn.strspn.s:<<malloc 9>>
TEST.VALUE:strspn.strspn.s:"abceddsf"
TEST.VALUE:strspn.strspn.sep:<<malloc 4>>
TEST.VALUE:strspn.strspn.sep:"ace"
TEST.EXPECTED:strspn.strspn.return:1
TEST.END
-- Unit: strtod
-- Subprogram: is_real
-- Test Case: real1
TEST.UNIT:strtod
TEST.SUBPROGRAM:is_real
TEST.NEW
TEST.NAME:real1
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtod.is_real.x:<<MIN>>
TEST.EXPECTED:strtod.is_real.return:0
TEST.END
-- Test Case: real2
TEST.UNIT:strtod
TEST.SUBPROGRAM:is_real
TEST.NEW
TEST.NAME:real2
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtod.is_real.x:<<MAX>>
TEST.EXPECTED:strtod.is_real.return:0
TEST.END
-- Test Case: real3
TEST.UNIT:strtod
TEST.SUBPROGRAM:is_real
TEST.NEW
TEST.NAME:real3
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtod.is_real.x:0.0
TEST.EXPECTED:strtod.is_real.return:1
TEST.END
-- Test Case: real4
TEST.UNIT:strtod
TEST.SUBPROGRAM:is_real
TEST.NEW
TEST.NAME:real4
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtod.is_real.x:-112.345234
TEST.EXPECTED:strtod.is_real.return:1
TEST.END
-- Test Case: real5
TEST.UNIT:strtod
TEST.SUBPROGRAM:is_real
TEST.NEW
TEST.NAME:real5
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtod.is_real.x:112.345234
TEST.EXPECTED:strtod.is_real.return:1
TEST.END
-- Subprogram: strtod
-- Test Case: strtod
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod
TEST.BASIS_PATH:1 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod10
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod10
TEST.BASIS_PATH:10 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 10
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> TRUE
(11) case (*(++p)) ==> 43
(14) if (exponent < -1021 || exponent > 1024) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set switch condition (*(++p)) in branch 11
Cannot set p due to assignment
Cannot set local variable p in branch 12
Cannot set negative due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 9>>
TEST.VALUE:strtod.strtod.str:"-1234.56"
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:-1234.56
TEST.END
-- Test Case: strtod11
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod11
TEST.BASIS_PATH:11 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 11
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> TRUE
(11) case (*(++p)) ==> 43
(13) if negative ==> TRUE
(14) if (exponent < -1021 || exponent > 1024) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set switch condition (*(++p)) in branch 11
Cannot set p due to assignment
Cannot set local variable p in branch 12
Cannot set negative due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 14>>
TEST.VALUE:strtod.strtod.str:"12345.67afdsf"
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:12345.7
TEST.END
-- Test Case: strtod12
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod12
TEST.BASIS_PATH:12 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 12
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> TRUE
(11) case (*(++p)) ==> 43
(12) while (*p >= 48 && *p <= 57) ==> TRUE
(14) if (exponent < -1021 || exponent > 1024) ==> TRUE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set switch condition (*(++p)) in branch 11
Cannot set local variable p in branch 12
Cannot set negative due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 8/12
Cannot set local variable p in branch 13
Cannot set negative due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 13>>
TEST.VALUE:strtod.strtod.str:"-123.34abced"
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.endptr[0]:"abced"
TEST.EXPECTED:strtod.strtod.return:-123.34
TEST.END
-- Test Case: strtod13
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod13
TEST.BASIS_PATH:13 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 13
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> TRUE
(10) case (*(++p)) ==> 45
(14) if (exponent < -1021 || exponent > 1024) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set switch condition (*(++p)) in branch 10
Cannot set p due to assignment
Cannot set local variable p in branch 12
Cannot set negative due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 11>>
TEST.VALUE:strtod.strtod.str:"-123.34e+4"
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:-1233400.0
TEST.END
-- Test Case: strtod14
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod14
TEST.BASIS_PATH:14 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 14
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> TRUE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:0
TEST.VALUE:strtod.strtod.str:<<malloc 7>>
TEST.VALUE:strtod.strtod.str:"-10e-1"
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:-1.0
TEST.END
-- Test Case: strtod15
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod15
TEST.BASIS_PATH:15 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 15
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> TRUE
(7) if (num_digits == 0) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set p due to assignment
Cannot set local variable p in branch 6
Cannot set num_digits due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 8>>
TEST.VALUE:strtod.strtod.str:"1e+1025"
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:1.7E308
TEST.END
-- Test Case: strtod16
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod16
TEST.BASIS_PATH:16 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> TRUE
(6) while (*p >= 48 && *p <= 57) ==> TRUE
(7) if (num_digits == 0) ==> TRUE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set local variable p in branch 5
Cannot set local variable p in branch 6
Cannot set p due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 5/6
Cannot set local variable p in branch 7
Cannot set num_digits due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 10>>
TEST.VALUE:strtod.strtod.str:"1.5e-1022"
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:1.7E308
TEST.END
-- Test Case: strtod2
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod2
TEST.BASIS_PATH:2 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> TRUE
Test Case Generation Notes:
Cannot set p due to assignment
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod3
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod3
TEST.BASIS_PATH:3 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> FALSE
(16) while n ==> FALSE
(19) if (!is_real(number)) ==> FALSE
(20) if endptr ==> FALSE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:<<MIN>>
TEST.VALUE:strtod.strtod.str:<<malloc 2>>
TEST.VALUE:strtod.strtod.str:" "
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod4
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod4
TEST.BASIS_PATH:4 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> FALSE
(16) while n ==> FALSE
(19) if (!is_real(number)) ==> FALSE
(20) if endptr ==> TRUE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:<<MIN>>
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<malloc 1>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod5
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod5
TEST.BASIS_PATH:5 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 5
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> FALSE
(16) while n ==> FALSE
(19) if (!is_real(number)) ==> TRUE
(20) if endptr ==> FALSE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:0
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.END
-- Test Case: strtod6
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod6
TEST.BASIS_PATH:6 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 6
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> FALSE
(16) while n ==> TRUE
(17) if (n & 1) ==> FALSE
(19) if (!is_real(number)) ==> FALSE
(20) if endptr ==> FALSE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set exponent due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:<<MIN>>
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod7
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod7
TEST.BASIS_PATH:7 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 7
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> FALSE
(16) while n ==> TRUE
(17) if (n & 1) ==> TRUE
(18) if (exponent < 0) ==> FALSE
(19) if (!is_real(number)) ==> FALSE
(20) if endptr ==> FALSE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set exponent due to assignment
Cannot set exponent due to assignment
Cannot set exponent due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:<<MIN>>
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod8
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod8
TEST.BASIS_PATH:8 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 8
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> FALSE
(16) while n ==> TRUE
(17) if (n & 1) ==> TRUE
(18) if (exponent < 0) ==> TRUE
(19) if (!is_real(number)) ==> FALSE
(20) if endptr ==> FALSE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set exponent due to assignment
Cannot set exponent due to assignment
Cannot set exponent due to assignment
Cannot set p10 due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:<<MIN>>
TEST.VALUE:strtod.strtod.str:<<malloc 1>>
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:0.0
TEST.END
-- Test Case: strtod9
TEST.UNIT:strtod
TEST.SUBPROGRAM:strtod
TEST.NEW
TEST.NAME:strtod9
TEST.BASIS_PATH:9 of 19
TEST.NOTES:
This is an automatically generated test case.
Test Path 9
(1) while (((((*p == 32 || *p == 9) || *p == 10) || *p == 13) || *p == 12) || *p == 11) ==> FALSE
(3) case (*p) ==> 43
(4) while (*p >= 48 && *p <= 57) ==> FALSE
(5) if (*p == 46) ==> FALSE
(7) if (num_digits == 0) ==> FALSE
(8) if negative ==> FALSE
(9) if (*p == 101 || *p == 69) ==> FALSE
(14) if (exponent < -1021 || exponent > 1024) ==> FALSE
(15) if (n < 0) ==> TRUE
(16) while n ==> FALSE
(19) if (!is_real(number)) ==> FALSE
(20) if endptr ==> FALSE
Test Case Generation Notes:
Cannot set local variable p in branch 4
Cannot set p due to assignment
Cannot set local variable p in branch 5
Cannot set num_digits due to assignment
Cannot set negative due to assignment
Cannot set p due to assignment
Cannot set local variable p in branch 9
Cannot set exponent due to assignment
Cannot set n due to assignment
TEST.END_NOTES:
TEST.STUB:strtod.is_real
TEST.VALUE:strtod.is_real.return:<<MIN>>
TEST.VALUE:strtod.strtod.str:<<malloc 14>>
TEST.VALUE:strtod.strtod.str:" 12345.6789"
TEST.VALUE:strtod.strtod.endptr:<<null>>
TEST.EXPECTED:strtod.strtod.return:12345.7
TEST.END
-- Unit: strtok
-- Subprogram: strtok
-- Test Case: strtok
TEST.UNIT:strtok
TEST.SUBPROGRAM:strtok
TEST.NEW
TEST.NAME:strtok
TEST.BASIS_PATH:1 of 1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtok.strtok.separator:<<malloc 1>>
TEST.VALUE:strtok.strtok.return:<<malloc 3>>
TEST.VALUE_USER_CODE:strtok.strtok.string
<<strtok.strtok.string>> = ( "a,b,c" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:strtok.strtok.separator.separator.separator[0]
<<strtok.strtok.separator>>[0] = ( "," );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: strtok.001
TEST.UNIT:strtok
TEST.SUBPROGRAM:strtok
TEST.NEW
TEST.NAME:strtok.001
TEST.VALUE:strtok.strtok.string:<<malloc 9>>
TEST.VALUE:strtok.strtok.string:<<null>>
TEST.VALUE:strtok.strtok.separator:<<malloc 2>>
TEST.VALUE:strtok.strtok.separator:"1"
TEST.EXPECTED:strtok.strtok.return:<<null>>
TEST.END
-- Test Case: strtok1
TEST.UNIT:strtok
TEST.SUBPROGRAM:strtok
TEST.NEW
TEST.NAME:strtok1
TEST.NOTES:
No branches in subprogram
TEST.END_NOTES:
TEST.VALUE:strtok.strtok.string:<<malloc 6>>
TEST.VALUE:strtok.strtok.string:"a b c"
TEST.VALUE:strtok.strtok.separator:<<malloc 1>>
TEST.VALUE:strtok.strtok.return:<<malloc 3>>
TEST.VALUE_USER_CODE:strtok.strtok.separator.separator.separator[0]
<<strtok.strtok.separator>>[0] = ( " " );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: strtok_r
-- Subprogram: strtok_r
-- Test Case: strtok_r.001
TEST.UNIT:strtok_r
TEST.SUBPROGRAM:strtok_r
TEST.NEW
TEST.NAME:strtok_r.001
TEST.VALUE:strtok_r.strtok_r.ppLast:<<malloc 6>>
TEST.VALUE_USER_CODE:strtok_r.strtok_r.string
<<strtok_r.strtok_r.string>> = ( "a,b,c" );
TEST.END_VALUE_USER_CODE:
TEST.VALUE_USER_CODE:strtok_r.strtok_r.separators
<<strtok_r.strtok_r.separators>> = ( "," );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: strtok_r1
TEST.UNIT:strtok_r
TEST.SUBPROGRAM:strtok_r
TEST.NEW
TEST.NAME:strtok_r1
TEST.BASIS_PATH:1 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) if (string == (void *)0 && (string = *ppLast) == (void *)0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strtok_r.strtok_r.string:<<malloc 9>>
TEST.VALUE:strtok_r.strtok_r.string:<<null>>
TEST.VALUE:strtok_r.strtok_r.separators:<<malloc 1>>
TEST.VALUE:strtok_r.strtok_r.ppLast:<<malloc 1>>
TEST.VALUE:strtok_r.strtok_r.ppLast[0]:<<null>>
TEST.EXPECTED:strtok_r.strtok_r.return:<<null>>
TEST.END
-- Test Case: strtok_r2
TEST.UNIT:strtok_r
TEST.SUBPROGRAM:strtok_r
TEST.NEW
TEST.NAME:strtok_r2
TEST.BASIS_PATH:2 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 2
(1) if (string == (void *)0 && (string = *ppLast) == (void *)0) ==> FALSE
(2) if (*(string += strspn(string, separators)) == 0) ==> TRUE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.VALUE:strtok_r.strtok_r.string:<<malloc 7>>
TEST.VALUE:strtok_r.strtok_r.string:"a","b","\0"
TEST.VALUE:strtok_r.strtok_r.ppLast:<<malloc 1>>
TEST.VALUE:strtok_r.strtok_r.ppLast[0]:<<malloc 1>>
TEST.EXPECTED:strtok_r.strtok_r.ppLast[0]:<<null>>
TEST.VALUE_USER_CODE:strtok_r.strtok_r.separators
<<strtok_r.strtok_r.separators>> = ( "," );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Test Case: strtok_r3
TEST.UNIT:strtok_r
TEST.SUBPROGRAM:strtok_r
TEST.NEW
TEST.NAME:strtok_r3
TEST.BASIS_PATH:3 of 4
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) if (string == (void *)0 && (string = *ppLast) == (void *)0) ==> FALSE
(2) if (*(string += strspn(string, separators)) == 0) ==> FALSE
(3) if ((*ppLast = strpbrk(string, separators)) != (void *)0) ==> FALSE
Test Case Generation Notes:
TEST.END_NOTES:
TEST.STUB:strpbrk.strpbrk
TEST.VALUE:strpbrk.strpbrk.return:<<malloc 9>>
TEST.VALUE:strpbrk.strpbrk.return:<<null>>
TEST.VALUE:strtok_r.strtok_r.string:<<malloc 6>>
TEST.VALUE:strtok_r.strtok_r.string:"a","b","c"
TEST.VALUE:strtok_r.strtok_r.separators:<<malloc 1>>
TEST.VALUE:strtok_r.strtok_r.ppLast:<<malloc 1>>
TEST.VALUE:strtok_r.strtok_r.ppLast[0]:<<malloc 1>>
TEST.EXPECTED:strtok_r.strtok_r.return:"a","b","c"
TEST.VALUE_USER_CODE:strtok_r.strtok_r.separators
<<strtok_r.strtok_r.separators>> = ( "," );
TEST.END_VALUE_USER_CODE:
TEST.END
-- Unit: strtol
-- Subprogram: strtol
-- Test Case: strtol-0.002
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-0.002
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> TRUE
(20) if any ==> TRUE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 9>>
TEST.VALUE:strtol.strtol.nptr:"0x31da6c"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:0
TEST.EXPECTED:strtol.strtol.endptr:<<null>>
TEST.EXPECTED:strtol.strtol.base:0
TEST.EXPECTED:strtol.strtol.return:3267180
TEST.END
-- Test Case: strtol-10
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-10
TEST.BASIS_PATH:3 of 21
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> TRUE
(20) if any ==> TRUE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 13>>
TEST.VALUE:strtol.strtol.nptr:"10379 cend$3"
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.endptr[0]:" cend$3"
TEST.EXPECTED:strtol.strtol.return:10379
TEST.END
-- Test Case: strtol-10.001
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-10.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> TRUE
(20) if any ==> TRUE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 16>>
TEST.VALUE:strtol.strtol.nptr:"10379e+3 cend$3"
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.endptr[0]:"e+3 cend$3"
TEST.EXPECTED:strtol.strtol.return:10379
TEST.END
-- Test Case: strtol-10.003
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-10.003
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> TRUE
(20) if any ==> TRUE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 12>>
TEST.VALUE:strtol.strtol.nptr:"10379cend$3"
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:16
TEST.EXPECTED:strtol.strtol.endptr[0]:"nd$3"
TEST.EXPECTED:strtol.strtol.base:16
TEST.EXPECTED:strtol.strtol.return:17005006
TEST.END
-- Test Case: strtol-16
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-16
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> TRUE
(20) if any ==> TRUE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 11>>
TEST.VALUE:strtol.strtol.nptr:"-1.24e+100"
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.endptr[0]:".24e+100"
TEST.EXPECTED:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.return:-1
TEST.END
-- Test Case: strtol-16.001
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-16.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 3
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> TRUE
(20) if any ==> TRUE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 9>>
TEST.VALUE:strtol.strtol.nptr:"0x31DA6c"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:16
TEST.EXPECTED:strtol.strtol.endptr:<<null>>
TEST.EXPECTED:strtol.strtol.base:16
TEST.EXPECTED:strtol.strtol.return:3267180
TEST.END
-- Test Case: strtol-163
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-163
TEST.BASIS_PATH:4 of 21
TEST.NOTES:
This is an automatically generated test case.
Test Path 4
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> TRUE
(11) if (c >= 48 && c <= 57) ==> FALSE
(12) if (c >= 97 && c <= 122 || c >= 65 && c <= 90) ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 9>>
TEST.VALUE:strtol.strtol.nptr:"0x31da6c"
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:13
TEST.EXPECTED:strtol.strtol.endptr[0]:"x31da6c"
TEST.EXPECTED:strtol.strtol.return:0
TEST.END
-- Test Case: strtol-2
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-2
TEST.BASIS_PATH:1 of 21
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 6>>
TEST.VALUE:strtol.strtol.nptr:"10379"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:2
TEST.EXPECTED:strtol.strtol.endptr:<<null>>
TEST.EXPECTED:strtol.strtol.return:2
TEST.END
-- Test Case: strtol-2.001
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-2.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 10>>
TEST.VALUE:strtol.strtol.nptr:"+10379e\0"
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:2
TEST.EXPECTED:strtol.strtol.endptr[0]:"379e"
TEST.EXPECTED:strtol.strtol.return:2
TEST.END
-- Test Case: strtol-2.002
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-2.002
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 8>>
TEST.VALUE:strtol.strtol.nptr:"ee10379"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:2
TEST.EXPECTED:strtol.strtol.endptr:<<null>>
TEST.EXPECTED:strtol.strtol.return:0
TEST.END
-- Test Case: strtol-8.003
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-8.003
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 13>>
TEST.VALUE:strtol.strtol.nptr:"-10379cend$3"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:8
TEST.EXPECTED:strtol.strtol.endptr:<<null>>
TEST.EXPECTED:strtol.strtol.return:-543
TEST.END
-- Test Case: strtol-8.004
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-8.004
TEST.NOTES:
This is an automatically generated test case.
Test Path 1
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set neg due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 5>>
TEST.VALUE:strtol.strtol.nptr:"0723"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:0
TEST.EXPECTED:strtol.strtol.endptr:<<null>>
TEST.EXPECTED:strtol.strtol.return:467
TEST.END
-- Test Case: strtol-max
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-max
TEST.BASIS_PATH:7 of 21
TEST.NOTES:
This is an automatically generated test case.
Test Path 7
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> TRUE
(11) if (c >= 48 && c <= 57) ==> FALSE
(12) if (c >= 97 && c <= 122 || c >= 65 && c <= 90) ==> TRUE
(13) if (c >= 65 && c <= 90) ==> FALSE
(14) if (c >= base) ==> FALSE
(15) if (any < 0) ==> FALSE
(18) if (acc > cutoff || acc == cutoff && c > cutlim) ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set neg due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 7/12
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set any due to assignment
Cannot set neg due to assignment
Cannot set acc due to assignment
Cannot set cutoff due to assignment
Cannot set c due to assignment
Cannot set cutlim due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 15>>
TEST.VALUE:strtol.strtol.nptr:"21474836478888"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.return:2147483647
TEST.END
-- Test Case: strtol-space
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-space
TEST.BASIS_PATH:5 of 21
TEST.NOTES:
This is an automatically generated test case.
Test Path 5
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> TRUE
(11) if (c >= 48 && c <= 57) ==> FALSE
(12) if (c >= 97 && c <= 122 || c >= 65 && c <= 90) ==> TRUE
(13) if (c >= 65 && c <= 90) ==> FALSE
(14) if (c >= base) ==> TRUE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set neg due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 7/12
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 20>>
TEST.VALUE:strtol.strtol.nptr:" 10379c "
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:0
TEST.EXPECTED:strtol.strtol.return:10379
TEST.END
-- Test Case: strtol-space1
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol-space1
TEST.BASIS_PATH:6 of 21
TEST.NOTES:
This is an automatically generated test case.
Test Path 6
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> TRUE
(11) if (c >= 48 && c <= 57) ==> FALSE
(12) if (c >= 97 && c <= 122 || c >= 65 && c <= 90) ==> TRUE
(13) if (c >= 65 && c <= 90) ==> FALSE
(14) if (c >= base) ==> FALSE
(15) if (any < 0) ==> TRUE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set neg due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 7/12
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set any due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 26>>
TEST.VALUE:strtol.strtol.nptr:" 10 379c "
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:0
TEST.EXPECTED:strtol.strtol.return:10
TEST.END
-- Test Case: strtol.001
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol.001
TEST.VALUE:strtol.strtol.nptr:<<malloc 16>>
TEST.VALUE:strtol.strtol.nptr:"","#","$$^$#^","....."
TEST.VALUE:strtol.strtol.endptr:<<malloc 1>>
TEST.VALUE:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.return:0
TEST.END
-- Test Case: strtol_36
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol_36
TEST.NOTES:
This is an automatically generated test case.
Test Path 7
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> TRUE
(11) if (c >= 48 && c <= 57) ==> FALSE
(12) if (c >= 97 && c <= 122 || c >= 65 && c <= 90) ==> TRUE
(13) if (c >= 65 && c <= 90) ==> FALSE
(14) if (c >= base) ==> FALSE
(15) if (any < 0) ==> FALSE
(18) if (acc > cutoff || acc == cutoff && c > cutlim) ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set neg due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 7/12
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set any due to assignment
Cannot set neg due to assignment
Cannot set acc due to assignment
Cannot set cutoff due to assignment
Cannot set c due to assignment
Cannot set cutlim due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 2>>
TEST.VALUE:strtol.strtol.nptr:"g"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:36
TEST.EXPECTED:strtol.strtol.return:16
TEST.END
-- Test Case: strtol_min
TEST.UNIT:strtol
TEST.SUBPROGRAM:strtol
TEST.NEW
TEST.NAME:strtol_min
TEST.NOTES:
This is an automatically generated test case.
Test Path 7
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> FALSE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) if neg ==> FALSE
(10) for ==> TRUE
(11) if (c >= 48 && c <= 57) ==> FALSE
(12) if (c >= 97 && c <= 122 || c >= 65 && c <= 90) ==> TRUE
(13) if (c >= 65 && c <= 90) ==> FALSE
(14) if (c >= base) ==> FALSE
(15) if (any < 0) ==> FALSE
(18) if (acc > cutoff || acc == cutoff && c > cutlim) ==> FALSE
(19) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
Cannot set neg due to assignment
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set neg due to assignment
Conflict: Cannot resolve multiple comparisons ( ) in branches 7/12
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set any due to assignment
Cannot set neg due to assignment
Cannot set acc due to assignment
Cannot set cutoff due to assignment
Cannot set c due to assignment
Cannot set cutlim due to assignment
TEST.END_NOTES:
TEST.VALUE:strtol.strtol.nptr:<<malloc 16>>
TEST.VALUE:strtol.strtol.nptr:"-21474836478888"
TEST.VALUE:strtol.strtol.endptr:<<null>>
TEST.VALUE:strtol.strtol.base:10
TEST.EXPECTED:strtol.strtol.return:-2147483648
TEST.END
-- Unit: strtoul
-- Subprogram: strtoul
-- Test Case: strtoul-0
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-0
TEST.BASIS_PATH:16 of 16
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 4>>
TEST.VALUE:strtoul.strtoul.nptr:"0xa"
TEST.VALUE:strtoul.strtoul.endptr:<<null>>
TEST.VALUE:strtoul.strtoul.base:0
TEST.EXPECTED:strtoul.strtoul.return:10
TEST.END
-- Test Case: strtoul-0.001
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-0.001
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 3>>
TEST.VALUE:strtoul.strtoul.nptr:"07"
TEST.VALUE:strtoul.strtoul.endptr:<<null>>
TEST.VALUE:strtoul.strtoul.base:0
TEST.EXPECTED:strtoul.strtoul.return:7
TEST.END
-- Test Case: strtoul-0.002
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-0.002
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 9>>
TEST.VALUE:strtoul.strtoul.nptr:"123eeeee"
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:0
TEST.EXPECTED:strtoul.strtoul.endptr[0]:"eeeee"
TEST.EXPECTED:strtoul.strtoul.return:123
TEST.END
-- Test Case: strtoul-10.003
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-10.003
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 10>>
TEST.VALUE:strtoul.strtoul.nptr:"-123eeeee"
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:10
TEST.EXPECTED:strtoul.strtoul.endptr[0]:"eeeee"
TEST.EXPECTED:strtoul.strtoul.return:123
TEST.END
-- Test Case: strtoul-10.004
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-10.004
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 14>>
TEST.VALUE:strtoul.strtoul.nptr:"+123 eeeee"
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:10
TEST.EXPECTED:strtoul.strtoul.endptr[0]:" eeeee"
TEST.EXPECTED:strtoul.strtoul.return:123
TEST.END
-- Test Case: strtoul-10.005
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-10.005
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 14>>
TEST.VALUE:strtoul.strtoul.nptr:"2147483647999"
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:10
TEST.EXPECTED:strtoul.strtoul.return:4294967295
TEST.END
-- Test Case: strtoul-10.006
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-10.006
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 15>>
TEST.VALUE:strtoul.strtoul.nptr:" 21 "
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:10
TEST.EXPECTED:strtoul.strtoul.return:21
TEST.END
-- Test Case: strtoul-10.007
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-10.007
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 16>>
TEST.VALUE:strtoul.strtoul.nptr:"","#","$$^$#^","....."
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:10
TEST.EXPECTED:strtoul.strtoul.return:0
TEST.END
-- Test Case: strtoul-16.005
TEST.UNIT:strtoul
TEST.SUBPROGRAM:strtoul
TEST.NEW
TEST.NAME:strtoul-16.005
TEST.NOTES:
This is an automatically generated test case.
Test Path 16
(1) while (((((c == 32 || c == 9) || c == 10) || c == 13) || c == 12) || c == 11) ==> TRUE
(2) if (c == 45) ==> FALSE
(3) if (c == 43) ==> FALSE
(4) if (((base == 0 || base == 16) && c == 48) && (*s == 120 || *s == 88)) ==> FALSE
(5) if (base == 0) ==> FALSE
(7) for ==> FALSE
(14) if (endptr != (0)) ==> FALSE
Test Case Generation Notes:
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable s++ in branch 4 since it requires user code.
Cannot set variable (unsigned char)(*(s++)) in branch 1 since it requires user code.
Cannot set variable *s in branch 4 since it requires user code.
Cannot set variable s in branch 4 since it requires user code.
TEST.END_NOTES:
TEST.VALUE:strtoul.strtoul.nptr:<<malloc 4>>
TEST.VALUE:strtoul.strtoul.nptr:"0XA"
TEST.VALUE:strtoul.strtoul.endptr:<<malloc 1>>
TEST.VALUE:strtoul.strtoul.base:16
TEST.EXPECTED:strtoul.strtoul.return:10
TEST.END
|
1e382a2aa4a62f5b321167a89c84c39bbcdffde7
|
36c5f94ce0d09d8d1cc8d0f9d79ecccaa78036bd
|
/Rhombus Dodge.sce
|
2f7e26628ee9a02aa710a760a9d32ff626b59c66
|
[] |
no_license
|
Ahmad6543/Scenarios
|
cef76bf19d46e86249a6099c01928e4e33db5f20
|
6a4563d241e61a62020f76796762df5ae8817cc8
|
refs/heads/master
| 2023-03-18T23:30:49.653812
| 2020-09-23T06:26:05
| 2020-09-23T06:26:05
| null | 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 22,348
|
sce
|
Rhombus Dodge.sce
|
Name=Rhombus Dodge
PlayerCharacters=Quaker
BotCharacters=Pigeon.bot
IsChallenge=true
Timelimit=60.0
PlayerProfile=Quaker
AddedBots=Pigeon.bot
PlayerMaxLives=0
BotMaxLives=0
PlayerTeam=2
BotTeams=1
MapName=rhombusbounce.map
MapScale=4.0
BlockProjectilePredictors=true
BlockCheats=true
InvinciblePlayer=true
InvincibleBots=true
Timescale=1.0
BlockHealthbars=false
TimeRefilledByKill=0.0
ScoreToWin=1000.0
ScorePerDamage=3.0
ScorePerKill=0.0
ScorePerMidairDirect=0.0
ScorePerAnyDirect=0.0
ScorePerTime=0.0
ScoreLossPerDamageTaken=0.0
ScoreLossPerDeath=0.0
ScoreLossPerMidairDirected=0.0
ScoreLossPerAnyDirected=0.0
ScoreMultAccuracy=false
ScoreMultDamageEfficiency=false
ScoreMultKillEfficiency=false
GameTag=Overwatch, Fortnite, Quake
WeaponHeroTag=Tracking, lg
DifficultyTag=3
AuthorsTag=patys, AIMER7
BlockHitMarkers=false
BlockHitSounds=false
BlockMissSounds=true
BlockFCT=false
Description=Track a horizontally bouncing bot while moving.
GameVersion=1.0.8.0
ScorePerDistance=0.0
MBSEnable=true
MBSTime1=0.08
MBSTime2=1.5
MBSTime3=1.5
MBSTime1Mult=90.0
MBSTime2Mult=150.0
MBSTime3Mult=150.0
MBSFBInstead=false
MBSRequireEnemyAlive=false
[Aim Profile]
Name=Default
MinReactionTime=0.3
MaxReactionTime=0.4
MinSelfMovementCorrectionTime=0.001
MaxSelfMovementCorrectionTime=0.05
FlickFOV=30.0
FlickSpeed=1.5
FlickError=15.0
TrackSpeed=3.5
TrackError=3.5
MaxTurnAngleFromPadCenter=75.0
MinRecenterTime=0.3
MaxRecenterTime=0.5
OptimalAimFOV=30.0
OuterAimPenalty=1.0
MaxError=40.0
ShootFOV=15.0
VerticalAimOffset=0.0
MaxTolerableSpread=5.0
MinTolerableSpread=1.0
TolerableSpreadDist=2000.0
MaxSpreadDistFactor=2.0
[Bot Profile]
Name=Pigeon
DodgeProfileNames=Rhombus
DodgeProfileWeights=1.0
DodgeProfileMaxChangeTime=10.0
DodgeProfileMinChangeTime=10.0
WeaponProfileWeights=1.0;1.0;1.0;1.0;1.0;1.0;1.0;1.0
AimingProfileNames=Default;Default;Default;Default;Default;Default;Default;Default
WeaponSwitchTime=3.0
UseWeapons=false
CharacterProfile=Clay Pigeon
SeeThroughWalls=true
NoDodging=false
NoAiming=true
[Character Profile]
Name=Quaker
MaxHealth=200.0
WeaponProfileNames=;;LG;;;;;
MinRespawnDelay=1.0
MaxRespawnDelay=1.0
StepUpHeight=75.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=2.0
CameraOffset=X=0.000 Y=0.000 Z=80.000
HeadshotOnly=false
DamageKnockbackFactor=4.0
MovementType=Base
MaxSpeed=1300.0
MaxCrouchSpeed=500.0
Acceleration=9000.0
AirAcceleration=16000.0
Friction=4.0
BrakingFrictionFactor=2.0
JumpVelocity=800.0
Gravity=3.0
AirControl=0.25
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=true
CanJumpFromCrouch=false
EnemyBodyColor=X=0.771 Y=0.000 Z=0.000
EnemyHeadColor=X=1.000 Y=1.000 Z=1.000
TeamBodyColor=X=1.000 Y=0.888 Z=0.000
TeamHeadColor=X=1.000 Y=1.000 Z=1.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=0.0
MainBBType=Cylindrical
MainBBHeight=320.0
MainBBRadius=58.0
MainBBHasHead=false
MainBBHeadRadius=45.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Cylindrical
ProjBBHeight=230.0
ProjBBRadius=55.0
ProjBBHasHead=false
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=false
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=0.0
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
[Character Profile]
Name=Clay Pigeon
MaxHealth=30.0
WeaponProfileNames=;;;;;;;
MinRespawnDelay=0.001
MaxRespawnDelay=0.001
StepUpHeight=75.0
CrouchHeightModifier=0.5
CrouchAnimationSpeed=1.0
CameraOffset=X=0.000 Y=0.000 Z=0.000
HeadshotOnly=false
DamageKnockbackFactor=0.0
MovementType=Base
MaxSpeed=1300.0
MaxCrouchSpeed=500.0
Acceleration=9000.0
AirAcceleration=16000.0
Friction=4.0
BrakingFrictionFactor=2.0
JumpVelocity=1500.0
Gravity=0.0
AirControl=1.0
CanCrouch=false
CanPogoJump=false
CanCrouchInAir=false
CanJumpFromCrouch=false
EnemyBodyColor=X=255.000 Y=0.000 Z=0.000
EnemyHeadColor=X=255.000 Y=255.000 Z=255.000
TeamBodyColor=X=0.000 Y=0.000 Z=255.000
TeamHeadColor=X=255.000 Y=255.000 Z=255.000
BlockSelfDamage=false
InvinciblePlayer=false
InvincibleBots=false
BlockTeamDamage=false
AirJumpCount=0
AirJumpVelocity=800.0
MainBBType=Spheroid
MainBBHeight=120.0
MainBBRadius=60.0
MainBBHasHead=false
MainBBHeadRadius=10.0
MainBBHeadOffset=0.0
MainBBHide=false
ProjBBType=Spheroid
ProjBBHeight=50.0
ProjBBRadius=25.0
ProjBBHasHead=false
ProjBBHeadRadius=45.0
ProjBBHeadOffset=0.0
ProjBBHide=true
HasJetpack=false
JetpackActivationDelay=0.2
JetpackFullFuelTime=4.0
JetpackFuelIncPerSec=1.0
JetpackFuelRegensInAir=false
JetpackThrust=6000.0
JetpackMaxZVelocity=400.0
JetpackAirControlWithThrust=0.25
AbilityProfileNames=;;;
HideWeapon=true
AerialFriction=0.0
StrafeSpeedMult=1.0
BackSpeedMult=1.0
RespawnInvulnTime=0.0
BlockedSpawnRadius=0.0
BlockSpawnFOV=0.0
BlockSpawnDistance=0.0
RespawnAnimationDuration=0.0
AllowBufferedJumps=true
BounceOffWalls=false
LeanAngle=0.0
LeanDisplacement=0.0
AirJumpExtraControl=0.0
ForwardSpeedBias=1.0
HealthRegainedonkill=0.0
HealthRegenPerSec=0.0
HealthRegenDelay=0.0
JumpSpeedPenaltyDuration=0.0
JumpSpeedPenaltyPercent=0.0
ThirdPersonCamera=false
TPSArmLength=300.0
TPSOffset=X=0.000 Y=150.000 Z=150.000
BrakingDeceleration=2048.0
VerticalSpawnOffset=10.0
SpawnXOffset=0.0
SpawnYOffset=0.0
InvertBlockedSpawn=false
[Dodge Profile]
Name=Rhombus
MaxTargetDistance=30000.0
MinTargetDistance=0.0
ToggleLeftRight=true
ToggleForwardBack=true
MinLRTimeChange=5.0
MaxLRTimeChange=5.0
MinFBTimeChange=0.65
MaxFBTimeChange=0.8
DamageReactionChangesDirection=false
DamageReactionChanceToIgnore=0.0
DamageReactionMinimumDelay=0.1
DamageReactionMaximumDelay=0.15
DamageReactionCooldown=1.0
DamageReactionThreshold=0.0
DamageReactionResetTimer=0.1
JumpFrequency=0.0
CrouchInAirFrequency=0.0
CrouchOnGroundFrequency=0.0
TargetStrafeOverride=Ignore
TargetStrafeMinDelay=0.125
TargetStrafeMaxDelay=0.25
MinProfileChangeTime=0.0
MaxProfileChangeTime=0.0
MinCrouchTime=0.1
MaxCrouchTime=0.1
MinJumpTime=0.0001
MaxJumpTime=0.0001
LeftStrafeTimeMult=1.0
RightStrafeTimeMult=1.0
StrafeSwapMinPause=0.0
StrafeSwapMaxPause=0.0
BlockedMovementPercent=0.8
BlockedMovementReactionMin=0.01
BlockedMovementReactionMax=0.02
[Weapon Profile]
Name=LG
Type=Hitscan
ShotsPerClick=1
DamagePerShot=6.0
KnockbackFactor=0.0
TimeBetweenShots=0.046
Pierces=false
Category=FullyAuto
BurstShotCount=1
TimeBetweenBursts=0.5
ChargeStartDamage=10.0
ChargeStartVelocity=X=500.000 Y=0.000 Z=0.000
ChargeTimeToAutoRelease=2.0
ChargeTimeToCap=1.0
ChargeMoveSpeedModifier=1.0
MuzzleVelocityMin=X=2000.000 Y=0.000 Z=0.000
MuzzleVelocityMax=X=2000.000 Y=0.000 Z=0.000
InheritOwnerVelocity=0.0
OriginOffset=X=0.000 Y=0.000 Z=0.000
MaxTravelTime=5.0
MaxHitscanRange=100000.0
GravityScale=1.0
HeadshotCapable=false
HeadshotMultiplier=2.0
MagazineMax=0
AmmoPerShot=1
ReloadTimeFromEmpty=0.5
ReloadTimeFromPartial=0.5
DamageFalloffStartDistance=100000.0
DamageFalloffStopDistance=100000.0
DamageAtMaxRange=7.0
DelayBeforeShot=0.0
HitscanVisualEffect=Tracer
ProjectileGraphic=Ball
VisualLifetime=0.05
WallParticleEffect=None
HitParticleEffect=None
BounceOffWorld=false
BounceFactor=0.0
BounceCount=0
HomingProjectileAcceleration=0.0
ProjectileEnemyHitRadius=1.0
CanAimDownSight=false
ADSZoomDelay=0.0
ADSZoomSensFactor=0.7
ADSMoveFactor=1.0
ADSStartDelay=0.0
ShootSoundCooldown=0.08
HitSoundCooldown=0.08
HitscanVisualOffset=X=0.000 Y=0.000 Z=-80.000
ADSBlocksShooting=false
ShootingBlocksADS=false
KnockbackFactorAir=0.0
RecoilNegatable=false
DecalType=0
DecalSize=30.0
DelayAfterShooting=0.0
BeamTracksCrosshair=true
AlsoShoot=
ADSShoot=
StunDuration=0.0
CircularSpread=true
SpreadStationaryVelocity=0.0
PassiveCharging=false
BurstFullyAuto=true
FlatKnockbackHorizontal=0.0
FlatKnockbackVertical=0.0
HitscanRadius=0.0
HitscanVisualRadius=6.0
TaggingDuration=0.0
TaggingMaxFactor=1.0
TaggingHitFactor=1.0
ProjectileTrail=None
RecoilCrouchScale=1.0
RecoilADSScale=1.0
PSRCrouchScale=1.0
PSRADSScale=1.0
ProjectileAcceleration=0.0
AccelIncludeVertical=true
AimPunchAmount=0.0
AimPunchResetTime=0.05
AimPunchCooldown=0.5
AimPunchHeadshotOnly=false
AimPunchCosmeticOnly=true
MinimumDecelVelocity=0.0
PSRManualNegation=false
PSRAutoReset=true
AimPunchUpTime=0.05
AmmoReloadedOnKill=0
CancelReloadOnKill=false
FlatKnockbackHorizontalMin=0.0
FlatKnockbackVerticalMin=0.0
ADSScope=No Scope
ADSFOVOverride=72.099998
ADSFOVScale=Overwatch
ADSAllowUserOverrideFOV=true
IsBurstWeapon=false
ForceFirstPersonInADS=true
ZoomBlockedInAir=false
ADSCameraOffsetX=0.0
ADSCameraOffsetY=0.0
ADSCameraOffsetZ=0.0
QuickSwitchTime=0.1
Explosive=false
Radius=500.0
DamageAtCenter=100.0
DamageAtEdge=0.0
SelfDamageMultiplier=0.5
ExplodesOnContactWithEnemy=false
DelayAfterEnemyContact=0.0
ExplodesOnContactWithWorld=false
DelayAfterWorldContact=0.0
ExplodesOnNextAttack=false
DelayAfterSpawn=0.0
BlockedByWorld=false
SpreadSSA=1.0,1.0,-1.0,0.0
SpreadSCA=1.0,1.0,-1.0,0.0
SpreadMSA=1.0,1.0,-1.0,0.0
SpreadMCA=1.0,1.0,-1.0,0.0
SpreadSSH=1.0,1.0,-1.0,0.0
SpreadSCH=1.0,1.0,-1.0,0.0
SpreadMSH=1.0,1.0,-1.0,0.0
SpreadMCH=1.0,1.0,-1.0,0.0
MaxRecoilUp=0.0
MinRecoilUp=0.0
MinRecoilHoriz=0.0
MaxRecoilHoriz=0.0
FirstShotRecoilMult=1.0
RecoilAutoReset=false
TimeToRecoilPeak=0.05
TimeToRecoilReset=0.35
AAMode=0
AAPreferClosestPlayer=false
AAAlpha=1.0
AAMaxSpeed=2.0
AADeadZone=0.0
AAFOV=720.0
AANeedsLOS=true
TrackHorizontal=true
TrackVertical=false
AABlocksMouse=false
AAOffTimer=0.0
AABackOnTimer=0.0
TriggerBotEnabled=false
TriggerBotDelay=0.0
TriggerBotFOV=1.0
StickyLock=false
HeadLock=false
VerticalOffset=0.0
DisableLockOnKill=false
UsePerShotRecoil=false
PSRLoopStartIndex=0
PSRViewRecoilTracking=0.45
PSRCapUp=9.0
PSRCapRight=4.0
PSRCapLeft=4.0
PSRTimeToPeak=0.095
PSRResetDegreesPerSec=40.0
UsePerBulletSpread=false
PBS0=0.0,0.0
[Map Data]
reflex map version 8
global
entity
type WorldSpawn
String32 targetGameOverCamera end
UInt8 playersMin 1
UInt8 playersMax 16
brush
vertices
-144.000000 16.000000 -136.000000
-128.000000 16.000000 -136.000000
-128.000000 16.000000 -392.000000
-144.000000 16.000000 -392.000000
-144.000000 0.000000 -136.000000
-128.000000 0.000000 -136.000000
-128.000000 0.000000 -392.000000
-144.000000 0.000000 -392.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-144.000000 16.000000 -136.000000
112.000000 16.000000 -136.000000
112.000000 16.000000 -152.000000
-144.000000 16.000000 -152.000000
-144.000000 0.000000 -136.000000
112.000000 0.000000 -136.000000
112.000000 0.000000 -152.000000
-144.000000 0.000000 -152.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-144.000000 16.000000 -392.000000
112.000000 16.000000 -392.000000
112.000000 16.000000 -408.000000
-144.000000 16.000000 -408.000000
-144.000000 0.000000 -392.000000
112.000000 0.000000 -392.000000
112.000000 0.000000 -408.000000
-144.000000 0.000000 -408.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-144.000000 704.000000 -136.000000
-128.000000 704.000000 -136.000000
-128.000000 704.000000 -392.000000
-144.000000 704.000000 -392.000000
-144.000000 16.000000 -136.000000
-128.000000 16.000000 -136.000000
-128.000000 16.000000 -392.000000
-144.000000 16.000000 -392.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
96.000000 16.000000 -136.000000
112.000000 16.000000 -136.000000
112.000000 16.000000 -392.000000
96.000000 16.000000 -392.000000
96.000000 0.000000 -136.000000
112.000000 0.000000 -136.000000
112.000000 0.000000 -392.000000
96.000000 0.000000 -392.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-128.000000 704.000000 -136.000000
104.000000 704.000000 -136.000000
104.000000 704.000000 -152.000000
-128.000000 704.000000 -152.000000
-128.000000 16.000000 -136.000000
104.000000 16.000000 -136.000000
104.000000 16.000000 -152.000000
-128.000000 16.000000 -152.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
-144.000000 704.000000 -392.000000
104.000000 704.000000 -392.000000
104.000000 704.000000 -408.000000
-144.000000 704.000000 -408.000000
-144.000000 16.000000 -392.000000
104.000000 16.000000 -392.000000
104.000000 16.000000 -408.000000
-144.000000 16.000000 -408.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
96.000000 704.000000 -136.000000
112.000000 704.000000 -136.000000
112.000000 704.000000 -408.000000
96.000000 704.000000 -408.000000
96.000000 16.000000 -136.000000
112.000000 16.000000 -136.000000
112.000000 16.000000 -408.000000
96.000000 16.000000 -408.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0xff8f7d6a internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0xff8f7d6a internal/editor/textures/editor_clip
brush
vertices
-680.000000 0.000000 408.000000
616.000000 0.000000 408.000000
616.000000 0.000000 -904.000000
-680.000000 0.000000 -904.000000
-680.000000 -16.000000 408.000000
616.000000 -16.000000 408.000000
616.000000 -16.000000 -904.000000
-680.000000 -16.000000 -904.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
616.000000 272.000000 -904.000000
600.000000 272.000000 -904.000000
600.000244 272.000000 399.999969
616.000244 272.000000 399.999969
616.000000 0.000000 -904.000000
600.000000 0.000000 -904.000000
600.000244 0.000000 399.999969
616.000244 0.000000 399.999969
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-688.000000 272.000000 400.000000
-688.000000 272.000000 416.000000
616.000000 272.000000 415.999573
616.000000 272.000000 399.999573
-688.000000 0.000000 400.000000
-688.000000 0.000000 416.000000
616.000000 0.000000 415.999573
616.000000 0.000000 399.999573
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-687.999939 272.000000 416.000000
-671.999939 272.000000 416.000000
-672.000488 272.000000 -912.000000
-688.000488 272.000000 -912.000000
-687.999939 0.000000 416.000000
-671.999939 0.000000 416.000000
-672.000488 0.000000 -912.000000
-688.000488 0.000000 -912.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
616.000000 272.000000 -896.000000
616.000000 272.000000 -912.000000
-680.000000 272.000000 -911.999756
-680.000000 272.000000 -895.999756
616.000000 0.000000 -896.000000
616.000000 0.000000 -912.000000
-680.000000 0.000000 -911.999756
-680.000000 0.000000 -895.999756
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000
brush
vertices
-672.000000 288.000000 416.000000
672.000000 288.000000 416.000000
672.000000 288.000000 -896.000000
-672.000000 288.000000 -896.000000
-672.000000 272.000000 416.000000
672.000000 272.000000 416.000000
672.000000 272.000000 -896.000000
-672.000000 272.000000 -896.000000
faces
0.000000 0.000000 1.000000 1.000000 0.000000 0 1 2 3 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 6 5 4 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 2 1 5 6 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 0 3 7 4 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 3 2 6 7 0x00000000 internal/editor/textures/editor_clip
0.000000 0.000000 1.000000 1.000000 0.000000 1 0 4 5 0x00000000 internal/editor/textures/editor_clip
entity
type CameraPath
UInt32 entityIdAttachedTo 5
UInt8 posLerp 2
UInt8 angleLerp 2
entity
type Effect
Vector3 position 0.000000 256.000000 0.000000
String64 effectName internal/misc/reflectionprobe
entity
type Target
Vector3 position 352.000000 256.000000 224.000000
Vector3 angles -135.000000 30.000000 0.000000
String32 name end
entity
type PlayerSpawn
Vector3 position 416.000000 0.000000 -256.000000
Vector3 angles 270.000000 0.000000 0.000000
Bool8 teamA 0
entity
type PlayerSpawn
Vector3 position -112.000000 24.000000 -272.000000
Vector3 angles 450.000000 0.000000 0.000000
Bool8 teamB 0
|
640d9bf8a1b21a8422f63626a050e5c33508be1d
|
449d555969bfd7befe906877abab098c6e63a0e8
|
/213/CH11/EX11.13/11_13.sce
|
ce01bbf34ea03fb2e9499b90dbc30bde9757b62a
|
[] |
no_license
|
FOSSEE/Scilab-TBC-Uploads
|
948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1
|
7bc77cb1ed33745c720952c92b3b2747c5cbf2df
|
refs/heads/master
| 2020-04-09T02:43:26.499817
| 2018-02-03T05:31:52
| 2018-02-03T05:31:52
| 37,975,407
| 3
| 12
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 808
|
sce
|
11_13.sce
|
//To find power trnasmitted
clc
//Given:
x=4.8, d1=1.5, d2=1 //m
T0=3*1000 //N
m=1.5 //kg/m
mu=0.3
N2=400 //rpm
//Solution:
//Calculating the velocity of the belt
v=%pi*d2*N2/60 //m/s
//Calculating the centrifugal tension
TC=m*v^2 //N
//Calculating the angle alpha
alpha=asin((d1-d2)/(2*x))*180/%pi //degrees
//Calculating the angle of lap for the smaller pulley
theta=(180-2*alpha)*%pi/180 //radians
//Calculating the tensions in the belt
//Initial tension, T0 = (T1+T2+2*TC)/2, or T1+T2 = 2*(T0-TC)
//Ratio of tensions in the belt, log(T1/T2) = mu*theta, or T1-T2*exp(mu*theta) = 0
A=[1 1; 1 -exp(mu*theta)]
B=[2*(T0-TC); 0]
V=A \ B
T1=V(1) //N
T2=V(2) //N
//Calculating the power transmitted
P=(T1-T2)*v/1000 //kW
//Results:
printf("\n\n Power transmitted, P = %.1f kW.\n\n",P)
|
002eb000da750854e93b1cd6b3b9bf7cb2099245
|
262ac6443426f24d5d9b13945d080affb0bd6d9b
|
/opgaves/som/edit-me.sce
|
3af2f33e66dc430f2e97671db13c856cf8aa2c06
|
[] |
no_license
|
slegers/Scilab
|
9ebd1d486f28cf66e04b1552ad6e94ea4bc98a0b
|
1b5dc3434def66355dafeb97c01916736a936301
|
refs/heads/master
| 2021-01-12T01:42:01.493578
| 2017-01-09T10:54:09
| 2017-01-09T10:54:09
| 78,420,343
| 0
| 0
| null | null | null | null |
UTF-8
|
Scilab
| false
| false
| 178
|
sce
|
edit-me.sce
|
function [sum] = solve(ns)
// Gegeven een rijmatrix ns van getallen, bereken de som van de getallen.
sum = 0
for (i = 1:length(ns))
sum = sum + ns(i)
end
endfunction
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.