Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 498 for reallocated (0.25 sec)

  1. src/sync/pool.go

    // Any item stored in the Pool may be removed automatically at any time without
    // notification. If the Pool holds the only reference when this happens, the
    // item might be deallocated.
    //
    // A Pool is safe for use by multiple goroutines simultaneously.
    //
    // Pool's purpose is to cache allocated but unused items for later reuse,
    // relieving pressure on the garbage collector. That is, it makes it easy to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (1)
  2. test/fixedbugs/issue14999.go

    package p
    
    func f(x int) func(int) int {
    	return func(y int) int { return x + y } // ERROR "heap-allocated closure f\.func1, not allowed in runtime"
    }
    
    func g(x int) func(int) int { // ERROR "x escapes to heap, not allowed in runtime"
    	return func(y int) int { // ERROR "heap-allocated closure g\.func1, not allowed in runtime"
    		x += y
    		return x + y
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 04 17:00:19 UTC 2021
    - 535 bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources/namedresourcesmodel_test.go

    	resourceapi "k8s.io/api/resource/v1alpha2"
    	"k8s.io/kubernetes/test/utils/ktesting"
    	"k8s.io/utils/ptr"
    )
    
    func instance(allocated bool, name string, attributes ...resourceapi.NamedResourcesAttribute) InstanceAllocation {
    	return InstanceAllocation{
    		Allocated: allocated,
    		Instance: &resourceapi.NamedResourcesInstance{
    			Name:       name,
    			Attributes: attributes,
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 09:27:01 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/runtime/mgcsweep.go

    	// The allocBits indicate which unmarked objects don't need to be
    	// processed since they were free at the end of the last GC cycle
    	// and were not allocated since then.
    	// If the allocBits index is >= s.freeindex and the bit
    	// is not marked then the object remains unallocated
    	// since the last GC.
    	// This situation is analogous to being on a freelist.
    
    	// Unlink & free special records for any objects we're about to free.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  5. src/internal/syscall/windows/memory_windows.go

    	BaseAddress uintptr
    	// A pointer to the base address of a range of pages allocated by the VirtualAlloc function.
    	// The page pointed to by the BaseAddress member is contained within this allocation range.
    	AllocationBase uintptr
    	// The memory protection option when the region was initially allocated
    	AllocationProtect uint32
    	PartitionId       uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 20 00:18:04 UTC 2022
    - 940 bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenPomRelocationIntegrationTest.groovy

    class MavenPomRelocationIntegrationTest extends AbstractHttpDependencyResolutionTest {
    
        def setup() {
            file("compileClasspath").mkdir()
            file("runtimeClasspath").mkdir()
        }
    
        def "can resolve relocated module"() {
            given:
            def original = publishPomWithRelocation('groupA', 'artifactA', relocationGroupId, relocationArtifactId)
            def apiDep = mavenHttpRepo.module("org", "api", "1.0").publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsShadingIssuesIntegrationTest.groovy

                        byte[] relocated = ivy.getResourceAsStream('/org/gradle/internal/impldep/org/apache/ivy/plugins/parser/m2/m2-entities.ent').bytes
                        assert original.length > 0
                        assert Arrays.equals(original, relocated)
                    }
                }
            '''
            file('src/test/groovy/MyPluginTest.groovy') << pluginTest()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue10353.go

    }
    
    type X int
    
    func (x *X) foo() {
    }
    
    func clos(x func()) func() {
    	f := func() {
    		print("")
    		x() // This statement crashed, because the partial call was allocated on the old stack.
    	}
    	// Grow stack so that partial call x becomes invalid if allocated on stack.
    	growstack(10000)
    	c := make(chan bool)
    	// Spoil the previous stack segment.
    	go func() {
    		c <- true
    	}()
    	<-c
    	return f
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 13:47:20 UTC 2015
    - 917 bytes
    - Viewed (0)
  9. pkg/controller/nodeipam/ipam/cidrset/metrics.go

    			Help:           "Maximum number of CIDRs that can be allocated.",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"clusterCIDR"},
    	)
    	cidrSetUsage = metrics.NewGaugeVec(
    		&metrics.GaugeOpts{
    			Subsystem:      nodeIpamSubsystem,
    			Name:           "cidrset_usage_cidrs",
    			Help:           "Gauge measuring percentage of allocated CIDRs.",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"clusterCIDR"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 05 15:18:45 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  10. pkg/controller/nodeipam/ipam/cidrset/cidr_set_test.go

    		{
    			clusterCIDRStr: "127.123.234.0/30",
    			subNetMaskSize: 30,
    			expectedCIDR:   "127.123.234.0/30",
    			description:    "Fully allocated CIDR with IPv4",
    		},
    		{
    			clusterCIDRStr: "beef:1234::/30",
    			subNetMaskSize: 30,
    			expectedCIDR:   "beef:1234::/30",
    			description:    "Fully allocated CIDR with IPv6",
    		},
    	}
    	for _, tc := range cases {
    		_, clusterCIDR, _ := netutils.ParseCIDRSloppy(tc.clusterCIDRStr)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 11 08:53:03 UTC 2023
    - 29.5K bytes
    - Viewed (0)
Back to top