HomeSort by relevance Sort by last modified time
    Searched refs:new (Results 226 - 250 of 1793) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/ImageMagick/PerlMagick/demo/
settings.pl 13 my $im = new Image::Magick;
shapes.pl 9 $image=Image::Magick->new;
15 $tile=Image::Magick->new;
  /external/ImageMagick/PerlMagick/t/x11/
write.t 21 $image=Image::Magick->new;
  /external/antlr/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
ANTLRStringStream.pm 13 my $s = $self->class->new({ input => 'ABC' });
22 my $s = $self->class->new({ input => 'ABC' });
  /external/antlr/runtime/Ruby/test/functional/lexer/
nuances.rb 23 lexer = Bug80::Lexer.new( 'defined' )
43 lexer = EndOfFile::Lexer.new( " " )
  /external/antlr/runtime/Ruby/test/functional/parser/
actions.rb 40 lexer = ParserActions::Lexer.new "int foo;"
41 parser = ParserActions::Parser.new lexer
91 lexer = AllKindsOfActions::Lexer.new( "foobar _Ab98 \n A12sdf" )
92 parser = AllKindsOfActions::Parser.new lexer
141 lexer = Finally::Lexer.new( 'foobar' )
142 parser = Finally::Parser.new lexer
219 lexer = SpecialActionScopes::Lexer.new( "10 20 30 40 50" )
220 parser = SpecialActionScopes::Parser.new lexer
  /external/grpc-grpc/examples/ruby/errors_and_cancellation/
error_examples_server.rb 54 s = GRPC::RpcServer.new
57 s.handle(CancellingAndErrorReturningServerImpl.new)
  /external/grpc-grpc/src/csharp/Grpc.Core.Tests/Interceptors/
ServerInterceptorTest.cs 41 var helper = new MockServiceHelper(Host);
44 var interceptor = new ServerCallContextInterceptor(ctx => ctx.RequestHeaders.Add(new Metadata.Entry(MetadataKey, MetadataValue)));
45 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) =>
61 var helper = new MockServiceHelper(Host);
62 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) =>
66 var stringBuilder = new StringBuilder();
68 .Intercept(new ServerCallContextInterceptor(ctx => stringBuilder.Append("A")))
69 .Intercept(new ServerCallContextInterceptor(ctx => stringBuilder.Append("B1")),
70 new ServerCallContextInterceptor(ctx => stringBuilder.Append("B2"))
    [all...]
  /external/grpc-grpc/src/csharp/Grpc.Core.Tests/
TimeoutsTest.cs 43 helper = new MockServiceHelper();
60 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) =>
70 Assert.AreEqual("PASS", Calls.BlockingUnaryCall(helper.CreateUnaryCall(new CallOptions(deadline: DateTime.MaxValue)), "abc"));
78 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) =>
86 Calls.BlockingUnaryCall(helper.CreateUnaryCall(new CallOptions(deadline: clientDeadline)), "abc");
92 helper.UnaryHandler = new UnaryServerMethod<string, string>(async (request, context) =>
98 var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(new CallOptions(deadline: DateTime.MinValue)), "abc"));
100 Assert.Contains(ex.Status.StatusCode, new[] { StatusCode.DeadlineExceeded, StatusCode.Internal });
106 helper.UnaryHandler = new UnaryServerMethod<string, string>(async (request, context) =>
112 var ex = Assert.Throws<RpcException>(() => Calls.BlockingUnaryCall(helper.CreateUnaryCall(new CallOptions(deadline: DateTime.UtcNow.Add(TimeSpan.FromSeconds(5)))), "abc"))
    [all...]
UserAgentStringTest.cs 50 helper = new MockServiceHelper(Host);
51 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) =>
54 var parts = userAgentString.Split(new [] {' '}, 2);
70 helper = new MockServiceHelper(Host,
71 channelOptions: new[] { new ChannelOption(ChannelOptions.PrimaryUserAgentString, "XYZ") });
72 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) =>
75 var parts = userAgentString.Split(new[] { ' ' }, 3);
  /external/grpc-grpc/src/ruby/end2end/
multiple_killed_watching_threads_driver.rb 24 thd = Thread.new do
38 ch = GRPC::Core::Channel.new('dummy_host',
channel_state_driver.rb 23 server_runner = ServerRunner.new(EchoServerImpl)
forking_client_driver.rb 21 server_runner = ServerRunner.new(EchoServerImpl)
  /external/proguard/examples/dictionaries/
keywords.txt 15 new
  /external/python/cpython2/Demo/parser/
test_parser.py 19 new = parser.tuple2st(tup)
26 if tup != parser.st2tuple(new):
  /external/v8/tools/
dumpcpp-driver.js 8 var processor = new ArgumentsProcessor(args);
24 return new SourceMap(sourceMapURL, sourceMapObject);
41 var cppProcessor = new CppProcessor(
42 new (entriesProviders[params.platform])(params.nm, params.targetRootFS),
  /external/vboot_reference/scripts/keygeneration/
increment_kernel_data_key.sh 34 Generating new kernel data version, and new kernel keyblock.
36 New Kernel data key version: ${new_kernkey_ver}.
increment_kernel_subkey.sh 34 Generating new kernel subkey and new kernel keyblock.
36 New Firmware version (due to kernel subkey change): ${new_firm_ver}.
  /bionic/tests/libs/
Android.build.linker_namespaces.mk 40 -Wl,--enable-new-dtags
  /external/antlr/runtime/Ruby/test/unit/
test-trees.rb 13 @adaptor = CommonTreeAdaptor.new
17 CommonTreeNodeStream.new(t)
21 t = CommonTree.new(CommonToken.new { |t| t.type = 101 })
36 v = Class.new(CommonTree) do
39 super(token || (CommonToken.new { |t| t.type = type } if type))
47 t = v.new(nil, 101, 2)
48 u = v.new CommonToken.create(:type => 102, :text => '102')
60 t = CommonTree.new CommonToken[101]
61 t.add_child( CommonTree.new CommonToken[102]
    [all...]
  /external/cn-cbor/test/
CMakeLists.txt 31 COMMAND env MallocStackLogging=true ./cn-test >new.out
32 COMMAND diff new.out expected.out
  /external/grpc-grpc/examples/ruby/without_protobuf/
echo_server.rb 38 s = GRPC::RpcServer.new
  /external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
GeneratedServiceBaseTest.cs 43 server = new Server(new[] { new ChannelOption(ChannelOptions.SoReuseport, 0) })
45 Services = { TestService.BindService(new UnimplementedTestServiceImpl()) },
49 channel = new Channel(Host, server.Ports.Single().BoundPort, ChannelCredentials.Insecure);
50 client = new TestService.TestServiceClient(channel);
63 var ex = Assert.Throws<RpcException>(() => client.UnaryCall(new SimpleRequest { }));
79 var call = client.StreamingOutputCall(new StreamingOutputCallRequest());
  /external/grpc-grpc/src/ruby/bin/
noproto_server.rb 35 NoProtoMsg.new
65 GRPC::Core::ServerCredentials.new(
74 OptionParser.new do |opts|
84 s = GRPC::RpcServer.new
  /external/protobuf/ruby/tests/
repeated_field_test.rb 9 m = TestMessage.new
10 (Enumerable.instance_methods - TestMessage.new.repeated_string.methods).each do |method_name|
16 m = TestMessage.new
17 arr_methods = ([].methods - TestMessage.new.repeated_string.methods)
28 m = TestMessage.new
42 assert_equal TestMessage2.new(:foo => 1), m.repeated_msg.first
48 m = TestMessage.new
62 assert_equal TestMessage2.new(:foo => 2), m.repeated_msg.last
68 m = TestMessage.new
92 assert_equal TestMessage2.new(:foo => 2), m.repeated_msg.po
    [all...]

Completed in 838 milliseconds

1 2 3 4 5 6 7 8 91011>>