- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for updatedNodes (0.11 sec)
-
pkg/ledger/trie_cache.go
// limitations under the License. package ledger import ( "sync" "time" "istio.io/istio/pkg/cache" ) type cacheDB struct { // updatedNodes that have will be flushed to disk updatedNodes byteCache // updatedMux is a lock for updatedNodes updatedMux sync.RWMutex } // byteCache implements a modified ExpiringCache interface, returning byte arrays // for ease of integration with smt calls.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 2K bytes - Viewed (0) -
pkg/ledger/smt_test.go
smt := newSMT(hasher, nil, time.Minute) // Add data to empty trie keys := getFreshData(10) values := getFreshData(10) _, err := smt.Update(keys, values) assert.NoError(t, err) smt.db.updatedNodes = byteCache{cache: cache.NewTTL(forever, time.Minute)} smt.loadDefaultHashes() // Check errors are raised is a keys is not in cache nor db for _, key := range keys { _, err := smt.Get(key)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleProjectIntegrationTest.groovy
originalUpdatedModel.children.path == [":a", ":b"] originalUpdatedModel.children.all[0].tasks.name.contains("something") when: executer.withArguments(ENABLE_CLI) def updatedModel = fetchModel(GradleProject) then: fixture.assertStateUpdated { fileChanged("a/build.gradle") modelsCreated(":", GradleProject, IsolatedGradleProjectInternal)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 8.4K bytes - Viewed (0)