Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
50da7c29
Commit
50da7c29
authored
Sep 30, 2016
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compiler warnings.
parent
f5be1575
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/base/abci/abcExact.c
+2
-2
src/opt/fxch/FxchSCHashTable.c
+3
-3
No files found.
src/base/abci/abcExact.c
View file @
50da7c29
...
@@ -841,7 +841,7 @@ static void Ses_StoreRead( Ses_Store_t * pStore, const char * pFilename, int fSy
...
@@ -841,7 +841,7 @@ static void Ses_StoreRead( Ses_Store_t * pStore, const char * pFilename, int fSy
value
=
fread
(
&
nEntries
,
sizeof
(
unsigned
long
),
1
,
pFile
);
value
=
fread
(
&
nEntries
,
sizeof
(
unsigned
long
),
1
,
pFile
);
for
(
i
=
0
;
i
<
nEntries
;
++
i
)
for
(
i
=
0
;
i
<
(
int
)
nEntries
;
++
i
)
{
{
value
=
fread
(
pTruth
,
sizeof
(
word
),
4
,
pFile
);
value
=
fread
(
pTruth
,
sizeof
(
word
),
4
,
pFile
);
value
=
fread
(
&
nVars
,
sizeof
(
int
),
1
,
pFile
);
value
=
fread
(
&
nVars
,
sizeof
(
int
),
1
,
pFile
);
...
@@ -1018,7 +1018,7 @@ static word * Ses_ManDeriveTruth( Ses_Man_t * pSes, char * pSol, int fInvert )
...
@@ -1018,7 +1018,7 @@ static word * Ses_ManDeriveTruth( Ses_Man_t * pSes, char * pSol, int fInvert )
{
{
int
i
,
f
,
j
,
k
,
w
,
nGates
=
pSol
[
ABC_EXACT_SOL_NGATES
];
int
i
,
f
,
j
,
k
,
w
,
nGates
=
pSol
[
ABC_EXACT_SOL_NGATES
];
char
*
p
;
char
*
p
;
word
*
pTruth
,
*
pTruth0
,
*
pTruth1
;
word
*
pTruth
=
NULL
,
*
pTruth0
,
*
pTruth1
;
assert
(
pSol
[
ABC_EXACT_SOL_NFUNC
]
==
1
);
assert
(
pSol
[
ABC_EXACT_SOL_NFUNC
]
==
1
);
p
=
pSol
+
3
;
p
=
pSol
+
3
;
...
...
src/opt/fxch/FxchSCHashTable.c
View file @
50da7c29
...
@@ -217,7 +217,7 @@ int Fxch_SCHashTableInsert( Fxch_SCHashTable_t* pSCHashTable,
...
@@ -217,7 +217,7 @@ int Fxch_SCHashTableInsert( Fxch_SCHashTable_t* pSCHashTable,
int
*
pOutputID1
=
Vec_IntEntryP
(
pSCHashTable
->
pFxchMan
->
vOutputID
,
pNewEntry
->
iCube
*
pSCHashTable
->
pFxchMan
->
nSizeOutputID
);
int
*
pOutputID1
=
Vec_IntEntryP
(
pSCHashTable
->
pFxchMan
->
vOutputID
,
pNewEntry
->
iCube
*
pSCHashTable
->
pFxchMan
->
nSizeOutputID
);
int
Result
=
0
;
int
Result
=
0
;
int
Base
;
int
Base
;
int
iNewDiv
,
i
,
z
;
int
iNewDiv
=
-
1
,
i
,
z
;
if
(
!
Fxch_SCHashTableEntryCompare
(
pSCHashTable
,
vCubes
,
pEntry
,
pNewEntry
)
)
if
(
!
Fxch_SCHashTableEntryCompare
(
pSCHashTable
,
vCubes
,
pEntry
,
pNewEntry
)
)
continue
;
continue
;
...
@@ -290,14 +290,14 @@ int Fxch_SCHashTableRemove( Fxch_SCHashTable_t* pSCHashTable,
...
@@ -290,14 +290,14 @@ int Fxch_SCHashTableRemove( Fxch_SCHashTable_t* pSCHashTable,
if
(
pBin
->
vSCData
[
iEntry
].
iCube
==
iCube
)
if
(
pBin
->
vSCData
[
iEntry
].
iCube
==
iCube
)
break
;
break
;
assert
(
(
iEntry
!=
pBin
->
Size
)
&&
(
pBin
->
Size
!=
0
)
);
assert
(
(
iEntry
!=
(
int
)
pBin
->
Size
)
&&
(
pBin
->
Size
!=
0
)
);
pEntry
=
&
(
pBin
->
vSCData
[
iEntry
]
);
pEntry
=
&
(
pBin
->
vSCData
[
iEntry
]
);
for
(
idx
=
0
;
idx
<
(
int
)
pBin
->
Size
;
idx
++
)
for
(
idx
=
0
;
idx
<
(
int
)
pBin
->
Size
;
idx
++
)
if
(
idx
!=
iEntry
)
if
(
idx
!=
iEntry
)
{
{
int
Base
,
int
Base
,
iDiv
;
iDiv
=
-
1
;
int
i
,
z
,
int
i
,
z
,
iCube0
,
iCube0
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment