Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 830 for reuse (0.09 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

                    println "reuse: " + Reuse.initialized
                    Reuse.initialized = true
                  }
                }
                class Reuse {
                    public static Boolean initialized = false
                }
            """
    
            then:
            succeeds("myTask")
            output.contains "value: original"
            output.contains "reuse: false"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/crossVersionTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCrossVersionTest.groovy

        }
    
        def "does not reuse cached state from previous version"() {
    
            when:
            runPrevious()
    
            then:
            previousFixture.assertStateStored(previous.loadsFromConfigurationCacheAfterStore)
    
            when:
            runCurrent()
    
            then:
            currentFixture.assertStateStored()
        }
    
        def "does not reuse cached state from future version"() {
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. src/runtime/arena.go

    	lock(&userArenaState.lock)
    	if len(userArenaState.reuse) > 0 {
    		// Pick off the last arena chunk from the list.
    		n := len(userArenaState.reuse) - 1
    		x = userArenaState.reuse[n].x
    		s = userArenaState.reuse[n].mspan
    		userArenaState.reuse[n].x = nil
    		userArenaState.reuse[n].mspan = nil
    		userArenaState.reuse = userArenaState.reuse[:n]
    	}
    	unlock(&userArenaState.lock)
    	if s == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  4. releasenotes/notes/43858.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    
    issue:
      - 43858
    
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 09 21:32:20 UTC 2023
    - 186 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/configurationCache/problemsFixedReuse/groovy/settings.gradle

    rootProject.name = 'problems-fixed-reuse'...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 42 bytes
    - Viewed (0)
  6. test/fibo.go

    	f1 := nat{1}
    	if half {
    		if opt {
    			var f2 nat // reuse f2
    			for i := 1; i < n; i++ {
    				f2 = f2.halfAdd(f1, f0)
    				f0, f1, f2 = f1, f2, f0
    			}
    		} else {
    			for i := 1; i < n; i++ {
    				f2 := nat(nil).halfAdd(f1, f0) // allocate a new f2 each time
    				f0, f1 = f1, f2
    			}
    		}
    	} else {
    		if opt {
    			var f2 nat // reuse f2
    			for i := 1; i < n; i++ {
    				f2 = f2.add(f1, f0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 08 22:22:58 UTC 2014
    - 6.3K bytes
    - Viewed (0)
  7. internal/grid/README.md

    The wrapper will handle all serialization and de-seralization of the request and response,
    and furthermore provides reuse of the structs used for the request and response.
    
    Note that Responses sent for serialization are automatically reused for similar requests.
    If the response contains shared data it will cause issues, since each unique response is reused.
    To disable this behavior, use `(SingleHandler).WithSharedResponse()` to disable it.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/ByteOutputTest.groovy

        def setup() {
            file = new RandomAccessFile(tmpDir.file("test.bin"), "rw")
            output = new ByteOutput(file)
        }
    
        def cleanup() {
            file.close()
        }
    
        def "can reuse to write to different locations in backing file"() {
            when:
            def stream = output.start(0)
            stream.writeInt(123)
            stream.writeByte(12)
            output.done()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. src/regexp/syntax/parse.go

    }
    
    // removeLeadingRegexp removes the leading regexp in re.
    // It returns the replacement for re.
    // If reuse is true, it passes the removed regexp (if no longer needed) to p.reuse.
    func (p *parser) removeLeadingRegexp(re *Regexp, reuse bool) *Regexp {
    	if re.Op == OpConcat && len(re.Sub) > 0 {
    		if reuse {
    			p.reuse(re.Sub[0])
    		}
    		re.Sub = re.Sub[:copy(re.Sub, re.Sub[1:])]
    		switch len(re.Sub) {
    		case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReuseIntegrationTest.groovy

        }
    
        def "idle daemon is reused in preference to starting a new daemon"() {
            given:
            executer.run()
            daemons.daemon.assertIdle()
    
            when:
            5.times {
                executer.run()
            }
    
            then:
            daemons.daemons.size() == 1
        }
    
        @Issue("https://github.com/gradle/gradle/issues/17345")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top