| /external/caliper/caliper/src/main/java/com/google/caliper/model/ |
| D | Host.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 20 import static com.google.common.base.Preconditions.checkNotNull; 22 import com.google.common.annotations.VisibleForTesting; 23 import com.google.common.base.MoreObjects; 24 import com.google.common.collect.ImmutableSortedMap; 25 import com.google.common.collect.Maps; 26 import com.google.common.hash.Funnel; 27 import com.google.common.hash.HashFunction; 28 import com.google.common.hash.PrimitiveSink; [all …]
|
| D | VmSpec.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 21 import com.google.common.base.MoreObjects; 22 import com.google.common.collect.ImmutableSortedMap; 23 import com.google.common.collect.Maps; 24 import com.google.common.hash.Funnel; 25 import com.google.common.hash.PrimitiveSink; 39 private SortedMap<String, String> properties; field in VmSpec 44 this.properties = Maps.newTreeMap(); in VmSpec() 49 this.properties = Maps.newTreeMap(builder.properties); in VmSpec() [all …]
|
| /external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
| D | VmPropertiesLogMessage.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 19 import static com.google.common.base.Preconditions.checkNotNull; 21 import com.google.common.base.Objects; 22 import com.google.common.collect.ImmutableMap; 23 import com.google.common.collect.Maps; 28 * A message containing a selection of {@link System#getProperties() system properties} from the 34 private final ImmutableMap<String, String> properties; field in VmPropertiesLogMessage 40 public VmPropertiesLogMessage(ImmutableMap<String, String> properties) { in VmPropertiesLogMessage() argument 41 this.properties = checkNotNull(properties); in VmPropertiesLogMessage() [all …]
|
| /external/caliper/caliper/src/main/java/com/google/caliper/config/ |
| D | CaliperConfig.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 20 import static com.google.common.base.Preconditions.checkArgument; 21 import static com.google.common.base.Preconditions.checkNotNull; 22 import static com.google.common.base.Preconditions.checkState; 28 import com.google.common.annotations.VisibleForTesting; 29 import com.google.common.base.MoreObjects; 30 import com.google.common.base.Strings; 31 import com.google.common.collect.BiMap; 32 import com.google.common.collect.HashBiMap; [all …]
|
| /external/ComputeLibrary/src/dynamic_fusion/sketch/gpu/components/ |
| D | IGpuKernelComponent.h | 4 * SPDX-License-Identifier: MIT 7 * of this software and associated documentation files (the "Software"), to 8 * deal in the Software without restriction, including without limitation the 10 * sell copies of the Software, and to permit persons to whom the Software is 14 * copies or substantial portions of the Software. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 * SOFTWARE. 38 /** Properties common to all kernel component types */ 69 using Properties = KernelProperties; [all …]
|
| /external/auto/value/src/main/java/com/google/auto/value/processor/ |
| D | ExtensionContext.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 20 import com.google.common.collect.ImmutableMap; 21 import com.google.common.collect.ImmutableSet; 22 import com.google.common.collect.Maps; 35 private final ImmutableMap<String, ExecutableElement> properties; field in ExtensionContext 43 ImmutableMap<String, ExecutableElement> properties, in ExtensionContext() argument 48 this.properties = properties; in ExtensionContext() 50 ImmutableMap.copyOf(Maps.transformValues(properties, propertyMethodsAndTypes::get)); in ExtensionContext() 79 public Map<String, ExecutableElement> properties() { in properties() method in ExtensionContext [all …]
|
| /external/dagger2/javatests/dagger/functional/spi/ |
| D | SpiTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 19 import static com.google.common.io.Resources.getResource; 20 import static com.google.common.truth.Truth.assertThat; 27 import java.util.Properties; 50 Properties properties = new Properties(); in testPluginRuns() local 51 try (InputStream stream = getResource(SpiTest.class, "SpiTest_C.properties").openStream()) { in testPluginRuns() 52 properties.load(stream); in testPluginRuns() 54 assertThat(properties).containsEntry("component[0]", C.class.getCanonicalName()); in testPluginRuns()
|
| D | TestPlugin.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 22 import com.google.common.base.Joiner; 31 import java.util.Properties; 45 Properties properties = new Properties(); in visitGraph() local 48 properties.setProperty( in visitGraph() 52 write(bindingGraph, properties); in visitGraph() 55 private void write(BindingGraph bindingGraph, Properties properties) { in write() argument 63 Joiner.on('_').join(rootComponentName.simpleNames()) + ".properties") in write() 65 properties.store(writer, ""); in write()
|
| /external/angle/src/gpu_info_util/ |
| D | SystemInfo_vulkan.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 21 #include "common/angleutils.h" 22 #include "common/debug.h" 23 #include "common/platform_helpers.h" 24 #include "common/system_utils.h" 25 #include "common/vulkan/libvulkan_loader.h" 95 // If Vulkan doesn't exist, bail-out early: in getVulkanInstance() 205 // If Vulkan doesn't exist, bail-out early: in GetSystemInfoVulkanWithICD() 230 info->gpus.resize(physicalDeviceCount); in GetSystemInfoVulkanWithICD() 241 VkPhysicalDeviceProperties &properties = properties2.properties; in GetSystemInfoVulkanWithICD() local [all …]
|
| /external/guava/guava/src/com/google/common/graph/ |
| D | GraphBuilder.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 17 package com.google.common.graph; 19 import static com.google.common.base.Preconditions.checkArgument; 20 import static com.google.common.base.Preconditions.checkNotNull; 21 import static com.google.common.graph.Graphs.checkNonNegative; 23 import com.google.common.annotations.Beta; 24 import com.google.common.base.Optional; 29 * user-defined properties. 31 * <p>A graph built by this class will have the following properties by default: [all …]
|
| D | ValueGraphBuilder.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 17 package com.google.common.graph; 19 import static com.google.common.base.Preconditions.checkArgument; 20 import static com.google.common.base.Preconditions.checkNotNull; 21 import static com.google.common.graph.Graphs.checkNonNegative; 23 import com.google.common.annotations.Beta; 24 import com.google.common.base.Optional; 28 * with user-defined properties. 30 * <p>A graph built by this class will have the following properties by default: [all …]
|
| D | NetworkBuilder.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 17 package com.google.common.graph; 19 import static com.google.common.base.Preconditions.checkNotNull; 20 import static com.google.common.graph.Graphs.checkNonNegative; 22 import com.google.common.annotations.Beta; 23 import com.google.common.base.Optional; 27 * user-defined properties. 29 * <p>A network built by this class will have the following properties by default: 33 * <li>does not allow self-loops [all …]
|
| /external/guava/android/guava/src/com/google/common/graph/ |
| D | GraphBuilder.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 17 package com.google.common.graph; 19 import static com.google.common.base.Preconditions.checkArgument; 20 import static com.google.common.base.Preconditions.checkNotNull; 21 import static com.google.common.graph.Graphs.checkNonNegative; 23 import com.google.common.annotations.Beta; 24 import com.google.common.base.Optional; 29 * user-defined properties. 31 * <p>A graph built by this class will have the following properties by default: [all …]
|
| D | ValueGraphBuilder.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 17 package com.google.common.graph; 19 import static com.google.common.base.Preconditions.checkArgument; 20 import static com.google.common.base.Preconditions.checkNotNull; 21 import static com.google.common.graph.Graphs.checkNonNegative; 23 import com.google.common.annotations.Beta; 24 import com.google.common.base.Optional; 28 * with user-defined properties. 30 * <p>A graph built by this class will have the following properties by default: [all …]
|
| D | NetworkBuilder.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 17 package com.google.common.graph; 19 import static com.google.common.base.Preconditions.checkNotNull; 20 import static com.google.common.graph.Graphs.checkNonNegative; 22 import com.google.common.annotations.Beta; 23 import com.google.common.base.Optional; 27 * user-defined properties. 29 * <p>A network built by this class will have the following properties by default: 33 * <li>does not allow self-loops [all …]
|
| /external/caliper/caliper/src/main/java/com/google/caliper/platform/ |
| D | Platform.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 19 import static com.google.common.base.Preconditions.checkNotNull; 21 import com.google.common.base.Predicate; 22 import com.google.common.collect.ImmutableList; 23 import com.google.common.collect.ImmutableSet; 50 * Additional virtual machine arguments common to all instruments that are passed to a worker. 75 * <p>By default this is just the {@code -cp $workerClassPath}.</p> 78 return ImmutableList.of("-cp", workerClassPath()); in workerClassPathArgs() 113 * Selects the names of properties that will be used to populate the [all …]
|
| /external/bazelbuild-rules_android/rules/ |
| D | common.bzl | 7 # http://www.apache.org/licenses/LICENSE-2.0 9 # Unless required by applicable law or agreed to in writing, software 15 """Bazel common library for the Android rules.""" 49 args.add("-q") 52 args.add("--copy") 53 args.add("--out") 65 properties = ctx.actions.declare_file("%s/keystore.properties" % ctx.label.name) 68 output = properties, 71 return properties 73 common = struct(
|
| /external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/foreground/ |
| D | ForegroundDownloadKey.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 24 import com.google.common.base.Optional; 25 import com.google.common.hash.Hasher; 26 import com.google.common.hash.Hashing; 56 * <p><b>NOTE:</b> Properties set here <em>must</em> match the properties set in {@link 82 * <p><b>NOTE:</b> Properties set here <em>must</em> match the properties set in {@link 85 * @param destinationUri The on-device location where the file will be downloaded (required)
|
| /external/guava/android/guava-tests/test/com/google/common/graph/ |
| D | TestUtil.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 17 package com.google.common.graph; 19 import static com.google.common.truth.Truth.assertThat; 21 import com.google.common.collect.ImmutableSet; 22 import com.google.common.collect.Iterators; 26 /** Utility methods used in various common.graph tests. */ 52 // Properties not covered by equals() in assertStronglyEquivalent() 60 // Properties not covered by equals() in assertStronglyEquivalent() 68 // Properties not covered by equals() in assertStronglyEquivalent()
|
| /external/guava/guava-tests/test/com/google/common/graph/ |
| D | TestUtil.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 10 * Unless required by applicable law or agreed to in writing, software 17 package com.google.common.graph; 19 import static com.google.common.truth.Truth.assertThat; 21 import com.google.common.collect.ImmutableSet; 22 import com.google.common.collect.Iterators; 26 /** Utility methods used in various common.graph tests. */ 52 // Properties not covered by equals() in assertStronglyEquivalent() 60 // Properties not covered by equals() in assertStronglyEquivalent() 68 // Properties not covered by equals() in assertStronglyEquivalent()
|
| /external/smali/smali/src/main/java/org/jf/smali/ |
| D | Main.java | 17 * this software without specific prior written permission. 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 import com.google.common.collect.Lists; 45 import java.util.Properties; 54 @Parameter(names = {"-h", "-?", "--help"}, help = true, 58 @Parameter(names = {"-v", "--version"}, help = true, 105 System.out.println("BSD license (http://www.opensource.org/licenses/bsd-license.php)"); in version() 110 …InputStream propertiesStream = Main.class.getClassLoader().getResourceAsStream("smali.properties"); in loadVersion() 113 Properties properties = new Properties(); in loadVersion() local [all …]
|
| /external/ComputeLibrary/src/dynamic_fusion/sketch/gpu/operators/ |
| D | GpuClamp.cpp | 2 * Copyright (c) 2022-2023 Arm Limited. 4 * SPDX-License-Identifier: MIT 7 * of this software and associated documentation files (the "Software"), to 8 * deal in the Software without restriction, including without limitation the 10 * sell copies of the Software, and to permit persons to whom the Software is 14 * copies or substantial portions of the Software. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 * SOFTWARE. 34 #include "src/common/utils/Log.h" [all …]
|
| D | GpuSoftmax.cpp | 4 * SPDX-License-Identifier: MIT 7 * of this software and associated documentation files (the "Software"), to 8 * deal in the Software without restriction, including without limitation the 10 * sell copies of the Software, and to permit persons to whom the Software is 14 * copies or substantial portions of the Software. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 * SOFTWARE. 29 #include "src/common/utils/Log.h" 61 auto_init_if_empty(dst_info_to_validate, *src->clone()); in is_supported_op() [all …]
|
| /external/google-smali/baksmali/src/main/java/com/android/tools/smali/baksmali/ |
| D | Main.java | 16 * this software without specific prior written permission. 18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35 import com.google.common.collect.Lists; 44 import java.util.Properties; 53 @Parameter(names = {"--help", "-h", "-?"}, help = true, 57 @Parameter(names = {"--version", "-v"}, help = true, 107 System.out.println("BSD license (http://www.opensource.org/licenses/bsd-license.php)"); in version() 112 …ream propertiesStream = Baksmali.class.getClassLoader().getResourceAsStream("baksmali.properties"); in loadVersion() 115 Properties properties = new Properties(); in loadVersion() local [all …]
|
| /external/smali/baksmali/src/main/java/org/jf/baksmali/ |
| D | Main.java | 17 * this software without specific prior written permission. 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36 import com.google.common.collect.Lists; 45 import java.util.Properties; 54 @Parameter(names = {"--help", "-h", "-?"}, help = true, 58 @Parameter(names = {"--version", "-v"}, help = true, 108 System.out.println("BSD license (http://www.opensource.org/licenses/bsd-license.php)"); in version() 113 …ream propertiesStream = Baksmali.class.getClassLoader().getResourceAsStream("baksmali.properties"); in loadVersion() 116 Properties properties = new Properties(); in loadVersion() local [all …]
|