/external/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
DefaultSslRootsOverride.cs | 35 static object staticLock = new object(); 47 throw new IOException(string.Format("Error loading the embedded resource \"{0}\"", RootsPemResourceName)); 49 using (var streamReader = new StreamReader(stream))
|
/external/grpc-grpc/src/csharp/Grpc.Core/ |
Status.cs | 29 public static readonly Status DefaultSuccess = new Status(StatusCode.OK, ""); 34 public static readonly Status DefaultCancelled = new Status(StatusCode.Cancelled, ""); 40 /// Creates a new instance of <c>Status</c>.
|
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/ |
MetadataArraySafeHandleTest.cs | 32 var nativeMetadata = MetadataArraySafeHandle.Create(new Metadata()); 39 var metadata = new Metadata 51 var metadata = new Metadata
|
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/ |
PerformanceTest.cs | 43 helper = new MockServiceHelper(Host); 61 var profiler = new BasicProfiler(); 64 helper.UnaryHandler = new UnaryServerMethod<string, string>((request, context) =>
|
ShutdownHookPendingCallTest.cs | 38 var helper = new MockServiceHelper(Host); 43 var readyToShutdown = new TaskCompletionSource<object>(); 44 helper.DuplexStreamingHandler = new DuplexStreamingServerMethod<string, string>(async (requestStream, responseStream, context) =>
|
ShutdownTest.cs | 42 helper = new MockServiceHelper(Host); 51 var readyToShutdown = new TaskCompletionSource<object>(); 52 helper.DuplexStreamingHandler = new DuplexStreamingServerMethod<string, string>(async (requestStream, responseStream, context) =>
|
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
GeneratedClientTest.cs | 34 TestService.TestServiceClient unimplementedClient = new UnimplementedTestServiceClient(); 39 Assert.Throws(typeof(NotImplementedException), () => unimplementedClient.UnaryCall(new SimpleRequest())); 51 Assert.Throws(typeof(NotImplementedException), () => unimplementedClient.StreamingOutputCall(new StreamingOutputCallRequest()));
|
Payloads.cs | 37 new pbr::FileDescriptor[] { }, 38 new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { 39 new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.ByteBufferParams), global::Grpc.Testing.ByteBufferParams.Parser, new[]{ "ReqSize", "RespSize" }, null, null, null), 40 new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.SimpleProtoParams), global::Grpc.Testing.SimpleProtoParams.Parser, new[]{ "ReqSize", "RespSize" }, null, null, null), 41 new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.ComplexProtoParams), global::Grpc.Testing.ComplexProtoParams.Parser, null, null, null, null), 42 new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Testing.PayloadConfig), global::Grpc.Testing.PayloadConfig.Parser, new[]{ "BytebufParams", "SimpleParams", "ComplexParams" }, new[]{ "Payload" }, null, null [all...] |
/external/libchrome/mojo/public/js/lib/ |
unicode.js | 12 var textDecoder = new TextDecoder('utf-8'); 13 var textEncoder = new TextEncoder('utf-8'); 35 throw new Error("Buffer too small for encodeUtf8String");
|
/external/python/cpython2/Tools/bgen/bgen/ |
bgenType.py | 80 """Perform any needed post-[new]getargs() checks. 240 Instantiate with the type name and the names of the new and convert procs. 242 to derive the new and convert procs by appending _New and _Convert; it 251 self.new = arg + '_New' 254 # Three arguments (name, new, convert) 255 self.new = arg 271 return "%s, &%s" % (self.new, name) 279 New/Convert functions will be used. 286 return "%s, %s" % (self.new, name) 292 New/Convert functions will be used [all...] |
/external/python/cpython3/Lib/ |
hashlib.py | 7 new(name, data=b'', **kwargs) - returns a new hash object implementing the 12 than using new(name): 19 to find out what algorithm names can be passed to new(). 56 # This tuple and __get_builtin_constructor() must be modified if a new 67 __all__ = __always_supported + ('new', 'algorithms_guaranteed', 132 """new(name, data=b'', **kwargs) - Return a new hashing object using the 140 """new(name, data=b'') - Return a new hashing object using the named algorithm 166 new = __py_new variable [all...] |
/external/skia/modules/canvaskit/htmlcanvas/ |
htmlcanvas.js | 4 return new HTMLCanvas(surf); 11 this._context = new CanvasRenderingContext2D(skSurface.getCanvas()); 36 var p2d = new Path2D(path);
|
/external/skqp/experimental/canvaskit/htmlcanvas/ |
htmlcanvas.js | 4 return new HTMLCanvas(surf); 11 this._context = new CanvasRenderingContext2D(skSurface.getCanvas()); 36 var p2d = new Path2D(path);
|
/external/syzkaller/pkg/mgrconfig/ |
mgrconfig_test.go | 22 cfg := new(Config) 29 vmCfg = new(qemu.Config) 31 vmCfg = new(gce.Config)
|
/external/webrtc/webrtc/tools/rtcbot/bot/ |
api.js | 18 var stream = new WebSocketStream("wss://localhost:8080/"); 19 var dnode = new Dnode(api); 31 arguments[index] = new (casts[index])(arguments[index]);
|
/external/antlr/runtime/Ruby/test/unit/ |
test-tree-wizard.rb | 17 lexer = Wizard::PatternLexer.new( '(' ) 25 lexer = Wizard::PatternLexer.new(')') 33 lexer = Wizard::PatternLexer.new('%') 41 lexer = Wizard::PatternLexer.new('.') 49 lexer = Wizard::PatternLexer.new(" \n \r \t ") 57 lexer = Wizard::PatternLexer.new('__whatever_1__') 65 lexer = Wizard::PatternLexer.new('[ \]bla\n]') 73 lexer = Wizard::PatternLexer.new("1") 88 @adaptor = CommonTreeAdaptor.new( Tokens.token_class ) 89 @pattern_adaptor = Wizard::PatternAdaptor.new( Tokens.token_class [all...] |
/external/grpc-grpc/src/csharp/Grpc.Reflection/ |
Reflection.cs | 58 new pbr::FileDescriptor[] { }, 59 new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { 60 new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Reflection.V1Alpha.ServerReflectionRequest), global::Grpc.Reflection.V1Alpha.ServerReflectionRequest.Parser, new[]{ "Host", "FileByFilename", "FileContainingSymbol", "FileContainingExtension", "AllExtensionNumbersOfType", "ListServices" }, new[]{ "MessageRequest" }, null, null), 61 new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Reflection.V1Alpha.ExtensionRequest), global::Grpc.Reflection.V1Alpha.ExtensionRequest.Parser, new[]{ "ContainingType", "ExtensionNumber" }, null, null, null), 62 new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Reflection.V1Alpha.ServerReflectionResponse), global::Grpc.Reflection.V1Alpha.ServerReflectionResponse.Parser, new[]{ "ValidHost", "OriginalRequest", "FileDescriptorResponse", "AllExtensionNumbersResponse", "ListS (…) [all...] |
/external/ImageMagick/PerlMagick/demo/ |
compose-specials.pl | 24 my $dest=Image::Magick->new(); 31 my $src=Image::Magick->new(); 39 my $circle=Image::Magick->new(); 44 my $texture=Image::Magick->new(); 48 my $results=Image::Magick->new();
|
/external/autotest/client/site_tests/power_LoadTest/extension/ |
test.js | 28 record_log_entry(dateToString(new Date()) + " Loop started"); 55 record_log_entry(dateToString(new Date()) + " [load success] " + url); 68 //Sends message to PLT informing that user is navigating to new page. 70 var req = new XMLHttpRequest(); 84 'time': new Date(details.timeStamp) 99 record_log_entry(dateToString(new Date()) + " [load start] " + url) 120 var error_report = dateToString(new Date()) + " [load failure details] " 139 record_log_entry(dateToString(new Date()) + " [load failure] " + 244 var req = new XMLHttpRequest(); 263 var req = new XMLHttpRequest() [all...] |
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuideServer/ |
RouteGuideImpl.cs | 34 readonly object myLock = new object(); 35 readonly Dictionary<Point, List<RouteNote>> routeNotes = new Dictionary<Point, List<RouteNote>>(); 73 var stopwatch = new Stopwatch(); 93 return new RouteSummary 128 notes = new List<RouteNote>(); 131 var preexistingNotes = new List<RouteNote>(notes); 148 return new Feature { Name = "", Location = location };
|
/external/grpc-grpc/src/csharp/Grpc.Examples/ |
Math.cs | 37 new pbr::FileDescriptor[] { }, 38 new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { 39 new pbr::GeneratedClrTypeInfo(typeof(global::Math.DivArgs), global::Math.DivArgs.Parser, new[]{ "Dividend", "Divisor" }, null, null, null), 40 new pbr::GeneratedClrTypeInfo(typeof(global::Math.DivReply), global::Math.DivReply.Parser, new[]{ "Quotient", "Remainder" }, null, null, null), 41 new pbr::GeneratedClrTypeInfo(typeof(global::Math.FibArgs), global::Math.FibArgs.Parser, new[]{ "Limit" }, null, null, null), 42 new pbr::GeneratedClrTypeInfo(typeof(global::Math.Num), global::Math.Num.Parser, new[]{ "Num_" }, null (…) [all...] |
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/CoreStats/ |
Stats.cs | 34 new pbr::FileDescriptor[] { }, 35 new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { 36 new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Core.Bucket), global::Grpc.Core.Bucket.Parser, new[]{ "Start", "Count" }, null, null, null), 37 new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Core.Histogram), global::Grpc.Core.Histogram.Parser, new[]{ "Buckets" }, null, null, null), 38 new pbr::GeneratedClrTypeInfo(typeof(global::Grpc.Core.Metric), global::Grpc.Core.Metric.Parser, new[]{ "Name", "Count", "Histogram" }, new[]{ "Value" }, null, null) [all...] |
/external/syzkaller/vendor/google.golang.org/api/googleapi/ |
types.go | 166 return errors.New("googleapi.RawMessage: UnmarshalJSON on nil pointer") 176 // Bool is a helper routine that allocates a new bool value 180 // Int32 is a helper routine that allocates a new int32 value 184 // Int64 is a helper routine that allocates a new int64 value 188 // Float64 is a helper routine that allocates a new float64 value 192 // Uint32 is a helper routine that allocates a new uint32 value 196 // Uint64 is a helper routine that allocates a new uint64 value 200 // String is a helper routine that allocates a new string value
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
Type.cs | 62 new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.AnyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.SourceContextReflection.Descriptor, }, 63 new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Protobuf.WellKnownTypes.Syntax), }, new pbr::GeneratedClrTypeInfo[] { 64 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Type), global::Google.Protobuf.WellKnownTypes.Type.Parser, new[]{ "Name", "Fields", "Oneofs", "Options", "SourceContext", "Syntax" }, null, null, null), 65 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Field), global::Google.Protobuf.WellKnownTypes.Field.Parser, new[]{ "Kind", "Cardinality", "Number", "Name", "TypeUrl", "OneofIndex", "Packed", "Options", "JsonName", "DefaultValue" }, null, new[]{ typeof(global::Google.Protobuf.WellKnownTypes.Field.Types.Kind), typeof(global::Google.Protobuf.WellKnownTypes.Field.Types.Cardinality) }, null), 66 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Enum), global::Google.Prot (…) [all...] |
/external/protobuf/csharp/src/Google.Protobuf/ |
ByteString.cs | 46 private static readonly ByteString empty = new ByteString(new byte[0]);
56 /// Constructs a new ByteString from the given byte array. The array is
61 return new ByteString(bytes);
79 return new ByteString(bytes);
83 /// Constructs a new ByteString from the given byte array. The array is
141 return bytes == "" ? Empty : new ByteString(Convert.FromBase64String(bytes));
153 return new ByteString((byte[]) bytes.Clone());
161 byte[] portion = new byte[count];
163 return new ByteString(portion); [all...] |