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

<<11121314151617181920>>

  /external/python/oauth2client/oauth2client/
_pycrypto_crypt.py 49 return PKCS1_v1_5.new(self._pubkey).verify(
50 SHA256.new(message), signature)
99 return PKCS1_v1_5.new(self._key).sign(SHA256.new(message))
  /external/v8/benchmarks/
raytrace.js 11 var RayTrace = new BenchmarkSuite('RayTrace', 739989, [
12 new Benchmark('RayTrace', renderScene)
95 var result = new Flog.RayTracer.Color(0,0,0);
105 var result = new Flog.RayTracer.Color(0,0,0);
117 var result = new Flog.RayTracer.Color(0,0,0);
127 var result = new Flog.RayTracer.Color(0,0,0);
137 var result = new Flog.RayTracer.Color(0,0,0);
147 var result = new Flog.RayTracer.Color(0,0,0);
168 var result = new Flog.RayTracer.Color(0,0,0);
237 return new Flog.RayTracer.Vector(this.x / m, this.y / m, this.z / m)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
fix_intern.py 38 new = pytree.Node(syms.power,
44 new.prefix = node.prefix
46 return new
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
fixnotice.py 20 Use the notice in the file as the new (replacement) string, instead of
103 new = file + ".new"
105 f = open(new, "w")
109 os.rename(new, file)
  /external/antlr/runtime/Perl5/lib/ANTLR/Runtime/
Token.pm 39 #Readonly my $EOF_TOKEN => ANTLR::Runtime::CommonToken->new({ type => EOF });
42 state $EOF_TOKEN = ANTLR::Runtime::CommonToken->new({ type => EOF });
49 #Readonly my $INVALID_TOKEN => ANTLR::Runtime::CommonToken->new({ type => INVALID_TOKEN_TYPE });
52 state $INVALID_TOKEN = ANTLR::Runtime::CommonToken->new({ type => INVALID_TOKEN_TYPE });
58 #Readonly my $SKIP_TOKEN => ANTLR::Runtime::CommonToken->new({ type => INVALID_TOKEN_TYPE });
61 state $SKIP_TOKEN = ANTLR::Runtime::CommonToken->new({ type => INVALID_TOKEN_TYPE });
  /external/antlr/runtime/Ruby/lib/antlr3/template/
parameter.rb 5 Parameter = Struct.new( :name, :default )
20 new.add( :values ) do | p |
36 else Parameter.new( name.to_s )
  /external/antlr/runtime/Ruby/test/functional/token-rewrite/
basic.rb 19 lexer = SimpleRewriting::Lexer.new( input )
20 tokens = ANTLR3::TokenRewriteStream.new( lexer )
227 lexer = SimpleRewriting::Lexer.new( 'abcc' )
228 stream = ANTLR3::TokenRewriteStream.new( lexer )
239 lexer = SimpleRewriting::Lexer.new( 'abcccba' )
240 stream = ANTLR3::TokenRewriteStream.new( lexer )
250 lexer = SimpleRewriting::Lexer.new( 'abcccba' )
251 stream = ANTLR3::TokenRewriteStream.new( lexer )
261 lexer = SimpleRewriting::Lexer.new( 'abcccba' )
262 stream = ANTLR3::TokenRewriteStream.new( lexer
    [all...]
via-parser.rb 91 lexer = TokenRewrites::Lexer.new( input )
92 tokens = ANTLR3::TokenRewriteStream.new( lexer )
93 parser = TokenRewrites::Parser.new( tokens )
  /external/grpc-grpc/examples/node/static_codegen/
helloworld_grpc_pb.js 24 throw new Error('Expected argument of type HelloReply');
26 return new Buffer(arg.serializeBinary());
30 return helloworld_pb.HelloReply.deserializeBinary(new Uint8Array(buffer_arg));
35 throw new Error('Expected argument of type HelloRequest');
37 return new Buffer(arg.serializeBinary());
41 return helloworld_pb.HelloRequest.deserializeBinary(new Uint8Array(buffer_arg));
  /external/grpc-grpc/examples/ruby/errors_and_cancellation/
error_examples_client.rb 32 resp = stub.get_feature(Point.new)
36 resps = stub.list_features(Rectangle.new)
54 stub = RouteGuide::Stub.new('localhost:50051', :this_channel_is_insecure)
  /external/grpc-grpc/src/ruby/qps/
client.rb 49 cred = GRPC::Core::ChannelCredentials.new(certs[0])
51 cred = GRPC::Core::ChannelCredentials.new()
65 @histogram = Histogram.new(@histres, @histmax)
72 req = gtsr.new(response_type: gtpt::COMPRESSABLE,
74 payload: gtp.new(type: gtpt::COMPRESSABLE,
82 stub = gtbss.new(st[chan % st.length], cred, **opts)
84 @child_threads << Thread.new {
89 waiter = Poisson.new(config.load_params.poisson.offered_load /
118 q = EnumeratorQueue.new(self)
137 lat = Grpc::Testing::HistogramData.new(
    [all...]
qps-common.rb 47 @q = Queue.new
74 yield sr.new(payload: pl.new(body: nulls(req.response_size)))
  /external/icu/icu4j/perf-tests/
Dataset.pm 14 # Create a new Dataset with the given data.
15 sub new { subroutine
27 my $stats = Statistics::Descriptive::Full->new();
70 # Divide two Datasets and return a new one, maintaining the
71 # mean+/-error. The new Dataset has no data points.
81 my $result = Dataset->new();
  /external/python/cpython2/Lib/lib2to3/fixes/
fix_intern.py 48 new = pytree.Node(syms.power,
54 new.prefix = node.prefix
56 return new
  /external/python/cpython2/Tools/scripts/
fixnotice.py 20 Use the notice in the file as the new (replacement) string, instead of
103 new = file + ".new"
105 f = open(new, "w")
109 os.rename(new, file)
  /external/python/cpython3/Tools/scripts/
fixnotice.py 20 Use the notice in the file as the new (replacement) string, instead of
103 new = file + ".new"
105 f = open(new, "w")
109 os.rename(new, file)
  /external/grpc-grpc/examples/node/static_codegen/route_guide/
route_guide_grpc_pb.js 24 throw new Error('Expected argument of type Feature');
26 return new Buffer(arg.serializeBinary());
30 return route_guide_pb.Feature.deserializeBinary(new Uint8Array(buffer_arg));
35 throw new Error('Expected argument of type Point');
37 return new Buffer(arg.serializeBinary());
41 return route_guide_pb.Point.deserializeBinary(new Uint8Array(buffer_arg));
46 throw new Error('Expected argument of type Rectangle');
48 return new Buffer(arg.serializeBinary());
52 return route_guide_pb.Rectangle.deserializeBinary(new Uint8Array(buffer_arg));
57 throw new Error('Expected argument of type RouteNote')
    [all...]
  /external/grpc-grpc/src/csharp/Grpc.Core.Tests/
CallCancellationTest.cs 44 helper = new MockServiceHelper(Host);
60 var barrier = new TaskCompletionSource<object>();
62 helper.ClientStreamingHandler = new ClientStreamingServerMethod<string, string>(async (requestStream, context) =>
69 var cts = new CancellationTokenSource();
70 var call = Calls.AsyncClientStreamingCall(helper.CreateClientStreamingCall(new CallOptions(cancellationToken: cts.Token)));
90 var handlerStartedBarrier = new TaskCompletionSource<object>();
91 var cancelNotificationReceivedBarrier = new TaskCompletionSource<object>();
92 var successTcs = new TaskCompletionSource<string>();
94 helper.ClientStreamingHandler = new ClientStreamingServerMethod<string, string>(async (requestStream, context) =>
107 var cts = new CancellationTokenSource()
    [all...]
  /external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
MapUnittestProto3.cs 151 new pbr::FileDescriptor[] { global::Google.Protobuf.TestProtos.UnittestProto3Reflection.Descriptor, },
152 new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Protobuf.TestProtos.MapEnum), }, new pbr::GeneratedClrTypeInfo[] {
153 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestMap), global::Google.Protobuf.TestProtos.TestMap.Parser, new[]{ "MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBoolBool", "MapStringString", "MapInt32Bytes", "MapInt32Enum", "MapInt32ForeignMessage" }, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, }),
154 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestMapSubmessage), global::Google.Protobuf.TestProtos.TestMapSubmessage.Parser, new[]{ "TestMap" }, null, null, null),
155 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestProtos.TestMessageMap), global::Googl (…)
    [all...]
  /external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
BaseTreeAdaptor.as 35 var t:CommonErrorNode = new CommonErrorNode(input, start, stop, e);
57 // ensure new subtree root has parent/child index set
58 setChildIndex(newTree, getChildIndex(t)); // same index in new tree
85 * old=^(nil a b c), new=r yields ^(r a b c)
86 * old=^(a b c), new=r yields ^(r ^(a b c))
89 * child as the new root node.
91 * old=^(nil a b c), new=^(nil r) yields ^(r a b c)
92 * old=^(a b c), new=^(nil r) yields ^(r ^(a b c))
96 * old=null, new=r yields r
97 * old=null, new=^(nil r) yields ^(nil r
    [all...]
  /external/grpc-grpc/src/ruby/lib/grpc/generic/
rpc_server.rb 29 @jobs = Queue.new
32 @stop_mutex = Mutex.new # needs to be held when accessing @stopped
33 @stop_cond = ConditionVariable.new
39 @ready_workers = Queue.new
80 new_worker_queue = Queue.new
82 next_thread = Thread.new(new_worker_queue) do |jobs|
182 # Creates a new RpcServer.
228 @pool = Pool.new(@pool_size, keep_alive: pool_keep_alive)
229 @run_cond = ConditionVariable.new
230 @run_mutex = Mutex.new
    [all...]
  /external/python/cpython3/Lib/
quopri.py 128 new = b''
143 new = new + b' '; i = i+1
145 new = new + c; i = i+1
149 new = new + ESCAPE; i = i+2
151 new = new + bytes((unhex(line[i+1:i+3]),)); i = i+3
153 new = new + c; i = i+
    [all...]
  /external/ImageMagick/PerlMagick/t/
subroutines.pl 52 $background=Image::Magick->new;
53 $composite=Image::Magick->new;
54 $refimage=Image::Magick->new;
185 if (Image::Magick->new()->QuantumDepth == 32)
189 elsif (Image::Magick->new()->QuantumDepth == 16)
207 $image=Image::Magick->new;
226 print " Depth: ", Image::Magick->new()->QuantumDepth, "\n";
248 $image=Image::Magick->new(magick=>$magick);
264 print " Depth: ", Image::Magick->new()->QuantumDepth, "\n";
296 $srcimage=Image::Magick->new;
    [all...]
  /external/antlr/runtime/Ruby/test/functional/delegation/
import.rb 39 lexer = DIDRMaster::Lexer.new( 'b' )
40 tokens = ANTLR3::CommonTokenStream.new( lexer )
41 parser = DIDRMaster::Parser.new( tokens )
70 lexer = Master2::Lexer.new( 'b' )
71 tokens = ANTLR3::CommonTokenStream.new( lexer )
72 parser = Master2::Parser.new( tokens )
106 parser = Master3::Parser.new( Master3::Lexer.new( 'b' ) )
149 parser = Master4::Parser.new( Master4::Lexer.new( 'b' )
    [all...]
  /external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
TestServiceImpl.cs 37 return Task.FromResult(new Empty());
45 var response = new SimpleResponse { Payload = CreateZerosPayload(request.ResponseSize) };
56 var response = new StreamingOutputCallResponse { Payload = CreateZerosPayload(responseParam.Size) };
71 return new StreamingInputCallResponse { AggregatedPayloadSize = sum };
83 var response = new StreamingOutputCallResponse { Payload = CreateZerosPayload(responseParam.Size) };
91 throw new NotImplementedException();
96 return new Payload { Body = ByteString.CopyFrom(new byte[size]) };
104 await context.WriteResponseHeadersAsync(new Metadata { entry });
118 context.Status = new Status(statusCode, responseStatus.Message)
    [all...]

Completed in 623 milliseconds

<<11121314151617181920>>