Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 326 for synchronize (0.08 seconds)

  1. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

         *
         * @param text the text containing URLs
         * @return the text with replaced URLs
         */
        public String replaceUrls(final String text) {
            if (cachedPathMappingList == null) {
                synchronized (this) {
                    if (cachedPathMappingList == null) {
                        init();
                    }
                }
            }
            String result = text;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingHostnameVerifier.kt

    package okhttp3
    
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLSession
    
    class RecordingHostnameVerifier : HostnameVerifier {
      @JvmField
      val calls: MutableList<String> = mutableListOf()
    
      @Synchronized override fun verify(
        hostname: String,
        session: SSLSession,
      ): Boolean {
        calls.add("verify $hostname")
        return true
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 980 bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/HashBasedTable.java

     * since an iteration across all row keys occurs.
     *
     * <p>Note that this implementation is not synchronized. If multiple threads access this table
     * concurrently and one of the threads modifies the table, it must be synchronized externally.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">{@code Table}</a>.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/HashBasedTable.java

     * since an iteration across all row keys occurs.
     *
     * <p>Note that this implementation is not synchronized. If multiple threads access this table
     * concurrently and one of the threads modifies the table, it must be synchronized externally.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#table">{@code Table}</a>.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      public static TesterRequirements getTesterRequirements(Class<?> testerClass)
          throws ConflictingRequirementsException {
        synchronized (classTesterRequirementsCache) {
          TesterRequirements requirements = classTesterRequirementsCache.get(testerClass);
          if (requirements == null) {
            requirements = buildTesterRequirements(testerClass);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/http/Handler.java

         *
         * @param factory
         *            The URL stream handler factory.
         */
        public static void setURLStreamHandlerFactory(final URLStreamHandlerFactory factory) {
            synchronized (PROTOCOL_HANDLERS) {
                if (Handler.factory != null) {
                    throw new IllegalStateException("URLStreamHandlerFactory already set.");
                }
                PROTOCOL_HANDLERS.clear();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/netbios/Lmhosts.java

         * @param tc the CIFS context
         * @return resolved name, null if not found
         */
        public synchronized NbtAddress getByName(final String host, final CIFSContext tc) {
            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
        synchronized NbtAddress getByName(final Name name, final CIFSContext tc) {
            NbtAddress result = null;
    
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt

        getDelegate(sslSocket)?.configureTlsExtensions(sslSocket, hostname, protocols)
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? = getDelegate(sslSocket)?.getSelectedProtocol(sslSocket)
    
      @Synchronized private fun getDelegate(sslSocket: SSLSocket): SocketAdapter? {
        if (this.delegate == null && socketAdapterFactory.matchesSocket(sslSocket)) {
          this.delegate = socketAdapterFactory.create(sslSocket)
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/SmbCircuitBreaker.java

                }
            }
    
            public synchronized void recordSuccess(long responseTimeMs) {
                getCurrentBucket().recordSuccess(responseTimeMs);
            }
    
            public synchronized void recordFailure() {
                getCurrentBucket().recordFailure();
            }
    
            public synchronized WindowMetrics getMetrics() {
                long now = System.currentTimeMillis();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link Synchronized#deque} and {@link Queues#synchronizedDeque}.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class SynchronizedDequeTest extends TestCase {
    
      protected Deque<String> create() {
        TestDeque<String> inner = new TestDeque<>();
        Deque<String> outer = Synchronized.deque(inner, inner.mutex);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top