Home
last modified time | relevance | path

Searched refs:from_relative_time (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/src/ruby/spec/
Dtime_consts_spec.rb40 expect { TimeConsts.from_relative_time(Object.new) }.to raise_error
47 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)
/external/grpc-grpc/src/ruby/lib/grpc/core/
Dtime_consts.rb36 def from_relative_time(timeish) method
/external/grpc-grpc/src/ruby/spec/generic/
Dclient_stub_spec.rb105 @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))
Drpc_server_spec.rb380 deadline = GRPC::Core::TimeConsts.from_relative_time(timeout)
/external/grpc-grpc/src/ruby/lib/grpc/generic/
Dclient_stub.rb489 deadline = from_relative_time(@timeout) if deadline.nil?
Drpc_server.rb247 deadline = from_relative_time(@poll_period)