/external/llvm-project/lld/test/mach-o/ |
D | version-min-load-command-object.yaml | 1 # RUN: ld64.lld -arch x86_64 %s -o %t -r -macosx_version_min 10.8 && llvm-objdump --private-headers… 2 # RUN: ld64.lld -arch x86_64 %s -o %t -r && llvm-objdump --private-headers %t | FileCheck %s 3 …ld64.lld -arch x86_64 %s -o %t -r %p/Inputs/no-version-min-load-command-object.yaml && llvm-objdum… 5 # If we are emitting an object file, then we only emit a min version load command if the source obj… 6 # version(s) and either known platforms or contain min version load commands themselves. 8 --- !mach-o 10 file-type: MH_OBJECT 12 min-os-version-kind: LC_VERSION_MIN_MACOSX 13 min-os-version: 10.8 15 - segment: __TEXT [all …]
|
/external/llvm-project/debuginfo-tests/dexter/dex/tools/clang_opt_bisect/ |
D | Tool.py | 6 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 """Clang opt-bisect tool.""" 10 import os 39 """Use the LLVM "-opt-bisect-limit=<n>" flag to get information on the 72 results.append(all_passes[-1]) 86 … raise Error("--builder %s is not supported by the clang-opt-bisect tool - only 'clang' is " 94 dexter_version=self.context.version) 122 limit_remaining -= file_limits[i] 125 current_file_index = len(f) - 1 if f else 0 130 for l in err_lines[::-1]: [all …]
|
/external/sfntly/cpp/src/sfntly/data/ |
D | byte_array.cc | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * http://www.apache.org/licenses/LICENSE-2.0 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 30 filled_length_ = std::min<int32_t>(filled_length, storage_length_); in SetFilledLength() 36 return -1; in Get() 42 return Get(index, &((*b)[0]), 0, b->size()); in Get() 56 int32_t actual_length = std::min<int32_t>(length, filled_length_ - index); in Get() 75 return Put(index, &((*b)[0]), 0, b->size()); in Put() 91 int32_t actual_length = std::min<int32_t>(length, Size() - index); in Put() 108 if (array->Size() < dst_offset + length) { // insufficient space in CopyTo() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/ |
D | log_uniform_int_distribution.h | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // https://www.apache.org/licenses/LICENSE-2.0 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 // Returns a random variate R in range [min, max] such that 38 // floor(log(R-min, base)) is uniformly distributed. 40 // boundary sets [0, 1, base, base * base, ... min(base*n, max)] 56 result_type min = 0, 59 : min_(min), in min_() argument 62 range_(static_cast<unsigned_type>(max_) - in min_() 71 log_range_ = (std::min)(random_internal::LeadingSetBit(range()), in min_() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/random/ |
D | log_uniform_int_distribution.h | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // https://www.apache.org/licenses/LICENSE-2.0 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 // Returns a random variate R in range [min, max] such that 38 // floor(log(R-min, base)) is uniformly distributed. 40 // boundary sets [0, 1, base, base * base, ... min(base*n, max)] 56 result_type min = 0, 59 : min_(min), in min_() argument 62 range_(static_cast<unsigned_type>(max_) - in min_() 71 log_range_ = (std::min)(random_internal::LeadingSetBit(range()), in min_() [all …]
|
/external/openscreen/third_party/abseil/src/absl/random/ |
D | log_uniform_int_distribution.h | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // https://www.apache.org/licenses/LICENSE-2.0 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 // Returns a random variate R in range [min, max] such that 38 // floor(log(R-min, base)) is uniformly distributed. 40 // boundary sets [0, 1, base, base * base, ... min(base*n, max)] 56 result_type min = 0, 59 : min_(min), in min_() argument 62 range_(static_cast<unsigned_type>(max_) - in min_() 71 log_range_ = (std::min)(random_internal::LeadingSetBit(range()), in min_() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/random/ |
D | log_uniform_int_distribution.h | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // https://www.apache.org/licenses/LICENSE-2.0 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 // Returns a random variate R in range [min, max] such that 38 // floor(log(R-min, base)) is uniformly distributed. 40 // boundary sets [0, 1, base, base * base, ... min(base*n, max)] 56 result_type min = 0, 59 : min_(min), in min_() argument 62 range_(static_cast<unsigned_type>(max_) - in min_() 71 log_range_ = (std::min)(random_internal::LeadingSetBit(range()), in min_() [all …]
|
/external/abseil-cpp/absl/random/ |
D | log_uniform_int_distribution.h | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // https://www.apache.org/licenses/LICENSE-2.0 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 37 // Returns a random variate R in range [min, max] such that 38 // floor(log(R-min, base)) is uniformly distributed. 40 // boundary sets [0, 1, base, base * base, ... min(base*n, max)] 56 result_type min = 0, 59 : min_(min), in min_() argument 62 range_(static_cast<unsigned_type>(max_) - in min_() 71 log_range_ = (std::min)(random_internal::LeadingSetBit(range()), in min_() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | Triple.h | 1 //===-- llvm/ADT/Triple.h - Target triple helper class ----------*- C++ -*-===// 8 //===----------------------------------------------------------------------===// 23 /// Triple - Helper class for working with autoconf configuration names. For 28 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM 30 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM-ENVIRONMENT 39 /// Clients that need to handle the non-canonical triples that users often 54 bpfel, // eBPF or extended BPF or 64-bit BPF (little endian) 55 bpfeb, // eBPF or extended BPF or 64-bit BPF (big endian) 65 r600, // R600: AMD GPUs HD2XXX - HD6XXX 74 x86, // X86: i[3-9]86 [all …]
|
/external/tensorflow/tensorflow/lite/tools/ |
D | convert_image_to_csv_test.py | 4 # Licensed under the Apache License, Version 2.0 (the "License"); 8 # http://www.apache.org/licenses/LICENSE-2.0 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21 import os 37 image_path = os.path.join(PREFIX_PATH, "jpeg", "testdata", "no_such.jpg") 42 image_path = os.path.join(PREFIX_PATH, "jpeg", "testdata", "small.jpg") 47 image_path = os.path.join(PREFIX_PATH, "jpeg", "testdata", "medium.jpg") 52 image_path = os.path.join(PREFIX_PATH, "png", "testdata", "lena_rgba.png") 57 image_path = os.path.join(PREFIX_PATH, "png", "testdata", "lena_gray.png") 62 image_path = os.path.join(PREFIX_PATH, "jpeg", "testdata", "small.jpg") [all …]
|
/external/swiftshader/third_party/marl/tools/cmd/benchdiff/ |
D | main.go | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // https://www.apache.org/licenses/LICENSE-2.0 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 24 "os" 34 …minDiff = flag.Duration("min-diff", time.Microsecond*10, "Filter away time diffs less than this… 35 …minRelDiff = flag.Float64("min-rel-diff", 0.01, "Filter away absolute relative diffs between [1, 1… 42 fmt.Fprintln(os.Stderr, "benchdiff <benchmark-a> <benchmark-b>") 49 os.Exit(1) 55 fmt.Fprintln(os.Stderr, err) 56 os.Exit(-1) [all …]
|
/external/perfetto/test/trace_processor/graphics/ |
D | gpu_metric.py | 4 # Licensed under the Apache License, Version 2.0 (the "License"); 8 # http://www.apache.org/licenses/LICENSE-2.0 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 from os import sys, path 28 # max=4, min=1, avg=(2*1+5*2+(10-9)*4)/(10-2)=2 33 # max=8, min=2, avg=(5*2+(10-9)*8)/(10-4)=3 37 # max=8, min=6, avgxdur=2*6+(10-4)*8=60, dur=2+(10-4)=8 41 # max=10, min=7, avgxdur=1*7+(10-7)*10=37, dur=1+(10-7)=4 46 # max=10, min=6, avg=(60+37)/(8+4)=8
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | Correlation.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * http://www.apache.org/licenses/LICENSE-2.0 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 19 import android.os.Bundle; 20 import android.os.Parcel; 21 import android.os.Parcelable; 43 private double mAmplitudeThreshold = 0.001; // 0.001 = -60 dB noise 72 int maxIndex = -1; in computeCorrelation() 74 double minLatencyMs = 8; //min latency expected. This algorithm should be improved. in computeCorrelation() 103 double raw = (rms - average) / (factor * average); in computeCorrelation() [all …]
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonConstExtenders.cpp | 1 //===- HexagonConstExtenders.cpp ------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 27 #define DEBUG_TYPE "hexagon-cext-opt" 31 static cl::opt<unsigned> CountThreshold("hexagon-cext-threshold", 35 static cl::opt<unsigned> ReplaceLimit("hexagon-cext-limit", cl::init(0), 45 int32_t U = (V & -A) + O; in adjustUp() 51 int32_t U = (V & -A) + O; in adjustDown() 52 return U <= V ? U : U-A; in adjustDown() 57 // The range of values between Min and Max that are of form Align*N+Offset, [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonConstExtenders.cpp | 1 //===- HexagonConstExtenders.cpp ------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 27 #define DEBUG_TYPE "hexagon-cext-opt" 31 static cl::opt<unsigned> CountThreshold("hexagon-cext-threshold", 35 static cl::opt<unsigned> ReplaceLimit("hexagon-cext-limit", cl::init(0), 45 int32_t U = (V & -A) + O; in adjustUp() 51 int32_t U = (V & -A) + O; in adjustDown() 52 return U <= V ? U : U-A; in adjustDown() 57 // The range of values between Min and Max that are of form Align*N+Offset, [all …]
|
/external/curl/ |
D | MacOSX-Framework | 9 # Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. 20 # KIND, either express or implied. 24 # universal binary libcurl.framework for Mac OS X 10.4 or greater. 31 # 10.5 is the *ONLY* SDK that support PPC64 :( -- 10.6 do not have ppc64 support 43 VERSION=`/usr/bin/sed -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' include/curl/curlver.h` 44 FRAMEWORK_VERSION=Versions/Release-$VERSION 47 # version to Versions/Release-7.20.1 etc. 48 # now a simple rsync -vaP libcurl.framework /Library/Frameworks will install it 49 # and setup the right paths to this version, leaving the system version 52 DEVELOPER_PATH=`xcode-select --print-path` [all …]
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
D | IsoFile.java | 4 * Licensed under the Apache License, Version 2.0 (the License); 8 * http://www.apache.org/licenses/LICENSE-2.0 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 120 for (int i = 0; i < Math.min(4, fourCC.length()); i++) { in fourCCtoBytes() 131 System.arraycopy(type, 0, result, 0, Math.min(type.length, 4)); in bytesToFourCC() 134 return new String(result, "ISO-8859-1"); in bytesToFourCC() 177 public void getBox(WritableByteChannel os) throws IOException { in getBox() argument 180 if (os instanceof FileChannel) { in getBox() 181 long startPos = ((FileChannel) os).position(); in getBox() 182 box.getBox(os); in getBox() [all …]
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | Triple.h | 1 //===-- llvm/ADT/Triple.h - Target triple helper class ----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 24 /// Triple - Helper class for working with autoconf configuration names. For 29 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM 31 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM-ENVIRONMENT 40 /// Clients that need to handle the non-canonical triples that users often 57 bpfel, // eBPF or extended BPF or 64-bit BPF (little endian) 58 bpfeb, // eBPF or extended BPF or 64-bit BPF (big endian) 69 r600, // R600: AMD GPUs HD2XXX - HD6XXX [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | Triple.h | 1 //===-- llvm/ADT/Triple.h - Target triple helper class ----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 22 /// Triple - Helper class for working with autoconf configuration names. For 27 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM 29 /// ARCHITECTURE-VENDOR-OPERATING_SYSTEM-ENVIRONMENT 38 /// Clients that need to handle the non-canonical triples that users often 55 bpfel, // eBPF or extended BPF or 64-bit BPF (little endian) 56 bpfeb, // eBPF or extended BPF or 64-bit BPF (big endian) 66 r600, // R600: AMD GPUs HD2XXX - HD6XXX [all …]
|
/external/openscreen/third_party/abseil/src/absl/random/internal/ |
D | randen_engine.h | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // https://www.apache.org/licenses/LICENSE-2.0 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 36 // (see "A Robust and Sponge-Like PRNG with Improved Efficiency") instantiated 37 // with an improved Simpira-like permutation. 38 // Returns values of type "T" (must be a built-in unsigned integer type). 41 // 'Strong' (well-distributed, unpredictable, backtracking-resistant) random 49 "randen_engine template argument must be a built-in unsigned " 52 static constexpr result_type(min)() { in result_type() argument 53 return (std::numeric_limits<result_type>::min)(); in result_type() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/ |
D | randen_engine.h | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // https://www.apache.org/licenses/LICENSE-2.0 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 36 // (see "A Robust and Sponge-Like PRNG with Improved Efficiency") instantiated 37 // with an improved Simpira-like permutation. 38 // Returns values of type "T" (must be a built-in unsigned integer type). 41 // 'Strong' (well-distributed, unpredictable, backtracking-resistant) random 49 "randen_engine template argument must be a built-in unsigned " 52 static constexpr result_type(min)() { in result_type() argument 53 return (std::numeric_limits<result_type>::min)(); in result_type() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/random/internal/ |
D | randen_engine.h | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // https://www.apache.org/licenses/LICENSE-2.0 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 36 // (see "A Robust and Sponge-Like PRNG with Improved Efficiency") instantiated 37 // with an improved Simpira-like permutation. 38 // Returns values of type "T" (must be a built-in unsigned integer type). 41 // 'Strong' (well-distributed, unpredictable, backtracking-resistant) random 49 "randen_engine template argument must be a built-in unsigned " 52 static constexpr result_type(min)() { in result_type() argument 53 return (std::numeric_limits<result_type>::min)(); in result_type() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/random/internal/ |
D | randen_engine.h | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // https://www.apache.org/licenses/LICENSE-2.0 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 36 // (see "A Robust and Sponge-Like PRNG with Improved Efficiency") instantiated 37 // with an improved Simpira-like permutation. 38 // Returns values of type "T" (must be a built-in unsigned integer type). 41 // 'Strong' (well-distributed, unpredictable, backtracking-resistant) random 49 "randen_engine template argument must be a built-in unsigned " 52 static constexpr result_type(min)() { in result_type() argument 53 return (std::numeric_limits<result_type>::min)(); in result_type() [all …]
|
/external/abseil-cpp/absl/random/internal/ |
D | randen_engine.h | 3 // Licensed under the Apache License, Version 2.0 (the "License"); 7 // https://www.apache.org/licenses/LICENSE-2.0 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 36 // (see "A Robust and Sponge-Like PRNG with Improved Efficiency") instantiated 37 // with an improved Simpira-like permutation. 38 // Returns values of type "T" (must be a built-in unsigned integer type). 41 // 'Strong' (well-distributed, unpredictable, backtracking-resistant) random 49 "randen_engine template argument must be a built-in unsigned " 52 static constexpr result_type(min)() { in result_type() argument 53 return (std::numeric_limits<result_type>::min)(); in result_type() [all …]
|
/external/tensorflow/tensorflow/python/training/ |
D | quantize_training_test.py | 3 # Licensed under the Apache License, Version 2.0 (the "License"); 7 # http://www.apache.org/licenses/LICENSE-2.0 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 """Tests for the SWIG-wrapped quantize training rewriting.""" 21 import os 58 save_path = os.path.join(self.get_temp_dir(), 'quantized_save_restore') 80 # Run the graph for one step to assign values to the quantization min/max 93 self.assertEqual(6.0, sess.run(g.get_tensor_by_name('a/Min/Variable:0'))) 96 sess.run(g.get_tensor_by_name('b/read/Min/Variable:0')))
|