Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 1,085 for Ensure (0.24 seconds)

  1. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

                SECONDS,
                new ArrayBlockingQueue<Runnable>(1000));
        executorService.prestartAllCoreThreads();
        AtomicInteger integer = new AtomicInteger();
        // Execute a bunch of tasks to ensure that our threads are allocated and hot
        for (int i = 0; i < NUM_THREADS * 10; i++) {
          @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored
          Future<?> possiblyIgnoredError =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

        /**
         * Timestamp of the last time data store names were loaded from plugin files.
         * Used to implement a time-based cache refresh mechanism.
         * Volatile to ensure visibility across threads.
         */
        protected volatile long lastLoadedTime = 0;
    
        /**
         * Creates a new instance of DataStoreFactory.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * calling thread wait for that time.
       *
       * The simplest way to maintain a rate of QPS is to keep the timestamp of the last granted
       * request, and ensure that (1/QPS) seconds have elapsed since then. For example, for a rate of
       * QPS=5 (5 tokens per second), if we ensure that a request isn't granted earlier than 200ms after
       * the last one, then we achieve the intended rate. If a request comes and the last request was
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SSPContextTest.java

                inOrder.verify(mockCtx).verifyMIC(any(byte[].class), any(byte[].class));
                inOrder.verify(mockCtx).isMICAvailable();
                inOrder.verify(mockCtx).dispose();
    
                // Also ensure no unexpected calls
                verifyNoMoreInteractions(mockCtx);
            }
    
            @Test
            @DisplayName("Never calculates MIC when integrity unsupported")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SecurityBlobTest.java

            // Mutate original backing array; clone should remain based on previous snapshot
            data[0] = 99;
            assertFalse(original.equals(copy), "After mutation, original should not equal previous clone");
    
            // Ensure arrays are independent: mutate clone's buffer via getter
            copy.get()[1] = 77;
            assertNotEquals(original.toString(), copy.toString(), "Mutating clone should not affect original");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. okhttp/build.gradle.kts

        listOf(
          "--patch-module",
          "$moduleName=${compileKotlinTask.destinationDirectory.get().asFile}",
        ),
      )
    
      // Use the classpath of the compileKotlinJvm task.
      // Also, ensure that the module path is used instead of the classpath.
      classpath = compileKotlinTask.libraries
      modularity.inferModulePath.set(true)
    }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 22:16:39 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * During this process only the most relevant version of each artifact
     * (based on group ID and artifact ID) is retained, resolving conflicts and eliminating duplicates to ensure
     * that each dependency is included only once in the final build.</p>
     *
     * <p><dfn>Dependency resolution</dfn> is the process of collecting dependencies, flattening the result graph,
     * and then resolving the artifacts.</p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:13:42 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/misc/DynamicProperties.java

     *   <li>{@link IORuntimeException} - Thrown if there are I/O errors during file operations.</li>
     * </ul>
     *
     * <p>Thread Safety:
     * This class uses synchronization to ensure thread-safe access to the properties.
     *
     * @see Properties
     */
    public class DynamicProperties extends Properties {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  9. apache-maven/src/assembly/maven/bin/mvn

    saveddir=`pwd`
    
    MAVEN_HOME=`dirname "$PRG"`/..
    
    # make it fully qualified
    MAVEN_HOME=`cd "$MAVEN_HOME" && pwd`
    
    cd "$saveddir"
    
    CLASSWORLDS_CONF="$MAVEN_HOME/bin/m2.conf"
    
    # For Cygwin and MinGW, ensure paths are in Unix format before anything is touched
    if $cygwin || $mingw ; then
      [ -n "$JAVA_HOME" ] &&
        JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
    fi
    
    if [ -n "$JAVA_HOME" ] ; then
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                // Calculate the relative path from common root
                Path relativePath = commonRoot.relativize(originalPath);
                Path tempPomPath = tempDir.resolve(relativePath);
    
                // Ensure parent directories exist
                Files.createDirectories(tempPomPath.getParent());
    
                // Write POM to temp location
                writePomToFile(document, tempPomPath);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
Back to Top