Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
ParaEncode
Project
Project
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
Linshizhi
ParaEncode
Commits
83a4bd35
Commit
83a4bd35
authored
May 18, 2022
by
Linshizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused test.
parent
1586ab99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
36 deletions
+0
-36
Channel.spec.js
tests/Channel.spec.js
+0
-36
No files found.
tests/Channel.spec.js
View file @
83a4bd35
...
...
@@ -452,39 +452,3 @@ describe("BLK-BASED Channel Spec", () => {
});
});
fdescribe
(
"123"
,
()
=>
{
fit
(
"Data transfer to Webworker"
,
async
()
=>
{
const
rgbBlock
=
1920
*
1080
*
4
;
let
data
=
new
Uint8Array
([...
Array
(
rgbBlock
).
keys
()]);
let
ww
=
new
Worker
(
"../resources/tests/chnlWWHash.js"
);
await
sleep
(
3000
);
let
chnn
=
new
Channel
(
rgbBlock
*
3
)
chnn
.
enableBlockMode
(
rgbBlock
);
ww
.
postMessage
(
chnn
.
getShMem
());
await
sleep
(
3000
);
for
(
let
i
=
0
;
i
<
3000
;
++
i
)
{
while
(
true
)
{
let
buffers
=
chnn
.
writeStep1
(
rgbBlock
);
if
(
buffers
.
length
==
0
)
{
await
sleep
(
10
);
continue
;
}
buffers
[
0
].
set
(
data
,
0
);
chnn
.
writeStep2
();
break
;
}
// while (chnn.push(data) == false) {
// await sleep(10);
//}
}
console
.
log
(
"Done"
);
await
sleep
(
1000
);
},
3600000
)
});
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