Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for touchMem (0.12 sec)

  1. src/database/sql/fakedb_test.go

    	line int64
    
    	// closeErr is returned when rowsCursor.Close
    	closeErr error
    }
    
    func (rc *rowsCursor) touchMem() {
    	rc.parentMem.touchMem()
    	rc.line++
    }
    
    func (rc *rowsCursor) Close() error {
    	rc.touchMem()
    	rc.parentMem.touchMem()
    	rc.closed = true
    	return rc.closeErr
    }
    
    func (rc *rowsCursor) Columns() []string {
    	return rc.cols[rc.posSet]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

          if (t == null) return;
          if (e.touches.length != 1) {
            setMode(IDLE);
            return;
          }
          panMove(t.clientX, t.clientY);
          e.preventDefault();
        } else if (mode == TOUCHZOOM) {
          // Get two touches; new gap; rescale to ratio.
          const t1 = findTouch(e.touches, touchid);
          const t2 = findTouch(e.touches, touchid2);
          if (t1 == null || t2 == null) return;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/SingleDepthFileAccessTrackerTest.groovy

            when:
            new SingleDepthFileAccessTracker(journal, baseDir, 1).markAccessed(fileInOtherDirectory)
    
            then:
            0 * journal.setLastAccessTime(_, _)
        }
    
        def "touches all subdirectories for depth #depth"() {
            given:
            def file1 = baseDir.file("a/aa/aaa/1")
            def file2 = baseDir.file("b/bb/bbb/2")
            def expectedTouchedFiles = touchedPaths.collect { baseDir.file(it) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/test/groovy/org/gradle/cache/internal/VersionSpecificCacheCleanupActionTest.groovy

            def cleanedUp = cleanupAction.execute(progressMonitor)
    
            then:
            cleanedUp
            getGcFile(currentCacheDir).assertExists()
        }
    
        def "does not clean up when gc.properties has been touched in the last 24 hours"() {
            given:
            def oldCacheDir = createVersionSpecificCacheDir(GradleVersion.version("2.3.4"), NOT_USED_WITHIN_30_DAYS)
            def gcFile = getGcFile(currentCacheDir).createFile().makeOlder()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 08 17:27:30 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemNode.java

        /**
         * Stores information to the virtual file system that we have learned about.
         *
         * Complete information, like {@link FileSystemLocationSnapshot}s, are not touched nor replaced.
         */
        @CheckReturnValue
        FileSystemNode store(VfsRelativePath targetPath, CaseSensitivity caseSensitivity, MetadataSnapshot snapshot, SnapshotHierarchy.NodeDiffListener diffListener);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. pkg/kube/kclient/interfaces.go

    	HasSynced() bool
    	// ShutdownHandlers terminates all handlers added by AddEventHandler.
    	// Warning: this only applies to handlers called via AddEventHandler; any handlers directly added
    	// to the underlying informer are not touched
    	ShutdownHandlers()
    	// Start starts just this informer. Typically, this is not used. Instead, the `kube.Client.Run()` is
    	// used to start all informers at once.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 05:09:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. src/encoding/json/bench_test.go

    	Username string    `json:"username"`
    }
    
    type codeNode struct {
    	Name     string      `json:"name"`
    	Kids     []*codeNode `json:"kids"`
    	CLWeight float64     `json:"cl_weight"`
    	Touches  int         `json:"touches"`
    	MinT     int64       `json:"min_t"`
    	MaxT     int64       `json:"max_t"`
    	MeanT    int64       `json:"mean_t"`
    }
    
    var codeJSON []byte
    var codeStruct codeResponse
    
    func codeInit() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:00:17 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. docs/hotfixes.md

    branch during backports as long it is self contained. There are situations however this may lead to conflicts and the patch will not cleanly apply. Conflicts might be trivial which can be resolved easily, when conflicts seem to be non-trivial or touches the part of the code-base the developer is not confident - to get additional clarity reach out to #hack on MinIOHQ slack channel. Hasty changes must be avoided, minor fixes and logs may be added to hotfix branches but this should not be followed as...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 14 21:36:02 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top