- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 565 for free1 (0.1 sec)
-
src/log/slog/handler.go
*s.groups = append(*s.groups, h.groups[:h.nOpenGroups]...) } return s } func (s *handleState) free() { if s.freeBuf { s.buf.Free() } if gs := s.groups; gs != nil { *gs = (*gs)[:0] groupPool.Put(gs) } s.prefix.Free() } func (s *handleState) openGroups() { for _, n := range s.h.groups[s.h.nOpenGroups:] { s.openGroup(n) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 18:18:13 UTC 2023 - 17.5K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/ipallocator_test.go
} if f := r.Free(); f != 1 { t.Errorf("[%s] wrong free: expected %d, got %d", tc.name, 1, f) } if f := r.Used(); f != (tc.free - 1) { t.Errorf("[%s] wrong free: expected %d, got %d", tc.name, tc.free-1, f) } if err := r.Allocate(released); err != nil { t.Fatal(err) } if f := r.Free(); f != 0 { t.Errorf("[%s] wrong free: expected %d, got %d", tc.name, 0, f) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jun 25 13:14:46 UTC 2023 - 24.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus); std::string translated_name = TranslateName(dir); // Note that `children` is allocated by the plugin and freed by core // TensorFlow, so we need to use `plugin_memory_free_` here. char** children = nullptr; const int num_children = ops_->get_children(filesystem_.get(), translated_name.c_str(), &children,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 23.1K bytes - Viewed (0) -
src/runtime/pinner.go
// [Pinner.Pin] method pins one object, while [Pinner.Unpin] unpins all pinned // objects. See their comments for more information. type Pinner struct { *pinner } // Pin pins a Go object, preventing it from being moved or freed by the garbage // collector until the [Pinner.Unpin] method has been called. // // A pointer to a pinned object can be directly stored in C memory or can be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 11K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildConfigurationAttributesResolveIntegrationTest.groovy
} where: type | freeValue | paidValue 'SomeEnum' | 'SomeEnum.free' | 'SomeEnum.paid' 'Thing' | 'objects.named(Thing, "free")' | 'objects.named(Thing, "paid")' 'OtherThing' | 'new OtherThing(name: "free")' | 'new OtherThing(name: "paid")' } def "compatibility and disambiguation rules can be defined by consuming build"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 14:30:36 UTC 2024 - 33.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func.go
f.Fatalf("unCached value %s not found in cache, auxInt=0x%x, adjusted aux=0x%x", v.LongString(), v.AuxInt, aux) } } // freeValue frees a value. It must no longer be referenced or have any args. func (f *Func) freeValue(v *Value) { if v.Block == nil { f.Fatalf("trying to free an already freed value") } if v.Uses != 0 { f.Fatalf("value %s still has %d uses", v, v.Uses) } if len(v.Args) != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0) -
src/runtime/trace.go
// flush their own buffers in traceThreadDestroy. // // Snapshotting freem is necessary because Ms can continue to emit events // while they're still on that list. Removal from sched.freem is serialized with // this snapshot, so either we'll capture an m on sched.freem and race with // the removal to flush its buffers (resolved by traceThreadDestroy acquiring
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go
}, { "Restore valid checkpoint", `{ "policyName":"static", "machineState":{"0":{"numberOfAssignments":0,"memoryMap":{"memory":{"total":2048,"systemReserved":512,"allocatable":1536,"reserved":512,"free":1024}},"cells":[]}}, "entries":{"pod":{"container1":[{"numaAffinity":[0],"type":"memory","size":512}]}}, "checksum": 4215593881 }`, "", &stateMemory{ assignments: ContainerMemoryAssignments{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 03:35:26 UTC 2022 - 10.6K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/controller/repair_test.go
t.Errorf("unexpected ipallocator state: %#v", after) } if free := after.Free(); free != 251 { t.Errorf("unexpected ipallocator state: %d free (number of free ips is not 251)", free) } secondaryAfter, err := ipallocator.NewFromSnapshot(secondaryIPRegistry.updated) if err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 30 15:46:06 UTC 2023 - 21.1K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager.go
Mode: runtimeapi.NamespaceMode_POD, Uids: uids, Gids: gids, }, nil } // CleanupOrphanedPodUsernsAllocations reconciliates the state of user namespace // allocations with the pods actually running. It frees any user namespace // allocation for orphaned pods. func (m *UsernsManager) CleanupOrphanedPodUsernsAllocations(pods []*v1.Pod, runningPods []*kubecontainer.Pod) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0)