Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 446 for Unsafe (0.03 sec)

  1. docs/changelogs/upgrading_to_okhttp_4.md

    OkHttp is **not** source-compatible for Kotlin callers, but upgrading should be automatic thanks to
    Kotlin’s powerful deprecation features. Most developers should be able to use IntelliJ’s _Code
    Cleanup_ for a safe and fast upgrade.
    
    
    Backwards-Incompatible Changes
    ------------------------------
    
    #### OkHttpClient final methods
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          // it. To preserve FIFO order and failure atomicity of rejected execution when the same
          // Runnable is executed more than once, allocate a wrapper that we know is safe to remove by
          // object identity.
          // A data structure that returned a removal handle from add() would allow eliminating this
          // allocation.
          submittedTask =
              new Runnable() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

    /**
     * Manager for persistent and durable SMB handles.
     *
     * This class provides:
     * - Handle lifecycle management
     * - Persistent storage for persistent handles
     * - Expiration tracking for durable handles
     * - Thread-safe access to handle information
     */
    public class PersistentHandleManager {
    
        private static final Logger log = LoggerFactory.getLogger(PersistentHandleManager.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

        withLock {
          cancel = !source.finished && source.closed && (sink.finished || sink.closed)
          open = isOpen
        }
        if (cancel) {
          // RST this stream to prevent additional data from being sent. This is safe because the input
          // stream is closed (we won't use any further bytes) and the output stream is either finished
          // or closed (so RSTing both streams doesn't cause harm).
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Iterables.java

        checkNotNull(iterable);
        if (iterable instanceof UnmodifiableIterable || iterable instanceof ImmutableCollection) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
          Iterable<T> result = (Iterable<T>) iterable;
          return result;
        }
        return new UnmodifiableIterable<>(iterable);
      }
    
      /**
       * Simply returns its argument.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

     *
     * <p>It uses {@code Map} and {@code Queue} data structures to hold the data. The class provides
     * methods to add, remove, clear, and retrieve data from these structures.
     *
     * <p>The class is thread-safe due to the use of {@code synchronized} keyword on methods that
     * modify the internal data structures. The internal maps are also declared as {@code volatile}
     * to ensure visibility of changes across threads.
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            // Execution time should be greater than 0
            assertTrue(callback.getExecuteTime() >= 10L);
        }
    
        public void test_concurrent_stores() {
            // Test thread-safe implementation
            final AtomicLong counter = new AtomicLong(0);
    
            IndexUpdateCallback callback = new IndexUpdateCallback() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString
    
    /**
     * An [RFC 6455][rfc_6455]-compatible WebSocket frame reader.
     *
     * This class is not thread safe.
     *
     * [rfc_6455]: http://tools.ietf.org/html/rfc6455
     */
    class WebSocketReader(
      private val isClient: Boolean,
      val source: BufferedSource,
      private val frameCallback: FrameCallback,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            }
    
            // Initialize the digest once to validate configuration
            this.digest = createMacInstance();
        }
    
        /**
         * Create a new Mac instance for thread-safe operations
         * @return initialized Mac instance
         * @throws GeneralSecurityException if Mac cannot be created
         */
        private Mac createMacInstance() throws GeneralSecurityException {
            if (this.closed) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterables.java

        checkNotNull(iterable);
        if (iterable instanceof UnmodifiableIterable || iterable instanceof ImmutableCollection) {
          @SuppressWarnings("unchecked") // Since it's unmodifiable, the covariant cast is safe
          Iterable<T> result = (Iterable<T>) iterable;
          return result;
        }
        return new UnmodifiableIterable<>(iterable);
      }
    
      /**
       * Simply returns its argument.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
Back to top