Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 528 for safety (1.05 sec)

  1. 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)
  2. 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)
  3. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

            if (typeof options.maxDate === 'object')
                this.maxDate = moment(options.maxDate);
    
            // sanity check for bad options
            if (this.minDate && this.startDate.isBefore(this.minDate))
                this.startDate = this.minDate.clone();
    
            // sanity check for bad options
            if (this.maxDate && this.endDate.isAfter(this.maxDate))
                this.endDate = this.maxDate.clone();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  4. 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)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                public void run() {
                  currentFuture.get().addListener(listener, executor);
                }
              });
        }
        assertEquals(allTasks.size() + 1, barrier.getParties()); // sanity check
        for (int i = 0; i < 1000; i++) {
          Collections.shuffle(allTasks);
          AbstractFuture<String> future = new AbstractFuture<String>() {};
          AbstractFuture<String> setFuture = new AbstractFuture<String>() {};
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/CharsTest.java

            assertThat(bytes[0]).isEqualTo((byte) hi);
            assertThat(bytes[1]).isEqualTo((byte) lo);
    
            c++;
          }
        }
        assertThat(c).isEqualTo((char) 0); // sanity check
      }
    
      @GwtIncompatible // Chars.fromByteArray, Chars.toByteArray
      public void testByteArrayRoundTripsFails() {
        assertThrows(IllegalArgumentException.class, () -> Chars.fromByteArray(new byte[] {0x11}));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.9K 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. 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)
  10. guava/src/com/google/common/math/PairedStatsAccumulator.java

    import com.google.common.primitives.Doubles;
    
    /**
     * A mutable object which accumulates paired double values (e.g. points on a plane) and tracks some
     * basic statistics over all the values added so far. This class is not thread safe.
     *
     * @author Pete Gillin
     * @since 20.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class PairedStatsAccumulator {
      /** Creates a new accumulator. */
      public PairedStatsAccumulator() {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top