Home
last modified time | relevance | path

Searched full:ruby (Results 1 – 25 of 641) sorted by relevance

12345678910>>...26

/external/grpc-grpc/tools/run_tests/helper_scripts/
Drun_ruby_end2end_tests.sh22 time ruby src/ruby/end2end/sig_handling_driver.rb || EXIT_CODE=1
23 time ruby src/ruby/end2end/channel_state_driver.rb || EXIT_CODE=1
24 time ruby src/ruby/end2end/channel_closing_driver.rb || EXIT_CODE=1
25 time ruby src/ruby/end2end/sig_int_during_channel_watch_driver.rb || EXIT_CODE=1
26 time ruby src/ruby/end2end/killed_client_thread_driver.rb || EXIT_CODE=1
27 time ruby src/ruby/end2end/forking_client_driver.rb || EXIT_CODE=1
28 time ruby src/ruby/end2end/grpc_class_init_driver.rb || EXIT_CODE=1
29 time ruby src/ruby/end2end/multiple_killed_watching_threads_driver.rb || EXIT_CODE=1
30 time ruby src/ruby/end2end/load_grpc_with_gc_stress_driver.rb || EXIT_CODE=1
31 time ruby src/ruby/end2end/client_memory_usage_driver.rb || EXIT_CODE=1
[all …]
/external/grpc-grpc/tools/interop_matrix/testcases/
Druby__master3 …--net=host $docker_image bash -c "tools/run_tests/interop/with_rvm.sh ruby src/ruby/pb/test/client…
4 …--net=host $docker_image bash -c "tools/run_tests/interop/with_rvm.sh ruby src/ruby/pb/test/client…
5 …--net=host $docker_image bash -c "tools/run_tests/interop/with_rvm.sh ruby src/ruby/pb/test/client…
6 …--net=host $docker_image bash -c "tools/run_tests/interop/with_rvm.sh ruby src/ruby/pb/test/client…
7 …--net=host $docker_image bash -c "tools/run_tests/interop/with_rvm.sh ruby src/ruby/pb/test/client…
8 …--net=host $docker_image bash -c "tools/run_tests/interop/with_rvm.sh ruby src/ruby/pb/test/client…
9 …--net=host $docker_image bash -c "tools/run_tests/interop/with_rvm.sh ruby src/ruby/pb/test/client…
10 …--net=host $docker_image bash -c "tools/run_tests/interop/with_rvm.sh ruby src/ruby/pb/test/client…
11 …--net=host $docker_image bash -c "tools/run_tests/interop/with_rvm.sh ruby src/ruby/pb/test/client…
12 …--net=host $docker_image bash -c "tools/run_tests/interop/with_rvm.sh ruby src/ruby/pb/test/client…
[all …]
Druby__v1.0.13 …-net=host $docker_image bash -c "source /usr/local/rvm/scripts/rvm && ruby src/ruby/pb/test/client…
4 …-net=host $docker_image bash -c "source /usr/local/rvm/scripts/rvm && ruby src/ruby/pb/test/client…
5 …-net=host $docker_image bash -c "source /usr/local/rvm/scripts/rvm && ruby src/ruby/pb/test/client…
6 …-net=host $docker_image bash -c "source /usr/local/rvm/scripts/rvm && ruby src/ruby/pb/test/client…
7 …-net=host $docker_image bash -c "source /usr/local/rvm/scripts/rvm && ruby src/ruby/pb/test/client…
8 …-net=host $docker_image bash -c "source /usr/local/rvm/scripts/rvm && ruby src/ruby/pb/test/client…
9 …-net=host $docker_image bash -c "source /usr/local/rvm/scripts/rvm && ruby src/ruby/pb/test/client…
10 …-net=host $docker_image bash -c "source /usr/local/rvm/scripts/rvm && ruby src/ruby/pb/test/client…
11 …-net=host $docker_image bash -c "source /usr/local/rvm/scripts/rvm && ruby src/ruby/pb/test/client…
12 …-net=host $docker_image bash -c "source /usr/local/rvm/scripts/rvm && ruby src/ruby/pb/test/client…
[all …]
/external/protobuf/ruby/src/main/java/google/
DProtobufJavaService.java36 import org.jruby.Ruby;
43 public boolean basicLoad(Ruby ruby) throws IOException { in basicLoad() argument
44 ruby.defineModule("Google"); in basicLoad()
45 RubyProtobuf.createProtobuf(ruby); in basicLoad()
46 RubyDescriptor.createRubyDescriptor(ruby); in basicLoad()
47 RubyBuilder.createRubyBuilder(ruby); in basicLoad()
48 RubyFieldDescriptor.createRubyFileDescriptor(ruby); in basicLoad()
49 RubyMessageBuilderContext.createRubyMessageBuilderContext(ruby); in basicLoad()
50 RubyEnumDescriptor.createRubyEnumDescriptor(ruby); in basicLoad()
51 RubyEnumBuilderContext.createRubyEnumBuilderContext(ruby); in basicLoad()
[all …]
/external/grpc-grpc/templates/
Dgrpc.gemspec.template3 # -*- ruby -*-
5 $LOAD_PATH.push File.expand_path('../src/ruby/lib', __FILE__)
13 s.homepage = 'https://github.com/google/grpc/tree/master/src/ruby'
14 s.summary = 'GRPC system in Ruby'
15 s.description = 'Send RPCs from Ruby using GRPC'
22 s.files += Dir.glob('src/ruby/bin/**/*')
23 s.files += Dir.glob('src/ruby/ext/**/*')
24 s.files += Dir.glob('src/ruby/lib/**/*')
25 s.files += Dir.glob('src/ruby/pb/**/*').reject do |f|
26 f.match(%r{^src/ruby/pb/test})
[all …]
/external/grpc-grpc/
DRakefile1 # -*- ruby -*-
14 task.options = ['-c', 'src/ruby/.rubocop.yml']
16 task.patterns = ['src/ruby/{lib,spec}/**/*.rb', 'src/ruby/end2end/*.rb']
33 ext.ext_dir = File.join('src', 'ruby', 'ext', 'grpc')
34 ext.lib_dir = File.join('src', 'ruby', 'lib', 'grpc')
42 spec.files = %w( etc/roots.pem grpc_c.32.ruby grpc_c.64.ruby )
43 spec.files += Dir.glob('src/ruby/bin/**/*')
44 spec.files += Dir.glob('src/ruby/ext/**/*')
45 spec.files += Dir.glob('src/ruby/lib/**/*')
46 spec.files += Dir.glob('src/ruby/pb/**/*')
[all …]
/external/grpc-grpc/examples/ruby/
DREADME.md1 gRPC in 3 minutes (Ruby)
11 - Ruby 2.x
12 This requires Ruby 2.x, as the gRPC API surface uses keyword args.
13 … installed locally, you can use [RVM][] to use Ruby 2.x for testing without upgrading the version …
14 RVM is also useful if you don't have the necessary privileges to update your system's Ruby.
19 $ \curl -sSL https://get.rvm.io | bash -s stable --ruby=ruby-2
21 $ # follow the instructions to ensure that your're using the latest stable version of Ruby
28 - [Install gRPC Ruby][]
58 You can find a more detailed tutorial in [gRPC Basics: Ruby][]
62 [Install gRPC ruby]:../../src/ruby#installation
[all …]
/external/grpc-grpc/src/ruby/
DREADME.md2 gRPC Ruby
5 A Ruby implementation of gRPC.
10 - Ruby 2.x. The gRPC API uses keyword args.
31 - Install Ruby 2.x. Consider doing this with [RVM](http://rvm.io), it's a nice way of controlling
32 the exact ruby version that's used.
35 $ \curl -sSL https://get.rvm.io | bash -s stable --ruby=ruby-2
37 $ # follow the instructions to ensure that your're using the latest stable version of Ruby
50 $ bundle install # creates the ruby bundle, including building the grpc extension
57 - the gRPC Ruby reference documentation is available online at [grpc.io][]
61 Directory structure is the layout for [ruby extensions][]
[all …]
/external/antlr/runtime/Ruby/test/functional/ast-output/
Drewrites.rb1 #!/usr/bin/ruby
62 options {language=Ruby;output=AST;}
75 options {language=Ruby;output=AST;}
89 options {language=Ruby;output=AST;}
103 options {language=Ruby;output=AST;}
117 options {language=Ruby;output=AST;}
130 options {language=Ruby;output=AST;}
144 options {language=Ruby;output=AST;}
158 options {language=Ruby;output=AST;}
173 options {language=Ruby;output=AST;}
[all …]
Dtree-rewrite.rb1 #!/usr/bin/ruby
11 language=Ruby;
23 language=Ruby;
35 language=Ruby;
47 language=Ruby;
58 language=Ruby;
70 language=Ruby;
81 language=Ruby;
93 language=Ruby;
104 language=Ruby;
[all …]
Dauto-ast.rb1 #!/usr/bin/ruby
63 options {language=Ruby;output=AST;}
75 options {language=Ruby;output=AST;}
87 options {language=Ruby;output=AST;}
99 options {language=Ruby;output=AST;}
111 options {language=Ruby;output=AST;}
124 options {language=Ruby;output=AST;}
136 options {language=Ruby;output=AST;}
148 options {language=Ruby;output=AST;}
160 options {language=Ruby;output=AST;}
[all …]
Dhetero-nodes.rb1 #!/usr/bin/ruby
12 language=Ruby;
31 language=Ruby;
50 language=Ruby;
69 language=Ruby;
88 language=Ruby;
108 language=Ruby;
128 language=Ruby;
148 language=Ruby;
168 language=Ruby;
[all …]
/external/protobuf/ruby/
DREADME.md1 This directory contains the Ruby extension that implements Protocol Buffers
2 functionality in Ruby.
4 The Ruby extension makes use of generated Ruby code that defines message and
5 enum types in a Ruby DSL. You may write definitions in this DSL directly, but
6 we recommend using protoc's Ruby generation support with .proto files. The
8 install protoc as well to have Ruby code generation functionality.
20 of the Ruby extension; it allows `gem` to consider these "pre-release"
24 message type descriptions directly in the Ruby DSL, you do not need it.
25 However, if you wish to generate the Ruby DSL from a `.proto` file, you will
28 supports the `--ruby_out` option to generate Ruby code.
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ruby/
DRubyTest.java16 package org.yaml.snakeyaml.ruby;
31 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testParse()
40 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testEmitNoTags()
57 TestObject result = parseObject(Util.getLocalResource("ruby/ruby1.yaml")); in testEmitWithTags()
61 repr.addClassTag(TestObject.class, new Tag("!ruby/object:Test::Module::Object")); in testEmitWithTags()
62 repr.addClassTag(Sub1.class, new Tag("!ruby/object:Test::Module::Sub1")); in testEmitWithTags()
63 repr.addClassTag(Sub2.class, new Tag("!ruby/object:Test::Module::Sub2")); in testEmitWithTags()
68 output.startsWith("--- !ruby/object:Test::Module::Object")); in testEmitWithTags()
70 output.contains("!ruby/object:Test::Module::Sub1")); in testEmitWithTags()
71 assertTrue("Tags must be present.", output.contains("!ruby/object:Test::Module::Sub2")); in testEmitWithTags()
[all …]
/external/antlr/runtime/Ruby/test/functional/delegation/
Dimport.rb1 #!/usr/bin/ruby
19 options { language=Ruby; }
29 options { language=Ruby; }
50 language=Ruby;
61 options {language=Ruby;}
81 language=Ruby;
97 language=Ruby;
115 language=Ruby;
128 language=Ruby;
140 language=Ruby;
[all …]
/external/grpc-grpc/tools/interop_matrix/patches/ruby_v1.0.1/
Dgit_repo.patch9 -# Install Ruby 2.1
10 -RUN /bin/bash -l -c "rvm install ruby-2.1"
11 -RUN /bin/bash -l -c "rvm use --default ruby-2.1"
12 +# Install Ruby 2.1.8
13 +RUN /bin/bash -l -c "rvm install ruby-2.1.8"
14 +RUN /bin/bash -l -c "rvm use --default ruby-2.1.8"
17 -RUN /bin/bash -l -c "echo 'rvm --default use ruby-2.1' >> ~/.bashrc"
18 +RUN /bin/bash -l -c "echo 'rvm --default use ruby-2.1.8' >> ~/.bashrc"
30 -rvm --default use ruby-2.1
31 +rvm --default use ruby-2.1.8
[all …]
/external/antlr/runtime/Ruby/
DREADME.txt1 ANTLR 3 for Ruby
8 Fully-featured ANTLR 3 parser generation for Ruby.
22 ANTLR is currently distributed with a fairly limited Ruby target implementation.
34 in ruby code
36 * a ruby run-time library that collects classes used throughout the code that
44 1. generates ruby code capable of:
65 language = Ruby; // <- this option must be set to Ruby
86 ruby SomeLanguageLexer.rb < path/to/source-code.xyz
89 ruby SomeLanguageParser.rb --rule=top < path/to/source-code.xyz
96 * Currently, there are a few nuanced ways in which using the ruby output differs
[all …]
/external/bcc/tools/
Dcobjnew_example.txt9 For example, trace Ruby object allocations when running some simple commands
10 in irb (the Ruby REPL):
12 # ./uobjnew -l ruby 27245
13 Tracing allocations in process 27245 (language: ruby)... Ctrl-C to quit.
51 usage: uobjnew.py [-h] [-l {c,java,ruby,tcl}] [-C TOP_COUNT] [-S TOP_SIZE] [-v]
62 -l {c,java,ruby,tcl}, --language {c,java,ruby,tcl}
74 ./uobjnew -l ruby 6712 -C 10 # top 10 Ruby types by number of allocations
75 ./uobjnew -l ruby 6712 -S 10 # top 10 Ruby types by total size
Dtclobjnew_example.txt9 For example, trace Ruby object allocations when running some simple commands
10 in irb (the Ruby REPL):
12 # ./uobjnew -l ruby 27245
13 Tracing allocations in process 27245 (language: ruby)... Ctrl-C to quit.
51 usage: uobjnew.py [-h] [-l {c,java,ruby,tcl}] [-C TOP_COUNT] [-S TOP_SIZE] [-v]
62 -l {c,java,ruby,tcl}, --language {c,java,ruby,tcl}
74 ./uobjnew -l ruby 6712 -C 10 # top 10 Ruby types by number of allocations
75 ./uobjnew -l ruby 6712 -S 10 # top 10 Ruby types by total size
Djavaobjnew_example.txt9 For example, trace Ruby object allocations when running some simple commands
10 in irb (the Ruby REPL):
12 # ./uobjnew -l ruby 27245
13 Tracing allocations in process 27245 (language: ruby)... Ctrl-C to quit.
51 usage: uobjnew.py [-h] [-l {c,java,ruby,tcl}] [-C TOP_COUNT] [-S TOP_SIZE] [-v]
62 -l {c,java,ruby,tcl}, --language {c,java,ruby,tcl}
74 ./uobjnew -l ruby 6712 -C 10 # top 10 Ruby types by number of allocations
75 ./uobjnew -l ruby 6712 -S 10 # top 10 Ruby types by total size
Drubyobjnew_example.txt9 For example, trace Ruby object allocations when running some simple commands
10 in irb (the Ruby REPL):
12 # ./uobjnew -l ruby 27245
13 Tracing allocations in process 27245 (language: ruby)... Ctrl-C to quit.
51 usage: uobjnew.py [-h] [-l {c,java,ruby,tcl}] [-C TOP_COUNT] [-S TOP_SIZE] [-v]
62 -l {c,java,ruby,tcl}, --language {c,java,ruby,tcl}
74 ./uobjnew -l ruby 6712 -C 10 # top 10 Ruby types by number of allocations
75 ./uobjnew -l ruby 6712 -S 10 # top 10 Ruby types by total size
/external/bcc/tools/lib/
Duobjnew_example.txt9 For example, trace Ruby object allocations when running some simple commands
10 in irb (the Ruby REPL):
12 # ./uobjnew -l ruby 27245
13 Tracing allocations in process 27245 (language: ruby)... Ctrl-C to quit.
51 usage: uobjnew.py [-h] [-l {c,java,ruby,tcl}] [-C TOP_COUNT] [-S TOP_SIZE] [-v]
62 -l {c,java,ruby,tcl}, --language {c,java,ruby,tcl}
74 ./uobjnew -l ruby 6712 -C 10 # top 10 Ruby types by number of allocations
75 ./uobjnew -l ruby 6712 -S 10 # top 10 Ruby types by total size
/external/grpc-grpc/src/ruby/pb/
Dgenerate_proto_ruby.sh24 --grpc_out=src/ruby/pb \
25 --ruby_out=src/ruby/pb \
30 --grpc_out=src/ruby/pb \
31 --ruby_out=src/ruby/pb \
36 --grpc_out=src/ruby/qps \
37 --ruby_out=src/ruby/qps \
42 --grpc_out=src/ruby/qps \
43 --ruby_out=src/ruby/qps \
47 --grpc_out=src/ruby/bin \
48 --ruby_out=src/ruby/bin \
/external/antlr/runtime/Ruby/test/functional/main/
Dmain-scripts.rb1 #!/usr/bin/ruby
15 options { language = Ruby; }
25 # when this grammar is compiled and the resulting ruby files
33 out = `ruby #{ lexer_script } 2>&1`.chomp
43 options { language = Ruby; }
67 options { language = Ruby; }
81 options { language = Ruby; }
102 language = Ruby;
125 language = Ruby;
138 language=Ruby;
[all …]
/external/google-breakpad/src/third_party/libdisasm/swig/
DMakefile16 dummy: swig swig-python swig-ruby swig-perl swig-tcl install uninstall clean
24 swig-ruby:
25 cd ruby && make -f Makefile-swig
35 # install-ruby install-tcl
40 install-ruby:
41 cd ruby && sudo make -f Makefile-swig install
51 #uninstall-ruby uninstall-perl uninstall-tcl
56 uninstall-ruby:
57 cd ruby && sudo make -f Makefile-swig uninstall
68 cd ruby && make -f Makefile-swig clean

12345678910>>...26