Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 241 - 250 of 326 for synchronize (0.12 seconds)

  1. guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>This method is not type-safe, as it may be called on elements that are not mutually
       * comparable.
       *
       * <p>This method is safe to use even when {@code elements} is a synchronized or concurrent
       * collection that is currently being modified by another thread.
       *
       * @throws ClassCastException if the elements are not mutually comparable
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      /** The number of bytes of the POST body to keep in memory to the given limit. */
      public var bodyLimit: Long = Long.MAX_VALUE
    
      public var serverSocketFactory: ServerSocketFactory?
        @Synchronized get() = serverSocketFactory_
    
        @Synchronized set(value) {
          check(socketAddress_ == null) { "serverSocketFactory must not be set after start()" }
          serverSocketFactory_ = value
        }
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 40.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

        protected abstract FileEntry[] getResults();
    
        /**
         * Closes the enumeration and releases resources.
         *
         * @throws CIFSException if an error occurs during closing
         */
        protected synchronized void doClose() throws CIFSException {
            // otherwise already closed
            if (!this.closed) {
                this.closed = true;
                try {
                    doCloseInternal();
                } finally {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  4. docs/de/docs/advanced/async-tests.md

    # Asynchrone Tests { #async-tests }
    
    Sie haben bereits gesehen, wie Sie Ihre **FastAPI**-Anwendungen mit dem bereitgestellten `TestClient` testen. Bisher haben Sie nur gesehen, wie man synchrone Tests schreibt, ohne `async`-Funktionen zu verwenden.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.3K bytes
    - Click Count (1)
  5. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

        }
      }
    
      private static final class TimeoutFutureException extends TimeoutException {
        private TimeoutFutureException(String message) {
          super(message);
        }
    
        @Override
        public synchronized Throwable fillInStackTrace() {
          setStackTrace(new StackTraceElement[0]);
          return this; // no stack trace, wouldn't be useful anyway
        }
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTreeHandle#close()
         */
        @Override
        public synchronized void close() {
            release();
        }
    
        /**
         * @return tree handle with increased usage count
         */
        public SmbTreeHandleImpl acquire() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

                if (pattern.matcher(input).matches()) {
                    return Constants.FALSE;
                }
            }
    
            return Constants.TRUE;
    
        }
    
        protected synchronized void initDocPathPattern() {
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
    
            if (includedDocPathPatterns == null) {
                if (StringUtil.isNotBlank(getIncludedDocPaths())) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            // Test thread safety of fillInStackTrace method
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
    
            // Create multiple threads to test synchronized method
            Thread thread1 = new Thread(() -> {
                Throwable result = exception.fillInStackTrace();
                assertNull(result);
            });
    
            Thread thread2 = new Thread(() -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

          while (true) {
            var tryAgain = false
            var readBytesDelivered = -1L
            var errorExceptionToDeliver: IOException? = null
    
            // 1. Decide what to do in a synchronized block.
    
            withLock {
              val doReadTimeout = doReadTimeout()
              if (doReadTimeout) {
                readTimeout.enter()
              }
              try {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 07 18:57:05 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .suppressing(suppressForEnumSet())
            .createTestSuite();
      }
    
      /**
       * Tests regular NavigableSet behavior of synchronizedNavigableSet(treeSet); does not test the
       * fact that it's synchronized.
       */
      public Test testsForSynchronizedNavigableSet() {
        return NavigableSetTestSuiteBuilder.using(
                new TestStringSortedSetGenerator() {
                  @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 19.8K bytes
    - Click Count (0)
Back to Top