Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for unlocks (0.07 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

            bufferIndex += 4;
    
            final int nunlocks = SMBUtil.readInt2(buffer, bufferIndex);
            this.unlocks = new LockingAndXRange[nunlocks];
            bufferIndex += 2;
    
            final int nlocks = SMBUtil.readInt2(buffer, bufferIndex);
            this.locks = new LockingAndXRange[nlocks];
            bufferIndex += 2;
            return start - bufferIndex;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            setField(unlock, "byteOffset", 300L);
            setField(unlock, "lengthInBytes", 400L);
            setField(cmd, "locks", new LockingAndXRange[] { lock });
            setField(cmd, "unlocks", new LockingAndXRange[] { unlock });
            setField(cmd, "largeFile", false);
    
            byte[] buffer = new byte[20];
            int len = cmd.writeParameterWordsWireFormat(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/ForwardingLock.java

      }
    
      @Override
      public boolean tryLock(long time, TimeUnit unit) throws InterruptedException {
        return delegate().tryLock(time, unit);
      }
    
      @Override
      public void unlock() {
        delegate().unlock();
      }
    
      @Override
      public Condition newCondition() {
        return delegate().newCondition();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ForwardingLock.java

      }
    
      @Override
      public boolean tryLock(long time, TimeUnit unit) throws InterruptedException {
        return delegate().tryLock(time, unit);
      }
    
      @Override
      public void unlock() {
        delegate().unlock();
      }
    
      @Override
      public Condition newCondition() {
        return delegate().newCondition();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java

            locks[j].lock();
          }
          for (int j = locks.length - 1; j >= 0; j--) {
            locks[j].unlock();
          }
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. internal/stmt_store/stmt_store.go

    	cacheStmt := &Stmt{
    		Transaction: isTransaction,
    		prepared:    make(chan struct{}),
    	}
    	// Cache the Stmt object with the associated key.
    	s.Set(key, cacheStmt)
    	// Unlock after completing initialization to prevent deadlocks.
    	locker.Unlock()
    
    	// Ensure the prepared channel is closed after the function execution completes.
    	defer close(cacheStmt.prepared)
    
    	// Prepare the SQL statement using the provided connection.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.Semaphore;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReadWriteLock;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for Striped.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.concurrent.Semaphore;
    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReadWriteLock;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for Striped.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. prepare_stmt.go

    	if db.Stmts != nil {
    		if stmt, ok := db.Stmts.Get(query); ok && (!stmt.Transaction || isTransaction) {
    			db.Mux.RUnlock()
    			return stmt, stmt.Error()
    		}
    	}
    	db.Mux.RUnlock()
    
    	// retry
    	db.Mux.Lock()
    	if db.Stmts != nil {
    		if stmt, ok := db.Stmts.Get(query); ok && (!stmt.Transaction || isTransaction) {
    			db.Mux.Unlock()
    			return stmt, stmt.Error()
    		}
    	}
    
    	return db.Stmts.New(ctx, query, isTransaction, conn, db.Mux)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

            // This test verifies that the DBFluteSystem is properly unlocked and locked
            // during the process, though we can't directly test the lock state
    
            // When
            try {
                curtainBeforeHook.processDBFluteSystem();
    
                // Then - if we get here without exception, the unlock/lock worked
                DfFinalTimeZoneProvider provider = getDBFluteSystemTimeZoneProvider();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top