Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for touchMem (0.22 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GFileUtilsTest.groovy

            foo.file
        }
    
        def "touch touches existing file"() {
            def foo = temp.file("foo.txt") << "data"
            def original = foo.makeOlder().lastModified()
    
            when:
            touch(foo)
            then:
            foo.file
            foo.text == "data"
            foo.lastModified() > original
        }
    
        def "touch touches existing directory"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. pkg/wasm/cache.go

    	defer c.mux.Unlock()
    	needChecksumUpdate := c.updateChecksum(key)
    
    	// Check if the module has already been added. If so, avoid writing the file again.
    	if ce, ok := c.modules[key.moduleKey]; ok {
    		// Update last touched time.
    		ce.last = time.Now()
    		if needChecksumUpdate {
    			ce.referencingURLs.Insert(key.downloadURL)
    		}
    		return ce, nil
    	}
    
    	modulePath, err := getModulePath(c.dir, key.moduleKey)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. hack/make-rules/verify.sh

        "verify-golangci-lint.sh"              # runs in separate pull-kubernetes-verify-lint
        )
    fi
    
    # Exclude readonly package check in certain cases, aka, in periodic jobs we don't care and a readonly package won't be touched
    if [[ ${EXCLUDE_READONLY_PACKAGE:-} =~ ^[yY]$ ]]; then
      EXCLUDED_PATTERNS+=(
        "verify-readonly-packages.sh"  # skip in CI, if env is set
        )
    fi
    
    # Only run known fast checks in quick mode.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 12:24:15 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. tests/integration/pilot/revisions/uninstall_test.go

    // If purge is set to true, we expect all resources are removed.
    // Otherwise we expect only selected resources from control plane are removed, resources from base and the legacy addon installation would not be touched.
    func checkCPResourcesUninstalled(t test.Failer, cs cluster.Cluster, gvkResources []schema.GroupVersionKind, label string, purge bool) {
    	retry.UntilSuccessOrFail(t, func() error {
    		var reStrlist []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. pkg/istio-agent/agent_test.go

    		})
    		sds := a.Check(t, security.WorkloadKeyCertResourceName, security.RootCertReqResourceName)
    
    		// Ensure we output the certs
    		checkCertsWritten(t, dir)
    
    		// The provisioning certificates should not be touched
    		go sds[security.WorkloadKeyCertResourceName].DrainResponses()
    		expectFileChanged(t, filepath.Join(dir, "cert-chain.pem"), filepath.Join(dir, "key.pem"))
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. pkg/kubelet/config/config_test.go

    		CreatePodUpdate(kubetypes.UPDATE, TestSource, pod))
    }
    
    func TestNewPodAddedSetReconciled(t *testing.T) {
    	tCtx := ktesting.Init(t)
    
    	// Create and touch new test pods, return the new pods and touched pod. We should create new pod list
    	// before touching to avoid data race.
    	newTestPods := func(touchStatus, touchSpec bool) ([]*v1.Pod, *v1.Pod) {
    		pods := []*v1.Pod{
    			CreateValidPod("changeable-pod-0", "new"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

            when:
            file("ci").text = "true"
            configurationCacheRun "run"
    
            then:
            output.count("ON CI") == 1
            configurationCache.assertStateStored()
    
            when: "file is touched but unchanged"
            file("ci").text = "true"
            configurationCacheRun "run"
    
            then: "cache is still valid"
            output.count("ON CI") == 1
            configurationCache.assertStateLoaded()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  8. pkg/controller/statefulset/stateful_set_utils.go

    	if hasStaleOwnerRef(claim, set, controllerKind) || hasStaleOwnerRef(claim, pod, podKind) {
    		// The claim is being managed by previous, presumably deleted, version of the controller. It should not be touched.
    		return true
    	}
    
    	if hasUnexpectedController(claim, set, pod) {
    		if hasOwnerRef(claim, set) || hasOwnerRef(claim, pod) {
    			return false // Need to clean up the conflicting controllers
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/upgrade/staticpods.go

    		fmt.Printf("[upgrade/etcd] Failed to upgrade etcd: %v\n", err)
    		// Since upgrade component failed, the old etcd manifest has either been restored or was never touched
    		// Now we need to check the health of etcd cluster if it is up with old manifest
    		fmt.Println("[upgrade/etcd] Waiting for previous etcd to become available")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. src/runtime/traceback.go

    		// Note that the calls are simple BL without pushing the return
    		// address, so we use LR directly.
    		//
    		// The kernel helpers are frameless leaf functions, so SP and
    		// LR are not touched.
    		frame.pc = frame.lr
    		frame.lr = 0
    	}
    
    	f := findfunc(frame.pc)
    	if !f.valid() {
    		if flags&unwindSilentErrors == 0 {
    			print("runtime: g ", gp.goid, " gp=", gp, ": unknown pc ", hex(frame.pc), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top