Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 653 for live1 (0.08 sec)

  1. src/runtime/testdata/testprog/gc.go

    }
    
    func GCMemoryLimit() {
    	gcMemoryLimit(100)
    }
    
    func GCMemoryLimitNoGCPercent() {
    	gcMemoryLimit(-1)
    }
    
    // Test SetMemoryLimit functionality.
    //
    // This test lives here instead of runtime/debug because the entire
    // implementation is in the runtime, and testprog gives us a more
    // consistent testing environment to help avoid flakiness.
    func gcMemoryLimit(gcPercent int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  2. src/cmd/link/internal/benchmark/bench.go

    	runtime.ReadMemStats(&m.curMark.endM)
    	if m.gc == GC {
    		runtime.GC()
    		runtime.ReadMemStats(&m.curMark.gcM)
    		if m.shouldPProf() {
    			// Collect a profile of the live heap. Do a
    			// second GC to force sweep completion so we
    			// get a complete snapshot of the live heap at
    			// the end of this phase.
    			runtime.GC()
    			f, err := os.Create(makePProfFilename(m.filebase, m.curMark.name, "memprof"))
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:10:36 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ArtifactViewAttributesIntegrationTest.groovy

    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    
    /**
     * Test that ArtifactView has a "live" view of the underlying configuration's attributes.
     */
    class ArtifactViewAttributesIntegrationTest extends AbstractIntegrationSpec {
        def "artifact view has live view of underlying configuration attributes"() {
            buildFile << """
                def usage = Attribute.of('usage', String)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/LockFileReaderWriterTest.groovy

        def 'reads a legacy lock file'() {
            given:
            def lockFile = lockDir.file('conf.lockfile')
            lockFile << """#Ignored
    line1
    
    line2"""
    
            when:
            def result = lockFileReaderWriter.readLockFile('conf')
    
            then:
            result == ['line1', 'line2']
    
            1 * listener.fileObserved(lockFile)
        }
    
        def 'reads a unique lock file'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaCompilationFixture.groovy

                '''
                    /**
                     * A person.
                     * Can live in a house.
                     * Has a name and an age.
                     */
                    class Person(val name: String, val age: Int)'''.stripIndent(),
                '''
                    /**
                     * A person.
                     * Can live in a house.
                     * Has a name, age and a height.
                     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/schedule.go

    	score := f.Cache.allocInt8Slice(f.NumValues())
    	defer f.Cache.freeInt8Slice(score)
    
    	// maps mem values to the next live memory value
    	nextMem := f.Cache.allocValueSlice(f.NumValues())
    	defer f.Cache.freeValueSlice(nextMem)
    
    	// inBlockUses records whether a value is used in the block
    	// in which it lives. (block control values don't count as uses.)
    	inBlockUses := f.Cache.allocBoolSlice(f.NumValues())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

    }
    
    // Follows the structure of Live-variable analysis. It is a form of
    // CFG (Control Flow Graph) analysis, often used in compilers.
    //
    // A variable is live if it holds a value that may be used in the future.
    // It is live-in at node n if it is live on any of the node's in-edges.
    // It is live-out at node n if it is live on any of the node's out-edges.
    // def[n] refers to values that are defined at node n.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. pkg/controller/certificates/authority/policies.go

    //   - It sets IsCA to false.
    //   - It validates that the signer has not expired.
    //   - It sets NotBefore and NotAfter:
    //     All certificates set NotBefore = Now() - Backdate.
    //     Long-lived certificates set NotAfter = Now() + TTL - Backdate.
    //     Short-lived certificates set NotAfter = Now() + TTL.
    //     All certificates truncate NotAfter to the expiration date of the signer.
    type PermissiveSigningPolicy struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  9. src/runtime/mgcstack.go

    // Once we're done processing all the pointers (including the ones we
    // added during processing), we've found all the stack objects that
    // are live. Any dead stack objects are not scanned and their contents
    // will not keep heap objects live. Unlike the main garbage
    // collection, we can't sweep the dead stack objects; they live on in
    // a moribund state until the stack frame that contains them is
    // popped.
    //
    // A stack can look like this:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 21:06:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. src/os/example_test.go

    	// Output:
    	// Good morning, Gopher!
    }
    
    func ExampleExpandEnv() {
    	os.Setenv("NAME", "gopher")
    	os.Setenv("BURROW", "/usr/gopher")
    
    	fmt.Println(os.ExpandEnv("$NAME lives in ${BURROW}."))
    
    	// Output:
    	// gopher lives in /usr/gopher.
    }
    
    func ExampleLookupEnv() {
    	show := func(key string) {
    		val, ok := os.LookupEnv(key)
    		if !ok {
    			fmt.Printf("%s not set\n", key)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 17:35:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top