/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/build-gradle-plugin/ |
D | action.yml | 12 - name: 'Install Java ${{ env.USE_JAVA_VERSION }}' 13 uses: actions/setup-java@v2 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/dagger2/.github/actions/test-gradle-plugin/ |
D | action.yml | 7 - name: 'Install Java ${{ env.USE_JAVA_VERSION }}' 8 uses: actions/setup-java@v2 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 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@v2 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/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/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/auto/.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@0.9.1 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@0.9.0 24 - name: 'Check out repository' 26 - name: 'Cache local Maven repository' 30 key: maven-${{ hashFiles('**/pom.xml') }} 31 restore-keys: | 32 maven- [all …]
|
/external/guava/.github/workflows/ |
D | ci.yml | 6 - master 9 - master 13 name: "${{ matrix.root-pom }} on JDK ${{ matrix.java }}" 17 root-pom: [ 'pom.xml', 'android/pom.xml' ] 18 runs-on: ubuntu-latest 20 ROOT_POM: ${{ matrix.root-pom }} 23 - name: 'Cancel previous runs' 24 uses: styfle/cancel-workflow-action@0.9.1 27 - name: 'Check out repository' 29 - name: 'Cache local Maven repository' [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/dagger2/.github/workflows/ |
D | release.yml | 22 validate-latest-dagger-version: 24 runs-on: ubuntu-latest 26 - uses: actions/checkout@v2 27 - uses: ./.github/actions/prechecks 28 bazel-build: 30 needs: validate-latest-dagger-version 31 runs-on: ubuntu-latest 33 - uses: actions/checkout@v2 34 - uses: ./.github/actions/bazel-build 35 bazel-test: [all …]
|
D | ci.yml | 6 - master 9 - master 20 validate-latest-dagger-version: 22 runs-on: ubuntu-latest 24 - uses: actions/checkout@v2 25 - uses: ./.github/actions/prechecks 26 bazel-build: 28 needs: validate-latest-dagger-version 29 runs-on: ubuntu-latest 31 - uses: actions/checkout@v2 [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/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/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/python/absl-py/absl/testing/ |
D | flagsaver.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 17 There are many ways to save and restore. Always use the most convenient method 45 # Save and restore the flag values yourself. 53 We save and restore a shallow copy of each Flag object's ``__dict__`` attribute. 59 and then restore flag values, the added flag will be deleted with no errors. 92 raise ValueError('Cannot set --%s multiple times' % holder.name) 104 Dictionary mapping keys to values. Keys are flag names, values are 134 func: function object - This will be called between saving flags and 136 overrides: {str: object} - Flag names mapped to their values. These flags 192 copy['_value'] = flag.value # Ensure correct restore for C++ flags.
|
/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/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/python/google-api-python-client/docs/dyn/ |
D | spanner_v1.projects.instances.databases.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [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 …]
|
/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.
|