/external/autotest/client/deps/webgl_mpd/src/ |
cros_fps.js | 13 this.frameDataBuf = new Array(); 20 this.frameDataBuf[this.totalFrames % this.buffer_size] = new crosFrameData( 29 this.frameDataBuf = new Array();
|
/external/grpc-grpc/src/ruby/spec/ |
channel_connection_spec.rb | 25 @server_thd = Thread.new { @srv.run } 40 stub = EchoStub.new("localhost:#{port}", :this_channel_is_insecure) 41 req = EchoMsg.new 54 ch = GRPC::Core::Channel.new("localhost:#{port}", {}, 102 ch = GRPC::Core::Channel.new("localhost:#{port}", {}, 108 thds << Thread.new do
|
/external/grpc-grpc/src/ruby/spec/generic/ |
client_interceptors_spec.rb | 17 let(:interceptor) { TestClientInterceptor.new } 19 let(:request) { EchoMsg.new } 63 requests = [EchoMsg.new, EchoMsg.new] 74 requests = [EchoMsg.new, EchoMsg.new] 90 request = EchoMsg.new 106 request = EchoMsg.new 127 requests = [EchoMsg.new, EchoMsg.new] [all...] |
active_call_spec.rb | 26 Struct::Status.new(OK, 'OK') 46 @ch = GRPC::Core::Channel.new("0.0.0.0:#{server_port}", nil, 59 @client_call = ActiveCall.new(call, @pass_through, 102 client_call = ActiveCall.new(call, @pass_through, 107 # check that server rpc new was received 113 server_call = ActiveCall.new(recvd_call, @pass_through, 128 client_call = ActiveCall.new(call, marshal, @pass_through, deadline) 139 server_call = ActiveCall.new(recvd_call, @pass_through, 154 client_call = ActiveCall.new(call, marshal, 169 server_call = ActiveCall.new(recvd_call, @pass_through [all...] |
client_stub_spec.rb | 20 n = GRPC::Notifier.new 21 t = Thread.new do 67 expected_status = Struct::Status.new 110 describe '#new' do 115 GRPC::ClientStub.new(fake_host, :this_channel_is_insecure, **opts) 126 GRPC::ClientStub.new(fake_host, :this_channel_is_insecure, **opts) 135 channel_override: Object.new 137 GRPC::ClientStub.new(fake_host, :this_channel_is_insecure, **opts) 145 GRPC::ClientStub.new(fake_host, Object.new, **opts [all...] |
/external/python/cpython2/Lib/lib2to3/pgen2/ |
grammar.py | 120 new = self.__class__() 123 setattr(new, dict_attr, getattr(self, dict_attr).copy()) 124 new.labels = self.labels[:] 125 new.states = self.states[:] 126 new.start = self.start 127 return new
|
/external/python/cpython2/Lib/plat-irix5/ |
cdplayer.py | 13 # It is also possible to set the above mentioned variables to new values. 76 new = open(filename + '.new', 'w') 84 new.write(line) 85 new.write(self.id + '.title:\t' + self.title + '\n') 86 new.write(self.id + '.artist:\t' + self.artist + '\n') 88 new.write('%s.track.%r:\t%s\n' % (self.id, i, self.track[i])) 90 new.close() 91 posix.rename(filename + '.new', filename)
|
/external/python/cpython2/Lib/plat-irix6/ |
cdplayer.py | 13 # It is also possible to set the above mentioned variables to new values. 76 new = open(filename + '.new', 'w') 84 new.write(line) 85 new.write(self.id + '.title:\t' + self.title + '\n') 86 new.write(self.id + '.artist:\t' + self.artist + '\n') 88 new.write('%s.track.%r:\t%s\n' % (self.id, i, self.track[i])) 90 new.close() 91 posix.rename(filename + '.new', filename)
|
/external/python/cpython3/Lib/lib2to3/pgen2/ |
grammar.py | 119 new = self.__class__() 122 setattr(new, dict_attr, getattr(self, dict_attr).copy()) 123 new.labels = self.labels[:] 124 new.states = self.states[:] 125 new.start = self.start 126 return new
|
/external/v8/tools/clusterfuzz/ |
v8_mock.js | 37 var result = new origDate(args[0]); 39 var result = new origDate(args[0], args[1]); 41 var result = new origDate(args[0], args[1], args[2]); 43 var result = new origDate(args[0], args[1], args[2], args[3]); 45 var result = new origDate(args[0], args[1], args[2], args[3], args[4]); 47 var result = new origDate( 50 var result = new origDate( 53 var result = new origDate(mockDateNow()); 78 Date = new Proxy(Date, handler); 100 var obj = new (Function.prototype.bind.apply(arrayType, [null].concat(args))) [all...] |
/external/v8/tools/ |
ic-processor-driver.js | 6 var processor = new ArgumentsProcessor(args); 22 return new SourceMap(sourceMapURL, sourceMapObject); 32 var icProcessor = new IcProcessor();
|
map-processor-driver.js | 6 var processor = new ArgumentsProcessor(args); 22 return new SourceMap(sourceMapURL, sourceMapObject); 32 var mapProcessor = new MapProcessor();
|
parse-processor-driver.js | 6 var processor = new ArgumentsProcessor(args); 22 return new SourceMap(sourceMapURL, sourceMapObject); 32 var parseProcessor = new ParseProcessor();
|
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/ |
MockServiceHelper.cs | 61 unaryMethod = new Method<string, string>( 68 clientStreamingMethod = new Method<string, string>( 75 serverStreamingMethod = new Method<string, string>( 82 duplexStreamingMethod = new Method<string, string>( 96 var defaultStatus = new Status(StatusCode.Unknown, "Default mock implementation. Please provide your own."); 98 unaryHandler = new UnaryServerMethod<string, string>((request, context) => 104 clientStreamingHandler = new ClientStreamingServerMethod<string, string>((requestStream, context) => 110 serverStreamingHandler = new ServerStreamingServerMethod<string, string>((request, responseStream, context) => 116 duplexStreamingHandler = new DuplexStreamingServerMethod<string, string>((requestStream, responseStream, context) => 131 server = new Server(new[] { new ChannelOption(ChannelOptions.SoReuseport, 0) } [all...] |
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
CodedInputStreamTest.cs | 49 byte[] bytes = new byte[bytesAsInts.Length];
62 CodedInputStream input = new CodedInputStream(data);
65 input = new CodedInputStream(data);
72 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize));
75 input = new CodedInputStream(new SmallBlockInputStream(data, bufferSize));
83 MemoryStream memoryStream = new MemoryStream();
98 CodedInputStream input = new CodedInputStream(data);
102 input = new CodedInputStream(data); [all...] |
CodedOutputStreamTest.cs | 51 MemoryStream rawOutput = new MemoryStream();
52 CodedOutputStream output = new CodedOutputStream(rawOutput);
61 MemoryStream rawOutput = new MemoryStream();
62 CodedOutputStream output = new CodedOutputStream(rawOutput);
77 MemoryStream rawOutput = new MemoryStream();
79 new CodedOutputStream(rawOutput, bufferSize);
86 MemoryStream rawOutput = new MemoryStream();
87 CodedOutputStream output = new CodedOutputStream(rawOutput, bufferSize);
101 AssertWriteVarint(new byte[] {0x00}, 0);
102 AssertWriteVarint(new byte[] {0x01}, 1); [all...] |
/external/antlr/runtime/Ruby/test/functional/main/ |
main-scripts.rb | 50 output = StringIO.new 62 input = StringIO.new( "yada yada" ) # <- used to simulate $stdin 63 output = StringIO.new 88 output = StringIO.new 89 input = StringIO.new( 'yada yada' ) 112 output = StringIO.new 113 input = StringIO.new 'yada + yada' 147 output = StringIO.new 148 input = StringIO.new 'a+b' 184 output = StringIO.new [all...] |
/external/grpc-grpc/src/ruby/pb/test/ |
server.rb | 86 LOGGER = DebugIsTruncated.new(STDOUT) 107 GRPC::Core::ServerCredentials.new( 156 yield cls.new(payload: Payload.new(type: req.response_type, 176 Empty.new 183 SimpleResponse.new(payload: Payload.new(type: :COMPRESSABLE, 190 StreamingInputCallResponse.new(aggregated_payload_size: sum) 196 cls.new(payload: Payload.new(type: req.response_type [all...] |
/external/grpc-grpc/tools/profiling/microbenchmarks/bm_diff/ |
bm_diff.py | 80 argp.add_argument('-n', '--new', type=str, help='New benchmark name') 87 assert args.new 105 def add_sample(self, track, data, new): 108 self.samples[new][f].append(float(data[f])) 112 new = self.samples[True][f] 114 if not new or not old: continue 115 mdn_diff = abs(_median(new) - _median(old)) 117 (f, new_name, new, old_name, old, mdn_diff)) 118 s = bm_speedup.speedup(new, old, 1e-5 [all...] |
/external/antlr/runtime/Ruby/test/unit/ |
test-streams.rb | 13 @stream = StringStream.new( "oh\nhey!\n" ) 207 @stream = FileStream.new(path) 256 @source = MockSource.new 257 @stream = CommonTokenStream.new( @source ) 262 @source1 = MockSource.new 263 @source2 = MockSource.new 265 @stream = CommonTokenStream.new( @source1 ) 277 @source = MockSource.new 278 @stream = CommonTokenStream.new(@source) 283 @source = MockSource.new [all...] |
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
InteropClient.cs | 84 GrpcEnvironment.SetLogger(new ConsoleLogger()); 89 var interopClient = new InteropClient(options); 101 channelOptions = new List<ChannelOption> 103 new ChannelOption(ChannelOptions.SslTargetNameOverride, options.ServerHostOverride) 106 var channel = new Channel(options.ServerHost, options.ServerPort, credentials, channelOptions); 116 credentials = options.UseTestCa.Value ? TestCredentials.CreateSslCredentials() : new SslCredentials(); 137 var client = new TestService.TestServiceClient(channel); 186 RunUnimplementedService(new UnimplementedService.UnimplementedServiceClient(channel)); 198 throw new ArgumentException("Unknown test case " + options.TestCase); 205 var response = client.EmptyCall(new Empty()) [all...] |
ClientRunners.cs | 47 static readonly BlockingCollection<BasicProfiler> profilers = new BlockingCollection<BasicProfiler>(); 77 return new ClientRunnerImpl(channels, 93 var channelOptions = new List<ChannelOption>(); 96 channelOptions.Add(new ChannelOption(ChannelOptions.SslTargetNameOverride, securityParams.ServerHostOverride)); 103 var result = new List<Channel>(); 107 var channel = new Channel(target, credentials, channelOptions); 133 readonly CancellationTokenSource stoppedCts = new CancellationTokenSource(); 134 readonly TimeStats timeStats = new TimeStats(); 135 readonly AtomicCounter statsResetCount = new AtomicCounter(); 141 this.channels = new List<Channel>(channels) [all...] |
/art/test/594-invoke-super/smali/ |
invoke-super.smali | 27 new-instance v0, LY;
|
/bionic/tests/libs/ |
Android.build.testlib.internal.mk | 25 $(module)_ldflags += -Wl,--rpath,\$${ORIGIN} -Wl,--enable-new-dtags
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/parser/ |
test_parser.py | 19 new = parser.tuple2st(tup)
26 if tup != parser.st2tuple(new):
|