Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QueryR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Lopez
QueryR
Commits
8ad5eb29
Commit
8ad5eb29
authored
9 years ago
by
Adam Welc
Browse files
Options
Downloads
Plain Diff
Merged.
parents
b58a0991
a7351b29
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/base/HiddenInternalFunctions.java
+6
-1
6 additions, 1 deletion
...truffle/r/nodes/builtin/base/HiddenInternalFunctions.java
mx.fastr/mx_fastr_pkgtest.py
+2
-2
2 additions, 2 deletions
mx.fastr/mx_fastr_pkgtest.py
with
8 additions
and
3 deletions
com.oracle.truffle.r.nodes.builtin/src/com/oracle/truffle/r/nodes/builtin/base/HiddenInternalFunctions.java
+
6
−
1
View file @
8ad5eb29
...
@@ -20,6 +20,7 @@ import com.oracle.truffle.api.*;
...
@@ -20,6 +20,7 @@ import com.oracle.truffle.api.*;
import
com.oracle.truffle.api.CompilerDirectives.TruffleBoundary
;
import
com.oracle.truffle.api.CompilerDirectives.TruffleBoundary
;
import
com.oracle.truffle.api.dsl.*
;
import
com.oracle.truffle.api.dsl.*
;
import
com.oracle.truffle.api.frame.*
;
import
com.oracle.truffle.api.frame.*
;
import
com.oracle.truffle.api.nodes.RootNode
;
import
com.oracle.truffle.r.nodes.*
;
import
com.oracle.truffle.r.nodes.*
;
import
com.oracle.truffle.r.nodes.access.*
;
import
com.oracle.truffle.r.nodes.access.*
;
import
com.oracle.truffle.r.nodes.access.variables.ReadVariableNode
;
import
com.oracle.truffle.r.nodes.access.variables.ReadVariableNode
;
...
@@ -183,7 +184,11 @@ public class HiddenInternalFunctions {
...
@@ -183,7 +184,11 @@ public class HiddenInternalFunctions {
@TruffleBoundary
@TruffleBoundary
public
Object
lazyLoadDBFetchInternal
(
MaterializedFrame
frame
,
RIntVector
key
,
RStringVector
datafile
,
int
compression
,
RFunction
envhook
)
{
public
Object
lazyLoadDBFetchInternal
(
MaterializedFrame
frame
,
RIntVector
key
,
RStringVector
datafile
,
int
compression
,
RFunction
envhook
)
{
if
(
CompilerDirectives
.
inInterpreter
())
{
if
(
CompilerDirectives
.
inInterpreter
())
{
getRootNode
().
reportLoopCount
(-
5
);
// TODO why is rootNode sometimes null
RootNode
rootNode
=
getRootNode
();
if
(
rootNode
!=
null
)
{
rootNode
.
reportLoopCount
(-
5
);
}
}
}
String
dbPath
=
datafile
.
getDataAt
(
0
);
String
dbPath
=
datafile
.
getDataAt
(
0
);
String
packageName
=
new
File
(
dbPath
).
getName
();
String
packageName
=
new
File
(
dbPath
).
getName
();
...
...
This diff is collapsed.
Click to expand it.
mx.fastr/mx_fastr_pkgtest.py
+
2
−
2
View file @
8ad5eb29
...
@@ -103,7 +103,7 @@ def rpt_list_testdates(args):
...
@@ -103,7 +103,7 @@ def rpt_list_testdates(args):
parser
=
ArgumentParser
(
prog
=
'
mx rpt-list-testdates
'
)
parser
=
ArgumentParser
(
prog
=
'
mx rpt-list-testdates
'
)
_add_common_args
(
parser
)
_add_common_args
(
parser
)
parser
.
add_argument
(
'
--pattern
'
,
action
=
'
store
'
,
help
=
'
regexp pattern for pkg match
'
,
default
=
'
.*
'
)
parser
.
add_argument
(
'
--pattern
'
,
action
=
'
store
'
,
help
=
'
regexp pattern for pkg match
'
,
default
=
'
.*
'
)
parser
.
add_argument
(
'
--print
file
'
,
action
=
'
store_true
'
,
help
=
'
print
filename
containing tests
'
)
parser
.
add_argument
(
'
--print
dir
'
,
action
=
'
store_true
'
,
help
=
'
print
directory
containing tests
'
)
args
=
parser
.
parse_args
(
args
)
args
=
parser
.
parse_args
(
args
)
fastr
=
dict
()
fastr
=
dict
()
dirlist
=
get_local_dirs
(
args
.
logdir
)
dirlist
=
get_local_dirs
(
args
.
logdir
)
...
@@ -124,7 +124,7 @@ def rpt_list_testdates(args):
...
@@ -124,7 +124,7 @@ def rpt_list_testdates(args):
sortedList
=
sorted
(
testdates
)
sortedList
=
sorted
(
testdates
)
print
pkg
print
pkg
for
resultInfo
in
sortedList
:
for
resultInfo
in
sortedList
:
if
args
.
print
file
:
if
args
.
print
dir
:
print
'
'
+
resultInfo
.
localdir
print
'
'
+
resultInfo
.
localdir
else
:
else
:
print
'
'
+
str
(
resultInfo
.
date
)
print
'
'
+
str
(
resultInfo
.
date
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment