Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,929 for Store2 (0.19 sec)

  1. pkg/kubelet/checkpointmanager/testing/util.go

    	"sync"
    )
    
    // MemStore is an implementation of CheckpointStore interface which stores checkpoint in memory.
    type MemStore struct {
    	mem map[string][]byte
    	sync.Mutex
    }
    
    // NewMemStore returns an instance of MemStore
    func NewMemStore() *MemStore {
    	return &MemStore{mem: make(map[string][]byte)}
    }
    
    // Write writes the data to the store
    func (mstore *MemStore) Write(key string, data []byte) error {
    	mstore.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 16 05:30:20 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  2. test/fixedbugs/issue44739.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // issue 44739: cmd/compile: incorrect offset in MOVD
    // load/store on ppc64/ppc64le causes assembler error.
    
    // Test other 8 byte loads and stores where the
    // compile time offset is not aligned to 8, as
    // well as cases where the offset is not known
    // until link time (e.g. gostrings).
    
    package main
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 10 19:33:23 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/expand_calls.go

    		// If this select cannot fit into SSA and is stored, either disaggregate to register stores, or mem-mem move.
    		if store := x.wideSelects[v]; store != nil {
    			// Use the mem that comes from the store operation.
    			storeAddr := store.Args[0]
    			mem := store.Args[2]
    			if len(regs) > 0 {
    				// Cannot do a rewrite that builds up a result from pieces; instead, copy pieces to the store operation.
    				var rc registerCursor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * Multimap} interface.
       */
      @CanIgnoreReturnValue
      @Override
      public SortedSet<V> removeAll(@CheckForNull Object key) {
        return (SortedSet<V>) super.removeAll(key);
      }
    
      /**
       * Stores a collection of values with the same key, replacing any existing values for that key.
       * The returned collection is immutable.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/BuildFlowScope.kt

                    synchronized(actions) {
                        actions.add(registeredFlowAction)
                    }
                }
    
                override fun store(): Pair<Any, State> {
                    return actions to Stored(actions)
                }
            }
    
            class Stored(override val pendingActions: List<RegisteredFlowAction>) : State()
    
            class Loaded(override val pendingActions: List<RegisteredFlowAction>) : State() {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/sync/map_bench_test.go

    				if loadsSinceStore++; loadsSinceStore > stores {
    					m.LoadOrStore(i, stores)
    					loadsSinceStore = 0
    					stores++
    				}
    			}
    		},
    	})
    }
    
    // BenchmarkAdversarialDelete tests performance when we periodically delete
    // one key and add a different one in a large map.
    //
    // This forces the Load calls to always acquire the map's mutex and periodically
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. docs/security/README.md

    - [OEK](#oek): A secret and unique key used to encrypted the object, stored in an encrypted form as part of the object metadata and only loaded to RAM in plaintext during en/decrypting the object.
    - [KEK](#kek): A secret and unique key used to en/decrypt the OEK and never stored anywhere. It is(re-)generated whenever en/decrypting an object using an external secret key and public parameters.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BuildCacheStepTest.groovy

            1 * delegateResult.execution >> Try.failure(new RuntimeException("failure"))
    
            then:
            0 * buildCacheController.store(_)
            0 * _
        }
    
        def "does not load but stores when loading is disabled"() {
            given:
            def execution = Mock(Execution)
    
            when:
            def result = step.execute(work, context)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotHierarchy.java

     *
     * Intended to store an in-memory representation of the state of the file system.
     */
    public interface SnapshotHierarchy {
    
        /**
         * Returns the metadata stored at the absolute path if it exists.
         */
        Optional<MetadataSnapshot> findMetadata(String absolutePath);
    
        /**
         * Returns the snapshot stored at the absolute path if one exists.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/ipset/types.go

    	// HashIPPortNet represents the `hash:ip,port,net` type ipset.  The hash:ip,port,net set type uses a hash to store IP address, port number and IP network address triples.  The port
    	// number is interpreted together with a protocol (default TCP) and zero protocol number cannot be used.   Network address
    	// with zero prefix size cannot be stored either.
    	HashIPPortNet Type = "hash:ip,port,net"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top