Home
last modified time | relevance | path

Searched +full:restore +full:- +full:keys (Results 1 – 25 of 641) sorted by relevance

12345678910>>...26

/external/dagger2/.github/workflows/
Dci.yml6 - master
9 - master
19 validate-latest-dagger-version:
21 runs-on: ubuntu-latest
24 # runs of the same job. See https://github.com/google/go-github/pull/1821
25 - name: Cancel previous
26 uses: styfle/cancel-workflow-action@0.8.0
29 - name: 'Check out gh-pages repository'
32 ref: 'refs/heads/gh-pages'
33 path: gh-pages
[all …]
/external/libbackup/src/com/google/android/libraries/backup/
DPersistentBackupAgentHelper.java21 * <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/tensorflow/tensorflow/python/training/
Dsaver.py7 # http://www.apache.org/licenses/LICENSE-2.0
16 # pylint: disable=invalid-name
17 """Save and restore variables.
84 return round((end_time_seconds - start_time_seconds) * 1000000)
120 # pylint: disable=protected-access
137 # of a V2 checkpoint: e.g. "/fs/train/ckpt-<step>/tmp/worker<i>-<step>".
145 """Restore all tensors contained in saveables.
154 restore_sequentially: Unused. Bool. If true, each restore is sequential.
173 # pylint: disable=unused-argument
175 """Create ops to restore 'saveable'.
[all …]
Dsaver_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
64 import tensorflow.python.ops.nn_grad # pylint: disable=unused-import
87 # Restore nodes for them.
100 self.assertEqual(b"k1", self.evaluate(v2.keys()))
117 v0 = variable_op(-1.0, name="v0")
118 v1 = variable_op(-1.0, name="v1")
125 self.assertEqual(0, len(self.evaluate(v2.keys())))
127 # Restore the saved values in the parameter nodes.
129 save.restore(sess, save_path)
133 self.assertEqual(b"k1", self.evaluate(v2.keys()))
[all …]
Dsaver_test_utils.py7 # http://www.apache.org/licenses/LICENSE-2.0
35 # pylint: disable=protected-access
59 def insert(self, keys, values): argument
60 return gen_lookup_ops.lookup_table_insert_v2(self.table_ref, keys, values)
62 def lookup(self, keys, default): argument
63 return gen_lookup_ops.lookup_table_find_v2(self.table_ref, keys, default)
65 def keys(self): member in CheckpointedOp
82 name + "-keys"),
84 name + "-values")
88 def restore(self, restore_tensors, shapes): member in CheckpointedOp.CustomSaveable
[all …]
Dcheckpoint_utils.py7 # http://www.apache.org/licenses/LICENSE-2.0
84 name = name[:-2]
91 """Lists the checkpoint keys and shapes of variables in a checkpoint.
93 Checkpoint keys are paths in a checkpoint graph.
115 names = sorted(variable_map.keys())
203 logging.info("Timed-out waiting for a checkpoint.")
214 time_to_next_eval = start + min_interval_secs - time.time()
227 To restore checkpoints in TF2, please use
228 `tf.keras.Model.load_weights` or `tf.train.Checkpoint.restore`. These APIs use
229 use an [object-based method of checkpointing]
[all …]
/external/auto/.github/workflows/
Dci.yml6 - 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/
Dci.yml6 - 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/marisa-trie/lib/marisa/grimoire/trie/
Dlouds-trie.cc9 #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 &current = 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 …]
Dlouds-trie.h39 return (louds_.size() / 2) - 1; in num_nodes()
81 void build_trie(Vector<T> &keys,
84 void build_current_trie(Vector<T> &keys,
87 void build_next_trie(Vector<T> &keys,
90 void build_terminals(const Vector<T> &keys,
107 inline void restore(Agent &agent, std::size_t node_id) const;
/external/autotest/client/cros/faft/utils/
Dkernel_handler.py2 # Use of this source code is governed by a BSD-style license that can be
19 """KernelHandler-specific exception."""
26 Mostly it allows to corrupt and restore a particular kernel partition
33 # image. First added to corrupt the image, then subtracted to restore the
49 # 16 K should be enough to include headers and keys
55 # 16 K should be enought to include headers and keys
63 internal_disk - decide whether to use internal kernel disk.
71 kernel_partitions = re.compile('KERN-([AB])')
120 The second type, KERNEL_VERSION_MOD - will use 'delta' as the new
124 The third type. KERNEL_RESIGN_MOD - will resign the kernel with keys in
[all …]
/external/protobuf/csharp/compatibility_tests/v3.0.0/
Dtest.sh5 $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/google-api-python-client/docs/dyn/
Dspanner_v1.projects.instances.databases.html8 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/autotest/server/site_tests/firmware_FWupdateWP/
Dfirmware_FWupdateWP.py2 # 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/kernel_tests/
Dlookup_ops_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
81 default_val = -1
82 keys = constant_op.constant(["brain", "salad", "surgery"])
85 lookup_ops.KeyValueTensorInitializer(keys, values), default_val)
95 self.assertAllEqual([0, 1, -1], result)
104 default_val = -1
105 keys = constant_op.constant(["brain", "salad", "surgery"])
108 lookup_ops.KeyValueTensorInitializer(keys, values), default_val)
118 self.assertAllEqual([[0, 1], [-1, -1]], result)
121 default_val = -1
[all …]
/external/tensorflow/tensorflow/python/keras/tests/
Dtracking_util_with_v1_optimizers_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
15 """Tests for object-based saving which use tf.train.* optimizers."""
52 # pylint: disable=not-callable
105 # non-Layer dependency of the model
107 # The optimizer creates two non-slot variables
123 len(named_variables.keys()))
155 # We strip off the :0 suffix, as variable.name-based saving does.
192 root_trackable.save_counter # pylint: disable=pointless-statement
204 self.evaluate(state_ops.assign(m_bias_slot, [-2.]))
206 status = root_trackable.restore(save_path=save_path).assert_consumed()
[all …]
Dtracking_util_test.py7 # http://www.apache.org/licenses/LICENSE-2.0
50 # pylint: disable=not-callable
144 # non-Layer dependency of the model
157 len(named_variables.keys()))
217 self.evaluate(state_ops.assign(m_bias_slot, [-2.]))
219 status = root_trackable.restore(save_path=save_path).assert_consumed()
225 return # Restore-on-create is only supported when executing eagerly
231 status = on_create_root.restore(save_path=save_path)
257 # Creation order is different, so .variables() needs to be re-sorted.
271 root.restore(checkpoint_management.latest_checkpoint(
[all …]
/external/python/cpython2/Lib/curses/
Dwrapper.py4 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/nullaway/.github/workflows/
Dcontinuous-integration.yml6 - master
9 cancel-in-progress: true
16 - os: macos-latest
19 - os: macos-latest
22 - os: ubuntu-latest
25 - os: ubuntu-latest
28 - os: ubuntu-latest
31 - os: windows-latest
34 - os: ubuntu-latest
37 fail-fast: false
[all …]
/external/toolchain-utils/go/chromeos/
Dsetup_chromeos_testing.py2 # -*- coding: utf-8 -*-
4 # Use of this source code is governed by a BSD-style license that can be
7 """Generate board-specific scripts for Go compiler testing."""
24 'x86_64': 'x86_64-cros-linux-gnu',
25 'arm32': 'armv7a-cros-linux-gnueabihf',
26 'arm64': 'aarch64-cros-linux-gnu'
51 CC="%s-clang" \\
52 CXX="%s-clang++" \\
62 # password-less authentication. See setup instructions at
63 # http://go/chromeos-toolchain-team/go-toolchain
[all …]
/external/gfxstream-protocols/registry/vulkan/scripts/Retired/
DcheckLinks.py3 # Copyright 2015-2021 The Khronos Group Inc.
5 # SPDX-License-Identifier: Apache-2.0
7 # checkLinks.py - validate link/reference API constructs in files
12 # -follow attempt to follow include:: directives. This script isn't # an
14 # -info print some internal diagnostics.
15 # -paramcheck attempt to validate param: names against the surrounding
18 # -fatal unvalidatable links cause immediate error exit from the script.
23 # API, e.g. 'makeAllExts checklinks'; otherwise many false-flagged errors
33 curLine = -1
42 if (curFile not in emittedPrefix.keys()):
[all …]
/external/tensorflow/tensorflow/python/training/tracking/
Dutil.py8 # http://www.apache.org/licenses/LICENSE-2.0
84 return round((end_time_seconds - start_time_seconds) * 1000000)
97 # Prefer TF's default session since get_session from Keras has side-effects.
102 session = _SESSION_PROVIDER() # pylint: disable=not-callable
190 "A checkpoint was restored (e.g. tf.train.Checkpoint.restore or "
194 "tf.train.Checkpoint.restore(...).expect_partial(), to silence these "
201 """Holds the status of an object-based checkpoint load."""
216 look up restore ops by name to avoid re-creating them across multiple
217 `restore()` calls.
248 # When graph building, contains a list of ops to run to restore objects from
[all …]
/external/marisa-trie/
DREADME.md5 marisa-trie
17-efficient trie data structure. And libmarisa is a C++ library to provide an implementation of MAR…
19 A MARISA-based dictionary supports not only lookup but also reverse lookup, common prefix search an…
22 * Reverse lookup is to restore a key from its ID.
23 * Common prefix search is to find keys from prefixes of a given string.
24 * Predictive search is to find keys starting with a given string.
29 * Source: enwiki-20121101-all-titles-in-ns0.gz
31 * Number of keys: 9,805,576
35 |:-------------|-----------:|--------------------------:|
36 |darts-clone | 376,613,888|Compacted double-array trie|
[all …]
/external/python/cpython3/Lib/curses/
D__init__.py58 # Wrapper for the entire curses-based application. Runs a function which
59 # should be the rest of your curses-based application. If the application
60 # raises an exception, wrapper() will restore the terminal to a sane state so
75 # Turn off echoing of keys, and enter cbreak mode,
80 # In keypad mode, escape sequences for special keys
81 # (like the cursor keys) will be interpreted and
87 # works around a minor bit of over-conscientiousness in the curses
88 # module -- the error return from C start_color() is ignorable.
/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/
Dbigtableadmin.v1.json11 "x16": "http://www.google.com/images/icons/product/search-16.gif",
12 "x32": "http://www.google.com/images/icons/product/search-32.gif"
48 "Responses with Content-Type of application/json",
49 "Media download with context-dependent Content-Type",
50 "Responses with Content-Type of application/x-protobuf"
82 …"description": "Available to use for quota purposes for server-side applications. Can be any arbit…
142 "format": "google-datetime",
148 "format": "google-datetime",
152 …m `projects/{project}/instances/{instance}/clusters/{cluster}/ backups/_a-zA-Z0-9*` The final segm…
167 "format": "google-datetime",
[all …]

12345678910>>...26