Home
last modified time | relevance | path

Searched refs:Num (Results 1 – 25 of 435) sorted by relevance

12345678910>>...18

/third_party/boost/libs/multiprecision/test/
Deigen.hpp19 template <class Num>
23 Matrix<Num, 2, 2> r1, r2; in example1()
26 Matrix<Num, 3, 1> r3; in example1()
29 Matrix<Num, 2, 2> a; in example1()
31 Matrix<Num, Dynamic, Dynamic> b(2, 2); in example1()
43 Matrix<Num, 3, 1> v(1, 2, 3); in example1()
44 Matrix<Num, 3, 1> w(1, 0, 0); in example1()
50 template <class Num>
53 Matrix<Num, 2, 2> a; in example2()
55 Matrix<Num, 3, 1> v(1, 2, 3); in example2()
[all …]
Dtest_arithmetic.hpp1431 template <class Real, class Num>
1434 …imits<Real>::is_bounded || (std::numeric_limits<Real>::digits >= std::numeric_limits<Num>::digits)) in test_negative_mixed_minmax()
1436 Real mx1((std::numeric_limits<Num>::max)() - 1); in test_negative_mixed_minmax()
1438 Real mx2((std::numeric_limits<Num>::max)()); in test_negative_mixed_minmax()
1440 mx1 = (std::numeric_limits<Num>::max)() - 1; in test_negative_mixed_minmax()
1442 mx2 = (std::numeric_limits<Num>::max)(); in test_negative_mixed_minmax()
1445 …limits<Real>::is_bounded || (std::numeric_limits<Real>::digits > std::numeric_limits<Num>::digits)) in test_negative_mixed_minmax()
1447 Real mx3((std::numeric_limits<Num>::min)() + 1); in test_negative_mixed_minmax()
1449 Real mx4((std::numeric_limits<Num>::min)()); in test_negative_mixed_minmax()
1451 mx3 = (std::numeric_limits<Num>::min)() + 1; in test_negative_mixed_minmax()
[all …]
/third_party/boost/tools/docca/example/include/docca/
Dexample.hpp382 struct Num struct
387 Num
388 operator +(Num, Num);
392 Num
393 operator -(Num, Num);
397 Num
398 operator *(Num, Num);
402 Num
403 operator /(Num, Num);
408 Num
[all …]
/third_party/boost/libs/beast/doc/docca/example/include/docca/
Dexample.hpp382 struct Num struct
387 Num
388 operator +(Num, Num);
392 Num
393 operator -(Num, Num);
397 Num
398 operator *(Num, Num);
402 Num
403 operator /(Num, Num);
408 Num
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/MachO/
DPackedVersion.cpp35 unsigned long long Num; in parse32() local
36 if (getAsUnsignedInteger(Parts[0], 10, Num)) in parse32()
39 if (Num > UINT16_MAX) in parse32()
42 Version = Num << 16; in parse32()
45 if (getAsUnsignedInteger(Parts[i], 10, Num)) in parse32()
48 if (Num > UINT8_MAX) in parse32()
51 Version |= (Num << ShiftNum); in parse32()
70 unsigned long long Num; in parse64() local
71 if (getAsUnsignedInteger(Parts[0], 10, Num)) in parse64()
74 if (Num > 0xFFFFFFULL) in parse64()
[all …]
/third_party/typescript/tests/baselines/reference/
DinvariantGenericErrorElaboration.types4 const wat: Runtype<any> = Num;
6 >Num : Num
8 const Foo = Obj({ foo: Num })
10 >Obj({ foo: Num }) : Obj<{ [_: string]: Runtype<any>; }>
12 >{ foo: Num } : { foo: Num; }
13 >foo : Num
14 >Num : Num
24 interface Num extends Runtype<number> {
28 declare const Num: Num
29 >Num : Num
DinvariantGenericErrorElaboration.errors.txt1 tests/cases/compiler/invariantGenericErrorElaboration.ts(3,7): error TS2322: Type 'Num' is not assi…
3 …Type 'Constraint<Constraint<Constraint<Num>>>' is not assignable to type 'Constraint<Constraint<Co…
4 Type 'Constraint<Runtype<any>>' is not assignable to type 'Constraint<Num>'.
5 tests/cases/compiler/invariantGenericErrorElaboration.ts(4,19): error TS2322: Type 'Num' is not ass…
11 const wat: Runtype<any> = Num;
13 !!! error TS2322: Type 'Num' is not assignable to type 'Runtype<any>'.
15 !!! error TS2322: Type 'Constraint<Constraint<Constraint<Num>>>' is not assignable to type 'Con…
16 !!! error TS2322: Type 'Constraint<Runtype<any>>' is not assignable to type 'Constraint<Num>'.
17 const Foo = Obj({ foo: Num })
19 !!! error TS2322: Type 'Num' is not assignable to type 'Runtype<any>'.
[all …]
DinvariantGenericErrorElaboration.symbols4 const wat: Runtype<any> = Num;
7 >Num : Symbol(Num, Decl(invariantGenericErrorElaboration.ts, 8, 1), Decl(invariantGenericErrorElabo…
9 const Foo = Obj({ foo: Num })
13 >Num : Symbol(Num, Decl(invariantGenericErrorElaboration.ts, 8, 1), Decl(invariantGenericErrorElabo…
28 interface Num extends Runtype<number> {
29 >Num : Symbol(Num, Decl(invariantGenericErrorElaboration.ts, 8, 1), Decl(invariantGenericErrorElabo…
33 >tag : Symbol(Num.tag, Decl(invariantGenericErrorElaboration.ts, 10, 39))
35 declare const Num: Num
36 >Num : Symbol(Num, Decl(invariantGenericErrorElaboration.ts, 8, 1), Decl(invariantGenericErrorElabo…
37 >Num : Symbol(Num, Decl(invariantGenericErrorElaboration.ts, 8, 1), Decl(invariantGenericErrorElabo…
DinvariantGenericErrorElaboration.js4 const wat: Runtype<any> = Num;
5 const Foo = Obj({ foo: Num })
12 interface Num extends Runtype<number> {
15 declare const Num: Num
29 var wat = Num;
30 var Foo = Obj({ foo: Num });
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DGCNMinRegStrategy.cpp72 unsigned findMax(unsigned Num, Calc C);
114 unsigned GCNMinRegScheduler::findMax(unsigned Num, Calc C) { in findMax() argument
115 assert(!RQ.empty() && Num <= RQ.size()); in findMax()
121 for (auto I = RQ.begin(); Num; --Num) { in findMax()
141 unsigned Num = RQ.size(); in pickCandidate() local
142 if (Num == 1) break; in pickCandidate()
144 LLVM_DEBUG(dbgs() << "\nSelecting max priority candidates among " << Num in pickCandidate()
146 Num = findMax(Num, [=](const Candidate &C) { return C.Priority; }); in pickCandidate()
147 if (Num == 1) break; in pickCandidate()
150 << Num << '\n'); in pickCandidate()
[all …]
DAMDGPUCodeGenPrepare.cpp157 Value *Num, Value *Den,
162 Value *Num, Value *Den) const;
528 static bool shouldKeepFDivF32(Value *Num, bool UnsafeDiv, bool HasDenormals) { in shouldKeepFDivF32() argument
529 const ConstantFP *CNum = dyn_cast<ConstantFP>(Num); in shouldKeepFDivF32()
574 Value *Num = FDiv.getOperand(0); in visitFDiv() local
585 Value *NumEltI = Builder.CreateExtractElement(Num, I); in visitFDiv()
598 if (!shouldKeepFDivF32(Num, UnsafeDiv, HasFP32Denormals)) in visitFDiv()
599 NewFDiv = Builder.CreateCall(Decl, { Num, Den }); in visitFDiv()
638 Value *Num, Value *Den, in expandDivRem24() argument
640 assert(Num->getType()->isIntegerTy(32)); in expandDivRem24()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZSchedule.td37 foreach Num = ["", "2", "3", "4", "5", "6"] in {
39 def "FXa"#Num : SchedWrite;
40 def "FXb"#Num : SchedWrite;
41 def "FXU"#Num : SchedWrite;
43 def "LSU"#Num : SchedWrite;
45 def "VecBF"#Num : SchedWrite;
46 def "VecDF"#Num : SchedWrite;
47 def "VecDFX"#Num : SchedWrite;
48 def "VecMul"#Num : SchedWrite;
49 def "VecStr"#Num : SchedWrite;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DRecordSerialization.cpp36 Error llvm::codeview::consume(BinaryStreamReader &Reader, APSInt &Num) { in consume() argument
44 Num = APSInt(APInt(/*numBits=*/16, Short, /*isSigned=*/false), in consume()
54 Num = APSInt(APInt(8, N, true), false); in consume()
61 Num = APSInt(APInt(16, N, true), false); in consume()
68 Num = APSInt(APInt(16, N, false), true); in consume()
75 Num = APSInt(APInt(32, N, true), false); in consume()
82 Num = APSInt(APInt(32, N, FalseVal), true); in consume()
89 Num = APSInt(APInt(64, N, true), false); in consume()
96 Num = APSInt(APInt(64, N, false), true); in consume()
104 Error llvm::codeview::consume(StringRef &Data, APSInt &Num) { in consume() argument
[all …]
/third_party/cJSON/tests/unity/test/tests/
Dtestparameterized.c67 void test_TheseShouldAllPass(int Num) in test_TheseShouldAllPass() argument
69 TEST_ASSERT_TRUE(Num < 100); in test_TheseShouldAllPass()
75 void test_TheseShouldAllFail(int Num) in test_TheseShouldAllFail() argument
78 TEST_ASSERT_TRUE(Num > 100); in test_TheseShouldAllFail()
86 void test_TheseAreEveryOther(int Num) in test_TheseAreEveryOther() argument
88 if (Num & 1) in test_TheseAreEveryOther()
91 TEST_ASSERT_TRUE(Num > 100); in test_TheseAreEveryOther()
96 TEST_ASSERT_TRUE(Num < 100); in test_TheseAreEveryOther()
/third_party/grpc/src/csharp/Grpc.Examples/
DMathGrpc.cs63 …ath.Num> __Marshaller_math_Num = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __…
79 …hod<global::Math.FibArgs, global::Math.Num> __Method_Fib = new grpc::Method<global::Math.FibArgs, …
86 …donly grpc::Method<global::Math.Num, global::Math.Num> __Method_Sum = new grpc::Method<global::Mat…
139 …k Fib(global::Math.FibArgs request, grpc::IServerStreamWriter<global::Math.Num> responseStream, gr… in Fib()
151 …l global::System.Threading.Tasks.Task<global::Math.Num> Sum(grpc::IAsyncStreamReader<global::Math. in Sum()
265 …public virtual grpc::AsyncServerStreamingCall<global::Math.Num> Fib(global::Math.FibArgs request, … in Fib()
277 …public virtual grpc::AsyncServerStreamingCall<global::Math.Num> Fib(global::Math.FibArgs request, … in Fib()
289 …public virtual grpc::AsyncClientStreamingCall<global::Math.Num, global::Math.Num> Sum(grpc::Metada… in Sum()
299 …public virtual grpc::AsyncClientStreamingCall<global::Math.Num, global::Math.Num> Sum(grpc::CallOp… in Sum()
329 … : new grpc::ServerStreamingServerMethod<global::Math.FibArgs, global::Math.Num>(serviceImpl.Fib)); in BindService()
[all …]
DMathExamples.cs43 List<Num> result = await call.ResponseStream.ToListAsync(); in FibExample()
50 var numbers = new List<Num> in SumExample()
52 new Num { Num_ = 1 }, in SumExample()
53 new Num { Num_ = 2 }, in SumExample()
54 new Num { Num_ = 3 } in SumExample()
82 var numbers = new List<Num> in DependentRequestsExample()
84 new Num { Num_ = 1 }, in DependentRequestsExample()
85 new Num { Num_ = 2 }, in DependentRequestsExample()
86 new Num { Num_ = 3 } in DependentRequestsExample()
89 Num sum; in DependentRequestsExample()
DMathServiceImpl.cs36 …public override async Task Fib(FibArgs request, IServerStreamWriter<Num> responseStream, ServerCal… in Fib()
50 …public override async Task<Num> Sum(IAsyncStreamReader<Num> requestStream, ServerCallContext conte… in Sum()
58 return new Num { Num_ = sum }; in Sum()
80 static IEnumerable<Num> FibInternal(long n) in FibInternal()
83 yield return new Num { Num_ = a }; in FibInternal()
91 yield return new Num { Num_ = a }; in FibInternal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DBranchProbability.cpp68 static uint64_t scale(uint64_t Num, uint32_t N, uint32_t D) { in scale() argument
75 if (!Num || D == N) in scale()
76 return Num; in scale()
79 uint64_t ProductHigh = (Num >> 32) * N; in scale()
80 uint64_t ProductLow = (Num & UINT32_MAX) * N; in scale()
106 uint64_t BranchProbability::scale(uint64_t Num) const { in scale()
107 return ::scale<D>(Num, N, D); in scale()
110 uint64_t BranchProbability::scaleByInverse(uint64_t Num) const { in scaleByInverse()
111 return ::scale<0>(Num, D, N); in scaleByInverse()
/third_party/unity/test/tests/
Dtestparameterized.c78 void test_TheseShouldAllPass(int Num) in test_TheseShouldAllPass() argument
80 TEST_ASSERT_TRUE(Num < 100); in test_TheseShouldAllPass()
86 void test_TheseShouldAllFail(int Num) in test_TheseShouldAllFail() argument
89 TEST_ASSERT_TRUE(Num > 100); in test_TheseShouldAllFail()
97 void test_TheseAreEveryOther(int Num) in test_TheseAreEveryOther() argument
99 if (Num & 1) in test_TheseAreEveryOther()
102 TEST_ASSERT_TRUE(Num > 100); in test_TheseAreEveryOther()
107 TEST_ASSERT_TRUE(Num < 100); in test_TheseAreEveryOther()
Dtest_unity_parameterized.c78 void test_TheseShouldAllPass(int Num) in test_TheseShouldAllPass() argument
80 TEST_ASSERT_TRUE(Num < 100); in test_TheseShouldAllPass()
86 void test_TheseShouldAllFail(int Num) in test_TheseShouldAllFail() argument
89 TEST_ASSERT_TRUE(Num > 100); in test_TheseShouldAllFail()
97 void test_TheseAreEveryOther(int Num) in test_TheseAreEveryOther() argument
99 if (Num & 1) in test_TheseAreEveryOther()
102 TEST_ASSERT_TRUE(Num > 100); in test_TheseAreEveryOther()
107 TEST_ASSERT_TRUE(Num < 100); in test_TheseAreEveryOther()
/third_party/cJSON/tests/unity/test/testdata/
DtestRunnerGenerator.c140 void paratest_ShouldHandleParameterizedTests(int Num) in paratest_ShouldHandleParameterizedTests() argument
142 TEST_ASSERT_EQUAL_MESSAGE(0, (Num % 5), "All The Values Are Divisible By 5"); in paratest_ShouldHandleParameterizedTests()
146 void paratest_ShouldHandleParameterizedTests2(int Num) in paratest_ShouldHandleParameterizedTests2() argument
148 TEST_ASSERT_EQUAL_MESSAGE(7, Num, "The Only Call To This Passes"); in paratest_ShouldHandleParameterizedTests2()
157 void paratest_ShouldHandleParameterizedTestsThatFail(int Num) in paratest_ShouldHandleParameterizedTestsThatFail() argument
159 TEST_ASSERT_EQUAL_MESSAGE(3, Num, "This call should fail"); in paratest_ShouldHandleParameterizedTestsThatFail()
DtestRunnerGeneratorWithMocks.c141 void paratest_ShouldHandleParameterizedTests(int Num) in paratest_ShouldHandleParameterizedTests() argument
143 TEST_ASSERT_EQUAL_MESSAGE(0, (Num % 5), "All The Values Are Divisible By 5"); in paratest_ShouldHandleParameterizedTests()
147 void paratest_ShouldHandleParameterizedTests2(int Num) in paratest_ShouldHandleParameterizedTests2() argument
149 TEST_ASSERT_EQUAL_MESSAGE(7, Num, "The Only Call To This Passes"); in paratest_ShouldHandleParameterizedTests2()
158 void paratest_ShouldHandleParameterizedTestsThatFail(int Num) in paratest_ShouldHandleParameterizedTestsThatFail() argument
160 TEST_ASSERT_EQUAL_MESSAGE(3, Num, "This call should fail"); in paratest_ShouldHandleParameterizedTestsThatFail()
/third_party/unity/test/testdata/
DtestRunnerGenerator.c148 void paratest_ShouldHandleParameterizedTests(int Num) in paratest_ShouldHandleParameterizedTests() argument
150 TEST_ASSERT_EQUAL_MESSAGE(0, (Num % 5), "All The Values Are Divisible By 5"); in paratest_ShouldHandleParameterizedTests()
154 void paratest_ShouldHandleParameterizedTests2(int Num) in paratest_ShouldHandleParameterizedTests2() argument
156 TEST_ASSERT_EQUAL_MESSAGE(7, Num, "The Only Call To This Passes"); in paratest_ShouldHandleParameterizedTests2()
165 void paratest_ShouldHandleParameterizedTestsThatFail(int Num) in paratest_ShouldHandleParameterizedTestsThatFail() argument
167 TEST_ASSERT_EQUAL_MESSAGE(3, Num, "This call should fail"); in paratest_ShouldHandleParameterizedTestsThatFail()
DtestRunnerGeneratorWithMocks.c146 void paratest_ShouldHandleParameterizedTests(int Num) in paratest_ShouldHandleParameterizedTests() argument
148 TEST_ASSERT_EQUAL_MESSAGE(0, (Num % 5), "All The Values Are Divisible By 5"); in paratest_ShouldHandleParameterizedTests()
152 void paratest_ShouldHandleParameterizedTests2(int Num) in paratest_ShouldHandleParameterizedTests2() argument
154 TEST_ASSERT_EQUAL_MESSAGE(7, Num, "The Only Call To This Passes"); in paratest_ShouldHandleParameterizedTests2()
163 void paratest_ShouldHandleParameterizedTestsThatFail(int Num) in paratest_ShouldHandleParameterizedTestsThatFail() argument
165 TEST_ASSERT_EQUAL_MESSAGE(3, Num, "This call should fail"); in paratest_ShouldHandleParameterizedTestsThatFail()
/third_party/typescript/tests/cases/compiler/
DinvariantGenericErrorElaboration.ts5 const wat: Runtype<any> = Num;
6 const Foo = Obj({ foo: Num })
13 interface Num extends Runtype<number> { interface
16 declare const Num: Num constant

12345678910>>...18