Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 663 for Prevent (0.07 sec)

  1. guava-tests/benchmark/com/google/common/collect/HashMultisetAddPresentBenchmark.java

    import com.google.caliper.Benchmark;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmark for HashMultiset.add for an already-present element.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class HashMultisetAddPresentBenchmark {
      private static final int ARRAY_MASK = 0x0ffff;
      private static final int ARRAY_SIZE = 0x10000;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. buildSrc/src/main/kotlin/JavaModules.kt

        if (enableValidation) {
          compileKotlinTask.source(file("src/main/java9"))
        }
    
        // Ignore warnings about using 'requires transitive' on automatic modules.
        // not needed when compiling with recent JDKs, e.g. 17
        options.compilerArgs.add("-Xlint:-requires-transitive-automatic")
    
        // Patch the compileKotlinJvm output classes into the compilation so exporting packages works correctly.
        options.compilerArgs.addAll(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Sep 21 06:22:22 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectionListener.kt

    import okhttp3.Route
    import okio.IOException
    
    /**
     * Listener for connection events. Extend this class to monitor the new connections and closes.
     *
     * All event methods must execute fast, without external locking, cannot throw exceptions,
     * attempt to mutate the event parameters, or be reentrant back into the client.
     * Any IO - writing to files or network should be done asynchronously.
     */
    internal abstract class ConnectionListener {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
       * otherwise returns an empty stream.
       */
      public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) {
        return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty();
      }
    
      /**
       * If a value is present in {@code optional}, returns a stream containing only that element,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResource.java

         * @throws IOException if an I/O error occurs
         */
        SID getOwnerGroup() throws IOException;
    
        /**
         * Return the owner group SID for this file or directory
         *
         * @param resolve
         *            whether to resolve the group name
         * @return the owner group SID, <code>null</code> if not present
         * @throws IOException if an I/O error occurs
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JsonExtractorTest.java

            // Verify no metadata extracted
            assertNull(extractData.getValues("title"));
            assertNull(extractData.getValues("author"));
    
            // But content should still be present
            final String content = extractData.getContent();
            assertTrue(content.contains("Sample Document"));
        }
    
        public void test_maxDepth() {
            jsonExtractor.setMaxDepth(1);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ClassToInstanceMap.java

    public interface ClassToInstanceMap<B extends @Nullable Object>
        extends Map<Class<? extends @NonNull B>, B> {
      /**
       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       */
      <T extends @NonNull B> @Nullable T getInstance(Class<T> type);
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

                assertTrue(e.getCause() instanceof InterruptedException);
            }
        }
    
        public void test_concurrent_initialization() throws Exception {
            // Test that compareAndSet prevents multiple initializations
            final FileSystemClient client = new FileSystemClient();
            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:59:28 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/AllowConcurrentEvents.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Marks an event subscriber method as being thread-safe. This annotation indicates that EventBus
     * may invoke the event subscriber simultaneously from multiple threads.
     *
     * <p>This does not mark the method, and so should be used in combination with {@link Subscribe}.
     *
     * @author Cliff Biffle
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcConstants.java

        /**
         * Maybe flag - indicates 'maybe' call semantics requested
         */
        int DCERPC_MAYBE = 0x40; /* `maybe' call semantics requested */
        /**
         * Object UUID flag - if true, a non-nil object UUID is present
         */
        int DCERPC_OBJECT_UUID = 0x80; /* if true, a non-nil object UUID */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top