- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 77 for Allocate (0.18 sec)
-
src/internal/filepathlite/path.go
"slices" ) var errInvalidPath = errors.New("invalid path") // A lazybuf is a lazily constructed path buffer. // It supports append, reading previously appended bytes, // and retrieving the final string. It does not allocate a buffer // to hold the output until that output diverges from s. type lazybuf struct { path string buf []byte w int volAndPath string volLen int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 5.8K bytes - Viewed (0) -
src/unique/handle.go
// this path on the first use of Make, and it's not on the hot path. setupMake.Do(registerCleanup) ma = addUniqueMap[T](typ) } m := ma.(*uniqueMap[T]) // Keep around any values we allocate for insertion. There // are a few different ways we can race with other threads // and create values that we might discard. By keeping // the first one we make around, we can avoid generating
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:01:55 UTC 2024 - 5.3K bytes - Viewed (0) -
src/runtime/cpuprof.go
cpuprof.addExtra() cpuprof.log.close() } unlock(&cpuprof.lock) } // add adds the stack trace to the profile. // It is called from signal handlers and other limited environments // and cannot allocate memory or acquire locks that might be // held at the time of the signal, nor can it use substantial amounts // of stack. // //go:nowritebarrierrec func (p *cpuProfile) add(tagPtr *unsafe.Pointer, stk []uintptr) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 8.5K bytes - Viewed (0) -
src/strconv/atoi.go
// All ParseXXX functions allow the input string to escape to the error value. // This hurts strconv.ParseXXX(string(b)) calls where b is []byte since // the conversion from []byte must allocate a string on the heap. // If we assume errors are infrequent, then we can avoid escaping the input // back to the output by copying it first. This allows the compiler to call
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:26 UTC 2024 - 8.3K bytes - Viewed (0) -
src/runtime/traceallocfree.go
if s.state.get() == mSpanDead { continue } // It's some kind of span, so trace that it exists. trace.SpanExists(s) // Write out allocated objects if it's a heap span. if s.state.get() != mSpanInUse { continue } // Find all allocated objects. abits := s.allocBitsForIndex(0) for i := uintptr(0); i < uintptr(s.nelems); i++ { if abits.index < uintptr(s.freeindex) || abits.isMarked() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:32:51 UTC 2024 - 5.9K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager_switch_test.go
m2, err := MakeUserNsManager(testUserNsPodsManager) require.NoError(t, err) // The feature gate is off, no pods should be allocated. for _, pod := range pods { ok := m2.podAllocated(pod) assert.False(t, ok, "pod %q should not be allocated", pod) } } func TestGetOrCreateUserNamespaceMappingsSwitch(t *testing.T) { // Enable the feature gate to create some pods on disk.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CommandLineTaskExecutionIntegrationTest.groovy
where: taskName | message "" | "Cannot locate matching tasks for an empty path. The path should include a task name (for example ':help' or 'help')." ":" | "Cannot locate tasks that match ':'. The path should include a task name (for example ':help' or 'help')." "::" | "Cannot locate tasks that match '::'. The path should include a task name (for example ':help' or 'help')."
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:35 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/main/java/org/gradle/internal/installation/CurrentGradleInstallation.java
} @Nullable // if no installation can be located public static GradleInstallation get() { return locate().getInstallation(); } public synchronized static CurrentGradleInstallation locate() { if (instance == null) { instance = CurrentGradleInstallationLocator.locate(); } return instance; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryDocumentationIntegrationTest.groovy
then: failure.assertHasDescription("Cannot locate tasks that match ':a:javadocJar' as task 'javadocJar' not found in project ':a'. Some candidates are: 'javadoc'.") and: verifyAll(receivedProblem) { fqid == 'task-selection:no-matches'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 7.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryConcurrencyTest.groovy
package org.gradle.internal.service import org.gradle.internal.Factory import org.gradle.test.fixtures.concurrent.ConcurrentSpec class DefaultServiceRegistryConcurrencyTest extends ConcurrentSpec { def "multiple threads can locate services"() { def registry = new DefaultServiceRegistry() registry.addProvider(new ServiceRegistrationProvider() { @Provides String createString(Integer value) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 4K bytes - Viewed (0)