Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 219 for isSynchronized (0.24 sec)

  1. docs/smb3-features/06-witness-protocol-design.md

        private final int batchSize = 10;
        private final long batchTimeout = 100;  // 100ms
        
        public void addNotification(WitnessNotification notification) {
            synchronized (pendingNotifications) {
                pendingNotifications.offer(notification);
                
                if (pendingNotifications.size() >= batchSize) {
                    processBatch();
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

      private class RecordingPushObserver :
        PushObserver,
        Lockable {
        val events = mutableListOf<Any>()
    
        @Synchronized fun takeEvent(): Any {
          while (events.isEmpty()) {
            wait()
          }
          return events.removeAt(0)
        }
    
        @Synchronized override fun onRequest(
          streamId: Int,
          requestHeaders: List<Header>,
        ): Boolean {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

            .suppressing(suppressForLinkedHashMap())
            .createTestSuite();
      }
    
      /**
       * Tests regular NavigableMap behavior of synchronizedNavigableMap(treeMap); does not test the
       * fact that it's synchronized.
       */
      public Test testsForSynchronizedNavigableMap() {
        return NavigableMapTestSuiteBuilder.using(
                new TestStringSortedMapGenerator() {
                  @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

                    resp.setContentLength(0);
                    resp.flushBuffer();
                    return null;
                }
            }
    
            return ntlm;
        }
    
        private synchronized NtlmChallenge getChallengeForDomain(final String domain) throws UnknownHostException, ServletException {
            if (domain == null) {
                throw new ServletException("A domain was not specified");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                                        + now
                                        + ", lastUpdated = " + lastUpdated + "). Please verify that the clocks of all"
                                        + " deploying machines are reasonably synchronized.");
                        versioning.setLastUpdated(now);
                        changed = true;
                    }
                }
            }
    
            if (changed) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

         *
         * @param sessionId the crawler session ID that has finished processing
         */
        public void addFinishedSessionId(final String sessionId) {
            synchronized (finishedSessionIdList) {
                finishedSessionIdList.add(sessionId);
            }
        }
    
        /**
         * Deletes all data associated with a specific crawler session.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         *            if there is a DCE/RPC protocol error
         * @throws IOException
         *            if there is an I/O error during binding
         */
        public void bind() throws DcerpcException, IOException {
            synchronized (this) {
                try {
                    this.state = 1;
                    final DcerpcMessage bind = new DcerpcBind(this.binding, this);
                    sendrecv(bind);
                } catch (final IOException ioe) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteStreams.java

        public int available() throws IOException {
          return (int) min(in.available(), left);
        }
    
        // it's okay to mark even if mark isn't supported, as reset won't work
        @Override
        public synchronized void mark(int readLimit) {
          in.mark(readLimit);
          mark = left;
        }
    
        @Override
        public int read() throws IOException {
          if (left == 0) {
            return -1;
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileOutputStream.java

        /**
         * Ensures that the file handle is open and returns it.
         *
         * @return the open file handle
         * @throws CIFSException if an error occurs opening the file
         */
        protected synchronized SmbFileHandleImpl ensureOpen() throws CIFSException {
            if (!isOpen()) {
                // one extra acquire to keep this open till the stream is released
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

         *
         * @return The configured SPNEGO authenticator instance
         * @throws SsoLoginException if SPNEGO initialization fails
         */
        protected synchronized org.codelibs.spnego.SpnegoAuthenticator getAuthenticator() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top