| /external/libbackup/src/com/google/android/libraries/backup/ |
| D | PersistentBackupAgentHelper.java | 21 * <p>1) All backed-up shared preference files will automatically be restored; the app does not need 22 * to know the list of files in advance at restore time. This is important for apps that generate 26 * <p>2) Only the requested keys will be backed up from each shared preference file. All keys that 34 * is populated based on the requested shared preference files and keys. After restoring, the data 74 * Returns the predicate that decides which keys should be backed up for each shared preference 81 * <p>This method will only be called at backup time. At restore time, everything that was backed 90 * Adds data from the given file name for keys that pass the given predicate. 118 @SuppressWarnings("unchecked") // There are no unchecked casts - the Set<String> cast IS checked. 135 Log.w(TAG, "Skipping restore of key " + key + " because its value is a set containing" in putSharedPreference() 144 Log.w(TAG, "Skipping restore of key " + key + " because its value is the unrecognized type " in putSharedPreference() [all …]
|
| /external/dagger2/.github/actions/test-gradle-plugin/ |
| D | action.yml | 7 - name: 'Install Java ${{ env.USE_JAVA_VERSION_FOR_PLUGIN }}' 8 uses: actions/setup-java@v3 11 java-version: '${{ env.USE_JAVA_VERSION_FOR_PLUGIN }}' 12 - name: 'Check out repository' 14 - name: 'Cache local Maven repository' 20 key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} 21 restore-keys: | 22 ${{ runner.os }}-maven- 23 - name: 'Cache Bazel files' 27 key: ${{ runner.os }}-bazel-build-${{ github.sha }} [all …]
|
| /external/dagger2/.github/actions/bazel-test/ |
| D | action.yml | 7 - name: 'Install Java ${{ env.USE_JAVA_VERSION }}' 8 uses: actions/setup-java@v3 11 java-version: '${{ env.USE_JAVA_VERSION }}' 12 - name: 'Check out repository' 14 - name: 'Cache local Maven repository' 20 key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} 21 restore-keys: | 22 ${{ runner.os }}-maven- 23 - name: 'Cache Bazel files' 27 # Note: we could use the same key as bazel-build, but we separate them [all …]
|
| /external/dagger2/.github/actions/build-gradle-plugin/ |
| D | action.yml | 12 - name: 'Install Java ${{ env.USE_JAVA_VERSION }}' 13 uses: actions/setup-java@v3 16 java-version: '${{ env.USE_JAVA_VERSION }}' 17 - name: 'Check out repository' 19 - name: 'Cache local Maven repository' 25 key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} 26 restore-keys: | 27 ${{ runner.os }}-maven- 28 - name: 'Cache Bazel files' 32 key: ${{ runner.os }}-bazel-build-${{ github.sha }} [all …]
|
| /external/tensorflow/tensorflow/python/training/ |
| D | saver.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 16 # pylint: disable=invalid-name 17 """Save and restore variables. 80 return round((end_time_seconds - start_time_seconds) * 1000000) 127 # pylint: disable=protected-access 144 # of a V2 checkpoint: e.g. "/fs/train/ckpt-<step>/tmp/worker<i>-<step>". 152 """Restore all tensors contained in saveables. 161 restore_sequentially: Unused. Bool. If true, each restore is sequential. 180 # pylint: disable=unused-argument 182 """Create ops to restore 'saveable'. [all …]
|
| D | saver_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 60 import tensorflow.python.ops.nn_grad # pylint: disable=unused-import 82 # Restore nodes for them. 95 self.assertEqual(b"k1", self.evaluate(v2.keys())) 112 v0 = variable_op(-1.0, name="v0") 113 v1 = variable_op(-1.0, name="v1") 120 self.assertEqual(0, len(self.evaluate(v2.keys()))) 122 # Restore the saved values in the parameter nodes. 124 save.restore(sess, save_path) 128 self.assertEqual(b"k1", self.evaluate(v2.keys())) [all …]
|
| /external/auto/.github/workflows/ |
| D | ci.yml | 6 - main 9 - main 17 runs-on: ubuntu-latest 20 - name: 'Cancel previous runs' 21 uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 24 - name: 'Check out repository' 26 - name: 'Cache local Maven repository' 30 key: maven-${{ hashFiles('**/pom.xml') }} 31 restore-keys: | 32 maven- [all …]
|
| /external/truth/.github/workflows/ |
| D | ci.yml | 6 - master 9 - master 17 runs-on: ubuntu-latest 20 - name: 'Cancel previous runs' 21 uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 24 - name: 'Check out repository' 26 - name: 'Cache local Maven repository' 30 key: maven-${{ hashFiles('**/pom.xml') }} 31 restore-keys: | 32 maven- [all …]
|
| /external/tensorflow/tensorflow/python/checkpoint/ |
| D | functional_saver.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 15 """Saves and restore variables inside traced @tf.functions.""" 42 """Specify a list of `SaveableObject`s to save and restore. 45 tensor_slice_dict: A dict mapping checkpoint key -> slice_spec -> tensor. 82 def restore(self, file_prefix, options=None): member in _SingleDeviceSaver 83 """Restore the saveable objects from a checkpoint with `file_prefix`. 91 A restored tensor dict (maps checkpoint_key -> slice_spec -> tensor). 138 [filename_tensor, constant_op.constant(f"-{saver_name}")]) 181 Note that this is a low-level utility which stores Tensors in the keys 182 specified by `SaveableObject`s. Higher-level utilities for object-based [all …]
|
| D | restore.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 49 def restore(self, trackable): member in CheckpointPosition 50 """Restore this value into `trackable`.""" 60 """Set a checkpoint<->object correspondence. 104 restore-on-create when executing eagerly. 123 # Run the restore itself on the io_device(CPU or specified). 149 # pylint:disable=g-import-not-at-top 154 # pylint:enable=g-import-not-at-top 184 # keys, then we can take another look at this. 190 elif saveable_factories.keys() == { [all …]
|
| /external/tensorflow/tensorflow/dtensor/python/ |
| D | d_checkpoint.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 30 from tensorflow.python.checkpoint import restore as restore_lib 45 class _DSaver: # pylint: disable=protected-access 57 ) -> Optional[ops.Operation]: 101 def restore( member in _DSaver 105 ) -> Dict[str, ops.Operation]: 106 """Restore the saveable objects from a checkpoint with `file_prefix`. 114 A dictionary mapping from SaveableObject names to restore operations. 129 # initialized -- which isn't the behavior we want eventually. 130 # TODO(b/159035705): Handle the variable initialization in restore. [all …]
|
| D | save_restore.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 90 """Saves given named tensor slices in a sharded, multi-client safe fashion. 93 mutli-client saving. Namely, we place a barrier after SaveV2 to make sure 121 mesh_util.barrier(mesh.host_mesh(), 'SaveV2') # pylint: disable=protected-access 140 non-DTensor Variables/Tensors untouched. 143 variables: A list of tf.Variable to be enabled with bfloat16 save/restore. 160 It is required to have already-initialized DTensor variables that have same 163 Also, we currently only support a named based restore on a single mesh. 175 raise ValueError('name based restore must run eagerly.') 200 [list(ordered_name_tensor_dict.keys())] * mesh.num_local_devices(), [all …]
|
| /external/marisa-trie/lib/marisa/grimoire/trie/ |
| D | louds-trie.cc | 9 #include "marisa/grimoire/trie/louds-trie.h" 88 restore(agent, get_link(state.node_id())); in reverse_lookup() 101 state.set_node_id(louds_.select1(state.node_id()) - state.node_id() - 1); in reverse_lookup() 171 next.set_node_id(next.louds_pos() - current.node_id() - 1); in predictive_search() 182 restore(agent, get_link(next.node_id(), next.link_id())); in predictive_search() 199 History ¤t = state.history()[state.history_pos() - 1]; in predictive_search() 202 state.history()[state.history_pos() - 2]; in predictive_search() 204 state.set_history_pos(state.history_pos() - 1); in predictive_search() 216 + ((next_trie_.get() != NULL) ? next_trie_->total_size() : 0) in total_size() 225 (next_trie_->io_size() - Header().io_size()) : 0) in io_size() [all …]
|
| /external/cronet/third_party/protobuf/csharp/compatibility_tests/v3.0.0/ |
| D | test.sh | 5 $1 -Iprotos/src -I../../../src/ --csharp_out=src/Google.Protobuf.Test \ 6 --csharp_opt=base_namespace=Google.Protobuf \ 11 $1 -Iprotos/csharp --csharp_out=src/Google.Protobuf.Test \ 12 --csharp_opt=base_namespace=UnitTest.Issues \ 15 $2 -Iprotos/src --csharp_out=src/Google.Protobuf.Test \ 16 --csharp_opt=base_namespace=Google.Protobuf \ 21 dotnet restore src/Google.Protobuf/Google.Protobuf.csproj 22 dotnet restore src/Google.Protobuf.Test/Google.Protobuf.Test.csproj 23 dotnet build -c Release src/Google.Protobuf/Google.Protobuf.csproj 24 dotnet build -c Release src/Google.Protobuf.Test/Google.Protobuf.Test.csproj [all …]
|
| /external/protobuf/csharp/compatibility_tests/v3.0.0/ |
| D | test.sh | 5 $1 -Iprotos/src -I../../../src/ --csharp_out=src/Google.Protobuf.Test \ 6 --csharp_opt=base_namespace=Google.Protobuf \ 11 $1 -Iprotos/csharp --csharp_out=src/Google.Protobuf.Test \ 12 --csharp_opt=base_namespace=UnitTest.Issues \ 15 $2 -Iprotos/src --csharp_out=src/Google.Protobuf.Test \ 16 --csharp_opt=base_namespace=Google.Protobuf \ 21 dotnet restore src/Google.Protobuf/Google.Protobuf.csproj 22 dotnet restore src/Google.Protobuf.Test/Google.Protobuf.Test.csproj 23 dotnet build -c Release src/Google.Protobuf/Google.Protobuf.csproj 24 dotnet build -c Release src/Google.Protobuf.Test/Google.Protobuf.Test.csproj [all …]
|
| /external/autotest/client/cros/faft/utils/ |
| D | kernel_handler.py | 2 # Use of this source code is governed by a BSD-style license that can be 17 """KernelHandler-specific exception.""" 24 Mostly it allows to corrupt and restore a particular kernel partition 32 # image. First added to corrupt the image, then subtracted to restore the 57 # 16 K should be enough to include headers and keys 63 # 16 K should be enought to include headers and keys 71 internal_disk - decide whether to use internal kernel disk. 79 kernel_partitions = re.compile('%s-([AB])' % self.kernel_type) 128 The second type, KERNEL_VERSION_MOD - will use 'delta' as the new 132 The third type. KERNEL_RESIGN_MOD - will resign the kernel with keys in [all …]
|
| /external/dagger2/.github/workflows/ |
| D | release.yml | 20 # https://issues.apache.org/jira/browse/MNG-7679 26 validate-latest-dagger-version: 28 runs-on: ubuntu-latest 30 - uses: actions/checkout@v3 31 - uses: ./.github/actions/prechecks 32 bazel-build: 34 needs: validate-latest-dagger-version 35 runs-on: ubuntu-latest 37 - uses: actions/checkout@v3 38 - uses: ./.github/actions/bazel-build [all …]
|
| D | ci.yml | 6 - master 9 - master 20 # https://issues.apache.org/jira/browse/MNG-7679 24 validate-latest-dagger-version: 26 runs-on: ubuntu-latest 28 - uses: actions/checkout@v3 29 - uses: ./.github/actions/prechecks 30 bazel-build: 32 needs: validate-latest-dagger-version 33 runs-on: ubuntu-latest [all …]
|
| /external/sdk-platform-java/.github/workflows/ |
| D | sonar.yaml | 7 - main 13 runs-on: ubuntu-22.04 15 - uses: actions/checkout@v3 17 fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis 18 - name: Set up JDK 11 19 uses: actions/setup-java@v3 21 java-version: 11 23 - name: Cache SonarCloud packages 27 key: ${{ runner.os }}-sonar 28 restore-keys: ${{ runner.os }}-sonar [all …]
|
| /external/grpc-grpc-java/.github/workflows/ |
| D | testing.yml | 6 - master 7 - 'v1.*' 10 - cron: '54 19 * * SUN' # weekly at a "random" time 17 runs-on: ubuntu-latest 21 fail-fast: false # Should swap to true if we grow a large matrix 24 - uses: actions/checkout@v3 25 - uses: actions/setup-java@v3 27 java-version: ${{ matrix.jre }} 30 - name: Gradle cache 36 … key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} [all …]
|
| /external/aws-sdk-java-v2/.changes/2.10.x/ |
| D | 2.10.21.json | 3 "date": "2019-11-20", 13 …"description": "Added support for CPU and memory task-level overrides on the RunTask and StartTask… 18 …"description": "DLM now supports Fast Snapshot Restore. You can enable Fast Restore on snapshots c… 23 …Keys\") are AWS Key Management Service (KMS) keys that are fully managed by the customer. With cus… 48 …-grained access control over AWS resources using AWS Identity and Access Management (IAM) policies… 83 …"description": "Announcing a Multi-AZ deployment type for Amazon FSx for Windows File Server, prov…
|
| /external/tensorflow/tensorflow/python/training/saving/ |
| D | saveable_object_util.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 56 If the device is already on /CPU:0, this is a no-op. 76 def restore(self, restored_tensors, restored_shapes): member in ReferenceVariableSaveable 107 # To allow variables placed on non-CPU devices to be checkpointed, 124 def restore(self, restored_tensors, restored_shapes): member in ResourceVariableSaveable 138 f"when attempting to restore variable with shape {self._var_shape} " 156 `SaveableObject`s which together save/restore `op`. 173 # pylint: disable=protected-access 195 # pylint: enable=protected-access 198 # pylint: disable=protected-access [all …]
|
| /external/python/cpython2/Lib/curses/ |
| D | wrapper.py | 4 should be the rest of your curses-based application. If the 5 application raises an exception, wrapper() will restore the terminal 24 # Turn off echoing of keys, and enter cbreak mode, 29 # In keypad mode, escape sequences for special keys 30 # (like the cursor keys) will be interpreted and 36 # works around a minor bit of over-conscientiousness in the curses 37 # module -- the error return from C start_color() is ignorable.
|
| /external/autotest/server/site_tests/firmware_FWupdateWP/ |
| D | firmware_FWupdateWP.py | 2 # Use of this source code is governed by a BSD-style license that can be 12 """RO+RW firmware update using chromeos-firmware, with WP=1 and with WP=0. 17 # Region to use for flashrom wp-region commands 61 """Run chromeos-firmwareupdate with given sub-case 64 @param write_protected: is the flash write protected (--wp)? 65 @param before_fwids: fwids before flashing ('bios' and 'ec' as keys) 66 @param image_fwids: fwids in image ('bios' and 'ec' as keys) 70 cmd_desc = ('chromeos-firmwareupdate --mode=%s [wp=%s]' 73 # Unlock the protection of the wp-enable and wp-range registers 87 ec_written = [] # EC write is all-or-nothing [all …]
|
| /external/tensorflow/tensorflow/python/saved_model/ |
| D | save.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 117 # Maps functions -> wrapped functions that capture non-cached variables. 163 for obj in list(self._children_cache.keys()): 228 …me, dep in obj._deserialization_dependencies(children).items(): # pylint: disable=protected-access 284 """Generates all checkpoint save/restore functions. 286 The save and restore functions are generated in the eager context (or in the 291 The global save and restore functions are generated for compatibility with 295 users use the loaded SavedModel as-is, or compose new models using parts 400 tensors = obj._export_to_saved_model_graph( # pylint: disable=protected-access 431 """Generates global and individual save/restore concrete functions. [all …]
|