/third_party/ninja/src/ |
D | disk_interface_test.cc | 51 EXPECT_EQ(0, disk_.Stat("nosuchfile", &err)); in TEST_F() 56 EXPECT_EQ(0, disk_.Stat("nosuchdir/nosuchfile", &err)); in TEST_F() 62 EXPECT_EQ(0, disk_.Stat("notadir/nosuchfile", &err)); in TEST_F() 70 EXPECT_EQ(-1, disk_.Stat(bad_path, &err)); in TEST_F() 74 EXPECT_EQ(-1, disk_.Stat(too_long_name, &err)); in TEST_F() 82 EXPECT_GT(disk_.Stat("file", &err), 1); in TEST_F() 90 EXPECT_GT(disk_.Stat("..", &err), 1); in TEST_F() 92 EXPECT_GT(disk_.Stat(".", &err), 1); in TEST_F() 94 EXPECT_GT(disk_.Stat("subdir", &err), 1); in TEST_F() 96 EXPECT_GT(disk_.Stat("subdir/subsubdir", &err), 1); in TEST_F() [all …]
|
D | clean_test.cc | 57 EXPECT_EQ(0, fs_.Stat("in1", &err)); in TEST_F() 58 EXPECT_EQ(0, fs_.Stat("out1", &err)); in TEST_F() 59 EXPECT_EQ(0, fs_.Stat("in2", &err)); in TEST_F() 60 EXPECT_EQ(0, fs_.Stat("out2", &err)); in TEST_F() 89 EXPECT_LT(0, fs_.Stat("in1", &err)); in TEST_F() 90 EXPECT_LT(0, fs_.Stat("out1", &err)); in TEST_F() 91 EXPECT_LT(0, fs_.Stat("in2", &err)); in TEST_F() 92 EXPECT_LT(0, fs_.Stat("out2", &err)); in TEST_F() 120 EXPECT_EQ(0, fs_.Stat("in1", &err)); in TEST_F() 121 EXPECT_EQ(0, fs_.Stat("out1", &err)); in TEST_F() [all …]
|
/third_party/flatbuffers/tests/MyGame/Example/ |
D | Stat.java | 11 public final class Stat extends Table { class 13 public static Stat getRootAsStat(ByteBuffer _bb) { return getRootAsStat(_bb, new Stat()); } in getRootAsStat() 14 …public static Stat getRootAsStat(ByteBuffer _bb, Stat obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); r… in getRootAsStat() 16 public Stat __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() 31 Stat.addVal(builder, val); in createStat() 32 Stat.addId(builder, idOffset); in createStat() 33 Stat.addCount(builder, count); in createStat() 34 return Stat.endStat(builder); in createStat() 53 public static Stat __lookup_by_key(Stat obj, int vectorLocation, int key, ByteBuffer bb) { in __lookup_by_key() 68 return (obj == null ? new Stat() : obj).__assign(tableOffset, bb); in __lookup_by_key() [all …]
|
D | MonsterStorageGrpc.java | 40 MyGame.Example.Stat> METHOD_STORE = getStoreMethod(); 43 MyGame.Example.Stat> getStoreMethod; 59 private static volatile FlatbuffersUtils.FBExtactor<MyGame.Example.Stat> extractorOfStat; 60 private static FlatbuffersUtils.FBExtactor<MyGame.Example.Stat> getExtractorOfStat() { in getExtractorOfStat() 64 extractorOfStat = new FlatbuffersUtils.FBExtactor<MyGame.Example.Stat>() { in getExtractorOfStat() 65 public MyGame.Example.Stat extract (ByteBuffer buffer) { in getExtractorOfStat() 66 return MyGame.Example.Stat.getRootAsStat(buffer); in getExtractorOfStat() 75 MyGame.Example.Stat> getStoreMethod() { in getStoreMethod() 76 io.grpc.MethodDescriptor<MyGame.Example.Monster, MyGame.Example.Stat> getStoreMethod; in getStoreMethod() 81 io.grpc.MethodDescriptor.<MyGame.Example.Monster, MyGame.Example.Stat>newBuilder() in getStoreMethod() [all …]
|
D | Stat.cs | 12 public struct Stat : IFlatbufferObject struct 17 public static Stat GetRootAsStat(ByteBuffer _bb) { return GetRootAsStat(_bb, new Stat()); } in GetRootAsStat() 18 …public static Stat GetRootAsStat(ByteBuffer _bb, Stat obj) { return (obj.__assign(_bb.GetInt(_bb.P… in GetRootAsStat() 20 public Stat __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() 34 public static Offset<MyGame.Example.Stat> CreateStat(FlatBufferBuilder builder, in CreateStat() argument 39 Stat.AddVal(builder, val); in CreateStat() 40 Stat.AddId(builder, idOffset); in CreateStat() 41 Stat.AddCount(builder, count); in CreateStat() 42 return Stat.EndStat(builder); in CreateStat() 49 public static Offset<MyGame.Example.Stat> EndStat(FlatBufferBuilder builder) { in EndStat() argument [all …]
|
D | Stat.go | 25 func (rcv *Stat) UnPackTo(t *StatT) { 31 func (rcv *Stat) UnPack() *StatT { 38 type Stat struct { struct 42 func GetRootAsStat(buf []byte, offset flatbuffers.UOffsetT) *Stat { 44 x := &Stat{} 49 func GetSizePrefixedRootAsStat(buf []byte, offset flatbuffers.UOffsetT) *Stat { 51 x := &Stat{} 56 func (rcv *Stat) Init(buf []byte, i flatbuffers.UOffsetT) { argument 61 func (rcv *Stat) Table() flatbuffers.Table { argument 65 func (rcv *Stat) Id() []byte { argument [all …]
|
D | Stat.lua | 7 local Stat = {} -- the module 10 function Stat.New() 15 function Stat.GetRootAsStat(buf, offset) 20 local o = Stat.New() 47 function Stat.Start(builder) builder:StartObject(3) end 48 function Stat.AddId(builder, id) builder:PrependUOffsetTRelativeSlot(0, id, 0) end 49 function Stat.AddVal(builder, val) builder:PrependInt64Slot(1, val, 0) end 50 function Stat.AddCount(builder, count) builder:PrependUint16Slot(2, count, 0) end 51 function Stat.End(builder) return builder:EndObject() end 53 return Stat -- return the module
|
D | Stat.kt | 11 class Stat : Table() { class 16 fun __assign(_i: Int, _bb: ByteBuffer) : Stat { in __assign() 62 fun getRootAsStat(_bb: ByteBuffer): Stat = getRootAsStat(_bb, Stat()) in validateVersion() 63 fun getRootAsStat(_bb: ByteBuffer, obj: Stat): Stat { in validateVersion() 82 fun __lookup_by_key(obj: Stat?, vectorLocation: Int, key: UShort, bb: ByteBuffer) : Stat? { in __lookup_by_key() 98 return (obj ?: Stat()).__assign(tableOffset, bb) in __lookup_by_key()
|
D | MonsterStorage_grpc.go | 18 opts ...grpc.CallOption) (*Stat, error) 36 opts ...grpc.CallOption) (*Stat, error) { 37 out := new(Stat) 90 CloseAndRecv() (*Stat, error) 102 func (x *monsterStorageGetMaxHitPointClient) CloseAndRecv() (*Stat, error) { 106 m := new(Stat) 125 Recv() (*Stat, error) 137 func (x *monsterStorageGetMinMaxHitPointsClient) Recv() (*Stat, error) { 138 m := new(Stat) 148 Retrieve(*Stat, MonsterStorage_RetrieveServer) error argument [all …]
|
D | Stat.php | 11 class Stat extends Table class 15 * @return Stat 19 $obj = new Stat(); 41 * @return Stat 85 * @return Stat
|
/third_party/flatbuffers/tests/ |
D | monster_test.grpc.fb.h | 38 …onst flatbuffers::grpc::Message<Monster>& request, flatbuffers::grpc::Message<Stat>* response) = 0; 39 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> As… in AsyncStore() 40 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(AsyncStoreRaw(co… in AsyncStore() 42 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> Pr… in PrepareAsyncStore() 43 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(PrepareAsyncStor… in PrepareAsyncStore() 45 …ster>>> Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request) { in Retrieve() 48 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in AsyncRetrieve() 51 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in PrepareAsyncRetrieve() 54 …ter>>> GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response) { in GetMaxHitPoint() 57 …GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response, ::grpc:… in AsyncGetMaxHitPoint() [all …]
|
D | monster_test.grpc.fb.cc | 38 …, const flatbuffers::grpc::Message<Monster>& request, flatbuffers::grpc::Message<Stat>* response) { in Store() 42 ::grpc::ClientAsyncResponseReader< flatbuffers::grpc::Message<Stat>>* MonsterStorage::Stub::AsyncSt… in AsyncStoreRaw() 43 …return ::grpc::internal::ClientAsyncResponseReaderFactory< flatbuffers::grpc::Message<Stat>>::Crea… in AsyncStoreRaw() 46 ::grpc::ClientAsyncResponseReader< flatbuffers::grpc::Message<Stat>>* MonsterStorage::Stub::Prepare… in PrepareAsyncStoreRaw() 47 …return ::grpc::internal::ClientAsyncResponseReaderFactory< flatbuffers::grpc::Message<Stat>>::Crea… in PrepareAsyncStoreRaw() 50 …tub::RetrieveRaw(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request) { in RetrieveRaw() 54 …rieveRaw(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in AsyncRetrieveRaw() 58 …rieveRaw(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in PrepareAsyncRetrieveRaw() 62 …ub::GetMaxHitPointRaw(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response) { in GetMaxHitPointRaw() 66 …MaxHitPointRaw(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response, ::grpc:… in AsyncGetMaxHitPointRaw() [all …]
|
D | monster_test.fbs | 65 table Stat { 96 testempty:Stat (id:14); 103 testhashu32_fnv1a:uint (id:21, hash:"fnv1a_32", cpp_type:"Stat"); 126 scalar_key_sorted_tables:[Stat] (id: 50); 145 Store(Monster):Stat (streaming: "none"); 146 Retrieve(Stat):Monster (streaming: "server", idempotent); 147 GetMaxHitPoint(Monster):Stat (streaming: "client"); 148 GetMinMaxHitPoints(Monster):Stat (streaming: "bidi");
|
/third_party/flatbuffers/tests/my-game/example/ |
D | stat.ts | 7 export class Stat { class 10 __init(i:number, bb:flatbuffers.ByteBuffer):Stat { 16 static getRootAsStat(bb:flatbuffers.ByteBuffer, obj?:Stat):Stat { 17 return (obj || new Stat()).__init(bb.readInt32(bb.position()) + bb.position(), bb); 20 static getSizePrefixedRootAsStat(bb:flatbuffers.ByteBuffer, obj?:Stat):Stat { 22 return (obj || new Stat()).__init(bb.readInt32(bb.position()) + bb.position(), bb); 90 Stat.startStat(builder); 91 Stat.addId(builder, idOffset); 92 Stat.addVal(builder, val); 93 Stat.addCount(builder, count); [all …]
|
D | stat.js | 3 export class Stat { class 14 return (obj || new Stat()).__init(bb.readInt32(bb.position()) + bb.position(), bb); 18 return (obj || new Stat()).__init(bb.readInt32(bb.position()) + bb.position(), bb); 68 Stat.startStat(builder); 69 Stat.addId(builder, idOffset); 70 Stat.addVal(builder, val); 71 Stat.addCount(builder, count); 72 return Stat.endStat(builder); 78 return Stat.getRootAsStat(new flatbuffers.ByteBuffer(buffer)); 97 return Stat.createStat(builder, id, this.val, this.count);
|
/third_party/flatbuffers/grpc/tests/ |
D | JavaGrpcTest.java | 19 import MyGame.Example.Stat; 54 public void store(Monster request, io.grpc.stub.StreamObserver<Stat> responseObserver) { in store() 60 Stat stat = GameFactory.createStat("Hello " + request.name(), 100, 10); in store() 66 public void retrieve(Stat request, io.grpc.stub.StreamObserver<Monster> responseObserver) { in retrieve() 76 public StreamObserver<Monster> getMaxHitPoint(final StreamObserver<Stat> responseObserver) { in getMaxHitPoint() 81 … public StreamObserver<Monster> getMinMaxHitPoints(final StreamObserver<Stat> responseObserver) { in getMinMaxHitPoints() 85 …private StreamObserver<Monster> computeMinMax(final StreamObserver<Stat> responseObserver, final b… in computeMinMax() 119 … Stat maxHpStat = GameFactory.createStat(maxHpMonsterName.get(), maxHp.get(), maxHpCount.get()); in computeMinMax() 124 … Stat minHpStat = GameFactory.createStat(minHpMonsterName.get(), minHp.get(), minHpCount.get()); in computeMinMax() 154 Stat stat = blockingStub.store(monsterRequest); [all …]
|
D | grpctest.py | 12 import MyGame.Example.Stat as Stat namespace 81 Stat.StatStart(b) 82 Stat.StatAddId(b, i) 83 Stat.StatAddVal(b, test_stat_val) 84 Stat.StatAddCount(b, test_stat_count) 85 b.Finish(Stat.StatEnd(b)) 90 s = Stat.Stat().GetRootAsStat(request, 0) 159 s = Stat.Stat().GetRootAsStat(stat_response, 0)
|
D | GameFactory.java | 3 import MyGame.Example.Stat; 23 public static Monster createMonsterFromStat(Stat stat, int seqNo) { in createMonsterFromStat() 34 public static Stat createStat(String greeting, long val, int count) { in createStat() 36 int statOffset = Stat.createStat(builder, builder.createString(greeting), val, count); in createStat() 38 Stat stat = Stat.getRootAsStat(builder.dataBuffer()); in createStat()
|
D | grpctest.cpp | 38 flatbuffers::grpc::Message<Stat> *response) override { in Store() 45 *response = fbb_.ReleaseMessage<Stat>(); in Store() 50 const flatbuffers::grpc::Message<Stat> *request, in Retrieve() 109 flatbuffers::grpc::Message<Stat> response; in StoreRPC() 128 auto request = MessageBuilder(std::move(fbb)).ReleaseMessage<Stat>(); in RetrieveRPC() 162 flatbuffers::grpc::Message<Stat> response; in grpc_server_test()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Statistic.cpp | 155 for (auto *Stat : Stats) { in reset() local 158 Stat->Initialized = false; in reset() 159 Stat->Value = 0; in reset() 209 for (const TrackingStatistic *Stat : Stats.Stats) { in PrintStatisticsJSON() local 211 assert(yaml::needsQuotes(Stat->getDebugType()) == yaml::QuotingType::None && in PrintStatisticsJSON() 213 assert(yaml::needsQuotes(Stat->getName()) == yaml::QuotingType::None && in PrintStatisticsJSON() 215 OS << "\t\"" << Stat->getDebugType() << '.' << Stat->getName() << "\": " in PrintStatisticsJSON() 216 << Stat->getValue(); in PrintStatisticsJSON() 258 for (const auto &Stat : StatInfo->statistics()) in GetStatistics() local 259 ReturnStats.emplace_back(Stat->getName(), Stat->getValue()); in GetStatistics()
|
D | FileCollector.cpp | 108 const sys::fs::file_status &Stat) { in copyAccessAndModificationTime() argument 116 FD, Stat.getLastAccessedTime(), Stat.getLastModificationTime())) in copyAccessAndModificationTime() 136 sys::fs::file_status Stat; in copyFiles() local 137 if (std::error_code EC = sys::fs::status(entry.VPath, Stat)) { in copyFiles() 143 if (Stat.type() == sys::fs::file_type::directory_file) { in copyFiles() 169 copyAccessAndModificationTime(entry.RPath, Stat); in copyFiles()
|
/third_party/json/benchmarks/thirdparty/benchmark/src/ |
D | statistics.cc | 151 for(const auto& Stat : *reports[0].statistics) { in ComputeStats() 154 data.benchmark_name = reports[0].benchmark_name + "_" + Stat.name_; in ComputeStats() 158 data.real_accumulated_time = Stat.compute_(real_accumulated_time_stat); in ComputeStats() 159 data.cpu_accumulated_time = Stat.compute_(cpu_accumulated_time_stat); in ComputeStats() 160 data.bytes_per_second = Stat.compute_(bytes_per_second_stat); in ComputeStats() 161 data.items_per_second = Stat.compute_(items_per_second_stat); in ComputeStats() 167 const auto uc_stat = Stat.compute_(kv.second.s); in ComputeStats()
|
/third_party/benchmark/src/ |
D | statistics.cc | 157 for (const auto& Stat : *reports[0].statistics) { in ComputeStats() 167 data.aggregate_name = Stat.name_; in ComputeStats() 168 data.aggregate_unit = Stat.unit_; in ComputeStats() 178 data.real_accumulated_time = Stat.compute_(real_accumulated_time_stat); in ComputeStats() 179 data.cpu_accumulated_time = Stat.compute_(cpu_accumulated_time_stat); in ComputeStats() 196 const auto uc_stat = Stat.compute_(kv.second.s); in ComputeStats()
|
/third_party/boost/boost/accumulators/framework/ |
D | accumulator_concept.hpp | 16 template<typename Stat> 24 Stat stat;
|
/third_party/boost/boost/accumulators/statistics/ |
D | stats.hpp | 21 template<BOOST_PP_ENUM_PARAMS(BOOST_ACCUMULATORS_MAX_FEATURES, typename Stat)> 23 : mpl::vector<BOOST_PP_ENUM_PARAMS(BOOST_ACCUMULATORS_MAX_FEATURES, Stat)>
|