Displaying 3 results from an estimated 3 matches for "for1".
Did you mean:
for
2011 Jul 09
1
[LLVMdev] getting and setting array indices c interface
...oca i32
store i32 %a, i32* %a1
%ptrMyArray = alloca i32*
%myArray = alloca i32, i32 25
store i32* %myArray, i32** %ptrMyArray
%x = alloca i32
store i32 0, i32* %x
br label %ForEntry1
ForEntry1: ; preds = %Entry
store i32 1, i32* %x
br label %For1
For1: ; preds = %ForBody1, %
ForEntry1
%x2 = load i32* %x
%cond = icmp sle i32 %x2, 25
br i1 %cond, label %ForBody1, label %ForEnd1
ForBody1: ; preds = %For1
%array = load i32** %ptrMyArray
%val = load i...
2012 Jul 09
0
Problem in plm package
...aba3 <- naba^3
data$difprofit <- p91-p90
data$agri <- (mind==1)*1
data$hi <- (mind==2)*1
data$li <- (mind==3)*1
data$constr <- (mind==4)*1
data$trans <- (mind==5)*1
data$trade <- (mind==6)*1
data$rd <- (mind==7)*1
data$ser <- (mind==8)*1
data$fin <- (mind==9)*1
data$for1 <- data[,7]
detach(data)
data1 <- data
panel <- pdata.frame(data, c("num","rnd"))
testovaci <- plm(tb ~ profit_share + debt_assets + naba + naba3 + for1 +
dom + difprofit + agri + hi + li + constr + trans + trade + rd + ser + fin,
data = panel, model = "within...
2007 Jun 21
3
With Parameter Block
...e the
approach of putting test assertions inside the parameter block, and
always returning true.
This is a contrived example:
def test_something
mock = mock("some_mock")
mock.expects(:foo).with do | param_that_is_a_string,
param_that_is_a_model |
assert_match(/something-for1/, param_that_is_a_string)
assert param_that_is_a_model.valid?
true
end.returns("blah")
end
Again, I''m not against code readability, but I do prefer to be able
to write my tests explicitly instead of creating a matcher for each
special case.
-Zach