Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 1,653 for length (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
        getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
        E[] expected = createSamplesArray();
        for (int i = 0; i < expected.length; i++) {
          if (expected[i].equals(samples.e0())) {
            expected[i] = samples.e3();
          }
        }
        expectContents(expected);
      }
    
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

          return dummy;
        }
    
        abstract List<StackTraceElement> getStackTrace(Throwable t);
      }
    
      @BeforeExperiment
      public void doBefore() {
        recursionCount = stackDepth - new Throwable().getStackTrace().length - 1;
        if (recursionCount < 0) {
          throw new SkipThisScenarioException();
        }
      }
    
      @Benchmark
      public boolean timeFindCaller(int reps) {
        return timeFindCaller(reps, recursionCount);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompoundOrdering.java

            Iterables.toArray(comparators, (Comparator<? super T>[]) new Comparator<?>[0]);
      }
    
      @Override
      public int compare(@ParametricNullness T left, @ParametricNullness T right) {
        for (int i = 0; i < comparators.length; i++) {
          int result = comparators[i].compare(left, right);
          if (result != 0) {
            return result;
          }
        }
        return 0;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

          return dummy;
        }
    
        abstract List<StackTraceElement> getStackTrace(Throwable t);
      }
    
      @BeforeExperiment
      public void doBefore() {
        recursionCount = stackDepth - new Throwable().getStackTrace().length - 1;
        if (recursionCount < 0) {
          throw new SkipThisScenarioException();
        }
      }
    
      @Benchmark
      public boolean timeFindCaller(int reps) {
        return timeFindCaller(reps, recursionCount);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

            }
            Throwable t = cause.getCause();
            while (t != null) {
                buf.append(t.getMessage()).append("], [");
                t = t.getCause();
            }
            buf.setLength(buf.length() - 4);
            return new String(buf);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

        }
    
        @Override
        public String normalize(final String text, final String field, final String... langs) {
            final Normalizer normalizer;
            if (langs == null || langs.length == 0) {
                normalizer = new LangAnalyzerNormalizer(null);
            } else {
                final NormalizerChain chain = new NormalizerChain();
                for (final String lang : langs) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

            dictionaryManager.store(synonymFile, file1);
            final DictionaryFile<? extends DictionaryItem>[] synonymFiles = dictionaryManager.getDictionaryFiles();
            assertEquals(1, synonymFiles.length);
        }
        */
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/RC4.java

     */
    
    package jcifs.smb1.util;
    
    public class RC4
    {
    
        byte[] s;
        int i, j;
    
        public RC4()
        {
        }
        public RC4(byte[] key)
        {
            init(key, 0, key.length);
        }
    
        public void init(byte[] key, int ki, int klen)
        {
            s = new byte[256];
    
            for (i = 0; i < 256; i++)
                s[i] = (byte)i;
    
            for (i = j = 0; i < 256; i++) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/user/bsentity/BsUser.java

            sb.append(dm).append(teletexTerminalIdentifier);
            sb.append(dm).append(title);
            sb.append(dm).append(uidNumber);
            sb.append(dm).append(x121Address);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProvider.java

                return null;
            }
            final String prefix = "/" + virtualHostKey;
            if (requestPath.startsWith(prefix)) {
                return requestPath.substring(prefix.length());
            }
            return null;
        }
    
        @Override
        public String toString() {
            return DfTypeUtil.toClassTitle(this) + ":{}";
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top