Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for Kata (0.17 sec)

  1. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        return new AbstractList<T>() {
          ArrayList<T> data = new ArrayList<>();
    
          @Override
          public int size() {
            return Math.max(0, data.size() + delta);
          }
    
          @Override
          public T get(int index) {
            return data.get(index);
          }
    
          @Override
          public T set(int index, T element) {
            return data.set(index, element);
          }
    
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                mojos.remove(Thread.currentThread());
            }
    
            private OwnerReentrantLock getProjectLock(MavenSession session) {
                SessionData data = session.getSession().getData();
                Map<MavenProject, OwnerReentrantLock> locks = data.computeIfAbsent(PROJECT_LOCKS, ConcurrentHashMap::new);
                return locks.computeIfAbsent(session.getCurrentProject(), p -> new OwnerReentrantLock());
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * containing one element (the given set itself).
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

    @GwtIncompatible
    public abstract class FeatureSpecificTestSuiteBuilder<
        B extends FeatureSpecificTestSuiteBuilder<B, G>, G> {
      @SuppressWarnings("unchecked")
      protected B self() {
        return (B) this;
      }
    
      // Test Data
    
      private @Nullable G subjectGenerator;
      // Gets run before every test.
      private Runnable setUp;
      // Gets run at the conclusion of every test.
      private Runnable tearDown;
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableTable.java

       * {@link Builder} and call {@link Builder#orderRowsBy}, {@link Builder#orderColumnsBy}, and
       * {@link Builder#putAll}
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       */
      public static <R, C, V> ImmutableTable<R, C, V> copyOf(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IterablesTest.java

      // Iterable.  Those returned by Iterators.filter() and Iterables.filter()
      // are not tested because they are unmodifiable.
    
      public void testConsumingIterable() {
        // Test data
        List<String> list = Lists.newArrayList(asList("a", "b"));
    
        // Test & Verify
        Iterable<String> consumingIterable = Iterables.consumingIterable(list);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * <p>The returned {@code BiMap} iterates over entries in the same order as the {@code entrySet}
       * of the original map.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

                    saveInfo(messages -> messages.addSuccessStartedDataUpdate(GLOBAL));
    
                    systemHelper.reloadConfiguration();
                } catch (final Exception e) {
                    logger.warn("Failed to upgrade data.", e);
                    saveError(messages -> messages.addErrorsFailedToUpgradeFrom(GLOBAL, VERSION_13_0, e.getLocalizedMessage()));
                }
            } else if (VERSION_13_1.equals(form.targetVersion)) {
                try {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Comparators.java

      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
       * <a href="https://github.com/google/guava/wiki/CollectionUtilitiesExplained#comparators">{@code
       * Comparators}</a>.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            return session;
        }
    
        private static final char[] hexCode = "0123456789ABCDEF".toCharArray();
    
        private static String printHexBinary(byte[] data) {
            StringBuilder r = new StringBuilder(data.length * 2);
            for (byte b : data) {
                r.append(hexCode[(b >> 4) & 0xF]);
                r.append(hexCode[(b & 0xF)]);
            }
            return r.toString();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 13.8K bytes
    - Viewed (0)
Back to top