Searched refs:from_relative_time (Results 1 – 6 of 6) sorted by relevance
40 expect { TimeConsts.from_relative_time(Object.new) }.to raise_error47 expect(TimeConsts.from_relative_time(const)).to be(const)52 expect(TimeConsts.from_relative_time(0)).to eq(TimeConsts::ZERO)56 expect(TimeConsts.from_relative_time(nil)).to eq(TimeConsts::ZERO)61 y = TimeConsts.from_relative_time(t)70 abs = TimeConsts.from_relative_time(t)
36 def from_relative_time(timeish) method
105 @server.shutdown_and_notify(from_relative_time(2))314 deadline: from_relative_time(2),666 get_responses(stub, deadline: from_relative_time(0)).collect { |r| r }794 @server.shutdown_and_notify(from_relative_time(0))833 @server.shutdown_and_notify(from_relative_time(0))
380 deadline = GRPC::Core::TimeConsts.from_relative_time(timeout)
489 deadline = from_relative_time(@timeout) if deadline.nil?
247 deadline = from_relative_time(@poll_period)