Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 864 for repl (0.47 sec)

  1. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        data = ByteSource.wrap(string.getBytes(charset));
      }
    
      @Benchmark
      public int timeCopy(int reps) throws IOException {
        int r = 0;
        final Charset localCharset = charset;
        final ByteSource localData = data;
        final ReadStrategy localStrategy = strategy;
        for (int i = 0; i < reps; i++) {
          r += localStrategy.read(localData, localCharset).hashCode();
        }
        return r;
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        data = ByteSource.wrap(string.getBytes(charset));
      }
    
      @Benchmark
      public int timeCopy(int reps) throws IOException {
        int r = 0;
        final Charset localCharset = charset;
        final ByteSource localData = data;
        final ReadStrategy localStrategy = strategy;
        for (int i = 0; i < reps; i++) {
          r += localStrategy.read(localData, localCharset).hashCode();
        }
        return r;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/custom-docs-ui-assets.md

        If you integrate your API with an OAuth2 provider, you will be able to authenticate and come back to the API docs with the acquired credentials. And interact with it using the real OAuth2 authentication.
    
        Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper.
    
    ### Create a *path operation* to test it
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

      }
    
      @Benchmark
      int asciiStringToUpperCase(int reps) {
        String string = noWorkToDo ? Ascii.toUpperCase(testString) : testString;
    
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Ascii.toUpperCase(string).length();
        }
        return dummy;
      }
    
      @Benchmark
      int asciiCharSequenceToUpperCase(int reps) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

        }
      }
    
      @Benchmark
      long divide(int reps) {
        long tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += UnsignedLongs.divide(longs[j], divisors[j]);
        }
        return tmp;
      }
    
      @Benchmark
      long remainder(int reps) {
        long tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.3K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

        }
      }
    
      @Benchmark
      int pow(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += LongMath.pow(positive[j], exponents[j]);
        }
        return tmp;
      }
    
      @Benchmark
      int mod(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += LongMath.mod(longs[j], positive[j]);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

        }
      }
    
      @Benchmark
      long factorialDouble(int reps) {
        long tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += Double.doubleToRawLongBits(impl.factorialDouble(factorials[j]));
        }
        return tmp;
      }
    
      @Benchmark
      int intGCD(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.9K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathRoundingBenchmark.java

        }
      }
    
      @Benchmark
      int log2(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += BigIntegerMath.log2(positive[j], mode);
        }
        return tmp;
      }
    
      @Benchmark
      int log10(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 30 13:06:20 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/aether/LegacyRepositorySystemSessionExtender.java

            if (selector != null) {
                RemoteRepository repo = RepositoryUtils.toRepo(repository);
                org.eclipse.aether.repository.Authentication auth = selector.getAuthentication(repo);
                if (auth != null) {
                    repo = new RemoteRepository.Builder(repo)
                            .setAuthentication(auth)
                            .build();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

      }
    
      @Benchmark
      int collections(int reps) {
        int dummy = 0;
        // Yes, this could be done more elegantly
        if (mutable) {
          for (int i = 0; i < reps; i++) {
            List<Integer> copy = new ArrayList<>(input);
            Collections.sort(copy);
            dummy += copy.get(0);
          }
        } else {
          for (int i = 0; i < reps; i++) {
            List<Integer> copy = new ArrayList<>(input);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.5K bytes
    - Viewed (0)
Back to top