- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 236 for cunlock (0.06 seconds)
-
tests/prepared_stmt_test.go
} pdb.Mux.Lock() if len(pdb.Stmts.Keys()) == 0 { pdb.Mux.Unlock() t.Fatalf("prepared stmt can not be empty") } pdb.Mux.Unlock() pdb.Close() pdb.Mux.Lock() defer pdb.Mux.Unlock() if len(pdb.Stmts.Keys()) != 0 { t.Fatalf("prepared stmt should be empty") } } func isUsingClosedConnError(err error) bool {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 8K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
void testClockTimezone() { MonotonicClock clock = MonotonicClock.get(); assertEquals(ZoneOffset.UTC, clock.getZone(), "Clock should use UTC timezone"); // Verify that attempting to change timezone returns the same instance Clock newClock = clock.withZone(ZoneId.systemDefault()); assertSame(clock, newClock, "withZone() should return the same clock instance"); } @Test
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
cmd/erasure-multipart.go
} ctx = plkctx.Context() defer partIDLock.Unlock(plkctx) // Read lock for upload id, only held while reading the upload metadata. uploadIDRLock := er.NewNSLock(bucket, pathJoin(object, uploadID)) rlkctx, err := uploadIDRLock.GetRLock(ctx, globalOperationTimeout) if err != nil { return PartInfo{}, err } ctx = rlkctx.Context() defer uploadIDRLock.RUnlock(rlkctx)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 47.1K bytes - Click Count (0) -
guava/src/com/google/common/cache/LocalCache.java
} finally { unlock(); postWriteCleanup(); } } // reference queues, for garbage collection cleanup /** Cleanup collected entries when the lock is available. */ void tryDrainReferenceQueues() { if (tryLock()) { try { drainReferenceQueues(); } finally { unlock(); } } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 19:35:11 GMT 2025 - 148.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
package org.apache.maven.api; import java.time.Clock; import java.time.Duration; import java.time.Instant; import java.time.ZoneId; import java.time.ZoneOffset; /** * A Clock implementation that combines monotonic timing with wall-clock time. * <p> * This class provides precise time measurements using {@link System#nanoTime()} * while maintaining wall-clock time information in UTC. The wall-clock timeCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.6K bytes - Click Count (0) -
schema/relationship.go
foreignField.GORMDataType = primaryFields[idx].GORMDataType if foreignField.Size == 0 { foreignField.Size = primaryFields[idx].Size } schema.Relationships.Mux.Unlock() if schema != foreignField.Schema { foreignField.Schema.Relationships.Mux.Unlock() } relation.References = append(relation.References, &Reference{ PrimaryKey: primaryFields[idx], ForeignKey: foreignField,
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 16 04:11:05 GMT 2025 - 23.1K bytes - Click Count (1) -
cmd/bootstrap-peer-server.go
defer wg.Done() if clnt.gridConn.State() != grid.StateConnected { mu.Lock() offlineEndpoints = append(offlineEndpoints, fmt.Errorf("%s is unreachable: %w", clnt, grid.ErrDisconnected)) mu.Unlock() return } ctx, cancel := context.WithTimeout(ctx, 2*time.Second) defer cancel() err := clnt.Verify(ctx, srcCfg) mu.Lock() if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Oct 01 22:13:18 GMT 2024 - 8.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHook.java
@Override public void hook(final FwAssistantDirector assistantDirector) { processDBFluteSystem(); } protected void processDBFluteSystem() { DBFluteSystem.unlock(); DBFluteSystem.setFinalTimeZoneProvider(createFinalTimeZoneProvider()); DBFluteSystem.lock(); } protected DfFinalTimeZoneProvider createFinalTimeZoneProvider() {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.9K bytes - Click Count (0) -
internal/config/lambda/target/lazyinit.go
} func (l *lazyInit) Do(f func() error) error { if atomic.LoadUint32(&l.done) == 0 { return l.doSlow(f) } return nil } func (l *lazyInit) doSlow(f func() error) error { l.m.Lock() defer l.m.Unlock() if atomic.LoadUint32(&l.done) == 0 { if err := f(); err != nil { return err } // Mark as done only when f() is successful atomic.StoreUint32(&l.done, 1) } return nil
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java
/** * Flag indicating an exclusive lock that prevents any other access. */ public static final int SMB2_LOCKFLAG_EXCLUSIVE_LOCK = 0x2; /** * Flag indicating an unlock operation to release a previously held lock. */ public static final int SMB2_LOCKFLAG_UNLOCK = 0x4; /** * Flag indicating the lock should fail immediately if it cannot be granted. */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0)