- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 474 for _finalize (0.14 sec)
-
src/runtime/mfinal.go
if finptrmask[0] == 0 { // Build pointer mask for Finalizer array in block. // Check assumptions made in finalizer1 array above. if (unsafe.Sizeof(finalizer{}) != 5*goarch.PtrSize || unsafe.Offsetof(finalizer{}.fn) != 0 || unsafe.Offsetof(finalizer{}.arg) != goarch.PtrSize || unsafe.Offsetof(finalizer{}.nret) != 2*goarch.PtrSize || unsafe.Offsetof(finalizer{}.fint) != 3*goarch.PtrSize ||
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 01:56:56 UTC 2024 - 19K bytes - Viewed (0) -
pkg/registry/core/service/storage/transaction.go
limitations under the License. */ package storage // transaction represents something that may need to be finalized on success or // failure of the larger transaction. type transaction interface { // Commit tells the transaction to finalize any changes it may have // pending. This cannot fail, so errors must be handled internally. Commit()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Sep 11 17:49:37 UTC 2021 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/RuleSourceAppliedByRuleMethodIntegrationTest.groovy
@Defaults void defaultName(Thing t) { t.name = 'default' } @Finalize void finalizeName(Thing t) { assert t.name == 'p1' t.name = 'p1 finalized' } } apply plugin: MyPlugin model { tasks {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 18.7K bytes - Viewed (0) -
src/crypto/internal/boring/aes.go
return nil, fail("EVP_AEAD_CTX_init") } // Note: Because of the finalizer, any time g.ctx is passed to cgo, // that call must be followed by a call to runtime.KeepAlive(g), // to make sure g is not collected (and finalized) before the cgo // call returns. runtime.SetFinalizer(g, (*aesGCM).finalize) if g.NonceSize() != gcmStandardNonceSize { panic("boringcrypto: internal confusion about nonce size")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelActionRole.java
Initialize(ModelNode.State.Initialized, true), // Mutation action provided when an element is defined Mutate(ModelNode.State.Mutated, true), // Customisations Finalize(ModelNode.State.Finalized, true), // Post customisation default values Validate(ModelNode.State.SelfClosed, true); // Post mutation validations private final ModelNode.State target; private final boolean subjectViewAvailable;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0) -
src/internal/trace/summary.go
s.tasks[id] = task } return task } // Finalize indicates to the summarizer that we're done processing the trace. // It cleans up any remaining state and returns the full summary. func (s *Summarizer) Finalize() *Summary { for _, g := range s.gs { g.finalize(s.lastTs, nil) // Sort based on region start time.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 20.7K bytes - Viewed (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
/** * Iterates through the given loaders until it finds one that can load Finalizer. * * @return Finalizer.class */ private static Class<?> loadFinalizer(FinalizerLoader... loaders) { for (FinalizerLoader loader : loaders) { Class<?> finalizer = loader.loadFinalizer(); if (finalizer != null) { return finalizer; } } throw new AssertionError(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 26 20:07:17 UTC 2023 - 13.1K bytes - Viewed (0) -
src/runtime/debug/heapdump_test.go
if size := fi.Size(); size < minSize { t.Fatalf("Heap dump size %d bytes, expected at least %d bytes", size, minSize) } } type Obj struct { x, y int } func objfin(x *Obj) { //println("finalized", x) } func TestWriteHeapDumpFinalizers(t *testing.T) { if runtime.GOOS == "js" { t.Skipf("WriteHeapDump is not available on %s.", runtime.GOOS) } f, err := os.CreateTemp("", "heapdumptest")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 12 00:32:29 UTC 2022 - 2K bytes - Viewed (0) -
guava/src/com/google/common/io/FileBackedOutputStream.java
* the {@link ByteSource} returned by {@link #asByteSource} is finalized. * * @param fileThreshold the number of bytes before the stream should switch to buffering to a file * @param resetOnFinalize if true, the {@link #reset} method will be called when the {@link * ByteSource} returned by {@link #asByteSource} is finalized. * @throws IllegalArgumentException if {@code fileThreshold} is negative */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
GcFinalization.awaitClear(finalizableWeakReference); Field sepFrqUserFinalizedF = sepFrqUserC.getField("finalized"); Semaphore finalizeCount = (Semaphore) sepFrqUserFinalizedF.get(null); boolean finalized = finalizeCount.tryAcquire(5, TimeUnit.SECONDS); assertTrue(finalized); Field sepFrqUserFrqF = sepFrqUserC.getField("frq"); Closeable frq = (Closeable) sepFrqUserFrqF.get(null);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 13.3K bytes - Viewed (0)