HomeSort by relevance Sort by last modified time
    Searched refs:customOptions (Results 1 - 3 of 3) sorted by null

  /external/grpc-grpc-java/core/src/jmh/java/io/grpc/
CallOptionsBenchmark.java 42 private List<CallOptions.Key<String>> customOptions;
52 customOptions = new ArrayList<CallOptions.Key<String>>(customOptionsCount);
54 customOptions.add(CallOptions.Key.createWithDefault("name " + i, "defaultvalue"));
59 allOpts = allOpts.withOption(customOptions.get(i), "value");
62 shuffledCustomOptions = new ArrayList<CallOptions.Key<String>>(customOptions);
75 for (int i = 0; i < customOptions.size(); i++) {
76 opts = opts.withOption(customOptions.get(i), "value");
  /external/grpc-grpc-java/core/src/main/java/io/grpc/
CallOptions.java 61 private Object[][] customOptions = new Object[0][2];
314 for (int i = 0; i < customOptions.length; i++) {
315 if (key.equals(customOptions[i][0])) {
321 newOptions.customOptions = new Object[customOptions.length + (existingIdx == -1 ? 1 : 0)][2];
322 System.arraycopy(customOptions, 0, newOptions.customOptions, 0, customOptions.length);
326 newOptions.customOptions[customOptions.length] = new Object[] {key, value}
    [all...]
  /external/grpc-grpc-java/core/
grpc-core-1.14.0.jar 

Completed in 90 milliseconds