Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,236 for store1 (0.12 sec)

  1. pkg/config/analysis/local/context.go

    )
    
    // NewContext allows tests to use istiodContext without exporting it.  returned context is not threadsafe.
    func NewContext(stores map[cluster.ID]model.ConfigStore, cancelCh <-chan struct{}, collectionReporter CollectionReporterFn) analysis.Context {
    	return &istiodContext{
    		stores:             stores,
    		cancelCh:           cancelCh,
    		messages:           map[string]*diag.Messages{},
    		collectionReporter: collectionReporter,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. test/fixedbugs/issue4964.dir/b.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import "./a"
    
    func F() {
    	// store 1 in a.global
    	x, y := 1, 2
    	t := a.T{Pointer: &x}
    	a.Store(&t)
    	_ = y
    }
    
    func G() {
    	// store 4 in a.global2
    	x, y := 3, 4
    	t := a.T{Pointer: &y}
    	a.Store2(&t)
    	_ = x
    }
    
    func main() {
    	F()
    	G()
    	p := a.Get()
    	n := *p
    	if n != 1 {
    		println(n, "!= 1")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 08:03:45 UTC 2013
    - 484 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

        op.getIsInitialized().replaceAllUsesWith(const_true);
        op.erase();
      }
    }
    
    // Performs store-load forwarding. This effectively removes
    // 1) Any resource loads after a store to that same resource is done
    // 2) Any resource stores except the last one.
    // TODO(ycao): Store-load forwarding implemented here is only correct when
    // computation is purely sequential (no concurrency). Need to support concurrent
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/testdata/loadstore_test.go

    // testDeadStorePanic_ssa ensures that we don't optimize away stores
    // that could be read by after recover().  Modeled after fixedbugs/issue1304.
    //
    //go:noinline
    func testDeadStorePanic_ssa(a int) (r int) {
    	defer func() {
    		recover()
    		r = a
    	}()
    	a = 2      // store
    	b := a - a // optimized to zero
    	c := 4
    	a = c / b // store, but panics
    	a = 3     // store
    	r = a
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/DefaultArtifactResolutionCacheTest.groovy

        }
    
        def "stores entry - lastModified = #lastModified"() {
            given:
            def key = "key"
            def artifactFile = tmp.createFile("artifact") << "content"
    
            when:
            index.store(key, artifactFile, new DefaultExternalResourceMetaData(new URI("abc"), lastModified, 100, contentType, etag, sha1, null, false))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/DefaultBuildCacheControllerTest.groovy

        }
    
        def "does suppress exceptions from store"() {
            given:
            1 * remote.store(key, _) >> { throw new RuntimeException() }
    
            when:
            controller.store(key, cacheableEntity, snapshots, executionTime)
    
            then:
            noExceptionThrown()
    
            and:
            1 * local.storeLocally(key, _)
        }
    
        def "does not store to local if local push is disabled"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. testing/architecture-test/build.gradle.kts

            return listOf(
                "-Darchunit.freeze.store.default.path=${location.absolutePath}",
                "-Darchunit.freeze.refreeze=${refreezeBoolean}",
                "-Darchunit.freeze.store.default.allowStoreUpdate=${refreezeBoolean}"
            )
        }
    }
    
    /**
     * Sorts the stored rules, so we keep a deterministic order when we add new rules.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/DefaultBinaryStoreTest.groovy

            when:
            store.write({ it.writeInt(10) } as BinaryStore.WriteAction)
            store.write({ it.writeString("x") } as BinaryStore.WriteAction)
            def data1 = store.done()
            store.write({ it.writeString("y") } as BinaryStore.WriteAction)
            def data2 = store.done()
    
            then:
            data1.read({ it.readInt() } as BinaryStore.ReadAction) == 10
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top