Home
last modified time | relevance | path

Searched +full:compat +full:- +full:version (Results 1 – 25 of 1067) sorted by relevance

12345678910>>...43

/external/llvm-project/clang/test/Headers/
Dstdbool.cpp1 // RUN: %clang_cc1 -fgnuc-version=4.2.1 -std=gnu++98 -E -dM %s | FileCheck --check-prefix=CHECK-GNU
2 // RUN: %clang_cc1 -fgnuc-version=4.2.1 -std=gnu++11 -E -dM %s | FileCheck --check-prefix=CHECK-GNU
3 // RUN: %clang_cc1 -fgnuc-version=4.2.1 -std=c++98 -E -dM %s | FileCheck --check-prefix=CHECK-CONFO…
4 // RUN: %clang_cc1 -fgnuc-version=4.2.1 -fsyntax-only -std=gnu++98 -verify -Weverything %s
8 // CHECK-GNU-COMPAT-98: #define _Bool bool
9 // CHECK-GNU-COMPAT-98: #define bool bool
10 // CHECK-GNU-COMPAT-98: #define false false
11 // CHECK-GNU-COMPAT-98: #define true true
13 // CHECK-GNU-COMPAT-11: #define _Bool bool
14 // CHECK-GNU-COMPAT-11-NOT: #define bool bool
[all …]
/external/tensorflow/tensorflow/python/tools/api/generator/
Dcreate_python_api.py3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
35 _COMPAT_MODULE_TEMPLATE = 'compat.v%d'
36 _SUBCOMPAT_MODULE_TEMPLATE = 'compat.v%d.compat.v%d'
37 _COMPAT_MODULE_PREFIX = 'compat.v'
101 key=lambda imp_and_priority: (-imp_and_priority[1], imp_and_priority[0]))
131 symbol_id != self._dest_import_to_id[api_name] and symbol_id != -1):
161 symbol_id = -1 if not symbol else id(symbol)
196 submodule = module_split[submodule_index - 1]
318 """Adds compat.vN.compat.vK modules to module builder.
[all …]
Dapi_gen.bzl8 """Prepends compat/v<compat_api_version> to file_paths."""
9 return ["compat/v%d/%s" % (compat_api_version, f) for f in file_paths]
12 """Return __init__.py file paths for files under nested compat modules.
14 A nested compat module contains two __init__.py files:
15 1. compat/vN/compat/vK/__init__.py
16 2. compat/vN/compat/vK/compat/__init__.py
19 compat_api_versions: list of compat versions.
22 List of __init__.py file paths to include under nested compat modules.
27 "compat/v%d/compat/v%d/__init__.py" % (v, sv)
31 "compat/v%d/compat/v%d/compat/__init__.py" % (v, sv)
[all …]
Dcreate_python_api_test.py3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
96 # Also check that compat.v1 is not added to imports.
97 self.assertFalse('compat.v1' in imports,
98 msg='compat.v1 in %s' % str(imports.keys()))
145 self.assertTrue('compat.v1' in imports,
146 msg='compat.v1 not in %s' % str(imports.keys()))
147 self.assertTrue('compat.v1.test' in imports,
148 msg='compat.v1.test not in %s' % str(imports.keys()))
158 self.assertIn('compat.v1.compat.v1', imports,
[all …]
/external/tensorflow/tensorflow/python/util/
Dcompat.py3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
17 The `tf.compat` module contains two sets of compatibility functions.
21 The `compat.v1` and `compat.v2` submodules provide a complete copy of both the
28 Aside from the `compat.v1` and `compat.v2` submodules, `tf.compat` also contains
59 import collections.abc as collections_abc # pylint: disable=unused-import
61 import collections as collections_abc # pylint: disable=unused-import
64 def as_bytes(bytes_or_text, encoding='utf-8'):
67 Uses utf-8 encoding for text by default.
90 def as_text(bytes_or_text, encoding='utf-8'):
[all …]
/external/rust/crates/futures/
DCargo.toml9 # issue against the rust-lang/cargo repository. If you're
16 version = "0.3.13"
18 …of futures and streams featuring zero allocations,\ncomposability, and iterator-like interfaces.\n"
19 homepage = "https://rust-lang.github.io/futures-rs"
24 license = "MIT OR Apache-2.0"
25 repository = "https://github.com/rust-lang/futures-rs"
27 all-features = true
28 rustdoc-args = ["--cfg", "docsrs"]
31 features = ["std", "async-await", "compat", "io-compat", "executor", "thread-pool"]
32 [dependencies.futures-channel]
[all …]
DCargo.toml.orig4 version = "0.3.13"
6 license = "MIT OR Apache-2.0"
9 repository = "https://github.com/rust-lang/futures-rs"
10 homepage = "https://rust-lang.github.io/futures-rs"
14 composability, and iterator-like interfaces.
19 futures-core = { path = "../futures-core", version = "0.3.13", default-features = false }
20 futures-task = { path = "../futures-task", version = "0.3.13", default-features = false }
21 futures-channel = { path = "../futures-channel", version = "0.3.13", default-features = false, feat…
22 futures-executor = { path = "../futures-executor", version = "0.3.13", default-features = false, op…
23 futures-io = { path = "../futures-io", version = "0.3.13", default-features = false }
[all …]
/external/tensorflow/tensorflow/tools/compatibility/
Drenames_v2.py3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
15 # pylint: disable=line-too-long
20 bazel-bin/tensorflow/tools/compatibility/update/generate_v2_renames_map
21 pyformat --in_place third_party/tensorflow/tools/compatibility/renames_v2.py
30 'tf.compat.v1.AUTO_REUSE',
32 'tf.compat.v1.AttrValue',
34 'tf.version.COMPILER_VERSION',
38 'tf.compat.v1.ConditionalAccumulator',
40 'tf.compat.v1.ConditionalAccumulatorBase',
[all …]
/external/tensorflow/tensorflow/python/compat/
Dcompat.py3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
17 See [Version
69 @tf_export("compat.forward_compatible")
73 See [Version
76 Forward-compatibility refers to scenarios where the producer of a TensorFlow
77 model (a GraphDef or SavedModel) is compiled against a version of the
83 TensorFlow has been supporting a 3 week forward-compatibility window for
88 wrapper - `tf.add`. The Python wrapper implementation should change from
99 from tensorflow.python.compat import compat
[all …]
Dcompat_test.py3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
23 from tensorflow.python.compat import compat
30 date = compat._FORWARD_COMPATIBILITY_HORIZON # pylint: disable=protected-access
34 …date = compat._FORWARD_COMPATIBILITY_HORIZON + datetime.timedelta(days=n) # pylint: disable=prote…
39 one_day_before = self._n_days_after(-1)
40 self.assertTrue(compat.forward_compatible(*one_day_before))
41 self.assertFalse(compat.forward_compatible(*compatibility_date))
44 with compat.forward_compatibility_horizon(2018, 9, 18):
45 self.assertTrue(compat.forward_compatible(2020, 4, 4))
[all …]
/external/tensorflow/tensorflow/tools/api/tests/
Dapi_compatibility_test.py4 # Licensed under the Apache License, Version 2.0 (the "License");
8 # http://www.apache.org/licenses/LICENSE-2.0
23 "--update_goldens" flag set to "True" to update goldens when making changes to
51 # pylint: disable=g-import-not-at-top,unused-import
57 # pylint: enable=g-import-not-at-top,unused-import
71 test. Therefore, do not error out on API changes in non-core TF code
107 # TODO(annarev): remove this once we test with newer version of
108 # estimator that actually has compat v1 version.
109 if not hasattr(tf.compat.v1, 'estimator'):
110 tf.compat.v1.estimator = tf.estimator
[all …]
/external/openssh/
DAndroid.bp3 // Licensed under the Apache License, Version 2.0 (the "License");
7 // http://www.apache.org/licenses/LICENSE-2.0
19 // Added automatically by a large-scale-change that took the approach of
33 // large-scale-change filtered out the below license kinds as false-positives:
34 // SPDX-license-identifier-GPL
35 // See: http://go/android-license-faq
40 "SPDX-license-identifier-BSD",
41 "SPDX-license-identifier-Beerware",
42 "SPDX-license-identifier-MIT",
43 "SPDX-license-identifier-OpenSSL",
[all …]
Dcompat.c1 /* $OpenBSD: compat.c,v 1.113 2018/08/13 02:41:05 djm Exp $ */
36 #include "compat.h"
45 compat_datafellows(const char *version) in compat_datafellows() argument
86 { "1.3.2*", /* F-Secure */ in compat_datafellows()
88 { "Cisco-1.*", SSH_BUG_DHGEX_LARGE| in compat_datafellows()
104 "PuTTY-Release-0.5*," /* 0.50-0.57, DH-GEX in >=0.52 */ in compat_datafellows()
105 "PuTTY_Release_0.5*," /* 0.58-0.59 */ in compat_datafellows()
113 { "Probe-*", in compat_datafellows()
140 { "ConfD-*", in compat_datafellows()
149 if (match_pattern_list(version, check[i].pat, 0) == 1) { in compat_datafellows()
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/
DInternal.java5 * Licensed under the Apache License, Version 2.0 (the "License");
9 * http://www.apache.org/licenses/LICENSE-2.0
43 @android.compat.annotation.UnsupportedAppUsage
52 @android.compat.annotation.UnsupportedAppUsage
55 @android.compat.annotation.UnsupportedAppUsage
58 @android.compat.annotation.UnsupportedAppUsage
61 @android.compat.annotation.UnsupportedAppUsage
64 @android.compat.annotation.UnsupportedAppUsage
67 @android.compat.annotation.UnsupportedAppUsage
71 @android.compat.annotation.UnsupportedAppUsage
[all …]
/external/cldr/common/collation/
Dse.xml1 <?xml version="1.0" encoding="UTF-8" ?>
3 <!--
4 Copyright © 1991-2014 Unicode, Inc.
7 -->
10 <version number="$Revision$"/>
16 [import und-u-co-search]
17 [import se-u-co-standard]
58 &y<<ü # compat. for Norwegian/Swedish
65 <<<Ž<ø # compat. for Norwegian
69 <<<Œ<æ # compat. for Norwegian
[all …]
/external/tensorflow/tensorflow/examples/speech_commands/
Dtrain.py3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
17 This is a self-contained example script that will train a very basic audio
36 one-second .wav files, each containing one spoken word. This data set is
60 `--wanted_words` argument. In this case, 'up,down' might be what you want, and
65 bazel run tensorflow/examples/speech_commands:train -- \
66 --data_dir=my_wavs --wanted_words=up,down
78 from six.moves import xrange # pylint: disable=redefined-builtin
90 tf.compat.v1.logging.set_verbosity(FLAGS.verbosity)
93 sess = tf.compat.v1.InteractiveSession()
[all …]
Dfreeze.py3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
21 bazel run tensorflow/examples/speech_commands/freeze -- \
22 --sample_rate=16000 --dct_coefficient_count=40 --window_size_ms=20 \
23 --window_stride_ms=10 --clip_duration_ms=1000 \
24 --model_architecture=conv \
25 --start_checkpoint=/tmp/speech_commands_train/conv.ckpt-1300 \
26 --output_file=/tmp/my_frozen_graph.pb
32 The resulting graph has an input for WAV-encoded data named 'wav_data', one for
33 raw PCM data (as floats in the range -1.0 to 1.0) called 'decoded_sample_data',
[all …]
/external/oss-fuzz/projects/openssh/
Dbuild.sh1 #!/bin/bash -eu
4 # Licensed under the Apache License, Version 2.0 (the "License");
8 # http://www.apache.org/licenses/LICENSE-2.0
19 sed -i 's/#define CFLAG_INTERNAL.*/#define CFLAG_INTERNAL 0/' cipher.c
22 sed -i 's|\(usleep.*\)|// \1|' ssh-agent.c
28 --with-cflags="-DWITH_XMSS=1" \
29 --with-cflags-after="$CFLAGS" \
30 --with-ldflags-after="-g $CFLAGS"
31 make -j$(nproc) all
34 EXTRA_CFLAGS="-DCIPHER_NONE_AVAIL=1"
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLSocketImpl.java5 * Licensed under the Apache License, Version 2.0 (the "License");
9 * http://www.apache.org/licenses/LICENSE-2.0
30 * Public shim allowing us to stay backward-compatible with legacy applications which were using
64 @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
70 @android.compat.annotation
71 .UnsupportedAppUsage(maxTargetSdk = dalvik.annotation.compat.VersionCodes.Q,
80 @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
91 @android.compat.annotation
99 @android.compat.annotation.UnsupportedAppUsage(maxTargetSdk = 30, trackingBug = 170729553)
105 @android.compat.annotation
[all …]
/external/mesa3d/src/mapi/glapi/gen/
DARB_vertex_attrib_binding.xml1 <?xml version="1.0"?>
4 <!-- Note: no GLX protocol info yet. -->
11 …marshal_call_after="if (COMPAT) _mesa_glthread_VertexBuffer(ctx, bindingindex, buffer, offset, str…
19 …marshal_call_after="if (COMPAT) _mesa_glthread_AttribFormat(ctx, attribindex, size, type, relative…
28 …marshal_call_after="if (COMPAT) _mesa_glthread_AttribFormat(ctx, attribindex, size, type, relative…
36 …marshal_call_after="if (COMPAT) _mesa_glthread_AttribFormat(ctx, attribindex, size, type, relative…
44 … marshal_call_after="if (COMPAT) _mesa_glthread_AttribBinding(ctx, attribindex, bindingindex);">
50 … marshal_call_after="if (COMPAT) _mesa_glthread_BindingDivisor(ctx, bindingindex, divisor);">
56 …marshal_call_after="if (COMPAT) _mesa_glthread_DSAVertexBuffer(ctx, vaobj, bindingindex, buffer, o…
65 …marshal_call_after="if (COMPAT) _mesa_glthread_DSAAttribFormat(ctx, vaobj, attribindex, size, type…
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/
Dimport_restore_v1.py3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
18 # pylint: disable=missing-docstring,line-too-long
23 import tensorflow.compat.v1 as tf
27 # contents, since the version numbers change over time. The conversion logic
31 # CHECK-SAME: tf.versions
32 # CHECK-SAME: bad_consumers
33 # CHECK-SAME: min_consumer
34 # CHECK-SAME: producer
37 # CHECK-SAME: initializers = [@[[restore:.*]]]
[all …]
Dremove_init_variable_v1.py3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
18 # pylint: disable=missing-docstring,line-too-long
23 import tensorflow.compat.v1 as tf
27 # contents, since the version numbers change over time. The conversion logic
31 # CHECK-SAME: tf.versions
32 # CHECK-SAME: bad_consumers
33 # CHECK-SAME: min_consumer
34 # CHECK-SAME: producer
36 …() {is_mutable, sym_name = "[[VAR:[a-zA-Z_0-9]+]]", type = tensor<1x3xf32>, value = {{.*}} : tenso…
[all …]
Dbasic_v1.py3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
18 # pylint: disable=missing-docstring,line-too-long
23 import tensorflow.compat.v1 as tf
27 # contents, since the version numbers change over time. The conversion logic
31 # CHECK-SAME: tf.versions
32 # CHECK-SAME: bad_consumers
33 # CHECK-SAME: min_consumer
34 # CHECK-SAME: producer
36 …() {is_mutable, sym_name = "[[VAR:[a-zA-Z_0-9]+]]", type = tensor<1x3xf32>, value = {{.*}} : tenso…
[all …]
/external/llvm-project/llvm/test/tools/llvm-profdata/
Dcompat.proftext2 # that we don't break compatibility with an older profile version
5 # The input file at %S/Inputs/compat.profdata.v1 was generated with
6 # llvm-profdata merge from r214548.
8 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v1 --function function_count_only --counts | Fi…
14 # FUNC_COUNT_ONLY-NEXT: Counters: 1
15 # FUNC_COUNT_ONLY-NEXT: Function count: 97531
16 # FUNC_COUNT_ONLY-NEXT: Block counts: []
18 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v1 --function "name with spaces" --counts | Fil…
25 # SPACES-NEXT: Counters: 2
26 # SPACES-NEXT: Function count: 0
[all …]
/external/llvm/test/tools/llvm-profdata/
Dcompat.proftext2 # that we don't break compatibility with an older profile version
5 # The input file at %S/Inputs/compat.profdata.v1 was generated with
6 # llvm-profdata merge from r214548.
8 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v1 --function function_count_only --counts | Fi…
14 # FUNC_COUNT_ONLY-NEXT: Counters: 1
15 # FUNC_COUNT_ONLY-NEXT: Function count: 97531
16 # FUNC_COUNT_ONLY-NEXT: Block counts: []
18 # RUN: llvm-profdata show %S/Inputs/compat.profdata.v1 --function "name with spaces" --counts | Fil…
25 # SPACES-NEXT: Counters: 2
26 # SPACES-NEXT: Function count: 0
[all …]

12345678910>>...43