Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 851 for Storep (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/sync/atomic/doc.go

    func LoadPointer(addr *unsafe.Pointer) (val unsafe.Pointer)
    
    // StoreInt32 atomically stores val into *addr.
    // Consider using the more ergonomic and less error-prone [Int32.Store] instead.
    func StoreInt32(addr *int32, val int32)
    
    // StoreInt64 atomically stores val into *addr.
    // Consider using the more ergonomic and less error-prone [Int64.Store] instead
    // (particularly if you target 32-bit platforms; see the bugs section).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K 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. 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)
  8. 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)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt

                    cacheAction == STORE && !hasProblems -> log("Configuration cache entry stored.")
                    cacheAction == STORE -> log("Configuration cache entry stored with {}.", problemCountString)
                    cacheAction == UPDATE && !hasProblems -> log("Configuration cache entry updated for {}, {} up-to-date.", updatedProjectsString, reusedProjectsString)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.h

    #include "absl/strings/string_view.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/lite/tools/optimize/reduced_precision_support.h"
    
    namespace mlir {
    namespace quant {
    
    // Stores information about how to quantize a user-specified custom operation.
    struct CustomOpInfo {
      std::vector<std::int32_t> quantizable_input_indices;
      bool is_weight_only = false;
      bool no_side_effect = true;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 10:16:19 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top