Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,159 for Store2 (0.28 sec)

  1. src/flag/flag.go

    // The return value is the address of a bool variable that stores the value of the flag.
    func (f *FlagSet) Bool(name string, value bool, usage string) *bool {
    	p := new(bool)
    	f.BoolVar(p, name, value, usage)
    	return p
    }
    
    // Bool defines a bool flag with specified name, default value, and usage string.
    // The return value is the address of a bool variable that stores the value of the flag.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  2. src/sync/map.go

    	// read contains the portion of the map's contents that are safe for
    	// concurrent access (with or without mu held).
    	//
    	// The read field itself is always safe to load, but must only be stored with
    	// mu held.
    	//
    	// Entries stored in read may be updated concurrently without mu, but updating
    	// a previously-expunged entry requires that the entry be copied to the dirty
    	// map and unexpunged with mu held.
    	read atomic.Pointer[readOnly]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. pkg/ledger/smt.go

    	if shortcut {
    		store = false    // stop storing only after the shortcut node.
    		shortcut = false // remove shortcut node flag
    	}
    	if len(lnode) == 0 && len(rnode) == 0 && len(keys) == 1 && store {
    		if !bytes.Equal(values[0], defaultLeaf) {
    			shortcut = true
    		} else {
    			// if the subtree contains only one key, store the key/value in a shortcut node
    			store = false
    		}
    	}
    	switch {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 14K bytes
    - Viewed (0)
  4. pkg/scheduler/util/assumecache/assume_cache.go

    	// The logger that was chosen when setting up the cache.
    	// Will be used for all operations.
    	logger klog.Logger
    
    	// Synchronizes updates to store
    	rwMutex sync.RWMutex
    
    	// describes the object stored
    	description string
    
    	// Stores objInfo pointers
    	store cache.Indexer
    
    	// Index function for object
    	indexFunc cache.IndexFunc
    	indexName string
    }
    
    type objInfo struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. 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)
  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. src/internal/runtime/atomic/types.go

    	r := f.u.Load()
    	return *(*float64)(unsafe.Pointer(&r))
    }
    
    // Store updates the value atomically.
    //
    //go:nosplit
    func (f *Float64) Store(value float64) {
    	f.u.Store(*(*uint64)(unsafe.Pointer(&value)))
    }
    
    // UnsafePointer is an atomically accessed unsafe.Pointer value.
    //
    // Note that because of the atomicity guarantees, stores to values
    // of this type never trigger a write barrier, and the relevant
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

      //     example, a 2-D matrix with 2-D blocks, both stored in row-major order
      //     would have traversal_order = (d0, d1, d2, d3).
      traversal_order:[int];
      // For an n-dimensional tensor with a k-dimensional block (0 <= k <= n),
      // stores how a block dimension in (dn, ..., dn+k-1) maps to the original
      // tensor dimension in (d0, ..., dn).
      // It's stored in the order of (dn, ..., dn+k-1).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
Back to top