Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 257 for special (0.25 sec)

  1. android/guava/src/com/google/common/collect/EvictingQueue.java

         * we can override it in our non-null-guaranteeing subtypes to present a better signature to
         * their users.
         *
         * However, the checker *we* use has this special knowledge about `Collection.toArray()` anyway,
         * so in our implementation code, we can rely on that. That's why the expression below
         * type-checks.
         */
        return super.toArray();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 17:52:55 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecyclePluginAnalyzer.java

        public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging) {
            Set<Plugin> plugins;
    
            // NOTE: The upper-case packaging name is intentional, that's a special hinting mode used for certain tests
            if ("JAR".equals(packaging)) {
                plugins = new LinkedHashSet<>();
    
                plugins.add(newPlugin("maven-compiler-plugin", "compile", "testCompile"));
    Java
    - Registered: Sun Apr 07 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/lifecycle/EmptyLifecyclePluginAnalyzer.java

        public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging) {
            Set<Plugin> plugins;
    
            // NOTE: The upper-case packaging name is intentional, that's a special hinting mode used for certain tests
            if ("JAR".equals(packaging)) {
                plugins = new LinkedHashSet<>();
    
                plugins.add(newPlugin("maven-compiler-plugin", "compile", "testCompile"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

       * offset that is greater than the current length of the source, a stream is then opened to that
       * source, and finally additional bytes are appended to the source before the stream is read.
       *
       * <p>Without special handling, it's possible to have reads of the open stream start <i>before</i>
       * the offset at which the slice is supposed to start.
       */
      // TODO(cgdecker): Maybe add a test for this to ByteSourceTester
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * the returned {@code ListeningExecutorService} never calls the delegate's {@code submit}, {@code
       * invokeAll}, and {@code invokeAny} methods, so any special handling of tasks must be implemented
       * in the delegate's {@code execute} method or by wrapping the returned {@code
       * ListeningExecutorService}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        public Set<Plugin> getPluginsBoundByDefaultToAllLifecycles(String packaging) {
            Set<Plugin> plugins;
    
            // NOTE: The upper-case packaging name is intentional, that's a special hinting mode used for certain tests
            if ("JAR".equals(packaging)) {
                plugins = new LinkedHashSet<>();
    
                plugins.add(newPlugin("maven-compiler-plugin", "compile", "testCompile"));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            checkVersionsEqual("1x", "1.0.0-x");
            checkVersionsEqual("1.0x", "1-x");
            checkVersionsEqual("1.0.0x", "1-x");
            checkVersionsEqual("1cr", "1rc");
    
            // special "aliases" a, b and m for alpha, beta and milestone
            checkVersionsEqual("1a1", "1-alpha-1");
            checkVersionsEqual("1b2", "1-beta-2");
            checkVersionsEqual("1m3", "1-milestone-3");
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

      public void testMaximalWeakStripedLock() {
        Striped<Lock> stripedLock = Striped.lazyWeakLock(Integer.MAX_VALUE);
        for (int i = 0; i < 10000; i++) {
          stripedLock.get(new Object()).lock();
          // nothing special (e.g. an exception) happens
        }
      }
    
      public void testBulkGetReturnsSorted() {
        for (Striped<?> striped : allImplementations()) {
          Map<Object, Integer> indexByLock = Maps.newHashMap();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                        .repositories(List.of(central))
                        .pluginRepositories(List.of(centralWithNoUpdate))
                        .build();
            }
    
            // for the special case of a drive-relative Windows path, make sure it's absolute to save plugins from trouble
            String localRepository = effective.getLocalRepository();
            if (localRepository != null && !localRepository.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

          slope = (coldIntervalMicros - stableIntervalMicros) / (maxPermits - thresholdPermits);
          if (oldMaxPermits == Double.POSITIVE_INFINITY) {
            // if we don't special-case this, we would get storedPermits == NaN, below
            storedPermits = 0.0;
          } else {
            storedPermits =
                (oldMaxPermits == 0.0)
                    ? maxPermits // initial state is cold
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
Back to top