Home
last modified time | relevance | path

Searched refs:tutorial (Results 1 – 25 of 93) sorted by relevance

1234

/thrift-3.4.0/tutorial/cl/
DMakefile.am22 gen-cl: $(top_srcdir)/tutorial/tutorial.thrift
27 make-tutorial-server.lisp \
28 make-tutorial-client.lisp \
30 thrift-tutorial.asd \
31 tutorial-implementation.lisp
39 $(SBCL) --script make-tutorial-server.lisp
40 $(SBCL) --script make-tutorial-client.lisp
56 -$(RM) tutorial-implementation.fasl
61 tutorial-implementation.lisp \
63 thrift-tutorial.asd \
[all …]
/thrift-3.4.0/tutorial/java/
DREADME.md10 4) Run the tutorial:
14 thrift/tutorial/java$ make tutorial
18 thrift/tutorial/java$ make tutorialserver
19 thrift/tutorial/java$ make tutorialclient
23 thrift/tutorial/java$ ant tutorialserver
24 thrift/tutorial/java$ ant tutorialclient
/thrift-3.4.0/tutorial/dart/
DMakefile.am20 BUILT_SOURCES = gen-dart/tutorial/lib/tutorial.dart gen-dart/shared/lib/shared.dart
22 gen-dart/tutorial/lib/tutorial.dart gen-dart/shared/lib/shared.dart: $(top_srcdir)/tutorial/tutoria…
25 all-local: gen-dart/tutorial/lib/tutorial.dart pub-get
43 pub-get-gen: pub-get-tutorial pub-get-shared
45 pub-get-tutorial: gen-dart/tutorial/lib/tutorial.dart
46 cd gen-dart/tutorial; ${DARTPUB} get
/thrift-3.4.0/tutorial/php/
DPhpServer.php4 namespace tutorial\php;
55 class CalculatorHandler implements \tutorial\CalculatorIf {
67 public function calculate($logid, \tutorial\Work $w) {
70 case \tutorial\Operation::ADD:
73 case \tutorial\Operation::SUBTRACT:
76 case \tutorial\Operation::MULTIPLY:
79 case \tutorial\Operation::DIVIDE:
81 $io = new \tutorial\InvalidOperation();
89 $io = new \tutorial\InvalidOperation();
123 $processor = new \tutorial\CalculatorProcessor($handler);
DPhpClient.php4 namespace tutorial\php;
53 $client = new \tutorial\CalculatorClient($protocol);
63 $work = new \tutorial\Work();
65 $work->op = \tutorial\Operation::DIVIDE;
72 } catch (\tutorial\InvalidOperation $io) {
76 $work->op = \tutorial\Operation::SUBTRACT;
DMakefile.am20 gen-php/tutorial/Calculator.php gen-php/shared/SharedService.php: $(top_srcdir)/tutorial/tutorial.t…
23 all-local: gen-php/tutorial/Calculator.php
/thrift-3.4.0/tutorial/go/
DMakefile.am22 gen-go/tutorial/calculator.go gen-go/shared/shared_service.go: $(top_srcdir)/tutorial/tutorial.thri…
23 …com/apache/thrift/lib/go/thrift,package_prefix=github.com/apache/thrift/tutorial/go/gen-go/$(COMPI…
25 all-local: gen-go/tutorial/calculator.go
28 $(GO) build $(GOBUILDEXTRA) -o go-tutorial ./src
29 …$(GO) build $(GOBUILDEXTRA) -o calculator-remote ./gen-go/tutorial/calculator-remote/calculator-re…
46 $(RM) -r gen-* go-tutorial calculator-remote
/thrift-3.4.0/
D.gitignore398 /tutorial/cl/quicklisp.lisp
399 /tutorial/cl/externals/
400 /tutorial/cl/quicklisp/
401 /tutorial/cl/TutorialClient
402 /tutorial/cl/TutorialServer
403 /tutorial/cl/backport-update.zip
404 /tutorial/cl/lib/
405 /tutorial/cl/shared-implementation.fasl
406 /tutorial/cl/tutorial-implementation.fasl
407 /tutorial/cpp/TutorialClient
[all …]
/thrift-3.4.0/tutorial/perl/
DPerlClient.pl34 use tutorial::Calculator;
36 use tutorial::Types;
43 my $client = tutorial::CalculatorClient->new($protocol);
56 my $work = tutorial::Work->new();
58 $work->op(tutorial::Operation::DIVIDE);
69 $work->op(tutorial::Operation::SUBTRACT);
DPerlServer.pl28 use tutorial::Calculator;
63 if ($op == tutorial::Operation::ADD) {
65 } elsif ($op == tutorial::Operation::SUBTRACT) {
67 } elsif ($op == tutorial::Operation::MULTIPLY) {
69 } elsif ($op == tutorial::Operation::DIVIDE) {
72 my $x = tutorial::InvalidOperation->new();
79 my $x = tutorial::InvalidOperation->new();
110 my $processor = tutorial::CalculatorProcessor->new($handler);
DMakefile.am20 gen-perl/tutorial/Calculator.pm gen-perl/shared/SharedService.pm: $(top_srcdir)/tutorial/tutorial.t…
23 all-local: gen-perl/tutorial/Calculator.pm
/thrift-3.4.0/tutorial/go/src/
Dclient.go32 func handleClient(client *tutorial.CalculatorClient) (err error) {
39 work := tutorial.NewWork()
40 work.Op = tutorial.Operation_DIVIDE
46 case *tutorial.InvalidOperation:
55 work.Op = tutorial.Operation_SUBTRACT
61 case *tutorial.InvalidOperation:
98 return handleClient(tutorial.NewCalculatorClient(thrift.NewTStandardClient(iprot, oprot)))
Dhandler.go49 func (p *CalculatorHandler) Calculate(ctx context.Context, logid int32, w *tutorial.Work) (val int3…
52 case tutorial.Operation_ADD:
54 case tutorial.Operation_SUBTRACT:
56 case tutorial.Operation_MULTIPLY:
58 case tutorial.Operation_DIVIDE:
60 ouch := tutorial.NewInvalidOperation()
68 ouch := tutorial.NewInvalidOperation()
/thrift-3.4.0/tutorial/py/
DMakefile.am20 gen-py/tutorial/Calculator.py gen-py/shared/SharedService.py: $(top_srcdir)/tutorial/tutorial.thrift
23 all-local: gen-py/tutorial/Calculator.py
/thrift-3.4.0/tutorial/py.tornado/
DMakefile.am20 gen-py.tornado/tutorial/Calculator.py gen-py.tornado/shared/SharedService.py: $(top_srcdir)/tutoria…
23 all-local: gen-py.tornado/tutorial/Calculator.py
/thrift-3.4.0/tutorial/py.twisted/
DMakefile.am20 gen-py/tutorial/Calculator.py gen-py/shared/SharedService.py: $(top_srcdir)/tutorial/tutorial.thrift
23 all-local: gen-py/tutorial/Calculator.py
/thrift-3.4.0/tutorial/rs/
DMakefile.am22 gen-rs/tutorial.rs gen-rs/shared.rs: $(top_srcdir)/tutorial/tutorial.thrift
25 all-local: gen-rs/tutorial.rs
45 -$(RM) src/tutorial.rs
/thrift-3.4.0/tutorial/haxe/
DMakefile.am24 gen-haxe/tutorial/calculator.hx gen-haxe/shared/shared_service.hx: $(top_srcdir)/tutorial/tutorial.…
29 check: gen-haxe/tutorial/calculator.hx
34 gen-haxe/tutorial/calculator.hx
40 gen-haxe/tutorial/calculator.hx
46 gen-haxe/tutorial/calculator.hx
/thrift-3.4.0/lib/go/test/fuzz/
DMakefile.am21 …rt=github.com/apache/thrift/lib/go/thrift$(COMPILER_EXTRAFLAG) ../../../../tutorial/tutorial.thrift
23 cd gen-go/tutorial && go mod init tutorial
Dfuzz.go64 processor := tutorial.NewCalculatorProcessor(handler)
98 func (p *CalculatorHandler) Calculate(ctx context.Context, logid int32, w *tutorial.Work) (val int3…
101 case tutorial.Operation_ADD:
104 case tutorial.Operation_SUBTRACT:
107 case tutorial.Operation_MULTIPLY:
110 case tutorial.Operation_DIVIDE:
112 ouch := tutorial.NewInvalidOperation()
121 ouch := tutorial.NewInvalidOperation()
Dgo.mod9 replace tutorial => ./gen-go/tutorial
14 tutorial v0.0.0-00010101000000-000000000000
/thrift-3.4.0/lib/cl/
DREADME.md76 The dependencies are bundled for local builds of tests and tutorial binaries -
88 interface. The remainder of this document follows the Thrift tutorial to illustrate how
104 The tutorial comprises serveral functions: `add`, `ping`, `zip`, and `calculate`.
106 the tutorial file, the relevant packages are:
108 * tutorial.calculator
109 * tutorial.calculator-implementation
110 * tutorial.calculator-response
115 It is suggested to work in the `tutorial-implementation` package while implementing
121 (in-package :tutorial-implementation)
123 (defun tutorial.calculator-implementation:add (num1 num2)
[all …]
/thrift-3.4.0/build/docker/scripts/
Dsca.sh12 ./configure --enable-tutorial=no
30 cppcheck --force --quiet --inline-suppr --enable=all -j2 lib/cpp/src lib/cpp/test test/cpp tutorial
33 …uiet --inline-suppr --enable=all -j2 lib/c_glib/src lib/c_glib/test test/c_glib/src tutorial/c_glib
38 …-force --quiet --inline-suppr --error-exitcode=1 -j2 lib/cpp/src lib/cpp/test test/cpp tutorial/cpp
39 …-inline-suppr --error-exitcode=1 -j2 lib/c_glib/src lib/c_glib/test test/c_glib/src tutorial/c_glib
/thrift-3.4.0/tutorial/swift/
DMakefile.am24 $(THRIFT) --gen swift -r -o Sources/Common $(top_srcdir)/tutorial/tutorial.thrift
26 tutorial: gen_swift target
/thrift-3.4.0/tutorial/
DMakefile.am97 $(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/tutorial/tutorial.thrift
100 rm -rf $(top_srcdir)/tutorial/gen-html
112 tutorial.thrift \

1234