This repository was archived by the owner on Jul 3, 2020. It is now read-only.
File tree 8 files changed +124
-0
lines changed 8 files changed +124
-0
lines changed Original file line number Diff line number Diff line change
1
+ // Copyright 2014-2015 runtime.js project authors
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
1
15
'use strict' ;
2
16
require ( './physical-address' ) ;
Original file line number Diff line number Diff line change
1
+ // Copyright 2014-2015 runtime.js project authors
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
1
15
'use strict' ;
2
16
var test = require ( 'tape' ) ;
3
17
var resources = require ( '../../core/resources' ) ;
Original file line number Diff line number Diff line change
1
+ // Copyright 2014-2015 runtime.js project authors
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
1
15
'use strict' ;
2
16
var runtime = require ( '../' ) ;
3
17
var test = require ( 'tape' ) ;
@@ -14,5 +28,6 @@ stream.on('data', function (v) {
14
28
stream . on ( 'end' , shutdown ) ;
15
29
16
30
require ( './buffers' ) ;
31
+ require ( './timers' ) ;
17
32
require ( './virtio' ) ;
18
33
require ( './net' ) ;
Original file line number Diff line number Diff line change
1
+ // Copyright 2014-2015 runtime.js project authors
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
1
15
require ( './tcp' ) ;
2
16
require ( './tcp-receive' ) ;
Original file line number Diff line number Diff line change
1
+ // Copyright 2014-2015 runtime.js project authors
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
1
15
'use strict' ;
2
16
3
17
var test = require ( 'tape' ) ;
Original file line number Diff line number Diff line change
1
+ // Copyright 2014-2015 runtime.js project authors
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
1
15
'use strict' ;
2
16
3
17
var test = require ( 'tape' ) ;
Original file line number Diff line number Diff line change
1
+ // Copyright 2014-2015 runtime.js project authors
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ 'use strict' ;
16
+
17
+ var test = require ( 'tape' ) ;
18
+
19
+ test ( 'setTimeout' , function ( t ) {
20
+ setTimeout ( t . end . bind ( t ) , 0 ) ;
21
+ } ) ;
22
+
23
+ test ( 'setImmediate' , function ( t ) {
24
+ setImmediate ( t . end . bind ( t ) , 0 ) ;
25
+ } ) ;
Original file line number Diff line number Diff line change
1
+ // Copyright 2014-2015 runtime.js project authors
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
1
15
'use strict' ;
2
16
var test = require ( 'tape' ) ;
3
17
var resources = require ( '../../core/resources' ) ;
You can’t perform that action at this time.
0 commit comments